Move x86_64 init-arch.h to sysdeps/x86/init-arch.h
[glibc.git] / ChangeLog
blob1de3a2379efd4f9c1255a345cdb0f8e8f011b06f
1 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
3         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
4         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
5         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
6         of "multiarch/init-arch.h".
7         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
8         * sysdeps/x86/init-arch.h: This.
10 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
12         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
13         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
15 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
17         [BZ #17787]
18         * manual/macros.texi: Add twoexp macro.
19         * manual/filesys.texi: Fix exponents.
20         * manual/llio.texi: Likewise.
21         * manual/stdio.texi: Likewise.
23 2015-08-20  Florian Weimer  <fweimer@redhat.com>
25         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
26         incorrect use.
28 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
30         [BZ #18370]
31         * math/s_csqrt.c (__csqrt): Force underflow exception for results
32         whose real or imaginary part has small absolute value.
33         * math/s_csqrtf.c (__csqrtf): Likewise.
34         * math/s_csqrtl.c (__csqrtl): Likewise.
35         * math/auto-libm-test-in: Add more tests of csqrt.
36         * math/auto-libm-test-out: Regenerated.
37         * sysdeps/i386/fpu/libm-test-ulps: Update.
39 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
41         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
42         __ppc_set_ppr_very_low): New functions.
43         * manual/platform.texi: Add documentation about
44         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
46 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
48         * string/stpncpy.c (stpncpy): Improve performance using
49         __strnlen/memcpy/memset.
51 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
53         [BZ #18796]
54         * scripts/test-installation.pl: Don't add -lmvec to build options if
55         libmvec wasn't built.
57 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
59         [BZ #14341]
60         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
61         case when there is a gap between DT_REL and DT_JMPREL sections.
62         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
63         (LDFLAGS-tst-split-dynreloc): New.
64         (tst-split-dynreloc-ENV): Likewise.
65         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
66         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
68 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
70         [BZ #18822]
71         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
72         attribute_hidden.
73         (__xstat64_conv): Likewise.
74         (__xstat32_conv): Likewise.
76 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
78         [BZ #18822]
79         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
80         Don't load %ebx when calling __setcontext.  Call __setcontext
81         with HIDDEN_JUMPTARGET.
82         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
83         libc_hidden_def.
85 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
87         * sysdeps/i386/i686/Makefile
88         [$(subdir) == string] (sysdep_routines): Moved to ...
89         * sysdeps/i386/Makefile: Here.
90         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
91         * sysdeps/i386/cacheinfo.c: Here.
92         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
93         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
94         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
95         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
97 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
99         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
100         __i586__ is defined.
101         (HAS_I686): Defined to 1 if __i686__ is defined.
103 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
105         * elf/Makefile [$(have-z-execstack) = yes]
106         (CPPFLAGS-tst-execstack.c): New variable.
108         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
109         conditional to [defined UTMPX || _HAVE_UT_TYPE].
110         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
111         UTMPX || _HAVE_UT_TV].
112         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
113         UTMPX || _HAVE_UT_TV - 0].
115 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
117         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
118         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
119         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
121 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
123         * sysdeps/powerpc/dl-procinfo.c:
124         (_dl_powerpc_cap_flags): Added missing strings for some
125         hwcap features.
126         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
128 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
130         Port the 0x7efe...feff pattern to GCC 6.
131         See Steve Ellcey's bug report in:
132         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
133         * string/memrchr.c (MEMRCHR):
134         * string/rawmemchr.c (RAWMEMCHR):
135         * string/strchr.c (strchr):
136         * string/strchrnul.c (STRCHRNUL):
137         Rewrite code to avoid issues with signed shift overflow.
139 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
141         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
142         whether cpuid is available only if HAS_CPUID is 0.
143         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
144         (HAS_I586): Likewise.
145         (HAS_I686): Likewise.
147 2015-08-18  Zack Weinberg  <zackw@panix.com>
149         * misc/Versions (libc): Add GLIBC_2.23.
151 2015-08-18  Alan Modra  <amodra@gmail.com>
153         [BZ #18421]
154         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
155         .Lp__global.
156         (_start): Load %dp via .Lp__global.
157         [!SHARED]: Use .section .rodata.
159 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
161         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
162         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
164 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
166         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
167         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
169 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
171         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
172         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
174 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
176         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
177         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
179 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
181         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
182         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
184 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
186         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
187         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
189 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
191         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
193 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
195         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
196         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
197         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
198         (__ASSUME_LWS_CAS): Delete.
200 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
202         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
203         * sysdeps/hppa/configure: Regenerated.
204         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
205         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
206         * sysdeps/hppa/nptl/tls.h: Likewise.
208 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
210         [BZ #18823]
211         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
212         for scaling up small arguments.
213         * math/s_csqrtf.c (__csqrtf): Likewise.
214         * math/s_csqrtl.c (__csqrtl): Likewise.
215         * math/auto-libm-test-in: Add more tests of csqrt.
216         * math/auto-libm-test-out: Regenerated.
218 2015-08-17  Andreas Schwab  <schwab@suse.de>
220         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
221         version set GLIBC_2.19.
223 2015-08-16  Zack Weinberg  <zackw@panix.com>
225         [BZ #18681]
226         * misc/regexp.h: This interface is no longer supported.
227         Remove all contents, leaving only an #error directive.
228         * misc/regexp.c (loc1, loc2, locs, step, advance):
229         Demote to compatibility symbols.
231 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
233         [BZ #18084]
234         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
235         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
236         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
237         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
238         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
239         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
240         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
241         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
242         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
244 2015-08-15  Zack Weinberg  <zackw@panix.com>
246         [BZ #18795]
247         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
248         buffer length is known to be too large, not if it's known to be
249         small enough.
250         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
251         overflow at runtime, involving a length parameter, twice: once
252         with a compile-time constant length parameter, once without.
254 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
256         [BZ #18824]
257         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
258         scaling x * y up instead of down.
259         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
260         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
261         * math/auto-libm-test-in: Add more tests of fma.
262         * math/auto-libm-test-out: Regenerated.
264 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
266         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
268 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
270         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
271         unnecessary movq.
272         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
273         Likewise.
275 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
277         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
278         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
279         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
280         and tgamma.
281         * math/auto-libm-test-out: Regenerated.
282         * sysdeps/i386/fpu/libm-test-ulps: Update.
283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
285         [BZ #16520]
286         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
287         (__tanh): Force underflow exception for arguments with small
288         absolute value.
289         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
290         (__tanhf): Force underflow exception for arguments with small
291         absolute value.
292         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
293         (__tanhl): Force underflow exception for arguments with small
294         absolute value.
295         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
296         (__tanhl): Force underflow exception for arguments with small
297         absolute value.
298         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
299         (__tanhl): Force underflow exception for arguments with small
300         absolute value.
301         * math/auto-libm-test-in: Add more tests of tanh.
302         * math/auto-libm-test-out: Regenerated.
303         * sysdeps/i386/fpu/libm-test-ulps: Update.
305 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
307         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
308         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
310 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
312         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
313         <cpuid.h>.
315 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
317         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
318         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
320 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
322         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
323         Remove $(objpfx)init-arch.o.
324         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
325         init-arch.
326         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
327         (INIT_ARCH_EXT): Defined as empty.
328         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
329         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
330         __init_cpu_features call.  Replace HAS_XXX with
331         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
332         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
333         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
334         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
335         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
336         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
337         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
338         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
339         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
340         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
341         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
342         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
343         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
344         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
345         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
346         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
347         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
348         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
349         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
350         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
351         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
352         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
353         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
354         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
355         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
356         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
357         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
358         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
359         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
360         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
361         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
362         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
363         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
364         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
365         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
366         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
368 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
370         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
371         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
372         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
373         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
374         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
375         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
376         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
377         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
378         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
379         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
380         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
381         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
382         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
383         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
384         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
385         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
386         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
387         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
388         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
389         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
390         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
391         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
392         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
393         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
394         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
395         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
396         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
397         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
398         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
399         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
400         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
401         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
402         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
403         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
404         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
405         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
406         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
407         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
408         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
409         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
410         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
411         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
412         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
414 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
416         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
417         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
418         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
419         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
420         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
421         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
422         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
423         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
424         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
425         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
426         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
427         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
428         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
429         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
430         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
431         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
432         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
433         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
434         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
435         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
436         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
437         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
438         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
439         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
440         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
441         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
442         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
443         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
444         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
445         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
446         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
447         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
448         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
449         * sysdeps/x86_64/multiarch/memset.S: Likewise.
450         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
451         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
452         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
453         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
454         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
455         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
456         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
457         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
458         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
460 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
462         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
463         (dl_platform_init): Call init_cpu_features.
464         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
465         * sysdeps/i386/i686/cacheinfo.c
466         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
467         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
468         * sysdeps/i386/i686/multiarch/Versions: Removed.
469         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
470         Removed.
471         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
472         * sysdeps/unix/sysv/linux/x86/Makefile
473         (libpthread-sysdep_routines): Remove init-arch.
474         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
475         <sysdeps/x86_64/dl-procinfo.c> instead of
476         sysdeps/generic/dl-procinfo.c>.
477         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
478         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
479         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
480         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
481         [$(subdir) == elf] (tests-static): Add
482         tst-get-cpu-features-static.
483         * sysdeps/x86/Versions: New file.
484         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
485         * sysdeps/x86/cpu-features.c: Likewise.
486         * sysdeps/x86/cpu-features.h: Likewise.
487         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
488         * sysdeps/x86/libc-start.c: Likewise.
489         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
490         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
491         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
492         * sysdeps/x86_64/dl-procinfo.c: Likewise.
493         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
494         Assume USE_MULTIARCH is defined and don't check it.
495         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
496         (is_amd): Likewise.
497         (max_cpuid): Likewise.
498         (intel_check_word): Likewise.
499         (__cache_sysconf): Don't call __init_cpu_features.
500         (__x86_preferred_memory_instruction): Removed.
501         (init_cacheinfo): Don't call __init_cpu_features. Replace
502         __cpu_features with GLRO(dl_x86_cpu_features).
503         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
504         (dl_platform_init): Call init_cpu_features.
505         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
506         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
507         * sysdeps/x86_64/multiarch/Versions: Removed.
508         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
509         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
510         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
511         Removed.
512         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
514 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
516         [BZ #18820]
517         * libio/Makefile (test-fmemopen-mem): New test.
518         * libio/test-fmemopen.c (do_bz18820): New test.
519         * libio/fmemopen.c (__fmemopen): Fix memory leak.
520         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
522 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
524         [BZ #16734]
525         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
526         (FREE_BUF): Delete.
527         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
528         * libio/genops.c (_IO_setb): Use malloc and free directly.
529         (_IO_default_doallocate, _IO_default_finish): Likewise.
530         ( _IO_unbuffer_all): Likewise.
531         ( libc_freeres_fn): Likewise.
532         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
533         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
534         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
535         (_IO_wdefault_doallocate): Likewise.
537 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
539         [BZ #18086]
540         * sysdeps/posix/nice.c (nice): Restore old errno.
541         * posix/tst-nice.c (do_test): Add test for BZ #18086.
543 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
545         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
547 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
549         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
550         __bcopy and add a weak_alias to bcopy.
551         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
552         for static build.
554         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
555         cleanup macro usage.
556         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
557         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
558         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
559         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
560         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
561         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
562         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
563         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
564         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
565         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
566         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
567         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
568         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
569         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
570         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
571         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
572         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
573         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
574         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
576         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
577         libc_hidden_def.
578         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
580         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
581         (sysdep_routines): Add strstr-ppc64.
582         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
584 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
586         [BZ #18778]
587         * elf/Makefile (tests): Add Add tst-nodelete2.
588         (modules-names): Add tst-nodelete2mod.
589         (tst-nodelete2mod.so-no-z-defs): New.
590         ($(objpfx)tst-nodelete2): Likewise.
591         ($(objpfx)tst-nodelete2.out): Likewise.
592         (LDFLAGS-tst-nodelete2): Likewise.
593         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
594         out of loop through all loaded libraries.
595         * elf/tst-nodelete2.c: New file.
596         * elf/tst-nodelete2mod.c: Likewise.
598 2015-08-11  Andreas Schwab  <schwab@suse.de>
600         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
601         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
602         (__openat64_nocancel): Likewise.
604 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
606         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
607         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
608         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
609         * math/auto-libm-test-out: Regenerated.
610         * sysdeps/i386/fpu/libm-test-ulps: Update.
611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
613 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
615         [BZ #18790]
616         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
617         threshold for returning +/- 1.
618         * math/auto-libm-test-in: Add more tests of tanh.
619         * math/auto-libm-test-out: Regenerated.
620         * sysdeps/i386/fpu/libm-test-ulps: Update.
622 2015-08-10  Andreas Schwab  <schwab@suse.de>
624         [BZ #18781]
625         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
626         MORE_OFLAGS to oflag.
627         * io/test-lfs.c (do_test): Test openat64.
629 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
631         [BZ #18789]
632         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
633         smaller threshold for returning the argument.
634         * math/auto-libm-test-in: Add more tests of sinh.
635         * math/auto-libm-test-out: Regenerated.
636         * sysdeps/i386/fpu/libm-test-ulps: Update.
638 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
640         [BZ #18674]
641         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
642         break.
644 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
646         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
647         (generated): Don't add $(addprefix z.,$(tzfiles)).
649 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
651         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
652         * scripts/sysd-rules.awk: Likewise.
654 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
656         * iconvdata/tst-tables.sh: Change echo -n to printf.
657         * nss/db-Makefile: Likewise.
658         * posix/tst-getconf.sh: Likewise.
659         * stdio-common/tst-unbputc.sh: Likewise.
661 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
663         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
664         MADV_*_PAGES defines behind this feature check.
666 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
668         [BZ #18480]
669         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
670         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
671         Define.
672         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
673         LOAD_REGS_5, LOAD_REGS_6): Update.
674         (INTERNAL_SYSCALL): Update using new LOAD defines.
675         (INTERNAL_SYSCALL_NCS): Likewise.
676         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
678 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
680         [BZ #16734]
681         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
683 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
685         [BZ #17905]
686         * catgets/Makefile (tst-catgets-mem): New test.
687         * catgets/catgets.c (catopen): Don't use unbounded alloca.
688         * catgets/open_catalog.c (__open_catalog): Likewise.
689         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
691 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
693         [BZ #18787]
694         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
695         clobber registers.
696         (atomic_compare_and_exchange_val_acq): Use register asms to assign
697         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
698         Cast return to __typeof (oldval).
700 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
702         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
703         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
704         and delete sys/syscall.h include.
706 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
708         [BZ #16517]
709         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
710         (tan): Force underflow exception for arguments with small absolute
711         value.
712         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
713         (__kernel_tanf): Force underflow exception for arguments with
714         small absolute value.
715         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
716         (__kernel_tanl): Force underflow exception for arguments with
717         small absolute value.
718         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
719         (__kernel_tanl): Force underflow exception for arguments with
720         small absolute value.
721         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
722         (__kernel_tanl): Force underflow exception for arguments with
723         small absolute value.
724         * math/auto-libm-test-in: Add more tests of tan.
725         * math/auto-libm-test-out: Regenerated.
727 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
729         Fix sysdeps/i386/fpu/s_scalbn.S build
731         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
733 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
735         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
737 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
739         Fix gcrt0.o compilation
741         When static-start-installed-name is different from
742         start-installed-name, we must not use the shared objects.
744         * csu/Makefile
745         (extra-objs): Add gmon-start.o when building shared library and
746         $(static-start-installed-name) is different from
747         $(start-installed-name).
748         $(objpfx)g$(static-start-installed-name): When building shared
749         library and $(static-start-installed-name) is different from
750         $(static-start-installed-name), revert to non-shared rule,
751         i.e. using $(objpfx)% and gmon-start.o.
753 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
755         [BZ #16519]
756         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
757         (__ieee754_sinh): Force underflow exception for arguments with
758         small absolute value.
759         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
760         (__ieee754_sinhf): Force underflow exception for arguments with
761         small absolute value.
762         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
763         (__ieee754_sinhl): Force underflow exception for arguments with
764         small absolute value.
765         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
766         (__ieee754_sinhl): Force underflow exception for arguments with
767         small absolute value.
768         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
769         (__ieee754_sinhl): Force underflow exception for arguments with
770         small absolute value.
771         * math/auto-libm-test-in: Add more tests of sinh.
772         * math/auto-libm-test-out: Regenerated.
773         * sysdeps/i386/fpu/libm-test-ulps: Update.
775 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
777         * libio/oldfileops.c: Include unistd.h.
779 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
781         * stdlib/isomac.c: Include ctype.h.
783 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
785         * dirent/tst-seekdir.c (main): Converted to ...
786         (do_test): ... this.
787         (TEST_FUNCTION): New macro.
788         Include test-skeleton.c.
789         * elf/tst-dlmodcount.c (main): Converted to ...
790         (do_test): ... this.
791         (TEST_FUNCTION): New macro.
792         Include test-skeleton.c.
793         * elf/tst-order-main.c (main): Converted to ...
794         (do_test): ... this.
795         (TEST_FUNCTION): New macro.
796         Include test-skeleton.c.
797         * elf/tst-pie2.c (main): Converted to ...
798         (do_test): ... this.
799         (TEST_FUNCTION): New macro.
800         Include test-skeleton.c.
801         * inet/tst-ether_aton.c (main): Converted to ...
802         (do_test): ... this.
803         (TEST_FUNCTION): New macro.
804         Include test-skeleton.c.
805         * misc/tst-mntent.c (main): Converted to ...
806         (do_test): ... this.
807         (TEST_FUNCTION): New macro.
808         Include test-skeleton.c.
809         * misc/tst-tsearch.c (main): Converted to ...
810         (do_test): ... this.
811         (TEST_FUNCTION): New macro.
812         Include test-skeleton.c.
813         * posix/tst-regexloc.c (main): Converted to ...
814         (do_test): ... this.
815         (TEST_FUNCTION): New macro.
816         Include test-skeleton.c.
817         * resolv/tst-aton.c (main): Converted to ...
818         (do_test): ... this.
819         (TEST_FUNCTION): New macro.
820         Include test-skeleton.c.
821         * stdio-common/test-fwrite.c (main): Converted to ...
822         (do_test): ... this.
823         (TEST_FUNCTION): New macro.
824         Include test-skeleton.c.
825         * stdio-common/tst-ferror.c (main): Converted to ...
826         (do_test): ... this.
827         (TEST_FUNCTION): New macro.
828         Include test-skeleton.c.
829         * stdio-common/tst-printf.c (main): Converted to ...
830         (do_test): ... this.
831         (TEST_FUNCTION): New macro.
832         Include test-skeleton.c.
833         * stdio-common/tst-printfsz.c (main): Converted to ...
834         (do_test): ... this.
835         (TEST_FUNCTION): New macro.
836         Include test-skeleton.c.
837         * stdlib/tst-strtod.c (main): Converted to ...
838         (do_test): ... this.
839         (TEST_FUNCTION): New macro.
840         Include test-skeleton.c.
841         * string/tst-strlen.c (main): Converted to ...
842         (do_test): ... this.
843         (TEST_FUNCTION): New macro.
844         Include test-skeleton.c.
845         * string/tst-svc.c (main): Converted to ...
846         (do_test): ... this.
847         (TEST_FUNCTION): New macro.
848         Include test-skeleton.c.
849         * time/tst-strptime.c (main): Converted to ...
850         (do_test): ... this.
851         (TEST_FUNCTION): New macro.
852         Include test-skeleton.c.
853         * timezone/tst-timezone.c (main): Converted to ...
854         (do_test): ... this.
855         (TEST_FUNCTION): New macro.
856         Include test-skeleton.c.
858 2015-08-05  Zack Weinberg  <zackw@panix.com>
860         * misc/regexp.h: Update comments.
862 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
864         [BZ #18635]
865         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
866         before return label.
868 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
870         [BZ #18661]
871         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
872         when calling __errno_location.
873         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
874         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
876 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
878         [BZ #18661]
879         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
880         (__lll_timedwait_tid): Align stack to 16 bytes when calling
881         __gettimeofday.
883 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
885         [BZ #18661]
886         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
887         (__start_context): Don't use pop to restore %rdi so that stack
888         is aligned to 16 bytes when calling __setcontext.
890 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
892         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
893         only for libc.
894         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
896 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
898         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
899         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
900         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
902 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
904         * string/memccpy.c (memccpy):
905         Improve performance by using memchr/memcpy/__mempcpy.
907 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
909         * string/strncpy.c (strncpy):
910         Improve performance by using __strnlen/memcpy.
912 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
914         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
915         Optimize to avoid an unnecessary FPCR read.
917 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
919         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
920         Optimize to reduce FPCR/FPSR accesses.
922 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
924         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
925         dead->data[category] != NULL.
927 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
929         [BZ #18647]
930         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
931         and |x| close to 1, use absolute value of x when computing log.
932         * math/auto-libm-test-in: Add more tests of pow.
933         * math/auto-libm-test-out: Regenerated.
935 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
937         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
938         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
939         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
941 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
943         [BZ #18525]
944         * locales/km_KH: Remove timezone definition.
945         * locales/lo_LA: Likewise.
946         * locales/my_MM: Likewise.
947         * locales/nan_TW@latin: Likewise.
948         * locales/th_TH: Likewise.
949         * locales/uk_UA: Likewise.
951 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
953         [BZ #18265]
954         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
955         (wcsncat): Likewise.
956         (wcscmp): Likewise.
957         (wcsncmp): Likewise.
959 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
961         * test-skeleton.c (usage): New function.
962         (main): Call usage when opt is '?'.
964 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
966         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
967         before first use.
969 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
971         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
972         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
973         in there too.
975 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
977         * version.h (RELEASE): Set to "development".
978         (VERSION): Set to "2.22.90"
980         * version.h (RELEASE): Set to "stable".
981         (VERSION): Set to "2.22"
982         * include/features.h (__GLIBC_MINOR__): Set to 22.
984 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
986         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
987         Restructure macro to avoid "value computed is not used" warning.
988         (atomic_compare_and_exchange_val_acq): Likewise.
990 2015-08-04  Andreas Schwab  <schwab@suse.de>
992         [BZ #18635]
993         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
994         ret.
995         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
997 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
999         * po/pl.po: Updated translation.
1000         * po/uk.po: Likewise.
1001         * po/fi.po: Likewise.
1002         * po/ko.po: Likewise.
1003         * po/ru.po: Likewise.
1004         * po/vi.po: Likewise.
1006 2015-07-31  Zack Weinberg  <zackw@panix.com>
1008         [BZ #18681]
1009         * regexp.h: Add unconditional #warning stating that this header
1010         will be removed soon.  Revise banner comment to match.
1011         (compile): Consistently use ERROR instead of RETURN to report
1012         errors (partial fix for bz#18681).
1013         * regexp.c: Don't include regexp.h. Remove some unnecessary
1014         declarations.
1016 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
1018         * po/libc.pot: Regenerated.
1020 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1022         [BZ #18740]
1023         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
1024         float-vlen4-arch-ext-cflags): Removed.
1025         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
1026         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
1028 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1030         [BZ #14113]
1031         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
1032         aligned to __aligned__.
1033         (pthread_cond_t, pthread_rwlock_t): Likewise.
1035 2015-07-30  Torvald Riegel  <triegel@redhat.com>
1037         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
1039 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1041         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
1042         (struct sigaction): Change sa_flags from a long to an int, and add
1043         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
1045 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1047         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
1048         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
1049         sysdeps/generic/sysdep.h include.
1050         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
1051         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
1052         sysdeps/hppa/sysdep.h.
1053         (ENTRY, PSEUDO): Undefine before defining.
1055 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1057         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
1058         from scratch to use INTERNAL_SYSCALL.
1060 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
1062         [BZ #18078]
1063         * scripts/check-localplt.awk: Support alternate relocations.
1064         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
1065         sections.
1066         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
1067         malloc entries with + REL R_386_GLOB_DAT.
1068         * sysdeps/x86_64/localplt.data: New file.
1070 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
1072         [BZ #18731]
1073         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
1074         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1075         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1077 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1079         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
1081 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1083         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
1084         directly in terms of __sync_fetch_and_add and delete (int) cast.
1086 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1088         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
1089         the -D_ASM_IA64_CURRENT_H flag.
1091 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1093         [BZ #18641]
1094         * pwd/pwd.h (putpwent): Delete __nonnull markings.
1096 2015-07-27  Andreas Schwab  <schwab@suse.de>
1098         * conform/conformtest.pl (checknamespace): Filter out string
1099         literals while tokenizing.
1101 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1103         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1104         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
1105         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1107 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1109         * nptl/tst-join7mod.c: Add #include <string.h>.
1111 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1113         * sysdeps/nios2/libm-test-ulps: Update.
1115 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1117         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
1118         Fix order of arguments to the rt_sigprocmask syscall.
1119         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
1120         Likewise.
1122 2015-07-24  Roland McGrath  <roland@hack.frob.com>
1124         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
1126 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1128         [BZ #18457]
1129         * nptl/Makefile (tests): New test case tst-join7.
1130         (modules-names): New test case module tst-join7mod.
1131         * nptl/tst-join7.c: New file.
1132         * nptl/tst-join7mod.c: New file.
1133         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
1134         all translation units in libc.so, libpthread.so and rtld.
1136 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1138         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1140 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
1142         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
1143         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1144         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1145         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1146         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1147         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1148         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1149         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1150         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1151         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1152         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1153         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1154         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
1155         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
1156         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
1157         implementation.
1159 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1161         [BZ #17711]
1162         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1163         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
1164         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1165         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1166         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
1167         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1169 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1171         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
1172         instead of just saying load lock in the comments.
1174 2015-07-23  Roland McGrath  <roland@hack.frob.com>
1176         * sysdeps/unix/Subdirs: Moved ...
1177         * sysdeps/posix/Subdirs: ... here.
1178         * login/pty.h (struct termios, struct winsize): Add forward decls.
1179         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
1180         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
1181         * sysdeps/arm/nacl/libc.abilist: Updated.
1182         * sysdeps/nacl/libutil.abilist: New file.
1184         * bits/signum.h: Update comments to mention 1003.1-2013 too.
1185         (SIGWINCH): New macro.
1187         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
1188         * sysdeps/arm/nacl/libc.abilist: Add it.
1190 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1192         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
1194 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1196         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1197         Swap __glibc_reserved0 and sa_flags order.
1199 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
1201         [BZ #18657]
1202         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
1203         are pending TLS destructor calls.
1204         * include/link.h (struct link_map): Add concurrency note for
1205         L_TLS_DTOR_COUNT.
1206         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
1207         Don't touch the link map flag.  Atomically increment
1208         l_tls_dtor_count.
1209         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
1210         Avoid taking the load lock and don't touch the link map flag.
1211         * stdlib/tst-tls-atexit-nodelete.c: New test case.
1212         * stdlib/Makefile (tests): Use it.
1213         * stdlib/tst-tls-atexit.c (do_test): dlopen
1214         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
1215         to allow tst-tls-atexit-nodelete test case to use it.
1217 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1219         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
1220         to bits/types.h.
1221         (msgqnum_t): New typedef.
1222         (msglen_t): Likewise.
1223         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
1224         and msg_qbytes type to msglen_t.
1226 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1228         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
1229         pad0 to __glibc_reserved0.
1230         (struct stat64): Likewise.
1232 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1234         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1235         Change sa_flags from a long to an int and add __glibc_reserved0 before
1236         it for padding.
1238 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1240         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
1241         anonymous by deleting "siginfo" name.
1243 2015-07-21  Roland McGrath  <roland@hack.frob.com>
1245         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
1246         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
1247         rather than __nacl_irt_filename.
1248         * sysdeps/nacl/xstat.c (__xstat): Likewise.
1250         * NEWS: New item for arm-nacl port.
1251         * sysdeps/arm/nacl/libc.abilist: New file.
1252         * sysdeps/nacl/ld.abilist: New file.
1253         * sysdeps/nacl/libBrokenLocale.abilist: New file.
1254         * sysdeps/nacl/libanl.abilist: New file.
1255         * sysdeps/nacl/libcrypt.abilist: New file.
1256         * sysdeps/nacl/libdl.abilist: New file.
1257         * sysdeps/nacl/libm.abilist: New file.
1258         * sysdeps/nacl/libpthread.abilist: New file.
1259         * sysdeps/nacl/libresolv.abilist: New file.
1260         * sysdeps/nacl/librt.abilist: New file.
1262 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
1264         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
1265         __startcontext to initialize the new context.
1266         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
1267         up CFI directive to forbid further backtracing.
1269 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
1271         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
1272         reference.
1273         * charmaps/ANSI_X3.4-1968: Likewise.
1274         * charmaps/BS_4730: Likewise.
1275         * charmaps/BS_VIEWDATA: Likewise.
1276         * charmaps/CP1250: Likewise.
1277         * charmaps/CP1251: Likewise.
1278         * charmaps/CP1252: Likewise.
1279         * charmaps/CP1253: Likewise.
1280         * charmaps/CP1254: Likewise.
1281         * charmaps/CP1255: Likewise.
1282         * charmaps/CP1256: Likewise.
1283         * charmaps/CSN_369103: Likewise.
1284         * charmaps/EBCDIC-DK-NO: Likewise.
1285         * charmaps/GB_1988-80: Likewise.
1286         * charmaps/GREEK-CCITT: Likewise.
1287         * charmaps/GREEK7: Likewise.
1288         * charmaps/INIS-8: Likewise.
1289         * charmaps/ISIRI-3342: Likewise.
1290         * charmaps/ISO_2033-1983: Likewise.
1291         * charmaps/ISO_5427-EXT: Likewise.
1292         * locales/POSIX: Likewise.
1293         * locales/ar_SA: Likewise.
1294         * locales/be_BY: Likewise.
1295         * locales/be_BY@latin: Likewise.
1296         * locales/ca_ES: Likewise.
1297         * locales/cs_CZ: Likewise.
1298         * locales/da_DK: Likewise.
1299         * locales/de_BE: Likewise.
1300         * locales/de_CH: Likewise.
1301         * locales/de_LU: Likewise.
1302         * locales/en_AU: Likewise.
1303         * locales/en_BW: Likewise.
1304         * locales/en_CA: Likewise.
1305         * locales/en_DK: Likewise.
1306         * locales/en_GB: Likewise.
1307         * locales/en_IE: Likewise.
1308         * locales/en_NZ: Likewise.
1309         * locales/en_ZA: Likewise.
1310         * locales/en_ZW: Likewise.
1311         * locales/es_AR: Likewise.
1312         * locales/es_BO: Likewise.
1313         * locales/es_CL: Likewise.
1314         * locales/es_CO: Likewise.
1315         * locales/es_DO: Likewise.
1316         * locales/es_EC: Likewise.
1317         * locales/es_ES: Likewise.
1318         * locales/es_HN: Likewise.
1319         * locales/es_MX: Likewise.
1320         * locales/es_PA: Likewise.
1321         * locales/es_PE: Likewise.
1322         * locales/es_PY: Likewise.
1323         * locales/es_SV: Likewise.
1324         * locales/es_US: Likewise.
1325         * locales/es_UY: Likewise.
1326         * locales/es_VE: Likewise.
1327         * locales/et_EE: Likewise.
1328         * locales/fa_IR: Likewise.
1329         * locales/fo_FO: Likewise.
1330         * locales/fr_CA: Likewise.
1331         * locales/fr_CH: Likewise.
1332         * locales/gv_GB: Likewise.
1333         * locales/he_IL: Likewise.
1334         * locales/hr_HR: Likewise.
1335         * locales/id_ID: Likewise.
1336         * locales/is_IS: Likewise.
1337         * locales/it_CH: Likewise.
1338         * locales/iw_IL: Likewise.
1339         * locales/kl_GL: Likewise.
1340         * locales/ko_KR: Likewise.
1341         * locales/kw_GB: Likewise.
1342         * locales/lg_UG: Likewise.
1343         * locales/lt_LT: Likewise.
1344         * locales/lv_LV: Likewise.
1345         * locales/mi_NZ: Likewise.
1346         * locales/nhn_MX: Likewise.
1347         * locales/nl_BE: Likewise.
1348         * locales/pl_PL: Likewise.
1349         * locales/sk_SK: Likewise.
1350         * locales/sl_SI: Likewise.
1351         * locales/sv_FI: Likewise.
1352         * locales/tl_PH: Likewise.
1353         * locales/tr_TR: Likewise.
1354         * locales/vi_VN: Likewise.
1356 2015-07-21  Khem Raj  <raj.khem@gmail.com>
1358         [BZ #17475]
1359         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
1360         of tu_IN and bh_IN.
1362 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
1364         [BZ #18694]
1365         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
1366         bits/wordsize.h.
1367         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
1369 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1371         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
1372         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
1373         (spawn_thread): New function.
1374         (load): Rename to reg_dtor_and_close.  Move dlopen to...
1375         (do_test): ... here.  Use IS_LOADED to test for its
1376         availability.
1378 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
1380         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1382 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
1384         [BZ #18696]
1385         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
1386         si_addr_bnd.
1387         (si_lower): New.
1388         (si_upper): Likewise.
1390 2015-07-16  David S. Miller  <davem@davemloft.net>
1392         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
1394 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1396         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
1397         buffer.
1398         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
1399         fail output information.
1401 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1403         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
1404         and strstr-ppc64..
1405         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1406         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
1407         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
1408         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
1409         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
1411 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
1413         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
1414         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1415         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
1416         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1418 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
1420         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
1421         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
1422         rtld_hidden_proto.
1423         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
1425 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1427         * tst-nodelete-opened.c (do_test): Add comment to clarify how
1428         the test can fail.
1430         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
1432         [BZ #18676]
1433         * elf/tst-nodelete-opened.c: New test case.
1434         * elf/tst-nodelete-opened-lib.c: New test case module.
1435         * elf/Makefile (tests, modules-names): Use them.
1436         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
1437         early.
1439 2015-07-15  David S. Miller  <davem@davemloft.net>
1441         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
1442         futex-intenal.h
1443         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
1444         * sysdeps/sparc/sparc64/Makefile: Likewise.
1445         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
1446         Remove space from macro define.
1447         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
1449 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
1451         [BZ #17475]
1452         * locale/iso-639.def: Update Bhili and Tulu language codes as
1453         per iso639-3.
1455 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
1457         * elf/tst-leaks1.c (main): Converted to ...
1458         (do_test): ... this.
1459         (TEST_FUNCTION): New macro.
1460         Include test-skeleton.c.
1461         * localedata/tst-langinfo.c (main): Converted to ...
1462         (do_test): ... this.
1463         (TEST_FUNCTION): New macro.
1464         Include test-skeleton.c.
1465         * math/test-fpucw.c (main): Converted to ...
1466         (do_test): ... this.
1467         (TEST_FUNCTION): New macro.
1468         Include test-skeleton.c.
1469         * math/test-tgmath.c (main): Converted to ...
1470         (do_test): ... this.
1471         (TEST_FUNCTION): New macro.
1472         Include test-skeleton.c.
1473         * math/test-tgmath2.c (main): Converted to ...
1474         (do_test): ... this.
1475         (TEST_FUNCTION): New macro.
1476         Include test-skeleton.c.
1477         * setjmp/tst-setjmp.c (main): Converted to ...
1478         (do_test): ... this.
1479         (TEST_FUNCTION): New macro.
1480         Include test-skeleton.c.
1481         * stdio-common/tst-sscanf.c (main): Converted to ...
1482         (do_test): ... this.
1483         (TEST_FUNCTION): New macro.
1484         Include test-skeleton.c.
1485         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
1486         (do_test): ... this.
1487         (TEST_FUNCTION): New macro.
1488         Include test-skeleton.c.
1490         * elf/tst-audit9.c (main): Converted to ...
1491         (do_test): ... this.
1492         (TEST_FUNCTION): New macro.
1493         Include test-skeleton.c.
1495 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
1497         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
1499 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1501         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
1502         New variable.
1504 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1506         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1508 2015-07-14  Roland McGrath  <roland@hack.frob.com>
1510         * sysdeps/generic/dl-fileid.h: New file.
1511         * sysdeps/posix/dl-fileid.h: New file.
1512         * sysdeps/nacl/dl-fileid.h: New file.
1513         * include/link.h: Include <dl-fileid.h>.
1514         (struct link_map): Replace l_dev and l_ino with l_file_id.
1515         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
1516         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
1517         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
1519 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1521         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
1523 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1525         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
1526         Add iff $CXX is set.
1527         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
1528         Likewise.
1529         (tst-nodelete-zmodiff): Likewise.
1530         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
1532 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1534         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
1536 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
1538         * sysdeps/aarch64/fpu/math_private.h
1539         (define math_opt_barrier): Add AArch64 version.
1540         (math_force_eval): Likewise.
1542 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
1544         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
1546 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
1548         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
1549         %ld with %jd and cast to intmax_t.
1550         (do_test_length_zero): Likewise.
1552 2015-07-10  Roland McGrath  <roland@hack.frob.com>
1554         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
1556 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
1558         * sysdeps/tile/libm-test-ulps: Regenerated.
1560         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
1561         Comment out the whole function, not just its body.
1563 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1565         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
1566         locks.
1568         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
1570 2015-07-10  Torvald Riegel  <triegel@redhat.com>
1572         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
1573         (sem_assume_only_signals_cause_futex_EINTR): Remove.
1575 2015-07-10  Torvald Riegel  <triegel@redhat.com>
1577         * sysdeps/nptl/futex-internal.h: New file.
1578         * sysdeps/nacl/futex-internal.h: New file.
1579         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
1580         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
1581         error checking.
1582         (setxid_unmark_thread): Likewise.
1583         (__nptl_setxid): Likewise.
1584         (__wait_lookup_done): Likewise.
1585         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
1586         * nptl/nptl-init.c (sighandler_setxid): Likewise.
1587         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1588         * nptl/pthread_once.c (clear_once_control): Likewise.
1589         (__pthread_once_slow): Likewise.
1590         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
1591         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
1592         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
1593         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1594         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
1595         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
1596         Likewise.
1597         (__pthread_rwlock_rdlock): Likewise.
1598         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1599         Likewise.
1600         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1601         Likewise.
1602         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1603         Likewise.
1604         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
1605         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
1606         Likewise.
1607         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
1608         __ASSUME_PRIVATE_FUTEX check.
1609         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
1610         Check that shared futexes are supported.
1611         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
1612         wrappers with error checking.
1613         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
1614         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
1615         * nptl/pthread_barrierattr_setpshared.c
1616         (pthread_barrierattr_setpshared): Check that shared futexes are
1617         supported.
1618         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
1619         Likewise.
1620         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
1621         Likewise.
1622         * nptl/sem_init.c (futex_private_if_supported): Remove.
1623         (__new_sem_init): Adapt and check that shared futexes are supported.
1624         * nptl/sem_open.c (sem_open): Likewise.
1625         * nptl/sem_post.c (futex_wake): Remove.
1626         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
1627         (do_futex_wait): Use futex wrappers with error checking.
1628         * nptl/sem_wait.c: Include lowlevellock.h.
1629         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
1630         Use futex_supports_pshared.
1631         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
1632         Use futex wrappers with error checking.
1633         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
1634         Likewise.
1635         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
1636         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
1637         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
1638         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
1639         (futex_wake): Likewise.
1640         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
1641         (do_futex_wait): Use futex wrappers with error checking.
1642         (__new_sem_wait_slow): Update EINTR handling.
1643         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
1645 2015-07-09  Martin Sebor  <msebor@redhat.com>
1647         [BZ #18435]
1648         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
1649         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
1650         * nptl/Makefile (test-xfail-tst-once5): Define.
1652 2015-07-09  Roland McGrath  <roland@hack.frob.com>
1654         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
1655         * elf/dl-minimal.c: For readability, reorder some definitions and
1656         introduce more page breaks.  Include <stdio.h>.
1657         (__libc_fatal): New function.
1659         * include/unistd.h: Add rtld_hidden_proto for _exit.
1660         * posix/_exit.c: Add rtld_hidden_def.
1661         * sysdeps/mach/hurd/_exit.c: Likewise.
1662         * sysdeps/nacl/_exit.c: Likewise.
1663         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
1664         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
1666 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
1668         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
1669         bndmov encoding with zero displacement.
1671 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
1672             H.J. Lu  <hongjiu.lu@intel.com>
1674         [BZ #18134]
1675         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
1676         * sysdeps/i386/configure: Regenerated.
1677         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
1678         (_dl_runtime_profile): Save and restore Intel MPX return bound
1679         registers when calling _dl_call_pltexit.  Add
1680         PRESERVE_BND_REGS_PREFIX before return.
1681         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
1682         (LRV_BND1_OFFSET): Likewise.
1683         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
1684         lrv_bnd1.
1685         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
1686         typo in bndmov encoding.
1687         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
1688         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
1689         branch instructions to preserve bounds.
1691 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1694         [GLIBC_2.22]: Add fmemopen.
1696 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1698         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
1699         returns an error, also try to use host port from __mach_host_self for
1700         the __vm_wire call.
1701         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
1703 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1705         [BZ #18400]
1706         [BZ #18648]
1707         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
1708         Fix pr_uid and pr_gid members.
1709         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
1710         definition to elf_greg_t.
1712 2015-07-08  Roland McGrath  <roland@hack.frob.com>
1714         [BZ #18383]
1715         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
1716         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
1717         * sysdeps/arm/configure: Regenerated.
1718         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
1719         (test-xfail-tst-tlsalign-static): Variable removed.
1721         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
1722         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
1723         rather than explicit 'ln -s'.
1725         * resolv/rpc/netdb.h: New file.
1726         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
1728 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1730         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
1731         length buffers.
1732         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
1733         test-skeleton.c.
1735         [BZ #6544]
1736         [BZ #11216]
1737         [BZ #12836]
1738         [BZ #13151]
1739         [BZ #13152]
1740         [BZ #14292]
1741         * include/stdio.h (fmemopen): Remove hidden prototype.
1742         (__fmemopen): Add new hidden prototype.
1743         * libio/Makefile: Add oldfmemopen object.
1744         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
1745         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
1746         compliance.
1747         * libio/oldfmemopen.c: New file: old fmemopen implementation for
1748         symbol compatibility.
1749         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
1750         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
1751         fmemopen.
1752         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
1753         on append and read mode.
1754         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
1755         fmemopen.
1756         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
1757         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
1758         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
1759         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
1760         Likewise.
1761         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1762         [GLIBC_2.22]: Likewise.
1763         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
1764         Likewise.
1765         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
1766         Likewise.
1767         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1768         [GLIBC_2.22]: Likewise.
1769         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1770         [GLIBC_2.22]: Likewise.
1771         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1772         [GLIBC_2.22]: Likewise.
1773         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1774         [GLIBC_2.22]: Likewise.
1775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1776         [GLIBC_2.22]: Likewise.
1777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1778         [GLIBC_2.22]: Likewise.
1779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1780         [GLIBC_2.22]: Likewise.
1781         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
1782         Likewise.
1783         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
1784         Likewise.
1785         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
1786         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1787         [GLIBC_2.22]: Likewise.
1788         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1789         [GLIBC_2.22]: Likewise.
1790         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1791         [GLIBC_2.22]: Likewise.
1792         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1793         [GLIBC_2.22]: Likewise.
1794         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
1795         Likewise.
1796         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
1797         Likewise.
1798         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
1799         Likewise.
1800         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
1801         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
1803 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
1805         [BZ #18643]
1806         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
1807         IPV6_PATHMTU, and IPV6_DONTFRAG.
1809 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
1811         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
1812         and _IO_UNBUFFERED.
1813         * libio/oldfileops.c: Likewise.
1814         * libio/wfileops.c: Likewise.
1816 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
1818         * nscd/selinux.c: Delete selinux/flask.h include.
1820 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
1822         [BZ #18641]
1823         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
1824         (putpwent): Likewise.
1825         (getpwnam): Likewise.
1826         (getpwent_r): Likewise.
1827         (getpwuid_r): Likewise.
1828         (getpwnam_r): Likewise.
1829         (fgetpwent_r): Likewise.
1831 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
1833         [BZ #18557]
1834         * inet/rcmd.c (__validuser2_sa): Check user first to
1835         short-circuit host check.
1837 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
1838             Mikhail Ilin  <m.ilin@samsung.com>
1840         [BZ #17833]
1841         * elf/Makefile (tests): Add tst-nodelete.
1842         (modules-names): Add tst-nodelete-uniquemod.
1843         (tst-nodelete-uniquemod.so-no-z-defs): New.
1844         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
1845         (tst-nodelete-zmod.so-no-z-defs): Likewise.
1846         ($(objpfx)tst-nodelete): Likewise.
1847         ($(objpfx)tst-nodelete.out): Likewise.
1848         (LDFLAGS-tst-nodelete): Likewise.
1849         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
1850         * elf/dl-close.c (_dl_close_worker): Add a parameter to
1851         implement forced object deletion.
1852         (_dl_close): Pass false to _dl_close_worker.
1853         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
1854         * elf/tst-nodelete.cc: New file.
1855         * elf/tst-nodeletelib.cc: Likewise.
1856         * elf/tst-znodeletelib.cc: Likewise.
1857         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
1859 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1861         [BZ #18508]
1862         * stdlib/Makefile ($(objpfx)tst-makecontext3):
1863         Depend on $(libdl).
1864         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
1865         is not called infinitely times.
1866         (backtrace_helper): New function.
1867         (trace_arg): New struct.
1868         (st1): Enlarge stack size.
1869         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1870         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
1871         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1872         Likewise.
1874 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1876         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1878 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1880         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
1881         Include sys/types.h instead of bits/types.h.
1882         Remove inclusion of bits/wordsize.h.
1884 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1886         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
1887         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
1888         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
1889         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
1890         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
1891         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
1893 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1895         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
1896         link-defines.sym.
1897         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
1898         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
1899         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
1900         and LR_SIZE.
1901         * sysdeps/i386/link-defines.sym: New file.
1903 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1905         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
1906         (modules-names): Add tst-auditmod3a tst-auditmod3b.
1907         ($(objpfx)tst-audit3): New rule.
1908         ($(objpfx)tst-audit3.out): Likewise.
1909         * sysdeps/i386/tst-audit3.c: New file.
1910         * sysdeps/i386/tst-audit3.h: Likewise.
1911         * sysdeps/i386/tst-auditmod3a.c: Likewise.
1912         * sysdeps/i386/tst-auditmod3b.c: Likewise.
1914 2015-07-07  Torvald Riegel  <triegel@redhat.com>
1916         [BZ #18633]
1917         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
1918         pointer in C code.
1919         (__strcat_c): Likewise.
1920         (__strcat_g): Likewise.
1922 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
1924         [BZ #18592]
1925         * misc/sbrk.c: Set errno to ENOMEM on overflow.
1927 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
1929         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
1930         New function.  (__ieee754_sqrtf): New function.
1931         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
1932         New function.
1933         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
1934         New function.
1936 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
1938         * sysdeps/ieee754/support.c: Remove unused file.
1940 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1942         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
1943         registers instead of d ones so the layout is kernel abi compatible.
1944         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
1945         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
1946         Likewise.
1948 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1950         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1952 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
1954         [BZ #18619]
1955         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
1956         and return argument in case of subnormal argument.
1958 2015-07-01  Martin Sebor  <msebor@redhat.com>
1960         [BZ #18435]
1961         * nptl/Makefile: Add tst-once5.cc.
1962         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
1963         Remove macro redefinitions.
1964         * nptl/tst-once5.cc: New test.
1966 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
1968         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1970         * sysdeps/arm/libm-test-ulps: Regenerated.
1972         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1973         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1975 2015-06-30  Torvald Riegel  <triegel@redhat.com>
1977         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
1978         lll_lock_wait_private and lll_futex_wake probes.
1980         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
1981         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
1982         Likewise.
1983         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
1984         atomic_spin_nop.
1985         * sysdeps/x86_64/bits/atomic.h: Likewise.
1986         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
1987         to atomic_spin_nop and move ...
1988         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
1989         ... here and ...
1990         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
1991         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
1992         atomic_spin_nop instead of BUSY_WAIT_NOP.
1993         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
1994         Likewise.
1995         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
1996         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
1997         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
1998         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
1999         instead of atomic_delay.
2001 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
2003         [BZ #18613]
2004         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
2005         X_ADJ not X when adjusting exponent.
2006         (__ieee754_gamma_r): Do intermediate computations in
2007         round-to-nearest then adjust overflowing and underflowing results
2008         as needed.
2009         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
2010         of X_ADJ not X when adjusting exponent.
2011         (__ieee754_gammaf_r): Do intermediate computations in
2012         round-to-nearest then adjust overflowing and underflowing results
2013         as needed.
2014         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
2015         log of X_ADJ not X when adjusting exponent.
2016         (__ieee754_gammal_r): Do intermediate computations in
2017         round-to-nearest then adjust overflowing and underflowing results
2018         as needed.  Use 1.0L not 1.0f as numerator of division.
2019         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
2020         log of X_ADJ not X when adjusting exponent.
2021         (__ieee754_gammal_r): Do intermediate computations in
2022         round-to-nearest then adjust overflowing and underflowing results
2023         as needed.  Use 1.0L not 1.0f as numerator of division.
2024         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
2025         of X_ADJ not X when adjusting exponent.
2026         (__ieee754_gammal_r): Do intermediate computations in
2027         round-to-nearest then adjust overflowing and underflowing results
2028         as needed.  Use 1.0L not 1.0f as numerator of division.
2029         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
2030         to auto-libm-test-in.
2031         (tgamma_test): Use ALL_RM_TEST.
2032         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
2033         tests of tgamma with spurious-overflow.
2034         * math/auto-libm-test-out: Regenerated.
2035         * math/gen-libm-have-vector-test.sh: Do not check for START.
2036         * sysdeps/i386/fpu/libm-test-ulps: Update.
2037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2039         [BZ #18612]
2040         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
2041         arguments, just return 0.5 times the argument, with underflow
2042         forced as needed.
2043         * math/auto-libm-test-in: Add more tests of j1.
2044         * math/auto-libm-test-out: Regenerated.
2046         [BZ #16559]
2047         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
2048         (__ieee754_j1): Force underflow exception for small results.
2049         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2050         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
2051         (__ieee754_j1f): Force underflow exception for small results.
2052         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2053         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2054         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2055         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
2056         (__ieee754_j1l): Force underflow exception for small results.
2057         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2058         * math/auto-libm-test-in: Add more tests of j1 and jn.
2059         * math/auto-libm-test-out: Regenerated.
2061         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
2062         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
2063         (PF_MPLS): Likewise.
2064         (AF_IB): Likewise.
2065         (AF_MPLS): Likewise.
2066         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
2067         value and macro.
2068         (MS_RMT_MASK): Include MS_LAZYTIME.
2070 2015-06-26  Mel Gorman  <mgorman@suse.de>
2072         [BZ #18502]
2073         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
2074         already minimal.
2076 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
2078         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
2079         (DT_MIPS_NUM): Update.
2080         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
2081         DT_MIPS_RLD_MAP_REL.
2083 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
2085         [BZ #16559]
2086         [BZ #18602]
2087         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
2088         round-to-nearest internally then recompute results that
2089         underflowed to zero in the original rounding mode.
2090         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2091         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2092         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2093         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
2094         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
2095         * sysdeps/i386/fpu/libm-test-ulps: Update.
2096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2098 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
2100         * NEWS: Fixed description of link with vector math library.
2102 2015-06-25  Andreas Schwab  <schwab@suse.de>
2104         [BZ #18549]
2105         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
2106         * libio/test-fmemopen.c (do_test): Add test for it.
2108 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
2110         [BZ #17841]
2111         * Makeconfig (no-pie-ldflag): New.
2112         (+link): Set to $(+link-pie) if default to PIE.
2113         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
2114         * config.make.in (build-pie-default): New.
2115         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
2116         is default.  AC_SUBST.
2117         * configure: Regenerated.
2118         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
2120 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2122         * nptl/descr.h (struct pthread): Change type of field setxid_futex
2123         to 'unsigned int'.
2125         * resolv/gai_misc.h (struct waitlist): Change type of field
2126         counterp to 'volatile unsigned int *'.
2127         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
2128         FUTEXADDR and OLDVAL.
2129         * resolv/getaddrinfo_a.c (getaddrinfo_a):
2130         Give local variable TOTAL type 'volatile unsigned int'.
2131         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2132         * resolv/gai_suspend.c (gai_suspend):
2133         Give local variable CNTR type 'unsigned int'.
2135         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
2136         counterp to 'volatile unsigned int *'.
2137         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
2138         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
2139         (aio_suspend): Give local variable CNTR type 'unsigned int'.
2140         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
2141         Give local variable TOTAL type 'volatile unsigned int'.
2142         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2144 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2146         [BZ #18383]
2147         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
2148         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
2149         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
2150         comment for i386/x86-64.
2151         (test-xfail-tst-tlsalign-extern-static): Removed.
2153 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2155         * math/test-double.h: New file.
2156         * math/test-float.h: Likewise.
2157         * math/test-ldouble.h: Likewise.
2158         * math/test-math-inline.h: Likewise.
2159         * math/test-math-no-inline.h: Likewise.
2160         * math/test-math-scalar.h: Likewise.
2161         * math/test-math-vector.h: Likewise.
2162         * math/test-vec-loop.h: Remove file.  Contents moved into
2163         test-math-vector.h.
2164         * math/libm-test.inc (MATHCONST): Do not document macro.
2165         * math/test-double.c: Include test-double.h, test-math-no-inline.h
2166         and test-math-scalar.h.
2167         (FUNC): Remove macro.
2168         (FUNC_TEST): Likewise.
2169         (FLOAT): Likewise.
2170         (MATHCONST): Likewise.
2171         (PRINTF_EXPR): Likewise.
2172         (PRINTF_XEXPR): Likewise.
2173         (PRINTF_NEXPR): Likewise.
2174         (TEST_DOUBLE): Likewise.
2175         (TEST_MATHVEC): Likewise.
2176         (__NO_MATH_INLINES): Likewise.
2177         * math/test-float.c: Include test-float.h, test-math-no-inline.h
2178         and test-math-scalar.h.
2179         (FUNC): Remove macro.
2180         (FUNC_TEST): Likewise.
2181         (FLOAT): Likewise.
2182         (MATHCONST): Likewise.
2183         (PRINTF_EXPR): Likewise.
2184         (PRINTF_XEXPR): Likewise.
2185         (PRINTF_NEXPR): Likewise.
2186         (TEST_FLOAT): Likewise.
2187         (TEST_MATHVEC): Likewise.
2188         (__NO_MATH_INLINES): Likewise.
2189         * math/test-idouble.c: Include test-double.h, test-math-inline.h
2190         and test-math-scalar.h.
2191         (FUNC): Remove macro.
2192         (FUNC_TEST): Likewise.
2193         (FLOAT): Likewise.
2194         (MATHCONST): Likewise.
2195         (PRINTF_EXPR): Likewise.
2196         (PRINTF_XEXPR): Likewise.
2197         (PRINTF_NEXPR): Likewise.
2198         (TEST_DOUBLE): Likewise.
2199         (TEST_MATHVEC): Likewise.
2200         (TEST_INLINE): Likewise.
2201         (__NO_MATH_INLINES): Likewise.
2202         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
2203         test-math-scalar.h.
2204         (FUNC): Remove macro.
2205         (FUNC_TEST): Likewise.
2206         (FLOAT): Likewise.
2207         (MATHCONST): Likewise.
2208         (PRINTF_EXPR): Likewise.
2209         (PRINTF_XEXPR): Likewise.
2210         (PRINTF_NEXPR): Likewise.
2211         (TEST_FLOAT): Likewise.
2212         (TEST_MATHVEC): Likewise.
2213         (TEST_INLINE): Likewise.
2214         (__NO_MATH_INLINES): Likewise.
2215         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
2216         and test-math-scalar.h.
2217         (FUNC): Remove macro.
2218         (FUNC_TEST): Likewise.
2219         (FLOAT): Likewise.
2220         (MATHCONST): Likewise.
2221         (PRINTF_EXPR): Likewise.
2222         (PRINTF_XEXPR): Likewise.
2223         (PRINTF_NEXPR): Likewise.
2224         (TEST_LDOUBLE): Likewise.
2225         (TEST_MATHVEC): Likewise.
2226         (TEST_INLINE): Likewise.
2227         (__NO_MATH_INLINES): Likewise.
2228         * math/test-ldouble.c: Include test-ldouble.h,
2229         test-math-no-inline.h and test-math-scalar.h.
2230         (FUNC): Remove macro.
2231         (FUNC_TEST): Likewise.
2232         (FLOAT): Likewise.
2233         (MATHCONST): Likewise.
2234         (PRINTF_EXPR): Likewise.
2235         (PRINTF_XEXPR): Likewise.
2236         (PRINTF_NEXPR): Likewise.
2237         (TEST_LDOUBLE): Likewise.
2238         (TEST_MATHVEC): Likewise.
2239         (__NO_MATH_INLINES): Likewise.
2240         * math/test-double-vlen2.h: Include test-double.h,
2241         test-math-no-inline.h and test-math-vector.h.
2242         (FLOAT): Remove macro.
2243         (FUNC): Likewise.
2244         (MATHCONST): Likewise.
2245         (PRINTF_EXPR): Likewise.
2246         (PRINTF_XEXPR): Likewise.
2247         (PRINTF_NEXPR): Likewise.
2248         (TEST_DOUBLE): Likewise.
2249         (TEST_MATHVEC): Likewise.
2250         (__NO_MATH_INLINES): Likewise.
2251         (CNCT): Likewise.
2252         (CONCAT): Likewise.
2253         (WRAPPER_NAME): Likewise.
2254         (WRAPPER_DECL): Likewise.
2255         (WRAPPER_DECL_ff): Likewise.
2256         (WRAPPER_DECL_fFF): Likewise.
2257         (VECTOR_WRAPPER): Likewise.
2258         (VECTOR_WRAPPER_ff): Likewise.
2259         (VECTOR_WRAPPER_fFF): Likewise.
2260         (VEC_LEN): New macro.
2261         * math/test-double-vlen4.h: Include test-double.h,
2262         test-math-no-inline.h and test-math-vector.h.
2263         (FLOAT): Remove macro.
2264         (FUNC): Likewise.
2265         (MATHCONST): Likewise.
2266         (PRINTF_EXPR): Likewise.
2267         (PRINTF_XEXPR): Likewise.
2268         (PRINTF_NEXPR): Likewise.
2269         (TEST_DOUBLE): Likewise.
2270         (TEST_MATHVEC): Likewise.
2271         (__NO_MATH_INLINES): Likewise.
2272         (CNCT): Likewise.
2273         (CONCAT): Likewise.
2274         (WRAPPER_NAME): Likewise.
2275         (WRAPPER_DECL): Likewise.
2276         (WRAPPER_DECL_ff): Likewise.
2277         (WRAPPER_DECL_fFF): Likewise.
2278         (VECTOR_WRAPPER): Likewise.
2279         (VECTOR_WRAPPER_ff): Likewise.
2280         (VECTOR_WRAPPER_fFF): Likewise.
2281         (VEC_LEN): New macro.
2282         * math/test-double-vlen8.h: Include test-double.h,
2283         test-math-no-inline.h and test-math-vector.h.
2284         (FLOAT): Remove macro.
2285         (FUNC): Likewise.
2286         (MATHCONST): Likewise.
2287         (PRINTF_EXPR): Likewise.
2288         (PRINTF_XEXPR): Likewise.
2289         (PRINTF_NEXPR): Likewise.
2290         (TEST_DOUBLE): Likewise.
2291         (TEST_MATHVEC): Likewise.
2292         (__NO_MATH_INLINES): Likewise.
2293         (CNCT): Likewise.
2294         (CONCAT): Likewise.
2295         (WRAPPER_NAME): Likewise.
2296         (WRAPPER_DECL): Likewise.
2297         (WRAPPER_DECL_ff): Likewise.
2298         (WRAPPER_DECL_fFF): Likewise.
2299         (VECTOR_WRAPPER): Likewise.
2300         (VECTOR_WRAPPER_ff): Likewise.
2301         (VECTOR_WRAPPER_fFF): Likewise.
2302         (VEC_LEN): New macro.
2303         * math/test-float-vlen4.h: Include test-float.h,
2304         test-math-no-inline.h and test-math-vector.h.
2305         (FLOAT): Remove macro.
2306         (FUNC): Likewise.
2307         (MATHCONST): Likewise.
2308         (PRINTF_EXPR): Likewise.
2309         (PRINTF_XEXPR): Likewise.
2310         (PRINTF_NEXPR): Likewise.
2311         (TEST_FLOAT): Likewise.
2312         (TEST_MATHVEC): Likewise.
2313         (__NO_MATH_INLINES): Likewise.
2314         (CNCT): Likewise.
2315         (CONCAT): Likewise.
2316         (WRAPPER_NAME): Likewise.
2317         (WRAPPER_DECL): Likewise.
2318         (WRAPPER_DECL_ff): Likewise.
2319         (WRAPPER_DECL_fFF): Likewise.
2320         (VECTOR_WRAPPER): Likewise.
2321         (VECTOR_WRAPPER_ff): Likewise.
2322         (VECTOR_WRAPPER_fFF): Likewise.
2323         (VEC_LEN): New macro.
2324         * math/test-float-vlen8.h: Include test-float.h,
2325         test-math-no-inline.h and test-math-vector.h.
2326         (FLOAT): Remove macro.
2327         (FUNC): Likewise.
2328         (MATHCONST): Likewise.
2329         (PRINTF_EXPR): Likewise.
2330         (PRINTF_XEXPR): Likewise.
2331         (PRINTF_NEXPR): Likewise.
2332         (TEST_FLOAT): Likewise.
2333         (TEST_MATHVEC): Likewise.
2334         (__NO_MATH_INLINES): Likewise.
2335         (CNCT): Likewise.
2336         (CONCAT): Likewise.
2337         (WRAPPER_NAME): Likewise.
2338         (WRAPPER_DECL): Likewise.
2339         (WRAPPER_DECL_ff): Likewise.
2340         (WRAPPER_DECL_fFF): Likewise.
2341         (VECTOR_WRAPPER): Likewise.
2342         (VECTOR_WRAPPER_ff): Likewise.
2343         (VECTOR_WRAPPER_fFF): Likewise.
2344         (VEC_LEN): New macro.
2345         * math/test-float-vlen16.h: Include test-float.h,
2346         test-math-no-inline.h and test-math-vector.h.
2347         (FLOAT): Remove macro.
2348         (FUNC): Likewise.
2349         (MATHCONST): Likewise.
2350         (PRINTF_EXPR): Likewise.
2351         (PRINTF_XEXPR): Likewise.
2352         (PRINTF_NEXPR): Likewise.
2353         (TEST_FLOAT): Likewise.
2354         (TEST_MATHVEC): Likewise.
2355         (__NO_MATH_INLINES): Likewise.
2356         (CNCT): Likewise.
2357         (CONCAT): Likewise.
2358         (WRAPPER_NAME): Likewise.
2359         (WRAPPER_DECL): Likewise.
2360         (WRAPPER_DECL_ff): Likewise.
2361         (WRAPPER_DECL_fFF): Likewise.
2362         (VECTOR_WRAPPER): Likewise.
2363         (VECTOR_WRAPPER_ff): Likewise.
2364         (VECTOR_WRAPPER_fFF): Likewise.
2365         (VEC_LEN): New macro.
2366         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
2367         test-vec-loop.h.
2368         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2369         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2370         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2371         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2372         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2373         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2374         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2376 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2378         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
2379         (__getlogin_r): ... this.
2381 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2383         [BZ #18594]
2384         * math/s_ccosh.c (__ccosh): Compare with least normal value
2385         instead of comparing class with FP_SUBNORMAL.
2386         * math/s_ccoshf.c (__ccoshf): Likewise.
2387         * math/s_ccoshl.c (__ccoshl): Likewise.
2388         * math/s_cexp.c (__cexp): Likewise.
2389         * math/s_cexpf.c (__cexpf): Likewise.
2390         * math/s_cexpl.c (__cexpl): Likewise.
2391         * math/s_csin.c (__csin): Likewise.
2392         * math/s_csinf.c (__csinf): Likewise.
2393         * math/s_csinh.c (__csinh): Likewise.
2394         * math/s_csinhf.c (__csinhf): Likewise.
2395         * math/s_csinhl.c (__csinhl): Likewise.
2396         * math/s_csinl.c (__csinl): Likewise.
2397         * math/s_ctan.c (__ctan): Likewise.
2398         * math/s_ctanf.c (__ctanf): Likewise.
2399         * math/s_ctanh.c (__ctanh): Likewise.
2400         * math/s_ctanhf.c (__ctanhf): Likewise.
2401         * math/s_ctanhl.c (__ctanhl): Likewise.
2402         * math/s_ctanl.c (__ctanl): Likewise.
2403         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
2404         csin, csinh, ctan and ctanh.
2405         * math/auto-libm-test-out: Regenerated.
2406         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
2407         * sysdeps/i386/fpu/libm-test-ulps: Update.
2408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2410 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2412         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
2413         return value is wrong, print the expected value too.
2415 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2417         [BZ #18585]
2418         * elf/readlib.c (is_gdb_python_file): New.
2419         (process_file): Don't issue errors on filenames with -gdb.py
2420         suffix.
2422 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2424         * math/auto-libm-test-in: Add more tests of csin and csinh.
2425         * math/auto-libm-test-out: Regenerated.
2426         * math/libm-test.inc (csin_test_data): Remove tests moved to
2427         auto-libm-test-in.
2428         (csinh_test_data): Likewise.
2430         [BZ #18593]
2431         * math/s_csin.c (__csin): Negate before rather than after possibly
2432         overflowing multiplication.
2433         * math/s_csinf.c (__csinf): Likewise.
2434         * math/s_csinh.c (__csinh): Likewise.
2435         * math/s_csinhf.c (__csinhf): Likewise.
2436         * math/s_csinhl.c (__csinhl): Likewise.
2437         * math/s_csinl.c (__csinl): Likewise.
2438         * math/auto-libm-test-in: Add some tests of csin and csinh.
2439         * math/auto-libm-test-out: Regenerated.
2440         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
2441         (csinh_test_data): Likewise.
2442         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2444         [BZ #18586]
2445         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
2446         underflow exception for small results.
2448 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
2450         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
2451         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
2452         variable and included header.
2453         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
2454         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
2455         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
2456         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
2457         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
2458         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
2459         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
2460         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
2461         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
2462         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
2463         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
2464         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
2465         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
2466         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
2467         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
2468         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
2470 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2472         [BZ #16526]
2473         [BZ #16538]
2474         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
2475         (__sin): Force underflow exception for arguments with small
2476         absolute value.
2477         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
2478         (__kernel_sinf): Force underflow exception for arguments with
2479         small absolute value.
2480         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
2481         (__kernel_sincosl): Force underflow exception for arguments with
2482         small absolute value.
2483         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
2484         (__kernel_sinl): Force underflow exception for arguments with
2485         small absolute value.
2486         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
2487         (__kernel_sincosl): Force underflow exception for arguments with
2488         small absolute value.
2489         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
2490         (__kernel_sinl): Force underflow exception for arguments with
2491         small absolute value.
2492         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
2493         (__kernel_sinl): Force underflow exception for arguments with
2494         small absolute value.
2495         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
2496         (__kernel_sinf): Force underflow exception for arguments with
2497         small absolute value.
2498         * math/auto-libm-test-in: Add more tests of sin and sincos.
2499         * math/auto-libm-test-out: Regenerated.
2501         [BZ #18245]
2502         [BZ #18583]
2503         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
2504         (__kernel_standard_l): Use feholdexcept and fesetenv around
2505         conversion to double instead of special-casing overflow and
2506         underflow.
2507         * math/libm-test.inc (fmod_test_data): Add more tests.
2508         (remainder_test_data): Likewise.
2509         (sqrt_test_data): Likewise.
2511 2015-06-23  Torvald Riegel  <triegel@redhat.com>
2513         [BZ #17403]
2514         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
2515         atomic_read_barrier, atomic_write_barrier): Define.
2516         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
2517         atomic_read_barrier, atomic_write_barrier): Define.
2519 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2521         * math/Makefile [$(PERL) != no]
2522         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
2523         dependency on libm-test.stmp below the inclusion of Rules.
2525 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
2527         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
2528         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
2529         and included header.
2530         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
2531         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
2532         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
2533         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
2534         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
2535         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
2536         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
2537         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
2538         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
2539         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
2540         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
2541         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
2542         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
2543         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
2544         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
2545         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
2546         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
2547         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
2548         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
2550 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2552         [BZ #18371]
2553         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
2554         intermediate but not final result might underflow.
2555         * math/s_csqrtf.c (__csqrtf): Likewise.
2556         * math/s_csqrtl.c (__csqrtl): Likewise.
2557         * math/auto-libm-test-in: Add more tests of csqrt.
2558         * math/auto-libm-test-out: Regenerated.
2559         * sysdeps/i386/fpu/libm-test-ulps: Update.
2561         [BZ #18219]
2562         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
2563         threshold on absolute value of exponent for which scaling is used.
2564         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
2565         * math/auto-libm-test-in: Add more tests of exp2.
2566         * math/auto-libm-test-out: Regenerated.
2568 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
2570         [BZ #17977]
2571         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
2572         when initializing interface list, based on the bug analysis
2573         and the patch proposed by Eric Newton.
2574         * resolv/tst-res_hconf_reorder.c: New test.
2575         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
2576         tst-res_hconf_reorder.
2577         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
2578         and $(shared-thread-library).
2579         (tst-res_hconf_reorder-ENV): New variable.
2581         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
2582         in comment.
2584 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
2586         [BZ #16353]
2587         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
2588         (__expm1): Force underflow exception for arguments with small
2589         absolute value.
2590         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
2591         (__expm1f): Force underflow exception for arguments with small
2592         absolute value.
2593         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
2594         (__expm1): Force underflow exception for arguments with small
2595         absolute value.
2596         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
2597         (__expm1f): Force underflow exception for arguments with small
2598         absolute value.
2599         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2600         Check for small arguments before calling __expm1.
2601         * math/auto-libm-test-in: Do not mark underflow exceptions as
2602         possibly missing for bug 16353.
2603         * math/auto-libm-test-out: Regenerated.
2605 2015-06-22  Andreas Schwab  <schwab@suse.de>
2607         [BZ #18513]
2608         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
2609         PTR queries.
2611 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
2613         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
2615         * string/strcoll_l.c: Remove unused struct element idxnow.
2617 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
2619         [BZ #18569]
2620         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
2621         underflow and return argument in case of subnormal argument.
2622         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2623         Likewise.
2624         * math/auto-libm-test-in: Add more tests of expm1.
2625         * math/auto-libm-test-out: Regenerated.
2627         [BZ #16361]
2628         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
2629         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
2630         tiny results.
2631         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
2632         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
2633         tiny results.
2634         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
2635         mark underflow exceptions as possibly missing for bug 16361.
2636         * math/auto-libm-test-out: Regenerated.
2638 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
2640         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
2641         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
2642         Remove variable.
2643         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2644         (test-xfail-XOPEN2K8/utmpx.h/conform).
2646         * conform/conformtest.pl ($xerrors): New variable.
2647         (note_error): New function.
2648         (compiletest): New argument $xfail.  Use not_error.
2649         (runtest): Likewise.
2650         (top level): Handle xfail- lines.  Update calls to compiletest and
2651         runtest.  Handle xfail- and optional- in headers listed with
2652         allow-header.
2653         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
2654         (O_EXEC): Likewise.
2655         (O_SEARCH): Likewise.
2656         * conform/data/stropts.h-data (ioctl): Likewise.
2657         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
2658         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
2659         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
2660         (msghdr.msg_controllen): Likewise.
2661         (cmsghdr.cmsg_len): Likewise.
2662         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
2663         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
2664         variable.
2665         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2666         (test-xfail-XPG4/stropts.h/conform): Likewise.
2667         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2668         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2669         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2670         (test-xfail-UNIX98/stropts.h/conform): Likewise.
2671         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2672         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2673         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2674         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2675         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2676         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2677         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2678         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2679         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2680         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2681         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2682         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2683         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2684         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2685         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2687 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2689         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
2690         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
2691         definitions for proper unfolding of __MATHDECL_VEC.
2693 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2695         * benchtests/bench-strcoll.c:
2696         Include string.h.
2697         (main): Remove unused variable res.
2699 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2701         * timezone/Makefile (%/UTC %/Universal):
2702         Generate test-result files for UTC and Universal.
2704 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2706         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2708 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
2710         [BZ #16350]
2711         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
2712         for arguments with small absolute value.
2713         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
2714         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
2715         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
2716         (__asinh): Force underflow exception for arguments with small
2717         absolute value.
2718         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
2719         (__asinhf): Force underflow exception for arguments with small
2720         absolute value.
2721         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
2722         (__asinhl): Force underflow exception for arguments with small
2723         absolute value.
2724         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
2725         (__asinhl): Force underflow exception for arguments with small
2726         absolute value.
2727         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
2728         (__asinhl): Force underflow exception for arguments with small
2729         absolute value.
2730         * math/auto-libm-test-in: Do not mark underflow exceptions as
2731         possibly missing for bug 16350.
2732         * math/auto-libm-test-out: Regenerated.
2734         * include/bits/ipc.h: Remove file.
2735         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
2736         variable.
2737         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2738         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2739         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2740         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2741         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2742         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2743         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2744         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2745         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2747         * math/auto-libm-test-in: Remove spurious underflow allowance for
2748         tests of cexp.
2749         * math/auto-libm-test-out: Regenerated.
2751         [BZ #18558]
2752         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
2753         unconditional definition.
2754         (MCAST_BLOCK_SOURCE): Likewise.
2755         (MCAST_UNBLOCK_SOURCE): Likewise.
2756         (MCAST_LEAVE_GROUP): Likewise.
2757         (MCAST_JOIN_SOURCE_GROUP): Likewise.
2758         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
2759         (MCAST_MSFILTER): Likewise.
2760         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
2761         Remove variable.
2762         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2763         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2764         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2765         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2766         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2768 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
2770         * NEWS: Mention addition of x86_64 vector sincosf.
2771         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
2772         * math/test-float-vlen4.h: Likewise.
2773         * math/test-float-vlen8.h: Likewise.
2774         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2775         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
2776         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2777         * sysdeps/x86_64/fpu/Versions: New versions added.
2778         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2779         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2780         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2781         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
2782         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
2783         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
2784         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
2785         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
2786         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
2787         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
2788         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
2789         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
2790         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
2791         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
2792         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
2793         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
2794         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
2795         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2796         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2797         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2798         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2799         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2800         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2801         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2803         * NEWS: Mention addition of x86_64 vector sincos.
2804         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
2805         * math/math.h (__MATHDECL_VEC): New macro.
2806         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
2807         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
2808         declaration under condition.
2809         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
2810         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
2811         TEST_VEC_LOOP change.
2812         * math/test-double-vlen4.h: Likewise.
2813         * math/test-double-vlen8.h: Likewise.
2814         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
2815         * math/test-float-vlen4.h: Likewise.
2816         * math/test-float-vlen8.h: Likewise.
2817         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2818         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
2819         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2820         * sysdeps/x86_64/fpu/Versions: New versions added.
2821         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2822         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2823         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2824         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
2825         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
2826         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
2827         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
2828         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
2829         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
2830         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
2831         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
2832         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
2833         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
2834         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
2835         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
2836         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
2837         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
2838         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2839         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2840         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2841         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2842         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2843         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2844         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2846         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2847         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2848         redirections for powf.
2849         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2850         * sysdeps/x86_64/fpu/Versions: New versions added.
2851         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2852         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2853         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2854         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
2855         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
2856         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
2857         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
2858         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
2859         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
2860         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
2861         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
2862         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
2863         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
2864         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
2865         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
2866         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
2867         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
2868         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2869         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2870         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2871         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2872         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2873         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2874         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2875         * math/test-float-vlen16.h: Fixed 2 argument macro.
2876         * math/test-float-vlen4.h: Likewise.
2877         * math/test-float-vlen8.h: Likewise.
2878         * NEWS: Mention addition of x86_64 vector powf.
2880 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
2882         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2883         and redefine.
2884         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2885         and redefine.
2886         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
2887         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2888         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2890         [BZ #18553]
2891         * resource/getpriority.c (getpriority): Rename to __getpriority
2892         and define as weak alias of __getpriority.
2893         * resource/setpriority.c (setpriority): Rename to __setpriority
2894         and define as weak alias of __setpriority.
2895         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
2896         __getpriority and define as weak alias of __getpriority.
2897         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
2898         __setpriority and define as weak alias of __setpriority.
2899         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
2900         strong name.
2901         (setpriority): Use __setpriority as strong name.
2902         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
2903         __getpriority and define as weak alias of __getpriority.
2904         * include/sys/resource.h (__getpriority): Declare.  Use
2905         libc_hidden_proto.
2906         (__setpriority): Likewise.
2907         (getpriority): Don't use libc_hidden_proto.
2908         (setpriority): Likewise.
2909         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
2910         getpriority.  Call __setpriority instead of setpriority.
2911         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
2912         Remove variable.
2914         [BZ #18547]
2915         * misc/getttyent.c (getttynam): Rename to __getttynam and define
2916         as weak alias of __getttynam.  Use prototype function definition.
2917         Call __setttyent, __getttyent and __endttyent instead of
2918         setttyent, getttyent and endttyent.
2919         (getttyent): Rename to __getttyent and define as weak alias of
2920         __getttyent.  Call __setttyent instead of setttyent.  Call
2921         __fgets_unlocked instead of fgets_unlocked.
2922         (setttyent): Rename to __setttyent and define as weak alias of
2923         __setttyent.
2924         (endttyent): Rename to __endttyent and define as weak alias of
2925         __endttyent.
2926         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
2927         (__setttyent): Likewise.
2928         (__endttyent): Likewise.
2929         (getttyent): Don't use libc_hidden_proto.
2930         (setttyent): Likewise.
2931         (endttyent): Likewise.
2932         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
2933         __endttyent instead of setttyent, getttyent and endttyent.
2934         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
2935         Remove variable.
2937         [BZ #18546]
2938         * socket/recv.c (__recv): Use libc_hidden_def.
2939         * socket/socket.c (__socket): Likewise.
2940         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
2941         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
2942         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
2943         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
2944         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
2945         libc_hidden_def.
2946         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
2947         libc_hidden_weak.
2948         * include/sys/socket.h (__socket): Do not use attribute_hidden.
2949         Use libc_hidden_proto.
2950         (__recv): Likewise.
2951         * socket/Versions (libc): Export __recv and __socket at version
2952         GLIBC_PRIVATE.
2953         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
2954         instead of recv.
2955         (init_mq_netlink): Call __socket instead of socket.
2956         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
2957         Remove variable.
2959         [BZ #18545]
2960         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
2961         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
2962         hidden_weak.
2963         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
2964         define as alias of __mq_timedsend.  Use hidden_weak.
2965         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
2966         __mq_timedsend as strong name.
2967         (mq_timedreceive): Use __mq_timedreceive as strong name.
2968         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
2969         (__mq_timedreceive): Likewise.
2970         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
2971         __mq_timedreceive instead of mq_timedreceive.
2972         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
2973         instead of mq_timedsend.
2974         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
2975         Remove variable.
2977         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
2978         hidden_def and hidden_weak instead of libc_hidden_def and
2979         libc_hidden_weak.
2980         (top level): Refer to hidden_def in comment.
2981         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
2982         macro.  Use it instead of libc_hidden_def.
2983         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
2984         specify __GI_* name explicitly.
2985         (mq_timedreceive): Likewise.
2986         (mq_setattr): Likewise.
2988         [BZ #18544]
2989         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
2990         __pthread_barrier_init and define as weak alias of
2991         __pthread_barrier_init.
2992         * sysdeps/sparc/nptl/pthread_barrier_init.c
2993         (pthread_barrier_init): Likewise.
2994         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
2995         __pthread_barrier_wait and define as weak alias of
2996         __pthread_barrier_wait.
2997         * sysdeps/sparc/nptl/pthread_barrier_wait.c
2998         (pthread_barrier_wait): Likewise.
2999         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
3000         (pthread_barrier_wait): Likewise.
3001         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
3002         (pthread_barrier_wait): Likewise.
3003         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
3004         (pthread_barrier_wait): Likewise.
3005         * nptl/Versions (libpthread): Export __pthread_barrier_init and
3006         __pthread_barrier_wait at version GLIBC_PRIVATE.
3007         * include/pthread.h (__pthread_barrier_init): Declare.
3008         (__pthread_barrier_wait): Likewise.
3009         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
3010         Call __pthread_barrier_wait instead of pthread_barrier_wait.
3011         (helper_thread): Likewise.
3012         (init_mq_netlink): Call __pthread_barrier_init instead of
3013         pthread_barrier_init.
3015         [BZ #18542]
3016         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
3017         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
3018         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
3019         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
3020         vswscanf.
3021         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
3022         Remove variable.
3024         [BZ #18540]
3025         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
3026         strong alias of _IO_fflush.  Use libc_hidden_def.
3027         * libio/iofflush_u.c (fflush_unlocked): Rename to
3028         __fflush_unlocked and define as weak alias of __fflush_unlocked.
3029         Use libc_hidden_weak.
3030         * include/stdio.h (__fflush_unlocked): Declare.  Use
3031         libc_hidden_proto.
3032         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
3033         fflush_unlocked.
3034         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
3035         Remove variable.
3037         [BZ #18539]
3038         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
3039         define as weak alias of __addseverity.
3040         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
3041         Remove variable.
3042         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3043         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3044         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3046         [BZ #18536]
3047         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
3048         (__tfind): Likewise.
3049         (__tdelete): Likewise.
3050         (__twalk): Likewise.
3051         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
3052         __twalk to GLIBC_PRIVATE.
3053         * include/search.h (__tsearch): Use libc_hidden_proto.
3054         (__tfind): Likewise.
3055         (__tdelete): Likewise.
3056         (__twalk): Likewise.
3057         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
3058         Call __tdelete instead of tdelete.
3059         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
3060         tfind.  Call __tsearch instead of tsearch.
3061         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
3062         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
3063         Remove variable.
3064         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3066         [BZ #18534]
3067         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
3068         (dprintf): Define as a weak alias of __dprintf, not a strong
3069         alias.
3070         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
3071         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
3072         dprintf.
3073         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
3074         Remove variable.
3075         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3076         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3078         [BZ #18533]
3079         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
3080         not a strong alias.
3081         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
3082         Remove variable.
3084         [BZ #18532]
3085         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
3086         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
3087         (in6addr_loopback): Rename to __in6addr_loopback and define as
3088         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
3089         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
3090         libc_hidden_proto.
3091         (__in6addr_any): Likewise.
3092         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
3093         in6addr_any.
3094         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
3095         variable.
3096         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3098 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
3100         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
3101         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
3102         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3103         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3104         redirections for pow.
3105         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3106         * sysdeps/x86_64/fpu/Versions: New versions added.
3107         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3108         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3109         build of SSE, AVX2 and AVX512 IFUNC versions.
3110         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
3111         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
3112         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
3113         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
3114         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
3115         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
3116         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
3117         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
3118         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
3119         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
3120         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
3121         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
3122         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
3123         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
3124         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3125         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3126         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3127         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3128         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3129         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3130         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3131         * NEWS: Mention addition of x86_64 vector pow.
3133         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3134         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3135         redirections for expf.
3136         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3137         * sysdeps/x86_64/fpu/Versions: New versions added.
3138         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3139         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3140         build of SSE, AVX2 and AVX512 IFUNC versions.
3141         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
3142         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
3143         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
3144         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
3145         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
3146         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
3147         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
3148         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
3149         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
3150         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
3151         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
3152         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
3153         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
3154         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3155         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3156         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3157         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3158         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3159         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3160         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3161         * NEWS: Mention addition of x86_64 vector expf.
3163         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
3164         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
3165         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3166         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3167         redirections for exp.
3168         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3169         * sysdeps/x86_64/fpu/Versions: New versions added.
3170         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3171         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3172         build of SSE, AVX2 and AVX512 IFUNC versions.
3173         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
3174         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
3175         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
3176         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
3177         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
3178         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
3179         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
3180         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
3181         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
3182         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
3183         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
3184         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
3185         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
3186         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3187         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3188         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3189         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3190         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3191         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3192         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3193         * NEWS: Mention addition of x86_64 vector exp.
3195         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3196         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3197         redirections for logf.
3198         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3199         * sysdeps/x86_64/fpu/Versions: New versions added.
3200         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3201         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3202         build of SSE, AVX2 and AVX512 IFUNC versions.
3203         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
3204         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
3205         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
3206         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
3207         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
3208         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
3209         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
3210         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
3211         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
3212         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
3213         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
3214         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
3215         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
3216         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3217         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3218         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3219         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3220         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3221         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3222         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3223         * NEWS: Mention addition of x86_64 vector logf.
3225         * bits/libm-simd-decl-stubs.h: Added stubs for log.
3226         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
3227         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3228         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3229         redirections for log.
3230         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3231         * sysdeps/x86_64/fpu/Versions: New versions added.
3232         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3233         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3234         build of SSE, AVX2 and AVX512 IFUNC versions.
3235         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
3236         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
3237         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
3238         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
3239         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
3240         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
3241         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
3242         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
3243         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
3244         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
3245         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
3246         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
3247         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
3248         test.
3249         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3250         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3251         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3252         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3253         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3254         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3255         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3256         * NEWS: Mention addition of x86_64 vector log.
3258 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3260         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
3261         cfi_adjust_cfa_offset argument.
3262         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
3263         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
3265         [BZ #18034]
3266         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
3267         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
3268         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
3269         ordering using ldar.
3270         (_dl_tlsdesc_dynamic): Likewise.
3271         (_dl_tlsdesc_return_lazy): Likewise.
3272         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
3273         relaxed atomics instead of volatile and synchronize with release store.
3274         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
3275         volatile.
3276         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3278 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
3280         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3281         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
3282         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3283         * sysdeps/x86_64/fpu/Versions: New versions added.
3284         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3285         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3286         build of SSE, AVX2 and AVX512 IFUNC versions.
3287         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
3288         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
3289         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
3290         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
3291         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
3292         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
3293         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
3294         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
3295         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
3296         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
3297         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
3298         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
3299         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
3300         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3301         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3302         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3303         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3304         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3305         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3306         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3307         * NEWS: Mention addition of x86_64 vector sinf.
3309 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
3311         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
3312         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
3313         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
3314         Remove variable.
3315         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3316         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3318 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
3320         [BZ #18530]
3321         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
3322         strong alias of _IO_fputs.  Use libc_hidden_def.
3323         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
3324         and define as weak alias of __fputs_unlocked.  Use
3325         libc_hidden_weak.
3326         * include/stdio.h (__fputs_unlocked): Declare.  Use
3327         libc_hidden_proto.
3328         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
3329         fputs_unlocked.
3331         [BZ #18529]
3332         * resolv/netdb.h [__USE_POSIX]: Change condition to
3333         [__USE_XOPEN2K].
3334         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
3335         not expect.
3336         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
3337         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
3338         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
3339         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
3340         [XPG4 || UNIX98] (AI_ALL): Likewise.
3341         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
3342         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
3343         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
3344         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
3345         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
3346         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
3347         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
3348         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
3349         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
3350         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
3351         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
3352         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
3353         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
3354         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
3355         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
3356         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3357         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3358         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
3359         [XPG4 || UNIX98] (gai_strerror): Likewise.
3360         [XPG4 || UNIX98] (getaddrinfo): Likewise.
3361         [XPG4 || UNIX98] (getnameinfo): Likewise.
3363         [BZ #18528]
3364         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
3365         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
3366         __USE_XOPEN2K8].
3367         (getgrent): Likewise.
3368         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
3369         expect.
3370         [XPG3 || POSIX2008] (endgrent): Likewise.
3371         [XPG3] (setgrent): Likewise.
3372         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
3373         variable.
3374         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3376         [BZ #18527]
3377         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
3378         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
3379         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
3380         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
3381         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
3382         * include/unistd.h (__getlogin_r): Declare.  Use
3383         libc_hidden_proto.
3384         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
3385         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
3386         variable.
3387         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3388         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3389         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3391 2015-06-12  Martin Sebor  <msebor@redhat.com>
3393         [BZ #18512]
3394         * Makerules (check-install-supported): New target.
3395         (install): Add check-install-supported as a dependency.
3396         * manual/install.texi (Installing the C Library): Document
3397         that overriding prefix and exec_prefix is not supported.
3398         Mention DESTDIR.
3399         * INSTALL: Regenerate from the above.
3401 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
3403         [BZ #18519]
3404         * posix/Versions (libc): Export __libc_pread at version
3405         GLIBC_PRIVATE.
3406         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
3407         instead of pread.
3408         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
3409         variable.
3411         [BZ #18522]
3412         * misc/efgcvt_r.c
3413         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
3414         (cvt_symbol): Use weak_alias instead of strong_alias.
3415         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
3416         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
3417         Remove variable.
3418         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3419         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3421         [BZ #18520]
3422         * inet/herrno.c (h_errno): Rename to __h_errno.
3423         (__libc_h_errno): Define as alias of __h_errno not h_errno.
3424         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
3425         to __h_errno instead of h_errno.
3426         * nptl/herrno.c (h_errno): Rename to __h_errno.
3427         (__h_errno_location): Refer to __h_errno not h_errno.
3428         * resolv/Versions (h_errno): Rename to __h_errno.
3429         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
3430         Remove variable.
3431         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3433 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
3435         * configure.ac: More strict check for AVX512 assembler support.
3436         * configure: Regenerated.
3438         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
3439         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
3440         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3441         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
3442         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3443         * sysdeps/x86_64/fpu/Versions: New versions added.
3444         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3445         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3446         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3447         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
3448         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
3449         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
3450         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
3451         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
3452         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
3453         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
3454         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
3455         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
3456         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
3457         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
3458         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
3459         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
3460         test.
3461         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3462         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3463         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3464         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3465         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3466         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3467         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3468         * NEWS: Mention addition of x86_64 vector sin.
3470 2015-06-11  Florian Weimer  <fweimer@redhat.com>
3472         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
3473         comment.
3475 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
3477         [BZ #18479]
3478         * nptl/pt-interp.c: New file.
3479         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
3480         Add pt-interp.
3481         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
3482         $(common-objpfx)runtime-linker.h.
3484 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
3486         * Makeconfig (+interp): Remove unused variable.
3487         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
3488         only.  Depend on $(common-objpfx)runtime-linker.h instead of
3489         $(elf-objpfx)runtime-linker.h.
3490         ($(elf-objpfx)runtime-linker.h): Rename to
3491         $(common-objpfx)runtime-linker.h and move ...
3492         * Makerules [$(build-shared) = yes]: ... here.
3493         * elf/interp.c: Include <runtime-linker.h> instead of
3494         <elf/runtime-linker.h>.
3496 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3498         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
3499         (__gettimeofday_syscall): Remove vsyscall fallback.
3500         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
3501         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
3502         Add syscall fallback function.
3503         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
3504         if vDSO is not present.
3505         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
3506         fallback function.
3507         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
3508         present.
3509         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
3510         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
3512 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
3514         [BZ #18497]
3515         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
3516         of wcscmp.
3517         (wcscmp): Define as weak alias of WCSCMP.
3518         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
3519         wcscoll.
3520         (USE_HIDDEN_DEF): Define.
3521         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
3522         __wcscoll.  Don't use libc_hidden_weak.
3523         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
3524         wcscmp.
3525         * sysdeps/i386/i686/multiarch/wcscmp-c.c
3526         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
3527         __GI_wcscmp.
3528         (weak_alias): Undefine and redefine.
3529         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
3530         __wcscmp and define as weak alias of __wcscmp.
3531         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
3532         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
3533         (__wcscoll): Likewise.
3534         (wcscmp): Don't use libc_hidden_proto.
3535         (wcscoll): Likewise.
3536         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
3537         wcscoll.
3538         * posix/regexec.c (check_node_accept_bytes): Likewise.
3539         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
3540         variable.
3541         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3542         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3544         [BZ #18507]
3545         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
3546         __fstatvfs and define as weak alias of __fstatvfs.  Use
3547         libc_hidden_weak.
3548         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
3549         and define as weak alias of __statvfs.  Use libc_hidden_weak.
3550         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
3551         Define as alias of __fstatvfs, not fstatvfs.
3552         (fstatvfs64): Likewise.
3553         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
3554         Define as alias of __statvfs, not statvfs.
3555         (statvfs64): Likewise.
3556         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
3557         Remove variable.
3559 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3562         (HAVE_GETCPU_VSYSCALL): Define.
3563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3564         (HAVE_GETCPU_VSYSCALL): Likewise.
3565         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
3566         * sysdeps/unix/sysv/linux/sched_getcpu.c
3567         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
3568         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
3569         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
3570         prototype.
3571         * sysdeps/unix/sysv/linux/x86_64/init-first.c
3572         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
3573         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
3574         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
3575         Define.
3576         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
3577         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3578         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
3579         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3581 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
3583         * sysdeps/x86_64/fpu/Makefile: New file.
3584         * sysdeps/x86_64/fpu/Versions: New file.
3585         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
3586         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
3587         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
3588         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
3589         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
3590         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
3591         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
3592         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
3593         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
3594         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
3595         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
3596         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
3597         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
3598         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3599         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3600         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
3601         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
3602         * sysdeps/x86_64/configure.ac: Options for libmvec build.
3603         * sysdeps/x86_64/configure: Regenerated.
3604         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
3605         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
3606         * manual/install.texi (Configuring and compiling): Document
3607         --disable-mathvec.
3608         * INSTALL: Regenerated.
3609         * NEWS: Mention addition of libmvec and x86_64 vector cos.
3611         * math/Makefile: Added rules for vector tests.
3612         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
3613         declaration under condition.
3614         * math/test-double-vlen2.h: New file.
3615         * math/test-double-vlen4.h: New file.
3616         * math/test-double-vlen8.h: New file.
3617         * math/test-vec-loop.h: Added initialization macro.
3618         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
3619         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
3620         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
3621         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
3622         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
3623         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
3624         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
3625         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
3626         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
3627         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
3628         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
3630         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3631         * sysdeps/x86_64/fpu/Versions: New versions added.
3632         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
3633         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
3634         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
3635         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
3636         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
3637         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
3638         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
3639         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
3640         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
3641         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
3642         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
3643         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
3644         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
3645         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3646         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3647         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3648         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
3649         * NEWS: Mention addition of x86_64 vector cosf.
3651         * math/Makefile: Added CFLAGS for new tests.
3652         * math/test-float-vlen16.h: New file.
3653         * math/test-float-vlen4.h: New file.
3654         * math/test-float-vlen8.h: New file.
3655         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
3656         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
3657         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3658         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
3659         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
3660         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
3661         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
3662         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
3663         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
3664         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
3665         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
3667 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
3669         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
3670         * locale/programs/ld-ctype.c: Likewise.
3672 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
3674         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
3675         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
3676         bit_ZMM16_31_state): New macro.
3677         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3678         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
3680 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
3682         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
3684 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
3686         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
3688 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
3690         [BZ #18498]
3691         * libio/memstream.c (open_memstream): Rename to __open_memstream
3692         and define as weak alias of __open_memstream.
3693         * include/stdio.h (__open_memstream): Declare.  Use
3694         libc_hidden_proto.
3695         (open_memstream): Don't use libc_hidden_proto.
3696         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
3697         open_memstream.
3698         * posix/getopt.c (_getopt_internal_r): Likewise.
3699         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
3700         variable.
3701         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3702         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3703         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3705         [BZ #18496]
3706         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
3707         instead of wcrtomb.
3709         [BZ #18483]
3710         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
3711         [__USE_XOPEN2K8].  Remove redundant #endif.
3712         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
3713         Remove redundant #if.
3714         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
3715         Remove variable.
3716         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3717         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3719         [BZ #18495]
3720         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
3721         (__iswlower): Likewise.
3722         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
3723         (__iswlower): Likewise.
3724         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
3725         instead of towlower.
3726         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
3727         instead of iswlower.  Call __towupper instead of towupper.
3728         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
3729         instead of iswalnum.
3731 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3733         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
3734         errors to stderr.
3736 2015-06-05  Florian Weimer  <fweimer@redhat.com>
3738         [BZ #15661]
3739         [BZ #17322]
3740         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
3741         Check for overflow properly.  Check for O_APPEND.  Ignore large
3742         file system block sizes.  Add comments about problems.
3743         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
3744         * manual/filesys.texi (Storage Allocation): New node.
3746 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3748         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
3749         cancellable syscalls.
3750         (SYS_ify): Add guard to no redefine it.
3751         (INLINE_SYSCALL): Likewise.
3752         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
3753         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
3754         SYSCALL_CANCEL instead.
3755         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
3756         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
3757         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
3758         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
3759         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
3760         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
3761         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
3762         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
3763         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
3764         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
3765         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
3766         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
3767         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
3768         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
3769         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
3770         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
3771         Likewise.
3772         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
3773         (__libc_pread64): Likewise.
3774         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
3775         (__libc_preadv): Likewise.
3776         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
3777         (__libc_readv64): Likewise.
3778         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
3779         (__libc_pwrite): Likewise.
3780         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
3781         (__libc_pwrite64): Likewise.
3782         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
3783         (__libc_pwritev): Likewise.
3784         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
3785         (__libc_pwritev64): Likewise.
3786         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
3787         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
3788         (sync_file_range): Likewise.
3789         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
3790         Likewise.
3791         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
3792         Likewise.
3793         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
3794         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
3795         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
3796         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
3797         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
3798         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
3799         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
3800         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
3801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
3802         Likewise.
3803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3804         (__libc_read64): Likewise.
3805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
3806         Likewise.
3807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
3808         Likewise.
3809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
3810         Likewise.
3811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
3812         Likewise.
3813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3814         (__libc_pread64): Likewise.
3815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
3816         Likewise.
3817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3818         (__libc_pwrite64): Likewise.
3819         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
3820         (sync_file_range): Likewise.
3821         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
3822         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
3823         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3824         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
3825         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
3826         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3827         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3828         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
3829         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
3830         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3831         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3832         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
3833         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
3834         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
3835         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
3836         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3837         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
3838         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3839         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
3840         Likewise.
3841         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
3842         Likewise.
3843         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
3844         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
3845         Likewise.
3846         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
3847         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
3848         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
3849         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
3850         Likewise.
3851         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
3852         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
3853         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
3854         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
3855         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
3857 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
3859         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
3860         Include dl-vdso.
3861         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
3862         Use VDSO routines for gettimeofday, clock_gettime if
3863         available.
3864         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
3865         Declare VDSO symbols.
3866         * sysdeps/unix/sysv/linux/arm/sysdep.h:
3867         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
3868         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3869         * sysdeps/unix/sysv/linux/arm/Versions: Add
3870         __vdso_clock_gettime.
3872 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3874         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
3875         be an inline implementation regardless of library is built within.
3876         (open_not_cancel_2): Likewise.
3877         (__read_nocancel): Likewise.
3878         (__write_nocancel): Likewise.
3879         (openat_not_cancel): Likewise.
3880         (openat_not_cancel_3): Likewise.
3881         (openat64_not_cancel): Likewise.
3882         (openat64_not_cancel_3): Likewise.
3883         (__close_nocancel): Likewise.
3884         (pause_not_cancel): Likewise.
3885         (nanosleep_not_cancel): Likewise.
3886         (sigsuspend_not_cancel): Likewise.
3888 2015-06-04  Torvald Riegel  <triegel@redhat.com>
3890         [BZ #14958]
3891         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
3892         wake-up.
3893         (__pthread_rwlock_rdlock_slow): Likewise.
3894         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3895         Likewise.
3896         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3897         Likewise.
3898         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
3899         * nptl/tst-rwlock16.c: New file.
3900         * nptl/Makefile (tests): Add new test.
3902 2015-06-04  Torvald Riegel  <triegel@redhat.com>
3904         [BZ #18324]
3905         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
3906         missing wake-up of readers.
3907         * nptl/tst-rwlock15.c: New file.
3908         * nptl/Makefile (tests): Add new test.
3910 2015-06-03  Roland McGrath  <roland@hack.frob.com>
3912         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
3913         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
3914         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
3915         and __nacl_supply_interface_rtld.
3916         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
3917         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
3918         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
3919         Add __nacl_supply_interface_rtld.
3920         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
3922 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
3924         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
3925         isfinite.
3926         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3927         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
3929 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
3931         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
3932         __signbit* with standard C99 macros.
3933         * math/e_exp10l.c: Likewise.
3934         * math/e_exp2l.c: Likewise.
3935         * math/e_scalb.c: Likewise.
3936         * math/e_scalbf.c: Likewise.
3937         * math/e_scalbl.c: Likewise.
3938         * math/s_ldexp.c: Likewise.
3939         * math/s_ldexpf.c: Likewise.
3940         * math/s_ldexpl.c: Likewise.
3941         * math/w_atan2.c: Likewise.
3942         * math/w_atan2f.c: Likewise.
3943         * math/w_atan2l.c: Likewise.
3944         * math/w_cosh.c: Likewise.
3945         * math/w_coshf.c: Likewise.
3946         * math/w_coshl.c: Likewise.
3947         * math/w_exp10.c: Likewise.
3948         * math/w_exp10f.c: Likewise.
3949         * math/w_exp10l.c: Likewise.
3950         * math/w_exp2.c: Likewise.
3951         * math/w_exp2f.c: Likewise.
3952         * math/w_exp2l.c: Likewise.
3953         * math/w_fmod.c: Likewise.
3954         * math/w_fmodf.c: Likewise.
3955         * math/w_fmodl.c: Likewise.
3956         * math/w_hypot.c: Likewise.
3957         * math/w_hypotf.c: Likewise.
3958         * math/w_hypotl.c: Likewise.
3959         * math/w_jnl.c: Likewise.
3960         * math/w_lgamma.c: Likewise.
3961         * math/w_lgamma_r.c: Likewise.
3962         * math/w_lgammaf.c: Likewise.
3963         * math/w_lgammaf_r.c: Likewise.
3964         * math/w_lgammal.c: Likewise.
3965         * math/w_lgammal_r.c: Likewise.
3966         * math/w_pow.c: Likewise.
3967         * math/w_powf.c: Likewise.
3968         * math/w_powl.c: Likewise.
3969         * math/w_remainder.c: Likewise.
3970         * math/w_remainderf.c: Likewise.
3971         * math/w_remainderl.c: Likewise.
3972         * math/w_scalb.c: Likewise.
3973         * math/w_scalbf.c: Likewise.
3974         * math/w_scalbl.c: Likewise.
3975         * math/w_scalbln.c: Likewise.
3976         * math/w_scalblnf.c: Likewise.
3977         * math/w_scalblnl.c: Likewise.
3978         * math/w_sinh.c: Likewise.
3979         * math/w_sinhf.c: Likewise.
3980         * math/w_sinhl.c: Likewise.
3981         * math/w_tgamma.c: Likewise.
3982         * math/w_tgammaf.c: Likewise.
3983         * math/w_tgammal.c: Likewise.
3984         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3985         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
3986         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3987         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3988         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3989         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3990         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3991         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3992         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3993         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3994         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3995         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3996         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3997         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3998         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3999         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4000         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4001         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4002         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4003         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4004         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4005         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4006         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4007         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4008         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4009         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4010         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
4011         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4012         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4013         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4014         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
4015         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
4016         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
4017         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
4018         * stdio-common/printf_fp.c: Likewise.
4019         * stdio-common/printf_fphex.c: Likewise.
4020         * stdio-common/printf_size.c: Likewise.
4022 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
4024         [BZ #18470]
4025         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
4026         strnlen.
4027         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
4028         Remove variable.
4029         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4030         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4031         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4032         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4033         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4034         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4035         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4036         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4037         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4038         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4040         [BZ #18468]
4041         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
4042         weak alias of __wmemchr.  Use libc_hidden_weak.
4043         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
4044         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
4045         instead of wmemchr.
4047 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4049         [BZ #18383]
4050         * elf/tst-tlsalign-extern.c: New file.
4051         * elf/tst-tlsalign-extern-static.c: New file.
4052         * elf/tst-tlsalign-vars.c: New file.
4053         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
4054         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
4055         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
4056         ($(objpfx)tst-tlsalign-extern-static): Likewise.
4057         (test-xfail-tst-tlsalign-extern-static): New variable.
4059 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
4061         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
4062         Use variable name _sc_err instead of err.
4063         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
4064         instead of ret.
4065         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
4066         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
4067         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
4068         (INLINE_SYSCALL): Likewise.
4070         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
4071         * include/string.h (__strnlen): Use libc_hidden_proto.
4072         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
4073         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
4074         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
4075         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
4076         (libc_hidden_def): Undefine and redefine.
4077         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
4078         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
4079         __GI_strnlen.
4080         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
4081         libc_hidden_def.
4082         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
4084         [BZ #18469]
4085         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
4086         weak alias of __towlower.  Use libc_hidden_weak.
4087         (towupper): Rename to __towupper and define as weak alias of
4088         __towupper.  Use libc_hidden_weak.
4089         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
4090         (__towupper): Likewise.
4091         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
4092         __towlower instead of towlower.
4094 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4096         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
4097         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
4099 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4101         * sysdeps/aarch64/libm-test-ulps: Update.
4103 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4105         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
4106         Define.
4107         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4108         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
4109         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4110         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4111         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
4112         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
4113         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
4115 2015-06-01  Martin Sebor  <msebor@redhat.com>
4117         [BZ #18116]
4118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4119         (__setcontext): Use extended four-operand version of mtsf whenever
4120         possible.
4121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4122         (__novec_swapcontext): Likewise.
4124 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4126         * benchtests/scripts/compare_bench.py: New file.
4127         * benchtests/scripts/import_bench.py (mean): New function.
4128         (split_list): Likewise.
4129         (do_for_all_timings): Likewise.
4130         (compress_timings): Likewise.
4132         * benchtests/scripts/import_bench.py: New file.
4133         * benchtests/scripts/validate_benchout.py: Import import_bench
4134         instead of jsonschema.
4135         (validate_bench): Remove function.
4136         (main): Use import_bench.
4138 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
4140         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
4141         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
4143 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4145         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4147 2015-05-28  Roland McGrath  <roland@hack.frob.com>
4149         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
4150         set THREAD_SELF->tid to a magic value and futex-wake it.
4151         Pass its address to the thread_exit system call.
4152         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
4153         bit is clear.
4154         * sysdeps/nacl/lowlevellock.h: New file.
4155         * sysdeps/nacl/lll_timedwait_tid.c: New file.
4157         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
4158         Add TIMEOUT to current time, don't subtract it.
4160 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
4162         [BZ #2981]
4163         [BZ #18422]
4164         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
4165         ($(objpfx)tst-audit2.out): Also depend on
4166         $(objpfx)tst-auditmod9b.so.
4167         * elf/tst-audit2.c: Include <dlfcn.h>.
4168         (calloc_called): New.
4169         (calloc): Allow to be called more than once.
4170         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
4172 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
4174         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
4175         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
4177 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
4179         * stdlib/monetary.h: Fix comment.
4181 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
4183         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
4184         Avoid using variables in #defines that might cause shadowing.
4185         (INTERNAL_VSYSCALL_CALL): Likewise.
4187 2015-05-26  Roland McGrath  <roland@hack.frob.com>
4189         * sysdeps/nacl/lll_timedlock_wait.c: New file.
4191         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
4192         * nptl/lll_timedlock_wait.c: ... to this new file.
4193         * nptl/Makefile (libpthread-routines): Add it.
4194         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
4195         * nptl/lll_timedwait_tid.c: ... to this new file.
4196         * nptl/Makefile (libpthread-routines): Add it.
4197         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
4198         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
4199         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
4200         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
4201         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
4202         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
4203         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
4204         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
4205         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
4206         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
4208 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4210         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
4211         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4212         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4213         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
4214         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4215         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
4216         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4217         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
4218         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4219         * sysdeps/unix/sysv/linux/tile/sysdep.h
4220         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4221         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
4222         using vDSO syscall macro.
4224 2015-05-26  Andriy Rysin  <arysin@gmail.com>
4226         [BZ #17293]
4227         * uk_UA: Fix sorting order for Ukrainian locale
4229 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
4231         * stdlib/monetary.h: Fix comment.
4233 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4235         [BZ #18234]
4236         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
4237         st_mtim and st_ctim members.
4238         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
4239         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
4240         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
4241         (struct stat64): Likewise.
4242         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
4243         (struct stat64): Likewise.
4244         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
4245         (struct stat64): Likewise.
4247 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4249         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
4250         Define and include sysdep-vdso.h.
4251         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
4252         Likewise.
4253         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
4254         Likewise.
4255         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
4256         Define with VDSO_SYMBOL and use PTR_MANGLE.
4257         (__vdso_clock_gettime): Likewise.
4258         (__vdso_clock_getres): Likewise.
4259         (_libc_vdso_platform_setup): Likewise.
4260         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
4261         Likewise.
4262         (_libc_vdso_platform_setup): Likewise.
4263         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
4264         Likewise.
4265         (__vdso_clock_gettime): Likewise.
4266         (__vdso_clock_getres): Likewise.
4267         (__vdso_get_tbfreq): Likewise.
4268         (__vdso_getcpu): Likewise.
4269         (__vdso_time): Likewise.
4270         (__vdso_sigtramp_rt64): Likewise.
4271         (__vdso_signtramp32): Likewise.
4272         (__vdso_sigtramp_rt32): Likewise.
4273         (_libc_vdso_platform_setup): Likewise.
4274         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
4275         Likewise.
4276         (__vdso_clock_gettime): Likewise.
4277         (__vdso_clock_getres): Likewise.
4278         (_libc_vdso_platform_setup): Likewise.
4279         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
4280         Likewise.
4281         (__vdso_clock_gettime): Likewise.
4282         (_libc_vdso_platform_setup): Likewise.
4283         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4284         Likewise.
4285         (__vdso_getcpu): Likewise.
4286         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
4287         Use VDSO_SYMBOL macro to define.
4288         (__vdso_clock_gettime): Likewise.
4289         (__vdso_clock_getres): Likewise.
4290         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
4291         Likewise.
4292         (__vdso_clock_gettime): Likewise.
4293         (__vdso_clock_getres): Likewise.
4294         (__vdso_get_tbfreq): Likewise.
4295         (__vdso_getcpu): Likewise.
4296         (__vdso_time): Likewise.
4297         (__vdso_sigtramp_rt64): Likewise.
4298         (__vdso_signtramp32): Likewise.
4299         (__vdso_sigtramp_rt32): Likewise.
4300         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
4301         Likewise.
4302         (__vdso_clock_gettime): Likewise.
4303         (__vdso_clock_getres): Likewise.
4304         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
4305         Likewise.
4306         (__vdso_clock_gettime): Likewise.
4307         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
4308         Likewise.
4309         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
4310         macro.
4311         (INTERNAL_VSYSCALL): Likewise.
4312         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
4313         Remove macro.
4314         (INTERNAL_VSYSCALL): Likewise.
4315         (INTERNAL_VSYSCALL_NCS): Likewise.
4316         (INTERNAL_VSYSCALL_CALL): New macro.
4317         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4318         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
4319         Likewise.
4320         (INTERNAL_VSYSCALL): Likewise.
4321         (INTERNAL_VSYSCALL_NCS): Likewise.
4322         (INTERNAL_VSYSCALL_CALL): New macro.
4323         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4325         (INLINE_VSYSCALL): Remove macro.
4326         (INTERNAL_VSYSCALL): Remove macro.
4327         (INTERNAL_VSYSCALL_NCS): Remove macro.
4328         (INTERNAL_VSYSCALL_CALL): New macro.
4329         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
4330         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
4331         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4332         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
4333         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4335         (INLINE_VSYSCALL): Remove macro.
4336         (INTERNAL_VSYSCALL): Likewise.
4337         (INTERNAL_VSYSCALL_NCS): Likewise.
4338         (INTERNAL_VSYSCALL_CALL): New macro.
4339         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
4340         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
4341         PTR_DEMANGLE on vDSO pointer.
4342         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4343         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
4344         macro.
4345         (INTERNAL_SYSCALL): Likewise.
4346         (INTERNAL_VSYSCALL_NCS): Remove macro.
4347         (INTERNAL_VSYSCALL_CALL): New macro.
4348         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
4349         Remove macro.
4350         (INTERNAL_VSYSCALL): Likewise.
4351         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
4352         sysdep-vdso.h instead of libc-vdso.h.
4353         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
4354         definition.
4355         (INLINE_VSYSCALL): Likewise.
4356         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
4357         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
4358         definition.
4359         (INLINE_VSYSCALL): Likewise.
4360         (INTERNAL_VSYSCALL): Likewise.
4361         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4362         * sysdeps/unix/sysv/linux/timespec_get.c
4363         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4364         (timespec_get): Use ANSI prototype.
4365         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
4366         and definition for Linux.
4368 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
4370         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
4371         * include/libc-symbols.h: libmvec_hidden_* macro series added.
4373 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4375         [BZ #2981]
4376         [BZ #18410]
4377         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
4378         for missing DT_PLTRELSZ.
4380 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
4382         Remove obsolete aliases that broke 'locale -a'
4383         [BZ #18412]
4384         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
4385         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
4386         breaking some applications that use 'locale -a' output.
4387         Change the encoding of this file from Latin-1 to ASCII to avoid
4388         other potential problems with people grepping this file.
4390 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4392         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
4393         -fasynchronous-unwind-tables.
4394         (CFLAGS-sendto.c): Likewise.
4395         (CFLAGS-sendmsg.c): Likewise.
4396         (CFLAGS-connect.c): Likewise.
4397         (CFLAGS-recvmsg.c): Likewise.
4398         (CFLAGS-recvfrom.c): Likewise.
4399         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
4400         (SOCKETCALL): New macro: non-cancellable socketcall.
4401         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
4402         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
4403         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
4404         * sysdeps/unix/sysv/linux/accept.c: New file.
4405         * sysdeps/unix/sysv/linux/bind.c: Likewise.
4406         * sysdeps/unix/sysv/linux/connect.c: Likewise.
4407         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
4408         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
4409         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
4410         * sysdeps/unix/sysv/linux/listen.c: Likewise.
4411         * sysdeps/unix/sysv/linux/recv.c: Likewise.
4412         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
4413         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
4414         * sysdeps/unix/sysv/linux/send.c: Likewise.
4415         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
4416         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
4417         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
4418         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
4419         * sysdeps/unix/sysv/linux/socket.c: Likewise.
4420         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
4421         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
4422         prototype.
4423         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
4424         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4425         instead of __internal_xxx function.
4426         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
4427         prototype.
4428         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
4429         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4430         instead of __internal_xxx function.
4431         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
4432         prototype.
4433         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
4434         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4435         instead of __internal_xxx function.
4436         * sysdeps/unix/sysv/linux/accept.S: Remove file.
4437         * sysdeps/unix/sysv/linux/bind.S: Likewise.
4438         * sysdeps/unix/sysv/linux/connect.S: Likewise.
4439         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
4440         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
4441         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
4442         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
4443         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
4444         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
4445         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
4446         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
4447         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
4448         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
4449         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
4450         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
4451         * sysdeps/unix/sysv/linux/listen.S: Likewise.
4452         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
4453         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
4454         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
4455         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
4456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
4457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
4458         * sysdeps/unix/sysv/linux/recv.S: Likewise.
4459         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
4460         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
4461         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
4462         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4463         * sysdeps/unix/sysv/linux/send.S: Likewise.
4464         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
4465         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
4466         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
4467         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
4468         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
4469         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
4470         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
4471         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
4472         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
4473         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
4474         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
4475         socketcall is implemented in GLIBC.
4477 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
4479         * soft-fp/fmadf4.c: Include <libc-internal.h>.
4480         (__fma): Ignore uninitialized warnings around packing.
4481         * soft-fp/fmasf4.c: Include <libc-internal.h>.
4482         (__fmaf): Ignore uninitialized warnings around packing.
4483         * soft-fp/fmatf4.c: Include <libc-internal.h>.
4484         (__fmal): Ignore uninitialized warnings around packing.
4486         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
4487         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4488         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
4489         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4491         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
4492         switch statement into default case.
4493         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
4495         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
4496         a conditional in forcing "inexact".
4497         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4498         Likewise.
4500 2015-05-22  Roland McGrath  <roland@hack.frob.com>
4502         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4503         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
4504         for each INTERNAL_SYSCALL use.
4506 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
4508         [BZ #438]
4509         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
4510         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
4511         variable.
4513         [BZ #18444]
4514         * string/basename.c (basename): Rename to __basename and define as
4515         weak alias of __basename.  Use libc_hidden_weak.
4516         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
4517         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
4518         __basename instead of basename.
4519         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
4520         Remove variable.
4521         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4523 2015-05-18  Florian Weimer  <fweimer@redhat.com>
4525         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
4526         (_IO_JUMPS_FILE_plus): New.
4527         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
4528         _IO_CAST_FIELD_ACCESS.
4529         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
4530         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
4531         * libio/freopen.c (freopen): Likewise.
4532         * libio/freopen64.c (freopen64): Likewise.
4533         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
4534         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
4535         * libio/iofwide.c (_IO_fwide): Likewise.
4536         * libio/memstream.c (open_memstream): Likewise.
4537         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
4538         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4539         * libio/oldiopopen.c (_IO_old_popen): Likewise.
4541 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
4543         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
4544         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
4545         NADJ.
4546         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
4547         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
4548         NADJ.
4549         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
4550         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
4551         NADJ.
4553         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
4554         (p == 4) case.
4556         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
4557         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
4558         Remove variable.
4559         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4560         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4561         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4563 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4565         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
4566         Adjust jump table label generation macros.
4568 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4570         * stdio-common/vfprintf.c (vfprintf): Move local variables
4571         args_malloced, specs, specs_malloced, and the code after
4572         do_positional to the printf_positional function.
4573         (printf_positional): New function.
4575 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4577         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
4578         function.
4579         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
4580         STEP4_TABLE, process_arg): Move macro definitions
4581         out of the vfprintf function.  (Cosmetic change only.)
4583 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
4585         * benchtests/Makefile (stdio-common-bench): Define.
4586         (benchset): Add stdio-common-bench.
4587         * sprintf-inputs: New file.
4588         * sprintf-source.c: New file.
4590 2015-05-21  Andreas Schwab  <schwab@suse.de>
4592         [BZ #13028]
4593         [BZ #17053]
4594         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
4595         of struct __res_state.
4596         * resolv/res_send.c (__libc_res_nsend): Likewise.
4597         (get_nsaddr): New function.
4598         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
4599         statp directly.
4601 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
4603         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
4604         -D_POSIX_C_SOURCE=199506L.
4606         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
4608         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
4609         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
4610         Do not mention otherwise.
4611         [POSIX] (_XOPEN_VERSION): Do not expect.
4612         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
4613         [POSIX] (_POSIX2_C_BIND): Likewise.
4614         [POSIX] (_POSIX2_VERSION): Likewise.
4615         [POSIX] (_XOPEN_XPG2): Likewise.
4616         [POSIX] (_XOPEN_XPG3): Likewise.
4617         [POSIX] (_XOPEN_XPG4): Likewise.
4618         [POSIX] (_XOPEN_UNIX): Likewise.
4619         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
4620         [POSIX] (_POSIX_BARRIERS): Likewise.
4621         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
4622         [POSIX] (_POSIX_CPUTIME): Likewise.
4623         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
4624         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
4625         [POSIX] (_POSIX_SHELL): Likewise.
4626         [POSIX] (_POSIX_SPAWN): Likewise.
4627         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
4628         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
4629         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
4630         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
4631         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
4632         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
4633         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
4634         [POSIX] (_XBS5_LP64_OFF64): Likewise.
4635         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
4636         [POSIX] (_POSIX_TIMEOUTS): Likewise.
4637         [POSIX] (_POSIX2_PBS): Likewise.
4638         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
4639         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
4640         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
4641         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
4642         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
4643         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
4644         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
4645         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
4646         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
4647         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
4648         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
4649         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
4650         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
4651         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
4652         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
4653         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
4654         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
4655         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
4656         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
4657         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
4658         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
4659         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
4660         [POSIX] (_SC_2_C_BIND): Likewise.
4661         [POSIX] (_SC_2_C_VERSION): Likewise.
4662         [POSIX] (_SC_2_PBS): Likewise.
4663         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
4664         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
4665         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
4666         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
4667         [POSIX] (_SC_2_PBS_TRACK): Likewise.
4668         [POSIX] (_SC_ATEXIT_MAX): Likewise.
4669         [POSIX] (_SC_BARRIERS): Likewise.
4670         [POSIX] (_SC_BASE): Likewise.
4671         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
4672         [POSIX] (_SC_DEVICE_IO): Likewise.
4673         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
4674         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
4675         [POSIX] (_SC_FD_MGMT): Likewise.
4676         [POSIX] (_SC_FIFO): Likewise.
4677         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
4678         [POSIX] (_SC_FILE_LOCKING): Likewise.
4679         [POSIX] (_SC_FILE_SYSTEM): Likewise.
4680         [POSIX] (_SC_IOV_MAX): Likewise.
4681         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
4682         [POSIX] (_SC_NETWORKING): Likewise.
4683         [POSIX] (_SC_PAGE_SIZE): Likewise.
4684         [POSIX] (_SC_PASS_MAX): Likewise.
4685         [POSIX] (_SC_PIPE): Likewise.
4686         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
4687         [POSIX] (_SC_REGEXP): Likewise.
4688         [POSIX] (_SC_SHELL): Likewise.
4689         [POSIX] (_SC_SIGNALS): Likewise.
4690         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
4691         [POSIX] (_SC_SPIN_LOCKS): Likewise.
4692         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
4693         [POSIX] (_SC_USER_GROUPS): Likewise.
4694         [POSIX] (_SC_USER_GROUPS_R): Likewise.
4695         [POSIX] (_SC_STREAMS): Likewise.
4696         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
4697         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
4698         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
4699         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
4700         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
4701         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
4702         [POSIX] (_PC_FILESIZEBITS): Likewise.
4703         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
4704         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
4705         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
4706         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
4707         [POSIX] (uid_t): Likewise.
4708         [POSIX] (gid_t): Likewise.
4709         [POSIX] (off_t): Likewise.
4710         [POSIX] (pid_t): Likewise.
4711         [POSIX] (cuserid): Allow.
4712         (_SC_2_CHAR_TERM): Require constant.
4713         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
4714         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
4715         variable.
4717 2015-05-20  Roland McGrath  <roland@hack.frob.com>
4719         * sysdeps/nacl/pthread-pids.h: New file.
4720         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
4721         (create_thread): Use __nacl_get_tid to initialize PD->tid.
4723         * nptl/pthread-pids.h: New file.
4724         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
4725         * nptl/nptl-init.c: Include <pthread-pids.h>.
4726         (__pthread_initialize_minimal_internal):
4727         Call __pthread_initialize_pids instead of set_tid_address syscall.
4729         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
4730         * sysdeps/posix/usleep.c: ... here.
4732 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4734         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
4735         call_pselect6 object.
4736         [$(subdir) = io]: Remove call_sync_file_range object.
4737         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
4738         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
4739         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
4740         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
4742 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
4744         * math/s_cproj.c: Add include "math_private.h".
4745         * math/s_cprojf.c: Likewise.
4746         * math/s_cprojl.c: Likewise.
4748 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
4750         [BZ #18244]
4751         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
4752         high mantissa bit when testing whether P is a NaN.
4753         * math/libm-test.inc (remainder_test_data): Add more tests.
4754         (remquo_test_data): Likewise.
4756         [BZ #18049]
4757         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
4758         below -32, return the argument, with underflow if subnormal.
4759         * math/auto-libm-test-in: Add more tests of atanh.
4760         * math/auto-libm-test-out: Regenerated.
4762 2015-05-19  Roland McGrath  <roland@hack.frob.com>
4764         [BZ #18434]
4765         * nptl/tst-sem15.c: New file.
4766         * nptl/Makefile (tests): Add it.
4767         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
4768         s/<</>>/ to fix typo in EOVERFLOW check.
4769         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
4771 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4773         * manual/strings.texi (envz_remove): Fix typo in safety
4774         annotations.
4776 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
4777             Steve Ellcey  <sellcey@imgtec.com>
4779         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
4780         in order to avoid strict alias warnings.
4781         (iruserok_af): Ditto for ra.
4783 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
4785         [BZ #17581]
4786         * malloc/hooks.c
4787         (magicbyte): Convert to a function and avoid returning 0x01.
4788         (mem2mem_check): Avoid using a length byte equal to the magic byte.
4789         (mem2chunk_check): Fix unsigned comparisons to zero.
4790         Hoist defs of sz and magic.
4792 2015-05-19  Richard Henderson  <rth@redhat.com>
4794         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
4796         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4798 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4800         [BZ #16159]
4801         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
4802         * malloc/arena.c (arena_lock): Check if arena is corrupt.
4803         (reused_arena): Find a non-corrupt arena.
4804         (heap_trim): Pass arena to unlink.
4805         * malloc/hooks.c (malloc_check_get_size): Pass arena to
4806         malloc_printerr.
4807         (top_check): Likewise.
4808         (free_check): Likewise.
4809         (realloc_check): Likewise.
4810         * malloc/malloc.c (malloc_printerr): Add arena argument.
4811         (unlink): Likewise.
4812         (munmap_chunk): Adjust.
4813         (ARENA_CORRUPTION_BIT): New macro.
4814         (arena_is_corrupt): Likewise.
4815         (set_arena_corrupt): Likewise.
4816         (sysmalloc): Use mmap if there are no usable arenas.
4817         (_int_malloc): Likewise.
4818         (__libc_malloc): Don't fail if arena_get returns NULL.
4819         (_mid_memalign): Likewise.
4820         (__libc_calloc): Likewise.
4821         (__libc_realloc): Adjust for additional argument to
4822         malloc_printerr.
4823         (_int_free): Likewise.
4824         (malloc_consolidate): Likewise.
4825         (_int_realloc): Likewise.
4826         (_int_memalign): Don't touch corrupt arenas.
4827         * malloc/tst-malloc-backtrace.c: New test case.
4829         * Makefile (summarize-tests): Fix return value on success.
4831         * manual/string.texi (Envz Functions): Add envz_remove.
4833 2015-05-18  Roland McGrath  <roland@hack.frob.com>
4835         * sysdeps/posix/opendir.c: Include <stdbool.h>.
4836         (invalid_name): New function, broken out of ...
4837         (__opendirat): ... here.  Call it.
4838         (need_isdir_precheck): New function, broken out of ...
4839         (__opendirat): ... here.  Call it.
4840         Use __fxstatat64, not __xstatat64.
4841         (opendir_oflags): New function, broken out of ...
4842         (__opendirat): ... here.  Call it.
4843         (opendir_tail): New function, broken out of ...
4844         (__opendirat): ... here.  Call it.
4845         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
4846         opendir_tail, rather than punting to __opendirat.
4847         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
4849 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4851         * .gitignore: Ignore generated *.pyc.
4853 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
4855         * include/stdio.h: Define __need_wint_t.
4856         * test-skeleton.c: Avoid `for' loop initial declaration.
4857         * nptl/tst-initializers1.c: Use test-skeleton.c.
4859 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4861         [BZ #18418]
4862         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
4864 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
4866         [BZ #16352]
4867         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
4868         (__ieee754_atanh): Force underflow exception for results with
4869         small absolute value.
4870         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
4871         (__ieee754_atanhf): Force underflow exception for results with
4872         small absolute value.
4873         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
4874         (__ieee754_atanh): Force underflow exception for results with
4875         small absolute value.
4876         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
4877         (__ieee754_atanhf): Force underflow exception for results with
4878         small absolute value.
4879         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
4880         (__ieee754_atanhl): Force underflow exception for results with
4881         small absolute value.
4882         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
4883         (__ieee754_atanhl): Force underflow exception for results with
4884         small absolute value.
4885         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
4886         (__ieee754_atanhl): Force underflow exception for results with
4887         small absolute value.
4888         * math/auto-libm-test-in: Do not allow missing underflow
4889         exceptions from atanh.
4890         * math/auto-libm-test-out: Regenerated.
4892         [BZ #18221]
4893         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
4894         2**-28 as threshold for returning x or +/- 1/x.
4895         * math/auto-libm-test-in: Add more tests of tan.
4896         * math/auto-libm-test-out: Regenerated.
4898         [BZ #18220]
4899         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4900         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
4901         * math/auto-libm-test-in: Add another test of lgamma.
4902         * math/auto-libm-test-out: Regenerated.
4904 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
4906         * stdio-common/printf_fp.c (___printf_fp): Use abs.
4907         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
4908         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
4909         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
4910         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
4911         (ADD2A): Use fabs.  (SUB2A): Use fabs.
4912         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
4913         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
4914         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
4915         (log1): Use fabs.  (my_log2): Use fabs.
4916         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
4917         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
4918         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
4919         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
4920         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
4921         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
4922         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
4923         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
4924         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
4925         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
4926         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
4928 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
4930         [BZ #18217]
4931         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
4932         as threshold for returning 1 - x.
4933         * math/auto-libm-test-in: Add more tests of erfc.
4934         * math/auto-libm-test-out: Regenerated.
4936 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
4938         [BZ #18196]
4939         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
4940         threshold for large arguments.
4941         * math/auto-libm-test-in: Add another test of atan.
4942         * math/auto-libm-test-out: Regenerated.
4944         [BZ #16339]
4945         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
4946         (__log1p): Force underflow exception for results with small
4947         absolute value.
4948         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
4949         (__log1pf): Force underflow exception for results with small
4950         absolute value.
4951         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
4952         (__log1p): Force underflow exception for results with small
4953         absolute value.
4954         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
4955         (__log1pf): Force underflow exception for results with small
4956         absolute value.
4957         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
4958         (__log1pl): Force underflow exception for results with small
4959         absolute value.
4960         * math/auto-libm-test-in: Do not allow missing underflow
4961         exceptions from log1p.
4962         * math/auto-libm-test-out: Regenerated.
4964 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
4965             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4967         [BZ #16704]
4968         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
4970 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
4972         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
4973         (libmvec): New variable.
4974         * configure.ac: Added option for mathvec build.
4975         * configure: Regenerated.
4976         * mathvec/Depend: New file.
4977         * mathvec/Makefile: New file.
4978         * shlib-versions: Added libmvec.
4979         * math/Makefile: Added rule for libm.so installation.
4981         * bits/math-vector.h: New file.
4982         * bits/libm-simd-decl-stubs.h: New header.
4983         * math/Makefile (headers): Added new header
4984         libm-simd-decl-stubs.h.
4985         * math/math.h (__MATHCALL_VEC): New macro.
4987         * math/gen-libm-have-vector-test.sh: Script generates series of macros
4988         for conditions in testing functions.
4989         * math/Makefile: Added call of libm-have-vector-test.sh.
4990         * math/libm-test.inc (HAVE_VECTOR): New macros.
4992         * math/libm-test.inc: START refactored.
4993         * math/test-double.c (TEST_MATHVEC): Add define.
4994         * math/test-float.c: Likewise.
4995         * math/test-idouble.c: Likewise.
4996         * math/test-ifloat.c: Likewise.
4997         * math/test-ildoubl.c: Likewise.
4998         * math/test-ldouble.c: Likewise.
4999         * sysdeps/generic/math-tests-arch.h
5000         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
5001         architecture check.
5003         * math/test-double.c (FUNC_TEST): New macro.
5004         * math/test-float.c: Likewise.
5005         * math/test-idouble.c: Likewise.
5006         * math/test-ifloat.c: Likewise.
5007         * math/test-ildoubl.c: Likewise.
5008         * math/test-ldouble.c: Likewise.
5009         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
5011 2015-05-13  Roland McGrath  <roland@hack.frob.com>
5013         * sysdeps/nacl/fdopendir.c: New file.
5015         * dirent/scandir-tail.c: New file.
5016         * dirent/scandir64-tail.c: New file.
5017         * dirent/Makefile (routines): Add them.
5018         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
5019         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
5020         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
5021         [!SCANDIR] (SCANDIR_TAIL): New macro.
5022         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
5023         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
5024         (SCANDIRAT): Macro removed.
5025         (SCANDIR_TAIL): New macro.
5026         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
5027         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
5028         (SCANDIRAT): Just call __opendirat and __scandir_tail.
5029         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
5030         (READDIR): Macro removed.
5031         (SCANDIR_TAIL): New macro.
5032         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
5033         (SCANDIR_TAIL): New macro.
5035         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
5036         * dirent/scandir-cancel.c: ... to this new file.
5037         * dirent/Makefile (routines): Add it.
5038         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
5039         * sysdeps/unix/sysv/linux/i386/scandir64.c
5040         (SKIP_SCANDIR_CANCEL): Macro removed.
5041         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
5043         * dirent/tst-scandir.c: New file.
5044         * dirent/tst-scandir64.c: New file.
5045         * dirent/Makefile (tests): Add them.
5047 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5049         [BZ #18409]
5050         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
5052 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5054         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
5055         list.
5057 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
5059         * benchtests/bench-strcoll.c: New benchmark.
5060         * benchtests/Makefile: Generate locales and run benchmark.
5061         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
5062         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
5063         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
5064         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
5065         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
5066         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
5067         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
5068         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
5069         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
5070         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
5071         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
5072         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
5073         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
5074         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
5075         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
5076         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
5077         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
5078         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
5079         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
5080         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
5081         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
5082         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
5083         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
5084         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
5086 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
5088         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
5089         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5091 2015-05-12  Roland McGrath  <roland@hack.frob.com>
5093         * posix/uname-values.h: New file.
5094         * posix/uname.c: Include that instead of <config-name.h>.
5095         * sysdeps/nacl/uname-values.h: New file.
5096         * sysdeps/arm/nacl/uname-values.h: New file.
5098 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
5100         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
5101         splitting into fields.
5103 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
5105         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
5106         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
5107         * locale/localeinfo.h: Add enum collation_encoding_type.
5108         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
5109         * programs/ld-collate.c (collate_output): Add encoding type info.
5110         * string/strcoll_l.c (STRDIFF): New function.
5111         * (STRCOLL): Use STRDIFF to skip over equal prefix.
5112         * wcsmbs/wcscoll_l.c: Define STRDIFF.
5114 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
5116         [BZ #18397]
5117         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
5118         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
5119         <fpu_control.h> instead of <math/fpu_control.c>.
5120         * sysdeps/mips/mips32/fpu/Makefile: New file.
5122 2015-05-11  Andreas Schwab  <schwab@suse.de>
5124         [BZ #18007]
5125         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
5126         nss_endgrent.
5127         (_nss_compat_endgrent): Call nss_endgrent.
5128         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
5129         nss_endpwent.
5130         (_nss_compat_endpwent): Call nss_endpwent.
5131         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
5132         needent, call nss_setspent only if non-zero.
5133         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
5134         (internal_endspent): Don't call nss_endspent.
5135         (_nss_compat_endspent): Call nss_endspent.
5136         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
5137         Remove.  All uses removed.
5138         (internal_setent): Remove parameter stayopen, add parameter
5139         stream.  Use it instead of global variable.
5140         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
5141         (internal_endent, internal_getent): Add parameter stream.  Use it
5142         instead of global variable.
5143         (CONCAT(_nss_files_end,ENTNAME))
5144         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
5145         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
5146         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
5147         uses removed.
5148         (internal_setent, internal_endent): Add parameter stream.  Use it
5149         instead of global variable.
5150         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
5151         stream.
5152         (get_next_alias): Add parameter stream.
5153         (_nss_files_getaliasent_r): Pass global stream.
5154         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
5155         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
5156         (_nss_files_gethostbyname4_r): Pass local stream to
5157         internal_setent, internal_getent and internal_endent.  Remove
5158         locking.
5160 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5162         * tst-strfmon1.c (tests): Update expected currency symbol.
5164 2015-05-08  Roland McGrath  <roland@hack.frob.com>
5166         * sysdeps/nacl/gethostname.c: New file.
5168 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
5170         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
5171         and sinh.
5172         * math/auto-libm-test-out: Regenerated.
5173         * sysdeps/i386/fpu/libm-test-ulps: Update.
5174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5176 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
5178         [BZ #18125]
5179         * stdlib/tst-setcontext3.c: New file.
5180         * stdlib/tst-setcontext3.sh: New file.
5181         * stdlib/Makefile (tests): Add tst-setcontext3.
5182         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
5183         to verify test program created output file.
5184         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
5185         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
5186         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
5187         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
5189 2015-05-06  Roland McGrath  <roland@hack.frob.com>
5191         [BZ #18383]
5192         * elf/tst-tlsalign.c: New file.
5193         * elf/tst-tlsalign-static.c: New file.
5194         * elf/tst-tlsalign-lib.c: New file.
5195         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
5196         (tests-static): Add tst-tlsalign-static.
5197         (modules-names): Add tst-tlsalign-lib.
5198         (test-xfail-tst-tlsalign): New variable.
5199         (test-xfail-tst-tlsalign-static): New variable.
5201         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
5202         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
5204 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
5206         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
5207         csqrt, erfc, sin and sincos.
5208         * math/auto-libm-test-out: Regenerated.
5209         * sysdeps/i386/fpu/libm-test-ulps: Update.
5210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5212 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5214         * sysdeps/aarch64/libm-test-ulps: Update.
5216 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
5218         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
5219         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
5220         * math/auto-libm-test-out: Regenerated.
5221         * sysdeps/i386/fpu/libm-test-ulps: Update.
5222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5224 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
5226         [BZ #18265]
5227         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
5228         (wcsncpy): Likewise.
5230 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5232         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5233         Assume __ASSUME_FALLOCATE is always true.
5234         * sysdeps/unix/sysv/linux/posix_fallocate64.c
5235         (__posix_fallocate64_l64): Likweise.
5236         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
5237         (posix_fallocate): Likewise.
5238         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
5239         (__posix_fallocate64_l64): Likewise.
5240         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5241         [!__ASSUME_FALLOCATE]: Add comment.
5243 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5245         * sysdeps/unix/sysv/linux/i386/Makefile
5246         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
5247         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
5248         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
5249         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
5250         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
5251         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
5252         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
5254 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
5256         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
5257         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
5258         tgamma.
5259         * math/auto-libm-test-out: Regenerated.
5260         * sysdeps/i386/fpu/libm-test-ulps: Update.
5261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5263 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5265         * math/auto-libm-test-in: Add more tests of tgamma.
5266         * math/auto-libm-test-out: Regenerated.
5267         * sysdeps/i386/fpu/libm-test-ulps: Update.
5268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5270         * math/auto-libm-test-in: Add more tests of tanh.
5271         * math/auto-libm-test-out: Regenerated.
5272         * sysdeps/i386/fpu/libm-test-ulps: Update.
5273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5275         * math/auto-libm-test-in: Add more tests of tan.
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 cos, sin and sincos.
5281         * math/auto-libm-test-out: Regenerated.
5282         * sysdeps/i386/fpu/libm-test-ulps: Update.
5283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5285         * math/auto-libm-test-in: Add another test of pow.
5286         * math/auto-libm-test-out: Regenerated.
5287         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5289         * math/auto-libm-test-in: Add more tests of lgamma.
5290         * math/auto-libm-test-out: Regenerated.
5291         * sysdeps/i386/fpu/libm-test-ulps: Update.
5292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5294         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
5295         log1p.
5296         * math/auto-libm-test-out: Regenerated.
5297         * sysdeps/i386/fpu/libm-test-ulps: Update.
5298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5300 2015-05-01  Mark Wielaard  <mjw@redhat.com>
5302         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
5303         Elf64_Chdr structs and ELFCOMPRESS constants.
5305 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5307         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
5308         expm1.
5309         * math/auto-libm-test-out: Regenerated.
5310         * sysdeps/i386/fpu/libm-test-ulps: Update.
5311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5313         * math/auto-libm-test-in: Add more tests of erf and erfc.
5314         * math/auto-libm-test-out: Regenerated.
5315         * sysdeps/i386/fpu/libm-test-ulps: Update.
5316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5318 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5320         * config.h.in (HAVE_AARCH64_BE): Add.
5322 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
5324         * math/auto-libm-test-in: Add more tests of csqrt.
5325         * math/auto-libm-test-out: Regenerated.
5326         * sysdeps/i386/fpu/libm-test-ulps: Update.
5327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5329         * math/auto-libm-test-in: Add more tests of cosh and sinh.
5330         * math/auto-libm-test-out: Regenerated.
5331         * sysdeps/i386/fpu/libm-test-ulps: Update.
5332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5334         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
5336 2015-04-29  Roland McGrath  <roland@hack.frob.com>
5338         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
5339         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
5341         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
5342         (euidaccess, eaccess): Define as weak aliases.
5344         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
5345         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
5346         but __suseconds_t is often 'long int' so some sources assume that
5347         type is being used (e.g. they use %ld to print tv_usec).
5349 2015-04-29  Florian Weimer  <fweimer@redhat.com>
5351         [BZ #18007]
5352         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
5353         (CVE-2014-8121)
5354         * nss/tst-nss-getpwent.c: New file.
5355         * nss/Makefile (tests): Add new test.
5357 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
5359         [BZ #18346]
5360         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
5361         exponents less than 48 as cases where high part of mantissa needs
5362         examining to determine whether argument is integral.
5363         * math/libm-test.inc (round_test_data): Add more tests.
5365 2015-04-28  Mark Wielaard  <mjw@redhat.com>
5367         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
5369 2015-04-27  David S. Miller  <davem@davemloft.net>
5371         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
5372         __tls_get_addr.
5373         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5375 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
5377         [BZ#18333]
5378         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
5380 2015-04-27  Florian Weimer  <fweimer@redhat.com>
5382         [BZ#18333]
5383         * time/tzset.c (parse_tzname): Return error on memory allocation
5384         failure.
5385         * test-skeleton.c (struct temp_name_list): Change type of name
5386         member to non-const.
5387         (add_temp_file): Create a copy of the file name.
5388         (delete_temp_files): Deallocate memory.
5389         (create_temp_file): Add comment.
5391 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5393         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
5394         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
5396 2015-04-24  Roland McGrath  <roland@hack.frob.com>
5398         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
5399         * sysdeps/arm/configure: Regenerated.
5401 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5403         [BZ #17715]
5404         * time/tzfile.c (__tzfile_read): Check for large values of
5405         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
5406         * time/tzset.c (__tzstring_len): New function, based on the old
5407         __tzstring function.
5408         (__tzstring): Call __tzstring_len.
5409         (parse_tzname): New helper function extracted from
5410         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
5411         the input string.
5412         (parse_offset): New helper function extracted from
5413         __tzset_parse_tz.  Replace switch with fallthrough with
5414         initialization before sscanf.
5415         (parse_rule): Likewise.
5416         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
5417         new-style function definition.
5418         * timezone/Makefile (tests): Add tst-tzset.
5419         (tst-tzset.out): Dependencies on time zone files.
5420         (tst-tzset-ENV): Set TZDIR.
5421         (testdata/XT%): Copy crafted time zone files.
5422         * timezone/README: Mention crafted time zone files.
5423         * timezone/testdata/XT1, timezone/testdata/XT2,
5424         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
5425         files.
5426         * timezone/tst-tzset.c: New test.
5428 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5430         * Makeconfig (+gccwarn): Remove -Winline.
5432 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5434         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
5436 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5438         * NEWS: Mention sysconf() cache information support for s390.
5439         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
5441 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
5443         * math/k_casinh.c (__kernel_casinh): Use __copysign.
5444         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
5445         (__nearbyint): Likewise.
5446         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
5447         (copysignl): Likewise.
5449 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
5451         [BZ #18287]
5452         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
5453         based on padding.  (CVE-2015-1781)
5455 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5457         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
5458         libc-vdso.h.
5459         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
5460         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
5461         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
5462         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
5463         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
5464         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
5465         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
5466         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5467         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
5468         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
5469         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
5470         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5471         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
5472         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
5473         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
5474         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
5475         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
5476         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
5477         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
5478         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
5479         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
5480         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
5481         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
5483 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
5485         * stdlib/setenv.c (__add_to_environ):
5486         Dump core quickly if setenv (..., NULL, ...) is called.
5487         This time, do it the right way, and pacify GCC with a pragma.
5489 2015-04-17  Roland McGrath  <roland@hack.frob.com>
5491         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
5492         IMAP->l_prev cannot be null, and #if out the code for the contrary
5493         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
5494         believe that NS (&_dl_ns[NSID]) could point outside the array.
5496         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
5497         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
5498         before using NSID as an index.
5500 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
5502         [BZ #17825]
5503         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
5504         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
5505         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5507 2015-04-17  Roland McGrath  <roland@hack.frob.com>
5509         Add preliminary port to Google Native Client on ARM.
5510         * abi-tags (.*-.*-nacl.*): New entry.
5511         * sysdeps/arm/nacl: New directory.
5512         * sysdeps/nacl: New directory.
5514 2015-04-16  David S. Miller  <davem@davemloft.net>
5516         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
5517         lowlevellock-futex.h
5519 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
5521         * sysdeps/tile/configure.ac: New file.
5522         * sysdeps/tile/configure: Regenerated.
5524 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5526         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
5527         conditionals for weak_alias and libc_hidden_weak.
5528         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
5529         libc_hidden_weak and weak_alias.
5530         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
5531         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
5532         and weak_alias for static one.
5534 2015-04-15  David S. Miller  <davem@davemloft.net>
5536         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5538 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5540         [BZ #18206]
5541         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
5542           Use signed comparision instead of substraction to avoid
5543           overflow bug.
5544         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
5545           Take the sign of ret.
5546         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
5547           Do not expect precise return values. Only the sign matters.
5548         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
5549         * wcsmbs/test-wcsncmp.c: New File.
5550         * string/test-strncmp.c: Add wcsncmp support.
5552 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5554         [BZ #6792]
5555         * math/w_log1p.c: New file.
5556         * math/w_log1pf.c: Likewise.
5557         * math/w_log1pl.c: Likewise.
5558         * math/Makefile (libm-calls): Add w_log1p.
5559         * math/s_log1pl.c (log1pl): Remove weak_alias.
5560         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
5561         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
5562         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
5563         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
5564         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
5565         [NO_LONG_DOUBLE] (log1pl): Likewise.
5566         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
5567         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
5568         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
5569         (log1p): Remove long_double_symbol.
5570         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
5571         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
5572         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
5573         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
5574         remove weak_alias for corresponding log1p function.
5575         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
5576         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
5577         * sysdeps/ia64/fpu/w_log1p.c: New file.
5578         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
5579         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
5580         * math/libm-test.inc (log1p_test_data): Add errno expectations.
5582 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
5584         [BZ #18247]
5585         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
5586         decimal exponent by 1.
5587         * stdlib/tst-strtod-round-data: Add more tests.
5588         * stdlib/tst-strtod-round.c (tests): Regenerated.
5590 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
5592         * math/auto-libm-test-in: Add more tests of clog and clog10.
5593         * math/auto-libm-test-out: Regenerated.
5594         * sysdeps/i386/fpu/libm-test-ulps: Update.
5595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5597 2015-04-09  Roland McGrath  <roland@hack.frob.com>
5599         * Makeconfig (module-cppflags): Exclude all .v.i files.
5600         (skip-module-cppflags): Variable removed.
5602         * configure.ac (libc_config_ok): Initialize before reading
5603         preconfigure scripts, not after.
5604         * configure: Regenerated.
5606         * test-skeleton.c (TIMEOUT): Move #define to top level.
5607         (main): Grok environment variable TEST_DIRECT.  If set, print
5608         test expectation details into that file and then behave as if
5609         given --direct.
5611 2015-04-09  Florian Weimer  <fweimer@redhat.com>
5613         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
5614         warning on 32-bit.
5616 2015-04-08  David S. Miller  <davem@davemloft.net>
5618         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5620 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
5622         * math/auto-libm-test-in: Add more tests of atanh.
5623         * math/auto-libm-test-out: Regenerated.
5624         * sysdeps/i386/fpu/libm-test-ulps: Update.
5625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5627         * math/auto-libm-test-in: Add more tests of atan.
5628         * math/auto-libm-test-out: Regenerated.
5629         * sysdeps/i386/fpu/libm-test-ulps: Update.
5630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5632 2015-04-08  Florian Weimer  <fweimer@redhat.com>
5634         * elf/pldd.c (main): Rewrite to use struct
5635         scratch_buffer instead of extend_alloca.
5636         * elf/pldd-xx.c (find_maps): Likewise.
5637         * grp/initgroups.c: Include <scratch_buffer.h> instead of
5638         <alloca.h>.
5639         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
5640         scratch_buffer instead of extend_alloca.
5641         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
5642         grp/compat-initgroups.c.
5643         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
5644         Rewrite to use struct scratch_buffer instead of extend_alloca.
5645         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
5646         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5648 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
5650         * math/auto-libm-test-in: Add more tests of cbrt.
5651         * math/auto-libm-test-out: Regenerated.
5652         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5654         * math/auto-libm-test-in: Add more tests of cabs.
5655         * math/auto-libm-test-out: Regenerated.
5656         * sysdeps/i386/fpu/libm-test-ulps: Update.
5657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5659         [BZ #18210]
5660         [BZ #18211]
5661         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
5662         (__ieee754_atan2): Set FE_TONEAREST mode for internal
5663         computations.
5664         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
5665         clog10.
5666         * math/auto-libm-test-out: Regenerated.
5667         * sysdeps/i386/fpu/libm-test-ulps: Update.
5668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5670         [BZ #18197]
5671         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
5672         (atan): Set FE_TONEAREST mode for internal computations.
5673         * math/auto-libm-test-in: Add more tests of atan.
5674         * math/auto-libm-test-out: Regenerated.
5676 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
5678         [BZ #17930]
5679         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
5681 2015-04-07  Florian Weimer  <fweimer@redhat.com>
5683         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
5685 2015-04-07  Florian Weimer  <fweimer@redhat.com>
5687         * include/scratch_buffer.h: New file.
5688         * malloc/scratch_buffer_grow.c: Likewise.
5689         * malloc/scratch_buffer_grow_preserve.c: Likewise.
5690         * malloc/scratch_buffer_set_array_size.c: Likewise.
5691         * malloc/tst-scratch_buffer.c: Likewise.
5692         * malloc/Makefile (routines): Add scratch_buffer_grow.
5693         (tests): Add test case.
5694         * malloc/Versions (GLIBC_PRIVATE): Export
5695         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
5696         __libc_scratch_buffer_set_array_size.
5698 2015-04-06  Richard Henderson  <rth@redhat.com>
5700         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
5701         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5703         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
5704         unsigned int before printing.
5706 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5708         [BZ #17596]
5709         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
5710         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5712 2015-04-02  Florian Weimer  <fweimer@redhat.com>
5714         * include/libc-internal.h (libc_max_align_t): Define.
5716 2015-04-02  Andreas Schwab  <schwab@suse.de>
5718         [BZ #16850]
5719         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
5721 2015-04-02  Mel Gorman  <mgorman@suse.de>
5723         [BZ #17195]
5724         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
5725         as well as the main arena.
5727 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5729         [BZ #18185]
5730         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
5731         sharing L2 cache to 2 for Silvermont/Knights Landing.
5733 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5735         [BZ #17711]
5736         * config.make.in (have-protected-data): New.
5737         * configure.ac: Check linker support for protected data symbol.
5738         * configure: Regenerated.
5739         * elf/Makefile (modules-names): Add tst-protected1moda and
5740         tst-protected1modb if $(have-protected-data) is yes.
5741         (tests): Add tst-protected1a and tst-protected1b if
5742         $(have-protected-data) is yes.
5743         ($(objpfx)tst-protected1a): New.
5744         ($(objpfx)tst-protected1b): Likewise.
5745         (tst-protected1modb.so-no-z-defs): Likewise.
5746         * elf/tst-protected1a.c: New file.
5747         * elf/tst-protected1b.c: Likewise.
5748         * elf/tst-protected1mod.h: Likewise.
5749         * elf/tst-protected1moda.c: Likewise.
5750         * elf/tst-protected1modb.c: Likewise.
5752 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5754         [BZ #17711]
5755         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
5756         indicates it is called from do_lookup_x on relocation against
5757         protected data, skip the data definion in the executable from
5758         copy reloc.
5759         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
5760         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
5761         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
5762         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
5763         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
5764         otherwise to 0.
5765         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5766         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
5767         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
5768         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5769         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
5770         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
5772 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
5774         * sysdeps/nptl/pthread.h: Remove duplicate definition of
5775         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
5777 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
5779         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
5780         THREAD_SETMEM_NC.
5781         * sysdeps/x86_64/nptl/tls.h: Ditto.
5783 2015-03-27  Roland McGrath  <roland@hack.frob.com>
5785         * dlfcn/tststatic.c (main): Converted to ...
5786         (do_test): ... this.
5787         (TEST_FUNCTION): New macro.
5788         Include test-skeleton.c.
5790 2015-03-26  Alan Modra  <amodra@gmail.com>
5792         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
5793         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
5794         zero for undefined weak.
5795         (elf_machine_plt_conflict): Similarly.
5797 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
5799         * math/auto-libm-test-in: Add more tests of acosh, asinh and
5800         atanh.
5801         * math/auto-libm-test-out: Regenerated.
5802         * sysdeps/i386/fpu/libm-test-ulps: Update.
5803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5805         * math/auto-libm-test-in: Add another test of asin.
5806         * math/auto-libm-test-out: Regenerated.
5807         * sysdeps/i386/fpu/libm-test-ulps: Update.
5808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5810         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
5811         Remove macro.
5812         (LLL_EBX_REG): Likewise.
5813         (LLL_ENTER_KERNEL): Likewise.
5815         * math/auto-libm-test-in: Add more tests of asin.
5816         * math/auto-libm-test-out: Regenerated.
5817         * sysdeps/i386/fpu/libm-test-ulps: Update.
5818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5820         [BZ #18138]
5821         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
5822         libc_do_syscall_args): New structure.
5823         (INTERNAL_SYSCALL_MAIN_0): New macro.
5824         (INTERNAL_SYSCALL_MAIN_1): Likewise.
5825         (INTERNAL_SYSCALL_MAIN_2): Likewise.
5826         (INTERNAL_SYSCALL_MAIN_3): Likewise.
5827         (INTERNAL_SYSCALL_MAIN_4): Likewise.
5828         (INTERNAL_SYSCALL_MAIN_5): Likewise.
5829         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
5830         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
5831         Replace conditional definitions by conditional definitions of ....
5832         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
5833         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
5834         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
5835         (libpthread-sysdep_routines): Add libc-do-syscall.
5836         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
5837         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
5838         to __NR_futex not 240.
5840 2015-03-25  Alan Modra  <amodra@gmail.com>
5842         * NEWS: Advertise TLS optimization.
5843         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
5844         (DT_PPC_NUM): Increment.
5845         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
5846         (CHECK_STATIC_TLS): Use here.
5847         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
5848         TLS descriptors.
5849         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5850         * sysdeps/powerpc/dl-tls.c: New file.
5851         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
5852         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
5853         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
5854         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
5855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
5856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
5857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
5859 2015-03-25  Alan Modra  <amodra@gmail.com>
5861         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
5862         for overlapping .opd entries" to "support...".
5863         * sysdeps/powerpc/powerpc64/configure: Regenerate
5865 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
5867         * math/auto-libm-test-in: Add more tests of acos.
5868         * math/auto-libm-test-out: Regenerated.
5869         * sysdeps/i386/fpu/libm-test-ulps: Update.
5870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5872         * math/auto-libm-test-in: Add more tests of expm1.
5873         * math/auto-libm-test-out: Regenerated.
5874         * sysdeps/i386/fpu/libm-test-ulps: Update.
5875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5877 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
5879         * math/auto-libm-test-in: Add more tests of cosh and sinh.
5880         * math/auto-libm-test-out: Regenerated.
5881         * sysdeps/i386/fpu/libm-test-ulps: Update.
5882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5884         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5887         * math/auto-libm-test-in: Add more tests of log2.
5888         * math/auto-libm-test-out: Regenerated.
5889         * sysdeps/i386/fpu/libm-test-ulps: Update.
5890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5892 2015-03-23  Roland McGrath  <roland@hack.frob.com>
5894         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
5895         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
5896         _IO_IS_APPENDING bit in READ_WRITE instead.
5898 2015-03-23  Florian Weimer  <fweimer@redhat.com>
5900         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
5901         (__determine_cpumask_size): Replace extend_alloca with a
5902         variable-length array.  Do not treat res == 0 as an error.
5904 2015-03-23  Florian Weimer  <fweimer@redhat.com>
5906         [BZ #18100]
5907         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
5908         and integer overflow.
5909         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
5910         (main): Add integer overflow tests.
5911         * manual/pattern.texi (Calling Wordexp): Document additional use
5912         for WRDE_SYNTAX.
5914 2015-03-23  Alan Modra  <amodra@gmail.com>
5916         * config.h.in: Remove HAVE_ASM_PPC_REL16.
5917         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
5918         and false branch of conditional.
5919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5920         Likewise.
5922 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
5924         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
5925         libc-modules.h
5926         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
5927         unused declaration of _hurd_intr_rpc_msg_in_trap.
5928         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
5929         defined instead of whether it is non-zero.
5930         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
5931         input constraint instead of both input and output constraint.  Use ecx
5932         clobber instead of %ecx.
5933         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
5934         mutex_unlock): Use a statement expression instead of an expression list.
5935         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
5936         type to vm_size_t instead of vm_address_t.
5937         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
5938         defined instead of whether it is non-zero.
5939         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
5940         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
5941         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
5942         comparisons with mapaddr.
5943         * nscd/nscd-client.h: Include <time.h>.
5944         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
5945         9th parameter to __vm_region instead of int.
5946         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
5947         * scripts/check-local-headers.sh (exclude): Add device/,
5948         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
5949         cthreads.h.
5951 2015-03-19  Roland McGrath  <roland@hack.frob.com>
5953         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
5954         to account for alignment padding.
5955         * sysdeps/arm/memmove.S: Likewise.
5957 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
5959         * sysdeps/unix/sysv/linux/generic/README: New file.
5961 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
5963         [BZ #18138]
5964         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
5965         (futex_abstimed_wait)
5966         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
5967         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
5968         of lll_futex_timed_wait.
5970 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
5972         [BZ #17542]
5973         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
5975 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
5977         [BZ #17090]
5978         [BZ #17620]
5979         [BZ #17621]
5980         [BZ #17628]
5981         * NEWS: Update.
5982         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
5983         entries with Static TLS too.  Skip entries past the end of the
5984         allocated DTV, from Alan Modra.
5985         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
5986         Static TLS DTV entry set up from...
5987         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
5988         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
5989         * nptl/allocatestack.c (init_one_static_tls): ... and here...
5990         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
5991         for Static TLS.
5992         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
5993         that the slot we find is associated with the given map before
5994         using its generation count.
5995         * nptl_db/db_info.c: Include ldsodefs.h.
5996         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
5997         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
5998         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
5999         (link_map::l_tls_offset): New struct field.
6000         (dtv_t::counter): Likewise.
6001         (rtld_global): New struct.
6002         (_rtld_global): New rtld variable.
6003         (dl_tls_dtv_slotinfo_list): New rtld global field.
6004         (dtv_slotinfo_list): New struct.
6005         (dtv_slotinfo): Likewise.
6006         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
6007         (td_lookup): Rename to...
6008         (td_mod_lookup): ... this.  Use new mod parameter instead of
6009         LIBPTHREAD_SO.
6010         * nptl_db/td_thr_tlsbase.c: Include link.h.
6011         (dtv_slotinfo_list, dtv_slotinfo): New functions.
6012         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
6013         addresses even if the DTV is out of date or missing them.
6014         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
6015         index zero-length arrays.
6016         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
6017         (td_lookup): Make it a macro implemented in terms of...
6018         (td_mod_lookup): ... this declaration.
6019         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
6020         (DB_MAIN_VARIABLE): Likewise.
6022 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6024         [BZ #18134]
6025         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
6027 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
6029         * stdlib/setenv.c (__add_to_environ): Revert previous change.
6031 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
6033         [BZ #18128]
6034         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
6035         (atomic_add, atomic_increment_and_test)
6036         (atomic_decrement_and_test): Fix 64-bit arithmetic.
6038 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
6040         * stdlib/setenv.c (__add_to_environ):
6041         Dump core quickly if setenv (..., NULL, ...) is called.
6043 2015-03-13  Roland McGrath  <roland@hack.frob.com>
6045         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
6046         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
6047         all the necessary asm magic in one place.
6048         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
6049         using those.
6051 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
6053         [BZ #14906]
6054         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
6055         traced file mtime. Use consistent log message.
6056         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
6057         (register_traced_file): Call install_watches. Always set mtime.
6058         (invalidate_cache): Iterate over all trace files. Call install_watches.
6059         (inotify_check_files): Don't inline. Handle watching parent
6060         directories and configuration file movement in and out.
6061         (handle_inotify_events): New function.
6062         (main_loop_poll): Call handle_inotify_events.
6063         (main_loop_epoll): Likewise.
6064         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
6065         (struct traced_file): Use array of inotify fds. Add parent directory,
6066         and basename.
6067         (struct database_dyn): Remove unused file_mtime.
6068         (init_traced_file): New inline function.
6069         (define_traced_file): New macro.
6070         * nss/nss_db/db-init.c: Use define_traced_file.
6071         (_nss_db_init): Use init_traced_file.
6072         * nss/nss_files/files-init.c: Use define_traced_file.
6073         (_nss_files_init): Use init_traced_file.
6075 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
6077         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
6078         [_LIBC]: Do not include <stdlib.h>.
6079         [!_LIBC] (abort): Remove declaration.
6080         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
6081         _FP_STATIC_ASSERT instead of conditionally calling abort.
6082         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
6083         (_FP_EXTEND_CNAN): Likewise.
6084         (FP_TRUNC): Likewise.
6085         (__FP_CLZ): Likewise.
6086         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
6088 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
6090         * manual/string.texi (XPG basename): Fix prototype.
6092 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6094         [BZ #18080]
6095         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
6096         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6097         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
6098         (__setcontext): Likewise.
6099         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
6100         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6101         Call rt_sigprocmask syscall one time to set new signal mask
6102         and retrieve the current signal mask instead of two calls.
6103         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
6104         (__swapcontext): Likewise.
6105         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
6106         * stdlib/tst-setcontext2.c: New file.
6108 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6110         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6112 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
6114         [BZ #18093]
6115         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
6116         the wrong size.
6118 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6120         [BZ #18043]
6121         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
6123 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6125         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
6126         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
6127         Remove define.
6128         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
6129         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
6130         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
6131         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
6132         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
6133         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
6134         define.
6135         * nptl_db/td_symbol_list.c (td_lookup): Remove
6136         HAVE_ASM_GLOBAL_DOT_NAME code.
6137         * sysdeps/powerpc/powerpc64/configure.ac: Remove
6138         HAVE_ASM_GLOBAL_DOT_NAME check.
6139         * sysdeps/powerpc/powerpc64/configure: Regenerate.
6140         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
6141         (DOT_LABEL): Remove define.
6142         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
6143         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
6144         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
6145         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
6146         (__TLS_GET_ADDR): Likewise.
6147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
6148         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
6150 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
6152         [BZ #18111]
6153         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
6154         (_FPU_SETCW): Initialize cw from fpsr before storing.
6155         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
6156         (fesetexceptflag): Rewrite using fpu_control.h.
6157         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
6159 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
6161         [BZ #18110]
6162         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
6163         asms.
6164         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6166 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
6168         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
6169         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
6170         abort.
6171         (_FP_FMA): Likewise.
6172         (_FP_DIV): Likewise.
6174 2015-03-10  Roland McGrath  <roland@hack.frob.com>
6176         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
6177         with 0 in that case.
6178         * Makefile (summarize-tests): New canned sequence, factored out of
6179         commands for targets tests and xtests.  Display summary lines that
6180         don't start with PASS: or XFAIL: rather than ones that do start with
6181         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
6182         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
6183         do start with ERROR: or FAIL:.
6184         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
6185         (except for [$(build-shared) = yes]).
6186         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
6187         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
6188         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
6189         * nptl/Makefile: Revert 2015-03-04 changes.
6190         [$(CXX) empty] (tests-unsupported): New variable.
6191         * debug/Makefile: Likewise.
6193         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
6194         gnulib file.  Replace __attribute with __attribute__ throughout.
6196 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
6198         * sysdeps/hppa/fpu/libm-test-ulps: Update.
6200 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6202         [BZ #18104]
6203         * math/auto-libm-test-in: Add another test of pow.
6204         * math/auto-libm-test-out: Regenerated.
6206 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6208         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
6209         $(config-cflags-nofma).
6211 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6213         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
6214         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
6215         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
6216         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
6217         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
6218         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
6219         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
6220         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
6221         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
6222         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
6223         Add comment on closing #endif.
6225 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6227         * posix/wordexp.c (CHAR_IN_SET): New macro.
6228         (parse_param): Use it.
6230 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6232         * sysdeps/powerpc/fpu/libm-test-ulps: update.
6234 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6236         [BZ #18043]
6237         * posix/wordexp.c (parse_param): Fix buffer overflow.
6238         * posix/wordexp-test.c (test_case): Add test case.
6240 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6242         [BZ #18042]
6243         * posix/wordexp.c (parse_backtick): Fix off-by-one.
6244         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
6246 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6248         [BZ #18043]
6249         * posix/wordexp-test.c (test_case): Add test for BZ #18043
6250         (do_bz18043): Delete.
6251         (at_page_end): New.
6252         (testit): Refactor to have words at the edge of unreadable page.
6254 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6256         [BZ #16734]
6257         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
6258         Cleanup read-only streams as well.
6259         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
6261 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6263         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
6264         <bits/libc-lockP.h>
6266 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
6268         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
6269         on [__KERNEL__].
6270         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
6271         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
6272         * soft-fp/op-common.h (_FP_DECL): Likewise.
6274 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6276         * elf/ifuncdep2.c (global): Replace
6277         __attribute__((visibility("protected"))) with
6278         asm (".protected global").
6279         * elf/ifuncmod1.c (global): Likewise.
6280         * elf/ifuncmod5.c (global): Likewise.
6282 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
6284         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
6285         <asm/sfp-machine.h> instead of <sfp-machine.h>.
6287 2015-03-06  Roland McGrath  <roland@hack.frob.com>
6289         * manual/install.texi (Configuring and compiling):
6290         Document test-wrapper-env-only.
6291         * INSTALL: Regenerated.
6293 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
6295         [BZ #18043]
6296         * posix/wordexp.c (parse_param): Fix buffer overflow.
6297         * posix/wordexp-test.c (do_bz18043): Add test case.
6299 2015-03-06  Vincent Bernat  <vincent@bernat.im>
6301         * time/tst-strptime2.c (do_test): Ensure failing tests are
6302         reported correctly.
6303         * time/tst-strptime3.c (do_test): Likewise.
6305 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
6307         Fix aio_error thread-safety.
6308         * sysdeps/pthread/aio_error.c: New file
6309         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
6310         synchronization.
6312 2015-03-06  Florian Weimer  <fweimer@redhat.com>
6314         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
6315         (group_number, vfprintf): Use it.
6316         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
6317         (JUMP, REF): Use it.
6318         (WORK_BUFFER_SIZE): New enum constant.
6319         (process_arg, vfprintf): Use it.
6321 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
6323         * manual/errno.texi (Error Messages): Complete example function
6324         by adding missing #define.
6325         (program_invocation_name): Add statement indicating GNU
6326         extension and reference which header file declares the variable.
6327         (program_invocation_short_name): Likewise.
6329 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
6331         * manual/errno.texi (Error Messages): Delete strerror ISO C89
6332         compatibility note.
6334 2015-03-05  Roland McGrath  <roland@hack.frob.com>
6336         * Makeconfig (test-wrapper-env-only): New variable.
6337         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
6338         then use that with $(test-wrapper-env-only) rather than using
6339         $(test-wrapper-env) $(run-program-env) $($*-ENV).
6341 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
6343         [BZ #18082]
6344         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
6345         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
6346         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
6347         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
6348         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
6349         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
6350         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
6351         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
6352         Likewise.
6353         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
6354         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
6355         Likewise.
6356         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
6357         Likewise.
6358         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
6359         Likewise.
6360         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
6361         Likewise.
6362         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
6363         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
6364         Likewise.
6365         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
6366         Likewise.
6367         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
6368         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
6370 2015-03-04  Roland McGrath  <roland@hack.frob.com>
6372         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
6373         (ETH_ALEN): New macro.
6374         (struct ether_addr): Use it for length of ether_addr_octet.
6376         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
6377         (setdb): Don't call __nss_configure_lookup for "rpc".
6378         (do_test): Don't call test_rpc.
6379         (output_rpcent, test_rpc): Functions moved ...
6380         * sunrpc/test-rpcent.c: ... to this new file.
6381         * sunrpc/Makefile (tests): Add it.
6383         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
6384         __xpg_sigpause.
6385         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
6386         * nptl/tst-signal6.c: Likewise.
6387         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
6388         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
6390         * configure.ac (libc_cv_cxx_link_ok): New check.
6391         Reset CXX to empty if it fails to link.
6392         * configure: Regenerated.
6393         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
6394         bug-atexit3-lib only if $(CXX) is nonempty.
6395         * nptl/Makefile (tests): Likewise for tst-cancel24.
6396         (tests, tests-static): Likewise for tst-cancel24-static.
6397         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
6398         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
6399         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
6400         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
6402 2015-03-04  Andreas Schwab  <schwab@suse.de>
6404         [BZ #17631]
6405         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
6406         for non-GCC compilers.
6407         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6408         Likewise.
6410 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6412         [BZ #17776]
6413         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
6414         integer before bitwise and assembly operations.
6415         (feclearexcept): Likewise.
6416         * math/test-fenvinline.c: New file.
6417         * math/Makefile: Add test-fenvinline test.
6419 2015-03-03  Alan Modra  <amodra@gmail.com>
6421         [BZ #16512]
6422         * scripts/localplt.awk: Strip off symbol version.
6423         * NEWS: Mention bug fix.
6425 2015-03-02  Roland McGrath  <roland@hack.frob.com>
6427         * sysdeps/pthread/timer_routines.c
6428         (timer_free_list, thread_free_list, thread_active_list): Make static.
6430 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
6432         [BZ #17779]
6433         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6434         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6435         Undefine.
6436         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6437         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6438         Likewise.
6439         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6440         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6441         Likewise.
6443 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
6445         [BZ #18036]
6446         * posix/fnmatch_loop.c (END): Detect invalid pattern.
6447         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
6449 2015-03-02  Andreas Schwab  <schwab@suse.de>
6451         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
6452         variable name.
6454 2015-03-02  Florian Weimer  <fweimer@redhat.com>
6456         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
6457         Return error status.
6459 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
6461         [BZ #15969]
6462         * locale/findlocale.c (_nl_find_locale): Introduce const
6463         version of loc_name and drop unsafe type casts.
6465 2015-02-27  Roland McGrath  <roland@hack.frob.com>
6467         * dlfcn/tststatic2.c (main): Converted to ...
6468         (do_test): ... this.
6469         (TEST_FUNCTION): New macro.
6470         Include test-skeleton.c.
6472 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
6474         [BZ #17711]
6475         * elf/Makefile (tests): Add vismain only if PIE is enabled.
6476         (tests-pie): Add vismain.
6477         (CFLAGS-vismain.c): New.
6478         * elf/vismain.c: Add comments for PIE requirement.
6480 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
6482         [BZ #18046]
6483         [BZ #18047]
6484         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
6485         0x1p-56L as threshold for just returning the argument.
6486         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
6487         0x1p-32L as threshold for just returning the argument.
6488         * math/auto-libm-test-in: Add more tests of atanh.
6489         * math/auto-libm-test-out: Regenerated.
6490         * sysdeps/i386/fpu/libm-test-ulps: Update.
6491         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
6493 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
6495         * string/bcopy.c (bcopy): Call memmove for performance.
6497 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
6499         * string/bzero.c (__bzero): Call memset for performance.
6501 2015-02-27  John David Anglin  <dave.anglin@bell.net>
6503         [BZ #18068]
6504         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
6505         to 00100000.
6507 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
6509         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
6511 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
6513         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
6514         (__kernel_standard): Use CSTR macro when setting exc.name.
6515         * sysdeps/ieee754/Makefile [$(subdir) = math]
6516         (CFLAGS-k_standard.c): Remove variable.
6518         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
6519         setting p and q from "else if" to "else".
6520         (qzero): Likewise.
6521         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
6522         (qone): Likewise.
6523         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
6524         (qzerof): Likewise.
6525         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
6526         (qonef): Likewise.
6527         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
6528         (qzero): Likewise.
6529         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
6530         (qone): Likewise.
6532         [BZ #18038]
6533         [BZ #18039]
6534         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
6535         return pi/2 for arguments below 0x1p-113L.
6536         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
6537         return pi/2 for arguments below 0x1p-106L.
6538         * math/auto-libm-test-in: Add more tests of acos.
6539         * math/auto-libm-test-out: Regenerated.
6541         [BZ #16351]
6542         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
6543         (MO): New macro.
6544         (__ieee754_asin): Force underflow exception for results with small
6545         absolute value.
6546         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
6547         (MO): New macro.
6548         (__ieee754_asinf): Force underflow exception for results with
6549         small absolute value.
6550         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
6551         (__ieee754_asin): Force underflow exception for results with small
6552         absolute value.
6553         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
6554         (__ieee754_asinf): Force underflow exception for results with
6555         small absolute value.
6556         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
6557         (__ieee754_asinl): Force underflow exception for results with
6558         small absolute value.
6559         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
6560         (__ieee754_asinl): Force underflow exception for results with
6561         small absolute value.
6562         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
6563         (__ieee754_asinl): Force underflow exception for results with
6564         small absolute value.
6565         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
6566         Include <math.h>.
6567         * math/auto-libm-test-in: Do not mark underflow exceptions as
6568         possibly missing for bug 16351.
6569         * math/auto-libm-test-out: Regenerated.
6571         [BZ #18030]
6572         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
6573         of power of 2 down when low part has opposite sign.
6574         * math/libm-test.inc (logb_test_data): Add more tests.
6576 2015-02-26  Andreas Schwab  <schwab@suse.de>
6578         [BZ #18032]
6579         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
6580         over collating symbol inside a bracket expression.  Minor cleanup.
6581         * posix/tst-fnmatch3.c (do_test): Add test case.
6583 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
6585         [BZ #18029]
6586         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
6587         Adjust exponent of power of 2 down when low part has opposite
6588         sign.
6589         * math/libm-test.inc (ilogb_test_data): Add more tests.
6591 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
6593         [BZ #15969]
6594         * locale/findlocale.c (_nl_find_locale): Fix constness error in
6595         the previous change.
6597         [BZ #15969]
6598         * locale/findlocale.c (_nl_find_locale): Retry archive search
6599         after alias expansion.
6601 2015-02-25  Roland McGrath  <roland@hack.frob.com>
6603         * iconv/tst-iconv3.c (main): Converted to ...
6604         (do_test): ... this.
6605         (TEST_FUNCTION): New macro.
6606         Include test-skeleton.c.
6608         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
6609         (convert): Make function static.
6610         (test_unalign): Likewise.  Add const to argument pointee types.
6611         (main): Replace with static function do_test.
6612         Print "Succeeded." only if RET is zero.
6613         (TEST_FUNCTION): New macro.
6614         Include test-skeleton.c.
6616         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
6617         returns a null pointer.
6619 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6621         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
6622         to __memcpy_ppc only for static builds.
6624 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
6626         [BZ #18020]
6627         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
6628         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
6629         * math/auto-libm-test-in: Add more tests of asinh.
6630         * math/auto-libm-test-out: Regenerated.
6631         * sysdeps/i386/fpu/libm-test-ulps: Update.
6632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6634 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
6636         [BZ #15850]
6637         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
6638         and ip6_mtuinfo definitions here.
6639         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
6640         in this define too.  Update comment.
6642 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
6644         * elf/sprof.c (load_shobj): Tweak error message to match others.
6646 2015-02-24  Kevin Easton  <kevin@guarana.org>
6648         [BZ #16145] (partial fix)
6649         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
6650         to reduce lock contention.
6652 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
6654         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
6655         (struct timex): Update time comment.
6656         (ADJ_SETOFFSET): Define.
6658 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
6660         [BZ #18019]
6661         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6662         2**56 not 2**28 as threshold for log (2x) formula.
6663         * math/auto-libm-test-in: Add more tests of acosh.
6664         * math/auto-libm-test-out: Regenerated.
6665         * sysdeps/i386/fpu/libm-test-ulps: Update.
6666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6668 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
6670         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
6671         parenthesis around the buf assignment.
6672         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
6674 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
6676         [BZ #16783]
6677         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
6678         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
6679         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
6680         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6681         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6682         * math/libm-test.inc (scalb_test_data): Add more tests.
6684 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6686         [BZ #17916]
6687         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
6688         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
6690 2015-02-24  Eric Rannaud  <e@nanocritical.com>
6692         [BZ #17523]
6693         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
6694         * io/bits/fcntl2.h (open): Use it.
6695         (openat): Likewise.
6696         * io/open.c (__libc_open): Likewise.
6697         * io/open64.c (__libc_open64): Likewise.
6698         * io/open64_2.c (__open64_2): Likewise.
6699         * io/open_2.c (__open_2): Likewise.
6700         * io/openat.c (__openat): Likewise.
6701         * io/openat64.c (__openat64): Likewise.
6702         * io/openat64_2.c (__openat64_2): Likewise.
6703         * io/openat_2.c (__openat_2): Likewise.
6704         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
6705         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
6706         * sysdeps/posix/open64.c (__libc_open64): Likewise.
6707         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6708         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
6709         (__open_nocancel): Likewise.
6710         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
6711         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
6712         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
6714 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6716         [BZ #14841]
6717         * resolv/gethnamaddr.c (getanswer): Skip logging if
6718         RES_USE_DNSSEC is set.
6719         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6721 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
6723         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
6725 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
6727         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6728         201304L, for Unicode 7.
6730 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
6732         [BZ #17836]
6733         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
6734         shared library.  Add gmon-start.os otherwise.
6735         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
6736         $(objpfx)gmon-start.os if builing shared library.
6737         ($(objpfx)g$(static-start-installed-name)): Likewise.
6739 2015-02-23  Andreas Schwab  <schwab@suse.de>
6741         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
6743 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
6745         [BZ #17269]
6746         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
6747         (enlarge_userbuf): Likewise.
6749 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
6751         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
6752         * math/atest-exp.c (TIMEOUT): Adjust to 200.
6753         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
6754         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
6756 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
6758         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
6759         expression inside statement expression.
6761 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6763         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
6764         <sysdeps/nptl/lowlevellock.h> and remove macros and
6765         functions that are now defined there.
6766         (SYS_futex): Remove.
6767         (lll_compare_and_swap): Remove.
6768         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
6770 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
6772         [BZ #17999]
6773         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
6774         instead of scandirat.
6775         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
6776         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
6777         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
6778         __scandirat.
6779         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
6780         (__scandirat): Declare.  Use libc_hidden_proto.
6781         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
6782         Remove variable.
6783         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6785 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
6787         [BZ #15319]
6788         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
6789         (MO): New macro.
6790         (__ieee754_atan2): For results with small absolute value, force
6791         underflow exception and remove excess range and precision from
6792         return value.
6793         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
6794         (MO): New macro.
6795         (__ieee754_atan2f): For results with small absolute value, force
6796         underflow exception and remove excess range and precision from
6797         return value.
6798         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
6799         (MO): New macro.
6800         (__atan): For results with small absolute value, force underflow
6801         exception and remove excess range and precision from return value.
6802         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
6803         (MO): New macro.
6804         (__atanf): For results with small absolute value, force underflow
6805         exception and remove excess range and precision from return value.
6806         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
6807         <math.h>.
6808         (__ieee754_atan2): Force underflow exception for results with
6809         small absolute value.
6810         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
6811         <math_private.h>.
6812         (atan): Force underflow exception for results with small absolute
6813         value.
6814         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
6815         (__atanf): Force underflow exception for results with small
6816         absolute value.
6817         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
6818         <math.h>.
6819         (__atanl): Force underflow exception for results with small
6820         absolute value.
6821         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
6822         (__atanl): Force underflow exception for results with small
6823         absolute value.
6824         * sysdeps/x86/fpu/bits/mathinline.h
6825         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
6826         (__ieee754_atan2): Only define inline for long double.
6827         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
6828         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
6829         * math/auto-libm-test-in: Do not mark underflow exceptions as
6830         possibly missing for bug 15319.  Add more tests of atan2.
6831         * math/auto-libm-test-out: Regenerated.
6832         * math/libm-test.inc (casin_test_data): Do not mark underflow
6833         exceptions as possibly missing for bug 15319.
6834         (casinh_test_data): Likewise.
6835         * sysdeps/i386/fpu/libm-test-ulps: Update.
6837 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
6839         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
6840         * sysdeps/mips/bits/endian.h: Fix comments.
6842 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
6844         [BZ #17996]
6845         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
6846         (hdestroy_r): Likewise.
6847         (hsearch_r): Likewise.
6848         (__hcreate_r): Declare and use libc_hidden_proto.
6849         (__hdestroy_r): Likewise.
6850         (__hsearch_r): Likewise.
6851         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
6852         (hcreate): Call __hcreate_r instead of hcreate_r.
6853         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
6854         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
6855         as weak alias of __hcreate_r.
6856         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
6857         __hdestroy_r.
6858         (hsearch_r): Rename to __hsearch_r and define as weak alias of
6859         __hsearch_r.
6860         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
6861         Remove variable.
6862         (test-xfail-XPG4/search.h/linknamespace): Likewise.
6863         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
6864         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6865         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6867 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6869         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
6870         arena_lock into a single arena_get.
6872 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
6874         * dl-reloc.c: Inlucde libc-internal.h.
6875         (_dl_try_allocate_static_tls): Call ALIGN_UP.
6876         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
6877         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
6878         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
6879         (grow_heap): Likewise.
6880         * malloc/malloc.c: Include libc-internal.h.
6881         (do_check_malloc): Call powerof2.
6882         (sysmalloc): Use pagesize. Call ALIGN_UP.
6883         (systrim): Use pagesize.
6884         (mremap_chunk): Use pagesize. Call ALIGN_UP.
6885         (__libc_valloc): Use pagesize.
6886         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
6888 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
6890         [BZ #17991]
6891         * include/sys/resource.h (__getrlimit64): Declare.  Use
6892         libc_hidden_proto.
6893         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
6894         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
6895         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
6896         getrlimit64.
6897         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
6898         __getrlimit64.
6899         [!getrlimit64] (getrlimit64): Define as weak alias of
6900         __getrlimit64.  Use libc_hidden_weak.
6901         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
6902         using __getrlimit64 not __new_getrlimit64.
6903         (__GI_getrlimit64): Likewise.
6904         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
6905         Likewise.
6906         (__GI_getrlimit64): Likewise.
6907         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
6908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
6909         (getrlimit): Add __getrlimit64 alias.
6910         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
6911         Likewise.
6912         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
6913         Remove variable.
6914         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6915         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6917 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
6919         * libio/fileops.c: Add missing sys/mman.h
6920         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
6922 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
6924         * manual/math.texi (Errors in Math Functions): Clarify goals
6925         regarding inexact and underflow exceptions.
6927 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
6929         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
6930         * sysdeps/mips/memset.S: Ditto.
6932 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
6934         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
6936 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6938         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
6939         (__v1longjmp): Remove versioned symbol.
6940         (__v1siglongjmp): Remove alias and versioned symbol.
6941         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
6942         (__v2siglongjmp): Likewise.
6944 2015-02-16  Torvald Riegel  <triegel@redhat.com>
6946         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
6948 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
6950         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
6952 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
6954         [BZ #17987]
6955         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
6956         zero result does not depend on the sign resulting from
6957         subtraction.
6958         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6959         Likewise.
6960         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
6961         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
6962         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6963         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
6964         * math/libm-test.inc (remquo_test_data): Add more tests.
6966 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
6968         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
6969         Problem reported by J William Piggott.
6971 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
6973         [BZ #17978]
6974         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
6975         products 4 * y and 2 * y where those would overflow.
6976         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6977         Likewise.
6978         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
6979         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
6980         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6981         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
6982         * math/libm-test.inc (remquo_test_data): Add more tests.
6984         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
6986         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
6987         [defined _COMPILING_NEWLIB].
6988         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
6989         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
6991         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
6992         [!defined __mips_isa_rev || __mips_isa_rev < 6].
6994 2015-02-16  Torvald Riegel  <triegel@redhat.com>
6996         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
6997         acquired.
6999 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
7001         [BZ #17792]
7002         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
7003         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
7004         HOST_STACK_END_ADDR): Likewise.
7006 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
7008         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
7009         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
7010         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
7012 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7014         * sysdeps/generic/c++-types.data: New file.
7015         * sysdeps/generic/ld.abilist: New file.
7016         * sysdeps/generic/libBrokenLocale.abilist: New file.
7017         * sysdeps/generic/libanl.abilist: New file.
7018         * sysdeps/generic/libc.abilist: New file.
7019         * sysdeps/generic/libcrypt.abilist: New file.
7020         * sysdeps/generic/libdl.abilist: New file.
7021         * sysdeps/generic/libm.abilist: New file.
7022         * sysdeps/generic/libpthread.abilist: New file.
7023         * sysdeps/generic/libresolv.abilist: New file.
7024         * sysdeps/generic/librt.abilist: New file.
7026 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7028         [BZ #17569]
7029         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7030         Compute absolute value of x as modified by fmod, not original
7031         value of x.
7032         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
7033         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
7034         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
7035         RUN_TEST_ffI_f1_mod8.
7036         (remquo_test_data): Add more tests.
7038 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7040         * sysdeps/init_array/pt-crti.S: New file.
7042 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7044         [BZ #17967]
7045         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
7046         __builtin_fmaf instead of relying on contraction of a * b + c.
7048 2015-02-12  J William Piggott  <elseifthen@gmx.com>
7050         [BZ #17969]
7051         * manual/time.texi: correct the zoneinfo path in the TZ Variable
7052         node.
7054 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7056         [BZ #17964]
7057         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
7058         __builtin_fma instead of relying on contraction of a * b + c.
7060 2015-02-12  Roland McGrath  <roland@hack.frob.com>
7062         * Makeconfig (ASFLAGS): Add -Werror=undef.
7063         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
7064         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
7065         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
7067         * Makeconfig (after-link): New variable.
7068         (+link-pie, +link-pie-tests): Use it.
7069         (+link-static, +link-static-tests): Likewise.
7070         (+link, +link-tests): Likewise.
7071         * Makerules (build-module, build-module-asneeded): Likewise.
7072         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
7073         Likewise.
7074         * elf/Makefile ($(objpfx)ld.so): Likewise.
7076 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
7078         [BZ #17965]
7079         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
7080         both struct timeval and struct timespec.
7082 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7084         [BZ #16560]
7085         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7086         and redefine.
7087         (__ieee754_exp2l): Do not multiply small fractional parts by
7088         M_LN2l.
7089         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
7090         small argument.
7091         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7092         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7093         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
7094         * math/auto-libm-test-in: Add more tests of exp2.
7095         * math/auto-libm-test-out: Regenerated.
7097 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7099         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
7100         unaligned path.
7102 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7104         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
7105         little endian.
7107 2015-02-12  Andreas Schwab  <schwab@suse.de>
7109         [BZ #15790]
7110         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
7111         Filter out elision flags from value returned in kind.
7112         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
7113         * nptl/tst-pthread-mutexattr.c: New file.
7115 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7117         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
7118         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
7119         into gnu-gnu, and update comment to refer to abi-tags.
7121 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
7123         [BZ #15467]
7124         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
7125         (__sincos): Set errno to EDOM for infinite argument.
7126         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
7127         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
7128         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
7129         (__sincosl): Set errno to EDOM for infinite argument.
7130         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
7131         (__sincosl): Set errno to EDOM for infinite argument.
7132         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
7133         (__sincosl): Set errno to EDOM for infinite argument.
7134         * math/libm-test.inc (sincos_test_data): Test errno setting.
7136 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
7138         * string/strxfrm_l.c: Remove #define STRCMP.
7139         * string/strcoll_l.c: Remove #define STRLEN.
7140         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
7141         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
7143 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
7145         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
7146         * sysdeps/mips/mips32/sfp-machine.h: ... here.
7147         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
7148         * sysdeps/mips/mips64/Makefile: ... here.
7149         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
7150         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
7151         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
7152         * sysdeps/mips/mips64/sfp-machine.h: ... here.
7153         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
7154         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
7155         * sysdeps/mips/mips64/n64/Implies: Likewise.
7157 2015-02-10  Roland McGrath  <roland@hack.frob.com>
7159         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
7160         <sys/time.h>, <string.h>, and <errno.h>.
7161         (dest_offset, dest_address, value, zero): Remove unused variables.
7162         (ldouble): Remove typedef.
7163         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
7164         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
7165         1).  Fix code style.
7166         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
7167         (check): Function removed.
7168         (CHECK): New macro.
7169         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
7170         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
7171         Don't call set_sigaction_FP and remove_sigaction_FP here.
7172         (ldouble_test): Just use 'long double' as macro argument, no need for
7173         the 'ldouble' typedef.
7174         (do_test): Set up SIGFPE handler at start, using plain signal rather
7175         than sigaction.  Fix code style.
7177 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
7179         [BZ #17949]
7180         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
7181         jump label.
7183 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7185         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
7186         * sysdeps/powerpc/powerpc32/configure: Regenerated.
7188         * sysdeps/powerpc/configure.ac: Remove file.
7189         * sysdeps/powerpc/configure: Likewise.
7191         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7192         [sysdep_routines]: Remove wordcopy-power6 object.
7193         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7194         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
7195         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
7196         (__memmove_ppc32): Likewise.
7197         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
7198         file.
7199         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
7200         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
7201         Remove preprocessor.
7203         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7204         [sysdep_routines]: Remove wide chars objects.
7205         [wcsmbs]: New rule for wide char objects.
7207         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7208         Remove wordcopy-power6 obejct.
7209         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
7210         Use local call for wordcopy and memcpy symbols.
7211         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
7212         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
7213         implementation for loader.
7214         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
7216         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7217         Remove wordcopy-power7 object.
7218         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
7219         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
7220         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
7221         (_wordcopy_fwd_dest_aligned): Likewise.
7222         (_wordcopy_bwd_aligned): Likewise.
7223         (_wordcopy_bwd_dest_aligned): Likewise.
7225         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
7226         Rewrite to call __memmove_ppc instead of include default
7227         implementation.
7229         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7230         Remove wide chars objects.
7231         [wcsmbs]: New rule for wide char objects.
7233 2015-02-09  Andreas Schwab  <schwab@suse.de>
7235         [BZ #17912]
7236         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7237         in terms of __O_DIRECTORY.
7239 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7241         * time/getdate.c: Include <stdbool.h>.
7242         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
7243         call PTR_MANGLE.
7244         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
7245         PTR_DEMANGLE.
7247 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
7249         Add ersatz _Static_assert on older C hosts
7250         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
7251         pre-C11 C platform that is not known to support _Static_assert.
7253 2015-02-07  Richard Braun  <rbraun@sceen.net>
7255         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
7256         sigstate.
7257         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
7259 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7261         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
7262         priority against unexistent AIO_PRIO_DELTA_MAX.
7263         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
7264         instead of int.
7265         * misc/fchflags.c (fchflags): Likewise.
7266         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
7267         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
7268         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
7269         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
7270         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
7271         Declare macros.
7272         [__USE_MISC] (chflags, fchflags): Declare functions.
7273         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
7274         EINVAL when nfds is greater than FD_SETSIZE.
7275         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
7276         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
7277         45.
7278         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
7279         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
7280         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
7281         MACH_RCV_TIMED_OUT.
7282         * hurd/hurd/signal.h (_hurd_self_sigstate,
7283         _hurd_critical_section_lock, _hurd_critical_section_unlock):
7284         Explicit casts from void *.
7285         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
7286         * abi-tags: Rename gnu-gnu os into gnu.
7288         [BZ #4719]
7289         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
7290         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
7291         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
7292         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
7293         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
7294         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
7296         [BZ #17944]
7297         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
7298         duplicates ADDR->sun_path with sockaddr LEN limitation.
7299         * sysdeps/mach/hurd/connect.c: Include <string.h>
7300         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
7301         * sysdeps/mach/hurd/sendmsg.c: Likewise.
7302         * sysdeps/mach/hurd/sendto.c: Likewise.
7303         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
7304         implementing it by hand.
7306 2015-02-06  Roland McGrath  <roland@hack.frob.com>
7308         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
7309         Use sfi_breg on ldr.
7310         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
7311         Likewise.
7313         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
7314         it's defined.
7315         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
7316         Test SIGSETXID only if it's defined.
7318         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
7320         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
7321         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
7323         * nptl/tst-align2.c: Moved ...
7324         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
7325         * nptl/Makefile (tests): Remove tst-align2.
7326         * sysdeps/unix/sysv/linux/Makefile
7327         [$(subdir) = nptl] (tests): Add tst-align-clone.
7328         * nptl/tst-getpid1.c: Moved ...
7329         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
7330         * nptl/tst-getpid2.c: Moved ...
7331         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
7332         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
7333         * sysdeps/unix/sysv/linux/Makefile
7334         [$(subdir) = nptl] (tests): ... here.
7335         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
7336         * sysdeps/unix/sysv/linux/Makefile
7337         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
7339         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
7340         Drop trailing \n from perror argument.  Use return rather than exit.
7342         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
7343         on [SA_SIGINFO].
7344         * nptl/tst-cancel21.c (do_test): Likewise.
7345         * debug/tst-backtrace6.c: Include <signal.h> first thing.
7346         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
7347         [!SA_SIGINFO]: Make it a stub test.
7349         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
7350         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
7352         * posix/tst-getlogin.c: Move to ...
7353         * login/tst-getlogin.c: ... here.
7354         * posix/Makefile (tests): Move tst-getlogin to ...
7355         * login/Makefile (tests): ... here.
7357         * libio/tst-atime.c (do_test): Move local variables SV and E
7358         inside [ST_NOATIME] conditional.
7360         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
7362         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
7364         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
7365         (wait_code): New function replaces macro.
7366         Call nanosleep rather than syscall.
7368         * nptl/pt-system.c: Rewritten.  Put everything under
7369         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7370         Use IFUNC to redirect when possible.
7372         * nptl/pt-longjmp.c: Rewritten.  Put everything under
7373         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7374         Use IFUNC to redirect when possible.
7376         * nptl/pt-fork.c: Rewritten.  Put everything under
7377         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7378         Use IFUNC to redirect when possible.
7379         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
7381         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
7382         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
7383         unconditionally nowadays.  This included the only reference to
7384         __vdso_clock_gettime that appears outside libc proper.
7385         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
7386         Remove version set (containing only __vdso_clock_gettime).
7387         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
7388         Add attribute_hidden.
7389         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
7390         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
7391         libc_hidden_data_def.
7392         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7393         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7395         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
7396         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
7397         setrpcent, and getrpcport to ...
7398         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
7399         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
7400         getrpcbynumber_r, and getrpcent_r to ...
7401         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
7402         * inet/getrpcbyname.c: Moved ...
7403         * sunrpc/getrpcbyname.c: ... here.
7404         * inet/getrpcbyname_r.c: Moved ...
7405         * sunrpc/getrpcbyname_r.c: ... here.
7406         * inet/getrpcbynumber.c: Moved ...
7407         * sunrpc/getrpcbynumber.c: ... here.
7408         * inet/getrpcbynumber_r.c: Moved ...
7409         * sunrpc/getrpcbynumber_r.c: ... here.
7410         * inet/getrpcent.c: Moved ...
7411         * sunrpc/getrpcent.c: ... here.
7412         * inet/getrpcent_r.c: Moved ...
7413         * sunrpc/getrpcent_r.c: ... here.
7414         * inet/Makefile (routines): Move those to ...
7415         * sunrpc/Makefile (routines): ... here.
7416         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
7417         the $(subdirs) list.
7418         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
7419         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
7420         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
7421         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
7423         * elf/Makefile (routines): Include $(all-dl-routines), not just
7424         $(dl-routines).
7425         (rtld-routines): Likewise.  Use = rather than :=.
7426         * sysdeps/aarch64/Makefile [$(subdir) = elf]
7427         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
7428         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
7429         * sysdeps/arm/Makefile: Likewise.
7430         * sysdeps/i386/Makefile: Likewise.
7431         * sysdeps/x86_64/Makefile: Likewise.
7432         * sysdeps/hppa/Makefile [$(subdir) = elf]
7433         (sysdep_routines, sysdep-rtld-routines): Don't add
7434         $(sysdep-dl-routines) to these.
7435         * sysdeps/ia64/Makefile: Likewise.
7436         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
7437         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
7438         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
7439         Don't add dl-static to these; sysdep-dl-routines alone is enough.
7440         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
7441         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
7442         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
7443         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
7444         * sysdeps/powerpc/Makefile [$(subdir) = elf]
7445         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
7446         these; sysdep-dl-routines alone is enough.
7448 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
7450         [BZ #17932]
7451         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
7452         where multiplication results in zero and third argument is finite
7453         and nonzero.
7454         * math/auto-libm-test-in: Add more tests of fma.
7455         * math/auto-libm-test-out: Regenerated.
7457         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
7458         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
7459         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
7460         (_FP_CMP_EQ): Likewise.
7461         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
7463         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
7464         extra argument CHECK_NAN.  Redefine as wrapper around
7465         _FP_EXTEND_CNAN.
7467 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
7469         * version.h (RELEASE): Set to "stable".
7470         (VERSION): Set to "2.21"
7471         * include/features.h (__GLIBC_MINOR__): Set to 21.
7473         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
7475 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7476             Paul Eggert  <eggert@cs.ucla.edu>
7478         [BZ #16618]
7479         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
7480         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
7481         size in bytes. Store needed elements in wpmax. Use needed size
7482         in bytes for extend_alloca.
7484 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
7486         * manual/install.texi: Latest tested versions are GCC 4.9.2,
7487         binutls 2.25, and texinfo 5.2.
7488         * INSTALL: Regenerate.
7489         * sysdeps/nios2/configure: Regenerate.
7490         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
7491         * manual/contrib.texi: Update.
7492         * po/be.po: Update.
7493         * po/bg.po: Update.
7494         * po/ca.po: Update.
7495         * po/cs.po: Update.
7496         * po/da.po: Update.
7497         * po/de.po: Update.
7498         * po/el.po: Update.
7499         * po/eo.po: Update.
7500         * po/es.po: Update.
7501         * po/fi.po: Update.
7502         * po/fr.po: Update.
7503         * po/gl.po: Update.
7504         * po/hr.po: Update.
7505         * po/hu.po: Update.
7506         * po/ia.po: Update.
7507         * po/id.po: Update.
7508         * po/it.po: Update.
7509         * po/ja.po: Update.
7510         * po/ko.po: Update.
7511         * po/lt.po: Update.
7512         * po/nb.po: Update.
7513         * po/nl.po: Update.
7514         * po/pl.po: Update.
7515         * po/pt_BR.po: Update.
7516         * po/ru.po: Update.
7517         * po/rw.po: Update.
7518         * po/sk.po: Update.
7519         * po/sl.po: Update.
7520         * po/sv.po: Update.
7521         * po/tr.po: Update.
7522         * po/uk.po: Update.
7523         * po/vi.po: Update.
7524         * po/zh_CN.po: Update.
7525         * po/zh_TW.po: Update.
7527         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
7528         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
7529         * sysdeps/hppa/dl-irel.h: Remove #warning.
7530         * sysdeps/hppa/entry.h: Provide prototype for
7531         __canonicalize_funcptr_for_compare and cast argument.
7532         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
7533         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
7534         * sysdeps/hppa/sotruss-lib.c: New file.
7535         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
7536         (atomic_compare_and_exchange_val_acq): Use __typeof__.
7537         (atomic_compare_and_exchange_bool_acq): Likewise.
7538         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
7539         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
7541         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
7542         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
7543         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
7545 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
7547         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
7548         called function in non-PIC case.
7550 2015-01-31  David S. Miller  <davem@davemloft.net>
7552         * sysdeps/sparc/sparc32/bits/atomic.h
7553         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
7554         unlock not after it.
7555         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
7556         volatile register usage warnings from the compiler.
7558         * sysdeps/sparc/nptl/sem_init.c: Delete.
7559         * sysdeps/sparc/nptl/sem_post.c: Delete.
7560         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
7561         * sysdeps/sparc/nptl/sem_wait.c: Delete.
7562         * sysdeps/sparc/sparc32/sem_init.c: New file.
7563         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
7564         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
7565         padding explicitly initialized.
7566         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
7567         padding for in-semaphore spinlock.
7568         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
7569         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
7570         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
7571         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
7572         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
7573         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
7574         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
7575         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
7576         version.
7577         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
7578         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
7580 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
7582         [BZ #17801]
7583         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7584         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
7585         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
7586         New.
7587         (index_AVX_Fast_Unaligned_Load): Likewise.
7588         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
7589         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
7590         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
7591         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
7592         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
7593         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
7594         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
7595         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
7596         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
7598 2015-01-29  Andreas Schwab  <schwab@suse.de>
7600         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
7602 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
7604         [BZ #17892]
7605         * nscd/nscd_stat.c (send_stats): Initialize DATA.
7607 2015-01-28  Martin Sebor  <msebor@redhat.com>
7609         * math/README.libm-test: Clarify. Add "How to read the test output."
7611 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
7613         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
7614         Define to 0.
7616 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
7618         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
7619         (__HAVE_64B_ATOMICS): Define to 0.
7621 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7623         [BZ #17885]
7624         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
7625         value to set as new flag.
7627         [BZ #16576]
7628         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
7629         and use _ARCH_PPCSQ instead.
7630         (__ieee754_sqrt): Likewise.
7631         (__ieee754_sqrtf): Likewise.
7632         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
7633         _ARCH_PPCSQ is defined.
7634         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
7635         fsqrt instruction.
7636         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
7637         _ARCH_PPCSQ is defined.
7638         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
7639         fsqrts instruction.
7640         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
7642 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7644         * iconv/loop.c: Suppress array out of bound warning caused by GCC
7645         bug (GCC BZ #64739).
7647 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
7649         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
7650         Mark _retval as used.
7651         (lll_futex_wake_unlock): Likewise.
7652         (lll_futex_timed_wait_requeue_pi): Likewise.
7654         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
7655         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
7656         register variables.
7658         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
7659         libm_hidden_def.
7661         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
7662         (__bswap_64): Mark as __always_inline.
7664 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
7666         [BZ #15378]
7667         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
7668         when none of the search directories exist.
7670 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7672         [BZ #17869]
7673         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
7674         power8 in .machine directive.
7676         [BZ #17868]
7677         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
7678         set dependency from opd value.
7680 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
7682         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7683         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
7684         architecture.
7686 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
7688         [BZ #17870]
7689         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
7690         with uint64_t.
7691         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
7692         (uint64_t) 1.
7693         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
7694         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
7695         Replace 1UL with (uint64_t) 1.
7696         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
7697         int with uint64_t.
7699 2015-01-23  Roland McGrath  <roland@hack.frob.com>
7701         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
7702         (if_freenameindex): Likewise.
7704         * resource/getrlimit64.c: Add missing libc_hidden_def.
7706 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
7708         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
7709         __label__.
7710         (_FP_FMA): Likewise.
7711         (_FP_TO_INT_ROUND): Likewise.
7712         (_FP_FROM_INT): Likewise.
7714 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7716         [BZ #16418]
7717         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
7718         Make code racy and cancel safe.
7720 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
7722         * sysdeps/arm/unwind-resume.h: Fix copyright year.
7723         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
7724         attribution.
7726         * pwd/tst-getpw.c: Rewrite.
7728         [BZ #17702]
7729         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
7730         (modules-names): Add moddummy1 and moddummy2.
7731         ($(objpfx)tst-rec-dlopen): Define.
7732         * dlfcn/moddummy1.c: New file.
7733         * dlfcn/moddummy2.c: New file.
7734         * dlfcn/tst-rec-dlopen.c: New file.
7735         * elf/dl-cache.c (_dl_load_cache_lookup):
7736         Return char*. Copy result with alloca/strcpy/strdup.
7737         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
7738         returns char*. Free cached. If not saving realname
7739         free cached.
7740         * elf/dl-open.c (dl_open_worker): Do not assert that
7741         _r_debug->r_state is RT_CONSISTENT.
7742         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
7743         returns char*.
7745 2015-01-21  Torvald Riegel  <triegel@redhat.com>
7746             Carlos O'Donell  <carlos@redhat.com>
7748         [BZ #12674]
7749         * nptl/sem_waitcommon.c: New file.
7750         * nptl/sem_wait.c: Include sem_waitcommon.c.
7751         (__sem_wait_cleanup, do_futex_wait): Remove.
7752         (__new_sem_wait): Adapt.
7753         (__new_sem_trywait): New function.
7754         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
7755         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
7756         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
7757         (sem_timedwait): Adapt.
7758         * nptl/sem_post.c (__new_sem_post): Adapt.
7759         (futex_wake): New function.
7760         (__old_sem_post): Add release MO fence.
7761         * nptl/sem_open.c (sem_open): Adapt.
7762         * nptl/sem_init.c (__new_sem_init): Adapt.
7763         (futex_private_if_supported): New function.
7764         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
7765         (__old_sem_getvalue): Add using previous code.
7766         * sysdeps/nptl/internaltypes.h: Adapt.
7767         * nptl/tst-sem13.c (do_test): Adapt.
7768         * nptl/tst-sem11.c (main): Adapt.
7769         * nptl/sem_trywait.c: Remove.
7770         * nptl/DESIGN-sem.txt: Remove.
7771         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
7772         (gen-as-const-headers): Remove structsem.sym.
7773         * nptl/structsem.sym: Remove.
7774         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
7775         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
7776         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
7777         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
7778         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
7779         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
7780         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
7781         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
7782         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
7783         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
7784         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
7785         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
7786         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
7787         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
7788         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
7789         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
7790         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
7791         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
7792         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
7793         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
7794         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
7795         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
7797 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
7799         * INSTALL: Regenerated.
7801         * po/libc.pot: Regenerated.
7803 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
7804             Sandra Loosemore  <sandra@codesourcery.com>
7805             Andrew Jenner  <andrew@codesourcery.com>
7806             Joseph Myers  <joseph@codesourcery.com>
7807             Nathan Sidwell  <nathan@codesourcery.com>
7809         * NEWS: Mention new Nios II port.
7810         * sysdeps/nios2/Implies: New file.
7811         * sysdeps/nios2/Makefile: New file.
7812         * sysdeps/nios2/Subdirs: New file.
7813         * sysdeps/nios2/Versions: New file.
7814         * sysdeps/nios2/__longjmp.S: New file.
7815         * sysdeps/nios2/abort-instr.h: New file.
7816         * sysdeps/nios2/backtrace.c: New file.
7817         * sysdeps/nios2/bits/endian.h: New file.
7818         * sysdeps/nios2/bits/fenv.h: New file.
7819         * sysdeps/nios2/bits/link.h: New file.
7820         * sysdeps/nios2/bits/setjmp.h: New file.
7821         * sysdeps/nios2/bsd-_setjmp.S: New file.
7822         * sysdeps/nios2/bsd-setjmp.S: New file.
7823         * sysdeps/nios2/configure: New generated file.
7824         * sysdeps/nios2/configure.ac: New file.
7825         * sysdeps/nios2/crti.S: New file.
7826         * sysdeps/nios2/crtn.S: New file.
7827         * sysdeps/nios2/dl-init.c: New file.
7828         * sysdeps/nios2/dl-machine.h: New file.
7829         * sysdeps/nios2/dl-sysdep.h: New file.
7830         * sysdeps/nios2/dl-tls.h: New file.
7831         * sysdeps/nios2/dl-trampoline.S: New file.
7832         * sysdeps/nios2/gccframe.h: New file.
7833         * sysdeps/nios2/gmp-mparam.h: New file.
7834         * sysdeps/nios2/jmpbuf-offsets.h: New file.
7835         * sysdeps/nios2/jmpbuf-unwind.h: New file.
7836         * sysdeps/nios2/ldsodefs.h: New file.
7837         * sysdeps/nios2/libc-tls.c: New file.
7838         * sysdeps/nios2/libm-test-ulps: New file.
7839         * sysdeps/nios2/machine-gmon.h: New file.
7840         * sysdeps/nios2/math-tests.h: New file.
7841         * sysdeps/nios2/math_private.h: New file.
7842         * sysdeps/nios2/memusage.h: New file.
7843         * sysdeps/nios2/nptl/Makefile: New file.
7844         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
7845         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
7846         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
7847         * sysdeps/nios2/nptl/pthreaddef.h: New file.
7848         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
7849         * sysdeps/nios2/nptl/tls.h: New file.
7850         * sysdeps/nios2/preconfigure: New file.
7851         * sysdeps/nios2/s_fma.c: New file.
7852         * sysdeps/nios2/s_fmaf.c: New file.
7853         * sysdeps/nios2/setjmp.S: New file.
7854         * sysdeps/nios2/sfp-machine.h: New file.
7855         * sysdeps/nios2/sotruss-lib.c: New file.
7856         * sysdeps/nios2/stackguard-macros.h: New file.
7857         * sysdeps/nios2/stackinfo.h: New file.
7858         * sysdeps/nios2/start.S: New file.
7859         * sysdeps/nios2/sysdep.h: New file.
7860         * sysdeps/nios2/tls-macros.h: New file.
7861         * sysdeps/nios2/tst-audit.h: New file.
7862         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
7863         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
7864         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
7865         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
7866         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
7867         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
7868         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
7869         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
7870         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
7871         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
7872         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
7873         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
7874         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
7875         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
7876         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
7877         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
7878         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
7879         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
7880         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
7881         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
7882         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
7883         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
7884         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
7885         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
7886         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
7887         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
7888         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
7889         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
7890         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
7891         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
7892         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
7893         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
7894         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
7895         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
7896         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
7897         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
7898         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
7899         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
7900         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
7901         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
7902         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
7903         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
7904         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
7905         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
7907 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7909         [BZ #17844]
7910         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
7911         (getutent): Use weak_alias in non SHARED case
7912         and default_symbol_version in SHARED case.
7913         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
7914         (getutent_r, pututline): Likewise.
7915         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
7916         (getutid): Likewise.
7917         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
7918         (getutid_r): Likewise.
7919         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
7920         (getutline): Likewise.
7921         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
7922         (getutline_r): Likewise.
7923         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
7924         (updwtmp): Likewise.
7926 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7928         [BZ #17848]
7929         * sysdeps/s390/s390-32/memcmp.S
7930         (memcmp_g5): Rename to __memcmp_g5.
7931         * sysdeps/s390/s390-32/memcpy.S
7932         (memcpy_g5): Rename to __memcpy_g5.
7933         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7934         (memcpy_mvcle) Rename to __memcpy_mvcle.
7935         * sysdeps/s390/s390-32/memset.S
7936         (memset_g5): Rename to __memset_g5.
7937         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7938         (IFUNC_RESOLVE): Prefix ifunc-resolve function
7939         and use prefixed functions.
7940         * sysdeps/s390/s390-32/multiarch/memcmp.S
7941         (memcmp_z196): Rename to __memcmp_z196.
7942         (memcmp_z10): Rename to __memcmp_z10.
7943         (memcmp): Set alias to __memcmp_g5.
7944         (bcmp): Set alias to __memcmp_g5.
7945         * sysdeps/s390/s390-32/multiarch/memcpy.S
7946         (memcpy_z196): Rename to __memcpy_z196.
7947         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7948         (memcpy_z10): Rename to __memcpy_z10.
7949         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7950         (memcpy): Set alias to __memcpy_g5.
7951         * sysdeps/s390/s390-32/multiarch/memset.S
7952         (memset_z196): Rename to __memset_z196.
7953         Jump to __memset_mvcle instead of memset_mvcle.
7954         (memset_z10): Rename to __memset_z10.
7955         Jump to __memset_mvcle instead of memset_mvcle.
7956         (memset_mvcle) Rename to __memset_mvcle.
7957         (memset): Set alias to __memset_g5.
7958         * sysdeps/s390/s390-64/memcmp.S
7959         (memcmp_z900): Rename to __memcmp_z900.
7960         * sysdeps/s390/s390-64/memcpy.S
7961         (memcpy_z900): Rename to __memcpy_z900.
7962         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7963         (memcpy_mvcle) Rename to __memcpy_mvcle.
7964         * sysdeps/s390/s390-64/memset.S
7965         (memset_z900): Rename to __memset_z900.
7966         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
7967         (IFUNC_RESOLVE): Prefix ifunc-resolve function
7968         and use prefixed functions.
7969         * sysdeps/s390/s390-64/multiarch/memcmp.S
7970         (memcmp_z196): Rename to __memcmp_z196.
7971         (memcmp_z10): Rename to __memcmp_z10.
7972         (memcmp): Set alias to __memcmp_z900.
7973         (bcmp): Set alias to __memcmp_z900.
7974         * sysdeps/s390/s390-64/multiarch/memcpy.S
7975         (memcpy_z196): Rename to __memcpy_z196.
7976         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7977         (memcpy_z10): Rename to __memcpy_z10.
7978         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7979         (memcpy): Set alias to __memcpy_z900.
7980         * sysdeps/s390/s390-64/multiarch/memset.S
7981         (memset_z196): Rename to __memset_z196.
7982         Jump to __memset_mvcle instead of memset_mvcle.
7983         (memset_z10): Rename to __memset_z10.
7984         Jump to __memset_mvcle instead of memset_mvcle.
7985         (memset_mvcle) Rename to __memset_mvcle.
7986         (memset): Set alias to __memset_z900.
7988 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
7990         [BZ #17748]
7991         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
7992         __fesetenv instead of fesetenv.
7994 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7996         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
7997         macro.
7999 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8001         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
8002         regression on LE.
8004         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
8005         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
8006         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8007         strncmp-power8 object.
8008         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8009         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
8010         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
8011         * NEWS: Update.
8013 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8014             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8016         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
8017         trailing byte check.
8019 2015-01-13  David S. Miller  <davem@davemloft.net>
8021         * include/signal.h (__sigreturn): Guard with __USE_MISC.
8023 2015-01-13  Roland McGrath  <roland@hack.frob.com>
8025         * login/logout.c (logout): Use memset rather than bzero.
8026         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
8027         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
8028         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
8029         (_gethtbyaddr): Likewise.
8030         * locale/programs/simple-hash.c (bcopy): Macro removed.
8032 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8034         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8035         Add strcmp-power8 object.
8036         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8037         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
8038         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
8039         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
8040         __strcmp_power8 implementation.
8041         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
8042         * NEWS: Update.
8044         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8045         Add strncpy-power8 and stpncpy-power8 objects.
8046         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8047         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
8048         implementations.
8049         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
8050         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
8051         __stpncpy_power8 implementation.
8052         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
8053         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
8054         __strncpy_power8 implementation.
8055         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
8056         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
8057         * NEWS: Update.
8059         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
8060         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
8061         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
8063         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8064         strncat-power8 object.
8065         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
8066         __strcat_power8 implementation.
8067         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8068         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
8069         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
8070         optimized strcat for power8.
8072         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8073         strcpy-power8 and stpcpy-power8 objects.
8074         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8075         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
8076         implementations.
8077         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
8078         multiarch stpcpy implementation for POWER8.
8079         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
8080         multiarch strcpy implementation for POWER8.
8081         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
8082         __strcpy_power8 function.
8083         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
8084         stpcpy for POWER8.
8085         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
8086         strcpy for POWER8.
8087         * NEWS: Update.
8089 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
8091         [BZ #16009]
8092         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
8093         weights and rules. Use do_xfrm_cached if data fits in cache,
8094         do_xfrm otherwise.  Moved former main loop to...
8095         * (do_xfrm_cached): New function.
8096         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
8097         find_idx, find_position and stack_push.
8098         * (find_idx): New function.
8099         * (find_position): Likewise.
8100         * localedata/sort-test.sh: Added test run for do_xfrm.
8101         * localedata/xfrm-test.c (main): Added command line option
8102         -nocache to run the test with strings that are too large for
8103         the STRXFRM cache.
8105 2015-01-13  Torvald Riegel  <triegel@redhat.com>
8107         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
8108         variable to lll_futex_wake call, not the value itself.
8110 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
8112         [BZ #17803]
8113         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
8114         twom64.  Adjust value to 0x1p-64L.
8115         (__scalblnl): Only return standard underflowing result for K <=
8116         -64 not K <= -63; adjust exponent for underflowing result by 64
8117         not 63.
8118         * math/libm-test.inc (scalbn_test_data): Add more tests.
8119         (scalbln_test_data): Likewise.
8121         [BZ #17834]
8122         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
8123         0x1p63L.
8124         (__scalblnl): Get new exponent of adjusted subnormal value from ES
8125         not HX.
8126         * math/libm-test.inc (scalbn_test_data): Add more tests.
8127         (scalbln_test_data): Likewise.
8129 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8130             Stefani Seibold  <stefani@seibold.net>
8132         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
8133         (sysdep_routines): Add dl-vdso here, ...
8134         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
8135         (sysdep_routines): ... not here.
8136         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
8137         fallback when vDSO is not presented.
8138         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
8139         Define with libc_hidden_proto/libc_hidden_data_def definitions.
8140         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
8141         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
8142         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
8143         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
8144         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
8145         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
8146         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
8147         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
8148         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
8149         fallback configurable symbol when vDSO is not available.
8150         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
8151         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
8152         be able to redefine fallback symbol when vDSO is not available.
8153         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
8154         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
8156 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8158         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
8159         (TLS_INIT_TP): Add tm_capable initialization.
8160         (TLS_DEFINE_INIT_TP): Likewise.
8161         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
8162         TCB.
8163         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
8164         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
8165         calculation.
8166         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
8167         transactoion is lock elision is built and TCB tm_capable is set.
8168         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
8169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8170         (INTERNAL_SYSCALL_NCS): Likewise.
8171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8172         (INTERNAL_SYSCALL_NCS): Likewise.
8173         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
8175         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
8176         for powerpc.
8177         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8178         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
8179         and remove it for 32 bits case.
8180         [pthread_rwlock_t] (__rwelision): New field for lock elision.
8181         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
8182         initialization.
8183         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
8184         Disable lock elision with rdlocks if elision is not available.
8186         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
8187         (sysdep_routines): Add lock elision objects.
8188         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8189         [pthread_mutex_t] (__spins): Rework to add lock elision field.
8190         [pthread_mutex_t] (__elision): Add field.
8191         [__PTHREAD_SPINS]: Adjust to init lock elision field.
8192         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
8193         elision definitions for powerpc.
8194         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
8195         implementation of lock elision for powerpc.
8196         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
8197         implementation of timed lock elision for powerpc.
8198         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
8199         implementation of trylock with lock elision for powerpc.
8200         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
8201         implementaion of unlock for lock elision for powerpc.
8202         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
8203         automatic enable lock elision for mutexes.
8204         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
8205         transaction execution definitions for powerpc.
8206         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
8207         definitions.
8208         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
8209         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
8210         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
8211         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
8212         * NEWS: Update.
8214 2015-01-09  Roland McGrath  <roland@hack.frob.com>
8216         * sysdeps/posix/shm-directory.c: Use <> rather than ""
8217         for #include of <shm-directory.h>.
8219 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
8221         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
8222         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
8224 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
8226         [BZ #17791]
8227         * NEWS: Mention bug fix.
8228         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
8229         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
8230         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
8232 2015-01-09  Torvald Riegel <triegel@redhat.com>
8234         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
8236 2015-01-09  Torvald Riegel <triegel@redhat.com>
8238         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
8240 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8242         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
8243         pointer and cast to uintptr_t.
8245 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8247         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
8248         removed.
8249         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
8251 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8253         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
8254         of 0.
8256 2015-01-08  Roland McGrath  <roland@hack.frob.com>
8258         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
8259         <nptl/pthreadP.h> instead.
8260         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
8262         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
8263         already defined.
8264         [__SIGRTMIN] (init): Function removed.
8265         [__SIGRTMIN] (initialized): Variable removed.
8266         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
8267         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
8268         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
8269         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
8270         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
8271         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
8272         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
8273         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
8274         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
8275         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
8276         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
8277         * sysdeps/nptl/allocrtsig.c: New file.
8278         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
8279         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
8280         * sysdeps/generic/testrtsig.h: File removed.
8282         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
8283         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
8285         * nptl/nptl-init.c (pthread_functions): Conditionalize
8286         .ptr__nptl_setxid initialization on [SIGSETXID].
8288         * sysdeps/nptl/sys/procfs.h: New file.
8289         * nptl_db/Makefile (headers): Add it.
8290         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
8292         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
8293         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
8294         * nptl/pthread_attr_setaffinity.c: Include it.
8295         * nptl/pthread_setattr_default_np.c: Likewise.
8296         * nptl/check-cpuset.h: New file.
8298 2015-01-08  Richard Henderson  <rth@redhat.com>
8300         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
8301         (CFLAGS-tst-execstack-prog.c): Likewise.
8302         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
8304 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
8305             Sandra Loosemore  <sandra@codesourcery.com>
8306             Andrew Jenner  <andrew@codesourcery.com>
8307             Joseph Myers  <joseph@codesourcery.com>
8308             Nathan Sidwell  <nathan@codesourcery.com>
8310         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
8311         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
8312         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
8313         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
8314         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
8315         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
8316         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
8317         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
8318         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
8319         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
8320         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
8321         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
8322         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
8323         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
8324         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
8325         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
8326         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
8328 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8330         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
8331         timespec struct member in syscall macro.
8332         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
8333         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
8334         first timeval struct member in syscall macro.
8335         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
8337 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
8339         [BZ #17748]
8340         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
8341         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
8342         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
8343         __feupdateenv and define as weak alias of __feupdateenv.  Use
8344         libm_hidden_weak.
8345         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
8346         libm_hidden_def.
8347         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
8348         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
8349         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8350         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
8351         libm_hidden_def.
8352         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
8353         __feupdateenv and define as weak alias of __feupdateenv.  Use
8354         libm_hidden_weak.
8355         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
8356         libm_hidden_def.
8357         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
8358         __feupdateenv and define as weak alias of __feupdateenv.  Use
8359         libm_hidden_weak.
8360         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
8361         libm_hidden_def.
8362         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8363         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
8364         (__feupdateenv): Likewise.
8365         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
8366         __feupdateenv and define as weak alias of __feupdateenv.  Use
8367         libm_hidden_weak.
8368         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8369         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
8370         libm_hidden_def.
8371         * sysdeps/tile/math_private.h (__feupdateenv): New inline
8372         function.
8373         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
8374         libm_hidden_def.
8375         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
8376         __feupdateenv instead of feupdateenv.
8377         (default_libc_feupdateenv_test): Likewise.
8378         (libc_feresetround_ctx): Likewise.
8380 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8382         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
8383         prototype.
8385 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
8387         * posix/regcomp.c (parse_bracket_exp): Initialize type to
8388         COLL_SYM in a couple of places to avoid uninitialized variable
8389         wanings on tilegx gcc 4.8.2.
8391 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
8393         * sysdeps/aarch64/strcpy.S: New file.
8394         * sysdeps/aarch64/stpcpy.S: New file.
8395         * NEWS: Updated.
8397 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
8399         * sysdeps/aarch64/strrchr.S: New file.
8400         * NEWS: Updated.
8402 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
8404         [BZ #17658]
8405         * stdlib/setenv.c: Fix memory leak when setting large,
8406         duplicate string.
8408 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
8410         [BZ #17273]
8411         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
8412         and tabs from buffer before parsing fstab entry.
8413         * misc/tst-mntent.c (main): Add test for mount entry with
8414         trailing spaces and tabs.
8416 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
8418         [BZ #17748]
8419         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
8420         * math/fesetround.c (fesetround): Rename to __fesetround and
8421         define as weak alias of __fesetround.  Use libm_hidden_weak.
8422         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
8423         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
8424         * sysdeps/arm/fesetround.c (fesetround): Likewise.
8425         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
8426         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
8427         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
8428         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
8429         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
8430         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
8431         __fesetround_inline.
8432         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
8433         __fesetround_inline instead of __fesetround.
8434         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
8435         __fesetround and define as weak alias of __fesetround.  Use
8436         libm_hidden_weak.  Call __fesetround_inline instead of
8437         __fesetround.
8438         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
8439         __fesetround and define as weak alias of __fesetround.  Use
8440         libm_hidden_weak.
8441         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
8442         Likewise.
8443         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
8444         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8445         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
8446         * sysdeps/tile/math_private.h (__fesetround): New inline function.
8447         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
8448         __fesetround and define as weak alias of __fesetround.  Use
8449         libm_hidden_weak.
8450         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
8451         __fesetround instead of fesetround.
8452         (default_libc_feholdexcept_setround): Likewise.
8453         (libc_feholdsetround_ctx): Likewise.
8454         (libc_feholdsetround_noex_ctx): Likewise.
8456         [BZ #17748]
8457         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
8458         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
8459         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
8460         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
8461         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8462         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
8463         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8464         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
8465         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8466         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8467         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8468         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8469         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8470         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8471         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
8472         libm_hidden_def.
8473         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
8474         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
8475         Likewise.
8476         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8477         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8478         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8479         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8480         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
8481         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
8482         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
8483         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
8484         __fesetenv instead of fesetenv.
8485         (libc_feresetround_noex_ctx): Likewise.
8486         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
8487         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8488         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
8489         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
8490         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
8491         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
8492         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8493         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
8494         (__feupdateenv): Likewise.
8495         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8496         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8497         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8498         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
8500 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
8502         [BZ #17806]
8503         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
8504         addresses have been freed.
8506 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
8508         * resolv/res_init.c (__res_vinit): Improve comments about nserv
8509         and nservall.
8511 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
8513         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
8514         Clean up check_pf allocation pattern. addresses
8516 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8518         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
8519         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
8520         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
8521         * nptl/pthread_exit.c (__pthread_exit): Likewise.
8522         * nptl/pthread_join.c (pthread_join): Likewise.
8523         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
8524         * sysdeps/posix/waitid.c (__waitid): Likewise.
8525         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
8526         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
8527         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
8528         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
8529         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
8530         Likewise.
8531         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
8532         (__libc_pread64): Likewise.
8533         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
8534         (__libc_pwrite): Likewise.
8535         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
8536         (__libc_pwrite64): Likewsie.
8537         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
8538         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
8539         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
8540         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
8541         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
8542         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
8543         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
8545         Likewise.
8546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8547         (__libc_pread64): Likewise.
8548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
8549         Likewise.
8550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8551         (__libc_pwrite64): Likewise.
8552         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
8553         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
8554         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
8555         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
8556         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
8557         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
8558         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
8559         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
8560         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
8561         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
8562         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
8563         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
8564         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
8565         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
8566         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
8567         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
8568         Likewise.
8570 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
8572         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
8573         (CFLAGS-test-double.c): Likewise.
8574         (CFLAGS-test-ldouble.c): Likewise.
8575         (CPPFLAGS-test-ifloat.c): Likewise.
8576         (CPPFLAGS-test-idouble.c): Likewise.
8577         (CPPFLAGS-test-ildoubl.c): Likewise.
8578         (CFLAGS-test-test-fenv.c): Remove variable.
8579         (CFLAGS-test-misc.c): Likewise.
8581 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
8583         [BZ #17797]
8584         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
8585         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
8586         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
8587         CLOCKS_PER_SEC == 1000000.
8588         * time/clocktest.c (main): Replace %ld with %jd and cast to
8589         intmax_t.
8591 2015-01-05  Roland McGrath  <roland@hack.frob.com>
8593         * sysdeps/generic/unwind-resume.h: New file.
8594         * sysdeps/gnu/unwind-resume.c: Include it.
8595         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
8596         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
8597         argument list.
8598         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
8599         global rather than static.
8600         (_Unwind_Resume): Update user.
8601         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
8602         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
8603         rather than static.  Add __attribute__ ((cold)).
8604         (_Unwind_Resume, __gcc_personality_v0): Update callers.
8605         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
8606         * sysdeps/arm/arm-unwind-resume.S: New file.
8607         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
8608         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
8609         * sysdeps/arm/Makefile [$(subdir) = csu]
8610         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
8611         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8612         Add rt-arm-unwind-resume.
8613         [$(subdir) = nptl]
8614         (libpthread-sysdep_routines, libpthread-shared-only-routines):
8615         Add pt-arm-unwind-resume.
8616         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
8617         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
8619 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8621         [BZ #17748]
8622         * include/fenv.h (__feholdexcept): Declare.  Use
8623         libm_hidden_proto.
8624         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
8625         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
8626         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8627         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
8628         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
8629         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
8630         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
8631         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8632         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
8633         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
8634         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8635         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
8636         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
8637         (feholdexcept): Likewise.
8638         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
8639         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8640         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8641         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8642         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
8643         __feholdexcept instead of feholdexcept.
8644         (default_libc_feholdexcept_setround): Likewise.
8646 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8648         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
8649         to avoid using stl/str to align destination.
8651 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8653         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
8655 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8657         [BZ #17796]
8658         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
8659         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
8660         Define as weak alias not strong alias.
8662 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8664         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
8665         bltzal with addiupc.
8666         (RTLD_START): Ditto.
8668 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
8670         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
8671         for __vdso_* functions in declarations.
8672         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
8673         definitions.
8674         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
8675         INTERNAL_VSYSCALL): Use struct return types to check for error.
8677         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
8678         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
8679         function with cast from llround().
8680         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
8681         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
8682         Define.
8684 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8686         [BZ #17793]
8687         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
8688         Define as weak alias not strong alias.
8690         [BZ #17635]
8691         * ctype/ctype-c99.c: New file.  isblank implementation moved from
8692         ...
8693         * ctype/ctype-extn.c: ... here.
8694         (__isblank_l): Move to ...
8695         * ctype/ctype-c99_l.c: ... here.  New file.
8696         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
8697         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
8698         Remove variable.
8699         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
8700         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
8701         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
8702         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
8703         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
8705         [BZ #17777]
8706         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
8707         (posix_fadvise64): Define as weak alias not strong alias.
8708         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8709         (posix_fallocate64): Likewise.
8710         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
8711         Remove variable.
8712         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
8713         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
8714         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
8715         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
8716         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
8718 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
8720         [BZ #16191]
8721         * NEWS: Mention bug fix.
8722         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
8723         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
8724         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
8725         (HOST_STACK_END_ADDR): Likewise.
8727 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
8729         [BZ #17748]
8730         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
8731         * math/fegetround.c (fegetround): Rename to __fegetround and
8732         define as weak alias of __fegetround.  Use libm_hidden_weak.
8733         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
8734         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
8735         * sysdeps/arm/fegetround.c (fegetround): Likewise.
8736         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
8737         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8738         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
8739         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
8740         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
8741         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8742         Undefine after rather than before function definition; use
8743         parentheses around function name in definition.
8744         (__fegetround): Also undefine macro after function definition.
8745         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
8746         __fegetround and define as weak alias of __fegetround.  Use
8747         libm_hidden_weak.  Do not undefine as macro.
8748         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8749         Likewise.
8750         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
8751         __fegetround and define as weak alias of __fegetround.  Use
8752         libm_hidden_weak.
8753         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8754         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8755         * sysdeps/tile/math_private.h (__fegetround): New inline function.
8756         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
8757         __fegetround and define as weak alias of __fegetround.  Use
8758         libm_hidden_weak.
8759         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
8760         __fegetround instead of fegetround.
8762         [BZ #17782]
8763         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
8764         Condition macro definition on [__USE_MISC].
8766         [BZ #17781]
8767         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
8768         (struct sigaction): Change type of sa_flags field to int.
8770         [BZ #17780]
8771         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
8772         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
8773         __glibc_reserved0.
8775         * nptl/version.c (banner): Use single year in copyright notice.
8777         * NEWS: Update copyright dates.
8778         * catgets/gencat.c (print_version): Likewise.
8779         * csu/version.c (banner): Likewise.
8780         * debug/catchsegv.sh: Likewise.
8781         * debug/pcprofiledump.c (print_version): Likewise.
8782         * debug/xtrace.sh (do_version): Likewise.
8783         * elf/ldconfig.c (print_version): Likewise.
8784         * elf/ldd.bash.in: Likewise.
8785         * elf/pldd.c (print_version): Likewise.
8786         * elf/sotruss.sh: Likewise.
8787         * elf/sprof.c (print_version): Likewise.
8788         * iconv/iconv_prog.c (print_version): Likewise.
8789         * iconv/iconvconfig.c (print_version): Likewise.
8790         * locale/programs/locale.c (print_version): Likewise.
8791         * locale/programs/localedef.c (print_version): Likewise.
8792         * login/programs/pt_chown.c (print_version): Likewise.
8793         * malloc/memusage.sh (do_version): Likewise.
8794         * malloc/memusagestat.c (print_version): Likewise.
8795         * malloc/mtrace.pl: Likewise.
8796         * manual/libc.texinfo: Likewise.
8797         * nptl/version.c (banner): Likewise.
8798         * nscd/nscd.c (print_version): Likewise.
8799         * nss/getent.c (print_version): Likewise.
8800         * nss/makedb.c (print_version): Likewise.
8801         * posix/getconf.c (main): Likewise.
8802         * scripts/test-installation.pl: Likewise.
8803         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8805 2015-01-02  Will Newton  <will.newton@linaro.org>
8807         * sysdeps/arm/armv7/configure: Removed.
8808         * sysdeps/arm/armv7/configure.ac: Likewise.
8810 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
8812         * All files with FSF copyright notices: Update copyright dates
8813         using scripts/update-copyrights.
8814         * intl/plural.c: Regenerated.
8815         * locale/programs/charmap-kw.h: Likewise.
8816         * locale/programs/locfile-kw.h: Likewise.
8818 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8820         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
8822 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
8824         [BZ #17748]
8825         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
8826         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
8827         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
8828         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
8829         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8830         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
8831         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8832         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
8833         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8834         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8835         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8836         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8837         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8838         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8839         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
8840         libm_hidden_def.
8841         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
8842         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
8843         Likewise.
8844         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8845         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8846         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8847         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8848         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
8849         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
8850         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
8851         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
8852         __fegetenv instead of fegetenv.
8853         (libc_feholdsetround_noex_ctx): Likewise.
8855 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
8857         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
8858         (Elf_MIPS_ABIFlags_v0): New structure.
8859         (EF_MIPS_FP64): Define.
8860         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
8861         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
8862         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
8863         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
8864         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
8865         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
8866         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
8867         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
8868         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
8869         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
8870         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
8871         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
8872         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
8873         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
8874         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
8875         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
8876         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
8877         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
8878         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
8879         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
8880         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
8881         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
8882         field.
8883         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
8884         EF_MIPS_FP64.
8885         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
8886         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
8887         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
8888         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
8889         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
8890         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
8891         * sysdeps/mips/tst-abi-interlink.c: Likewise.
8892         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
8893         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
8894         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
8895         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
8896         record the current FP ABI extension.
8897         (mips-mode-switch): Define to show if kernel headers support mode
8898         switching.
8899         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8900         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
8901         supported SYSV ABI version to 3.
8902         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
8903         feature.
8905 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8906             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8908         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
8909         path.
8910         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
8912 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
8914         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
8915         __fegetround and redefine to call __fegetround.  Remove condition
8916         on [!__NO_MATH_INLINES].
8917         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
8918         function.
8919         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
8920         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8921         Remove macro.
8922         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
8923         instead of <fenv_libc.h>.
8924         (__llrintl): Call fegetround instead of __fegetround.
8925         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
8926         instead of <fenv_libc.h>.
8927         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8928         (__lrintl): Call fegetround instead of __fegetround.
8929         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
8930         instead of <fenv_libc.h>.
8931         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8932         (__rintl): Call fegetround instead of __fegetround.
8934 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8936         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
8937         arrays.
8939 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
8941         [BZ #17775]
8942         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
8943         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
8944         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
8946 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
8948         * sysdeps/i386/tls-macros.h: Include <features.h>.
8949         (TLS_LE): Use non-PIC version for GCC >= 5.0.
8950         (TLS_IE): Likewise.
8951         (TLS_LD): Likewise.
8952         (TLS_GD): Likewise.
8953         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
8954         define for GCC >= 5.0.
8956 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
8958         * math/test-fenv.c (test_single_exception, set_single_exc,
8959         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
8960         feexcp_mask_test, feenable_test, fe_single_test): Add
8961         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
8962         case where they are not used.
8963         * math/libm-test.inc: Likewise.
8964         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
8965         unused in the absence of FP rounding/exception support.
8966         * stdio-common/tst-printf-round.c: Likewise.
8967         * stdlib/tst-strtod-round.c: Likewise.
8968         * stdlib/tst-strtod-underflow.c: Likewise.
8970 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
8972         [BZ #17723]
8973         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
8974         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
8975         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8976         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8977         libm_hidden_weak.
8978         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
8979         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
8980         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
8981         libm_hidden_def.
8982         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8983         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8984         libm_hidden_weak.
8985         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
8986         Likewise.
8987         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
8988         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8989         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8990         libm_hidden_weak.
8991         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
8992         libm_hidden_def.
8993         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8994         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
8995         (__feraiseexcept): Likewise.
8996         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8997         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8998         libm_hidden_weak.
8999         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9000         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9001         libm_hidden_def.
9002         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
9003         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
9004         Use libm_hidden_def.
9005         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
9006         libm_hidden_def.
9007         (feraiseexcept): Define as weak not strong alias.  Use
9008         libm_hidden_weak.
9009         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
9010         New inline function.  Factored out of ...
9011         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
9012         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
9013         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
9014         feraiseexcept.
9015         * math/w_acos.c (__acos): Likewise.
9016         * math/w_asin.c (__asin): Likewise.
9017         * math/w_ilogb.c (__ilogb): Likewise.
9018         * math/w_j0.c (y0): Likewise.
9019         * math/w_j1.c (y1): Likewise.
9020         * math/w_jn.c (yn): Likewise.
9021         * math/w_log.c (__log): Likewise.
9022         * math/w_log10.c (__log10): Likewise.
9023         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
9024         * sysdeps/aarch64/fpu/math_private.h
9025         (libc_feupdateenv_test_aarch64): Likewise.
9026         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9027         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
9028         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
9029         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9030         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9031         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9032         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
9033         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9034         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9035         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9037 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9039         [BZ #17732]
9040         * io/test-utime.c (main): Replace %ld with %jd and cast to
9041         intmax_t.
9042         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
9043         * nptl/tst-mutex5.c: Include <stdint.h>.
9044         (do_test): Replace %ld with %jd and cast to intmax_t.
9045         * posix/tst-regex.c (run_test): Likewise.
9046         (run_test_backwards): Likewise.
9047         * rt/tst-clock.c: Include <stdint.h>.
9048         (clock_test): Replace %ld with %jd and cast to intmax_t.
9049         * rt/tst-cpuclock1.c: Include <stdint.h>.
9050         (do_test): Replace %lu with %ju and cast to uintmax_t.
9051         * rt/tst-cpuclock2.c: Include <stdint.h>.
9052         (do_test): Replace %lu with %ju and cast to uintmax_t.
9053         * rt/tst-mqueue1.c: Include <stdint.h>.
9054         (check_attrs): Replace %ld with %jd and cast to intmax_t.
9055         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
9056         intmax_t.
9057         * rt/tst-mqueue4.c (do_test): Likewise.
9058         * rt/tst-timer4.c: Include <stdint.h>.
9059         (check_ts): Replace %ld with %jd and cast to intmax_t.
9060         (do_test): Likewise.
9061         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
9062         and cast to intmax_t.
9063         * sysdeps/pthread/tst-timer.c (main): Likewise.
9064         * time/clocktest.c (main): Likewise.
9065         * time/tst-posixtz.c (do_test): Likewise.
9066         * timezone/tst-timezone.c (main): Likewise.
9068 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9069             H.J. Lu  <hongjiu.lu@intel.com>
9071         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
9072         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
9073         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
9074         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
9075         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
9076         version if bit_Fast_Unaligned_Load is set.
9077         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9078         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9079         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9080         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9081         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9082         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9083         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9084         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
9085         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
9086         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
9087         to 4.
9088         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
9089         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
9090         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
9091         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
9093 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
9095         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
9096         instead of #if to avoid a Wundef warning.
9097         * stdlib/tst-limits.c (do_test): Likewise.
9099         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
9100         parallel other exception macros.
9101         (fegetenv): Convert from macro to extern inline so that it applies
9102         retroactively to inline functions already seen by the compiler.
9103         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
9105         * posix/Makefile (before-compile): Use $(objpfx) for
9106         posix-conf-vars-def.h.
9108 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9110         * posix/getconf.c (main): Use size_t for type of I.
9111         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
9112         NSPEC.
9114         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
9115         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
9116         * posix/posix-envs.def: Likewise.
9117         * sysdeps/posix/sysconf.c: Likewise.
9118         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
9119         (specs): Remove array.
9120         * scripts/gen-posix-conf-vars.awk: Support generation of specs
9121         array.
9123         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
9124         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
9125         (__sysconf): Use CONF_IS_* macros.
9127         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
9128         ($(objpfx)posix-conf-vars-def.h): New target.
9129         * posix/posix-conf-vars.list: New file.
9130         * posix/posix-conf-vars.h: New file.
9131         * posix/confstr.c: Include posix-conf-vars.h.
9132         (confstr): Use CONF_IS_* macros.
9133         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
9134         CONF_IS_* macros.
9135         * scripts/gen-posix-conf-vars.awk: New file.
9137 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
9139         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
9140         fegetround): Add no-op macros to avoid linknamespace issues.
9142         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
9143         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
9145         * sysdeps/unix/sysv/linux/tile/sysdep.h
9146         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
9147         assembly-specific section to avoid a redefinition warning.
9149         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
9150         long before casting to pointer to avoid a cast warning.
9152 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
9154         * sysdeps/tile/tilegx/Implies: New file.
9156 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
9158         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
9160 2014-12-23  Florian Weimer  <fweimer@redhat.com>
9162         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
9164 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9166         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
9167         not define.
9168         * sysdeps/unix/sysv/linux/utimes.c: Do not include
9169         <kernel-features.h>.
9170         (__utimes) [__NR_utimes]: Make code unconditional.
9171         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
9172         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9173         (__ASSUME_UTIMES): Do not undefine.
9174         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9175         (__ASSUME_UTIMES): Likewise.
9176         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9177         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
9178         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
9179         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
9181 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9183         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
9185 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
9187         [BZ #17747]
9188         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
9189         alias to weak alias for j0l, y0l.
9190         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
9191         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
9193         [BZ #17746]
9194         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
9195         conversion.
9197 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9199         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
9200         to zero if not already defined.
9202 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9204         [BZ #17724]
9205         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
9206         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
9207         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
9208         (char *) casts added.
9209         * sysdeps/ieee754/k_standardf.c: New file.
9210         * sysdeps/ieee754/k_standardl.c: Likewise.
9211         * math/Makefile (libm-support): Remove k_standard.
9212         (libm-calls): Add k_standard.
9214 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9216         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9217         Optimize to avoid an unnecessary FPCR read.
9219 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9221         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
9222         Optimize to reduce FPCR/FPSR accesses.
9224 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9226         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
9227         Call libc_fetestexcept_aarch64.
9229 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9231         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
9232         Call libc_fesetround_aarch64.
9234 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9236         [BZ #17733]
9237         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
9238         (__bind): Do not define as weak alias.
9239         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
9240         define.
9241         (__getsockname): Do not define as weak alias.
9243 2014-12-22  Will Newton  <will.newton@linaro.org>
9245         * manual/install.texi: Document that we require bison 2.7
9246         or above.
9247         * INSTALL: Regenerate.
9248         * configure.ac: Use AC_CHECK_PROG_VER instead of
9249         AC_PATH_PROG when checking for bison and check for
9250         version 2.7 or above.
9251         * configure: Regenerate.
9253 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
9255         [BZ #17745]
9256         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
9257         * sysdeps/tile/ffsll.c (ffsll): To here.
9259         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
9261 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9263         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
9264         if not defined.
9265         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
9266         definition.
9267         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9268         hidden ___tls_get_addr.
9269         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9270         hidden __tls_get_addr.
9271         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
9272         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
9273         Likewise.
9275 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
9277         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
9278         _dl_init call.
9280 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9282         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
9283         from "call _dl_init@PLT".
9284         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
9286 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
9288         * manual/search.texi: (Array Sort Function): Clarify stable sorting
9289         guarantees.
9291 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
9293         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
9295 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9297         [BZ #17744]
9298         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
9299         strnlen.
9301 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9303         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
9304         of multu on MIPSr6.
9305         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
9306         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
9307         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
9308         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
9309         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
9311 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9313         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
9314         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
9315         (PTR_SUBU): Use subu for mips32r6/mips64r6.
9316         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9317         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
9318         mips32r6/mips64r6.
9319         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
9321 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
9323         * string/strncat.c (STRNCAT): Simplify implementation.
9325 2014-12-19  David S. Miller  <davem@davemloft.net>
9327         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
9328         access the quad as both a long double and as a series of 4 words.
9330         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
9331         link_map->l_info array access.
9333 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9335         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
9337         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
9338         * math/atest-exp2.c (TIMEOUT): Likewise.
9339         * math/atest-sincos.c (TIMEOUT): Likewise.
9341 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9343         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
9344         -Wno-error with -fno-builtin-lround.
9346 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9348         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
9349         Contains futex constants and functions moved over from ...
9350         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
9351         <lowlevellock-futex.h>.
9352         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9353         (lll_timedwait_tid): Add comments and parentheses around macro
9354         arguments.
9356 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9358         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
9359         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
9360         (__lll_private_flag): Remove.
9361         (lll_futex_wait): Likewise.
9362         (lll_futex_timed_wait): Likewise.
9363         (lll_futex_wake): Likewise.
9364         (lll_futex_requeue): Likewise.
9365         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9366         (__lll_timedwait_tid): Spell out argument names.
9367         (lll_timedwait_tid): Add comments and parentheses around macro
9368         arguments.
9369         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
9370         LLL_SHARED and LLL_PRIVATE usable from assembly code.
9372 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9374         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
9375         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9376         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9377         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
9378         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
9379         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
9380         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
9381         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
9382         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
9383         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
9384         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
9385         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
9386         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
9387         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
9388         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
9389         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
9390         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
9391         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
9392         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
9394 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9396         * sysdeps/x86_64/x32/Makefile: New file.
9398 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9400         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
9401         1L with (mp_limb_t) 1.
9403 2014-12-17  Roland McGrath  <roland@hack.frob.com>
9405         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
9406         * nptl/libc_pthread_init.c: ... here.
9407         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
9408         * nptl/register-atfork.c: ... here.
9410         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
9411         Use pthread_sigmask rather than INTERNAL_SYSCALL.
9412         Use assert_perror to check its return value.
9413         (__gai_create_helper_thread): Likewise.
9415         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
9417         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
9419 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
9421         [BZ #17725]
9422         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
9423         __profil_counter.
9424         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
9425         Likewise.
9426         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
9427         Likewise.
9428         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
9429         Likewise.
9430         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
9431         (profil_counter): Likewise.
9432         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
9433         (profil_counter): Likewise.
9434         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
9435         Likewise.
9436         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
9437         Likewise.
9438         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
9439         (profil_counter): Likewise.
9440         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
9441         Likewise.
9442         [!__profil_counter] (profil_counter): Define as weak alias of
9443         __profil_counter.
9444         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
9445         (profil_counter): Rename to __profil_counter.
9446         [!__profil_counter] (profil_counter): Define as weak alias of
9447         __profil_counter.
9448         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
9449         (profil_counter): Rename to __profil_counter.
9450         [!__profil_counter] (profil_counter): Define as weak alias of
9451         __profil_counter.
9452         * sysdeps/posix/profil.c: Update comment referring to
9453         profil_counter.
9454         (__profil): Use __profil_counter instead of profil_counter.
9455         * sysdeps/posix/sprofil.c (profil_counter): Rename to
9456         __profil_counter.  Use __profil_counter_ushort and
9457         __profil_counter_uint in definitions.
9458         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
9459         instead of profil_counter_uint and profil_counter_ushort.
9461         [BZ #17722]
9462         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
9463         define as weak alias of __inet_makeaddr.
9464         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
9465         as weak alias of __inet_addr.
9466         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
9467         as weak alias of __inet_pton.  Use libc_hidden_weak.
9468         * include/arpa/inet.h (__inet_pton): Declare.  Use
9469         libc_hidden_proto.
9470         (inet_makeaddr): Don't use libc_hidden_proto.
9471         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
9472         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
9473         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
9474         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
9475         Remove variable.
9476         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9477         (test-xfail-POSIX/time.h/linknamespace): Likewise.
9479 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
9481         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
9483 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9485         * stdio-common/bug-vfprintf-nargs.c (do_test):
9486         Cast value to intptr_t to avoid format warning
9487         for usage with PRIdPTR printing macro.
9489 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9491         * libio/tst-widetext.c (do_test):
9492         Use format type %td instead of %Zd for ptrdiff_t
9493         in order to avoid format warning.
9495 2014-12-17  Andreas Schwab  <schwab@suse.de>
9497         * nscd/mem.c (gc): Add size_t cast to match printf format.
9499 2014-12-16  Roland McGrath  <roland@hack.frob.com>
9501         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
9502         (init): Apply PTR_MANGLE to pointers before storing them.
9503         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
9504         before using them.
9506 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
9508         [BZ #17719]
9509         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
9510         define as weak alias of __memrchr.
9511         (__memrchr): Do not define as strong alias of memrchr.
9512         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
9513         Remove variable.
9514         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9515         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
9516         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9518         [BZ #17717]
9519         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
9520         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
9521         (if_indextoname): Rename to __if_indextoname and define as weak
9522         alias of __if_indextoname.  Use libc_hidden_weak.
9523         (if_freenameindex): Rename to __if_freenameindex and define as
9524         weak alias of __if_freenameindex.
9525         (if_nameindex): Rename to __if_nameindex and define as weak alias
9526         of __if_nameindex.
9527         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
9528         __if_nametoindex and define as weak alias of __if_nametoindex.
9529         Use libc_hidden_weak.
9530         (if_freenameindex): Rename to __if_freenameindex and define as
9531         weak alias of __if_freenameindex.
9532         (if_nameindex): Rename to __if_nameindex and define as weak alias
9533         of __if_nameindex.
9534         (if_indextoname): Rename to __if_indextoname and define as weak
9535         alias of __if_indextoname.  Use libc_hidden_weak.
9536         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
9537         __if_nametoindex and define as weak alias of __if_nametoindex.
9538         Use libc_hidden_weak.
9539         (if_freenameindex): Rename to __if_freenameindex and define as
9540         weak alias of __if_freenameindex.  Use libc_hidden_weak.
9541         (if_nameindex_netlink): Use __if_freenameindex instead of
9542         if_freenameindex.
9543         (if_nameindex): Rename to __if_nameindex and define as weak alias
9544         of __if_nameindex.  Use libc_hidden_weak.
9545         (if_indextoname): Rename to __if_indextoname and define as weak
9546         alias of __if_indextoname.  Use libc_hidden_weak.
9547         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
9548         libc_hidden_proto.
9549         [!_ISOMAC] (__if_freenameindex): Likewise.
9550         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
9551         if_nametoindex.
9552         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
9553         variable.
9554         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
9555         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9556         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9557         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9558         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9559         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9560         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
9562         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
9563         Remove variable.
9564         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
9565         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
9567 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9569         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
9570         subscript above bounds'
9572         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
9573         bounds.
9575 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
9577         * libio/tst-fopenloc.c: Use test-skeleton.c.
9579         * stdlib/tst-bsearch.c: Use test-skeleton.c.
9580         (entry): Rename to ITEM.
9581         (do_test, comp): Adjust.
9583         * stdio-common/tst-fseek.c: Use test-skeleton.c.
9585 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9587         * string/tester.c: Include <libc-internal.h>.
9588         (test_memset): Ignore -Wmemset-transposed-args.
9590 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9592         * misc/tst-mntent2.c (do_test): Fix warning.
9594 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9596         * elf/tst-unique4lib.cc(a): Mark as used.
9598 2014-12-16  Florian Weimer  <fweimer@redhat.com>
9600         [BZ #17630]
9601         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
9602         names.
9604 2014-12-16  Allan McRae  <allan@archlinux.org>
9606         * stdio-common/Makefile (tests): Re-add bug26.
9608 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
9610         [BZ #17657]
9611         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
9612         static array.
9614 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
9616         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
9617         (__lll_lock_wait): Likewise.
9618         (__lll_timedlock_wait): Likewise.
9619         (__lll_timedwait_tid): Likewise.
9620         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
9621         (__lll_robust_timedlock_wait): Likewise.
9622         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
9623         (lll_cond_trylock): Likewise.
9624         (__lll_lock): Likewise.
9625         (__lll_robust_lock): Likewise.
9626         (__lll_cond_lock): Likewise.
9627         (lll_robust_cond_lock): Likewise.
9628         (__lll_timedlock): Likewise.
9629         (__lll_robust_timedlock): Likewise.
9630         (__lll_unlock): Likewise.
9631         (__lll_robust_unlock): Likewise.
9632         (lll_wait_tid): Likewise.
9633         (lll_timedwait_tid): Likewise.
9635 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9637         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
9639 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9641         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
9643 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
9645         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
9646         * stdio-common/tst-sprintf.c: Likewise.
9648 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9650         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
9652 2014-12-15  Jeff Law  <law@redhat.com>
9654         [BZ #16617]
9655         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
9656         on the heap.  (CVE-2012-3406)
9657         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
9658         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
9659         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
9661 2014-12-15  Will Newton  <will.newton@linaro.org>
9663         * manual/install.texi: Bump required version of texinfo
9664         to 4.7 from 4.5.
9665         * INSTALL: Regenerated.
9666         * configure.ac: Check for makeinfo version 4.7 and above.
9667         * configure: Regenerated.
9669 2014-12-12  Roland McGrath  <roland@hack.frob.com>
9671         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
9672         PREFIX, string constant to insert between directory and name.
9673         * sysdeps/posix/shm_open.c: Update caller.
9674         * sysdeps/posix/shm_unlink.c: Likewise.
9675         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
9676         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
9677         (SEM_SHM_PREFIX): New macro.
9678         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
9679         [$(have-thread-library) = no].
9680         * nptl/Makefile (libpthread-routines): Add shm-directory.
9681         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
9682         * sysdeps/nptl/shm-directory.h: New file.
9683         * sysdeps/posix/shm-directory.c
9684         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
9685         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
9686         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
9687         INTERNAL_SYSCALL.
9688         (__where_is_shmfs): Function removed.
9689         (mountpoint, defaultmount, defaultdir, __namedsem_once):
9690         Variables removed.
9691         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
9692         Use SHM_GET_NAME.
9693         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
9695         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
9696         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
9697         unconditional for use inside libpthread.
9698         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
9700 2014-12-12  Roland McGrath  <roland@hack.frob.com>
9702         * nptl/pthread_getaffinity.c: New file.
9703         * nptl/pthread_setaffinity.c: New file.
9704         * nptl/pthread_getname.c: New file.
9705         * nptl/pthread_setname.c: New file.
9707         * nptl/pthread_create.c (START_THREAD_DEFN)
9708         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
9710 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9711             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9713         * resolv/res_send.c (send_vc): Disable warning resplen may
9714         be used uninitialized.
9716 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9718         * nptl/tst-mutex6.c
9719         (ATTR_NULL): New define checks ATTR against NULL.
9720         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
9721         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
9723 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
9725         [BZ #17581]
9726         * malloc/hooks.c
9727         (mem2mem_check): Revert my previous change.
9728         (malloc_check_get_size): Revert my previous change.
9729         (mem2chunk_check): Revert my previous change.
9731 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9733         * sysdeps/posix/shm-directory.c: New file.
9734         * sysdeps/posix/shm-directory.h: New file.
9735         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
9736         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
9737         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
9738         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
9739         Transmute EPERM to EACCES.
9740         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
9741         from ...
9742         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
9743         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
9745 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9747         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
9748         pointer and cast to uintptr_t.
9749         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
9750         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
9751         Add cast to avoid warning.
9752         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
9754 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
9756         * nptl/semaphore.h: Move to ...
9757         * sysdeps/pthread/semaphore.h: ... here.
9758         * Makefile (installed-headers): Change nptl/semaphore.h to
9759         sysdeps/pthread/semaphore.h.
9761 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9763         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
9764         generated error format strings.
9766         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
9767         -Wformat-extra-args warnings for scanf formats.
9768         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
9769         test of zero-length format (duh).
9770         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
9771         corner-case scanf format test.
9772         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
9773         generated fprintf format string.
9774         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
9775         corner-case sprintf format tests.
9776         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
9777         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
9778         -Wformat-extra-args warnings throughout.
9779         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
9780         (CFLAGS-scanf4.c): Likewise.
9781         (CFLAGS-scanf7.c): Likewise.
9782         (CFLAGS-tst-sprintf.c): Likewise.
9783         (CFLAGS-tst-printf.c): Likewise.
9784         (CFLAGS-tst-printfsz.c): Likewise.
9786 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
9788         * include/cpio.h: New file.
9789         * include/fmtmsg.h: Likewise.
9791         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
9792         corresponding format argument to size_t.
9793         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
9794         arguments.
9795         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
9796         corresponding format argument to size_t.
9797         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
9798         arguments.
9799         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
9800         corresponding format argument to size_t.
9801         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
9802         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
9803         (CFLAGS-tst-mbswcs2.c): Likewise.
9804         (CFLAGS-tst-mbswcs3.c): Likewise.
9805         (CFLAGS-tst-mbswcs4.c): Likewise.
9806         (CFLAGS-tst-mbswcs5.c): Likewise.
9807         (CFLAGS-tst-trans.c): Likewise
9809 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9811         * posix/regexbug1.c (main): Use "%s" format with regerror results,
9812         rather than assuming they won't contain any '%'s.
9814 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
9816         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
9817         inhibit_loop_to_libcall to avoid recursive calls.
9818         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
9819         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
9821 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
9823         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
9824         prototype.
9826 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
9828         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
9829         integer value instead of boolean.
9831 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
9833         * malloc/malloc.c: Fix powerof2 check.
9835 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9837         * locale/programs/locfile.h (maybe_swap_uint32):
9838         Remove inline and add unused attribute.
9840 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9842         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9843         Truncating assembler expression to a .long expression.
9845 2014-12-11  Andreas Schwab  <schwab@suse.de>
9847         * elf/rtld.c (struct map_args): Constify str member.
9848         (do_preload): Constify fname argument.
9850 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9852         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
9853         constants definition.
9855 2014-12-11  Andreas Schwab  <schwab@suse.de>
9857         [BZ #16657]
9858         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
9859         FORCE_ELISION instead of DO_ELISION.
9860         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
9861         Remove.
9862         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
9863         Likewise.
9865         * iconvdata/gconv-modules: Remove duplicate entry.
9867 2014-12-11  Will Newton  <will.newton@linaro.org>
9869         Merge gettext 0.19.3 into intl/.
9871         This involves a number of cosmetic changes to comments
9872         and ANSI function definitions and prototypes throughout
9873         all the files. The gettext copyright header is used but
9874         with the date ranges taken from the glibc copy.
9876         * NEWS: Add gettext merge to 2.21.
9877         * intl/bindtextdom.c: Switch to gettext copyright.
9878         Use ANSI definitions and prototypes.
9879         Use gl_* locking primitives rather than __libc_* ones.
9880         Use __builtin_expect rather than __glibc_likely/unlikely.
9881         * intl/dcgettext.c: Switch to gettext copyright.
9882         Use ANSI definitions and prototypes.
9883         * intl/dcigettext.c: Switch to gettext copyright.
9884         Use ANSI definitions and prototypes.
9885         (INTDIV0_RAISES_SIGFPE): New define.
9886         Use gl_* locking primitives rather than __libc_* ones.
9887         Include eval-plural.h instead of plural-eval.c.
9888         Use __builtin_expect rather than __glibc_likely/unlikely.
9889         * intl/dcngettext.c: Switch to gettext copyright.
9890         Use ANSI definitions and prototypes.
9891         * intl/dgettext.c: Likewise.
9892         * intl/dngettext.c: Likewise.
9893         * intl/plural-eval.c: Renamed to...
9894         * intl/eval-plural.h: ...this.
9895         * intl/explodename.c: Switch to gettext copyright.
9896         Use ANSI definitions and prototypes.
9897         (_nl_explode_name): Use strchr instead of __rawmemchr.
9898         * intl/finddomain.c: Switch to gettext copyright.
9899         Use ANSI definitions and prototypes.
9900         Use gl_* locking primitives rather than __libc_* ones.
9901         (_nl_find_domain): Use malloc rather than alloca for
9902         allocation of temporary locale name.
9903         * intl/gettext.c: Switch to gettext copyright.
9904         Use ANSI definitions and prototypes.
9905         * intl/gettextP.h: Switch to gettext copyright.
9906         Use ANSI definitions and prototypes.
9907         Use gl_* locking primitives rather than __libc_* ones.
9908         * intl/gmo.h: Switch to gettext copyright.
9909         (struct sysdep_string): Move struct segment_pair outside of
9910         struct definition.
9911         * intl/hash-string.c: Use ANSI definitions and prototypes.
9912         * intl/hash-string.h: Switch to gettext copyright.
9913         Use ANSI definitions and prototypes.
9914         * intl/l10nflist.c: Switch to gettext copyright.
9915         Use ANSI definitions and prototypes.
9916         (_nl_normalize_codeset): Avoid integer overflow.
9917         * intl/loadinfo.h: Switch to gettext copyright.
9918         Use ANSI definitions and prototypes.
9919         (LIBINTL_DLL_EXPORTED): New define.
9920         (PATH_SEPARATOR): New define.
9921         * intl/loadmsgcat.c: Switch to gettext copyright.
9922         * intl/localealias.c: Switch to gettext copyright.
9923         Use ANSI definitions and prototypes.
9924         (_nl_expand_alias): Use PATH_SEPARATOR.
9925         * intl/ngettext.c: Switch to gettext copyright.
9926         Use ANSI definitions and prototypes.
9927         * intl/plural-exp.c: Likewise.
9928         * intl/plural-exp.h: Switch to gettext copyright.
9929         Use ANSI definitions and prototypes.
9930         (struct expression): Move definition of enum operator outside
9931         of struct definition.
9932         * intl/plural.c: Regenerate.
9933         * intl/plural.y: Switch to gettext copyright.
9934         Use ANSI definitions and prototypes.
9935         Port to bison 3.0.
9936         * intl/textdomain.c: Switch to gettext copyright.
9937         Use ANSI definitions and prototypes.
9938         Use gl_* locking primitives rather than __libc_* ones.
9940 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
9942         * debug/warning-nop.c: Add used atrribute.
9944 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9946         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
9948         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
9949         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
9950         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
9952 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9953             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9955         [BZ #17634]
9956         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
9957         Undefine after defining function.  Define as weak alias of
9958         __wcschr.  Use libc_hidden_weak.
9959         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
9960         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
9961         (libc_hidden_def): Also define __GI___wcschr alias.
9962         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
9963         __wcschr and define as weak alias of __wcschr.
9964         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
9965         __wcschr.
9966         [!WCSCHR] (DEFAULT_WCSCHR): Define.
9967         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
9968         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
9969         libc_hidden_weak.  Do not use libc_hidden_def.
9970         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
9971         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
9972         __GI___wcschr alias.
9973         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
9974         [IS_IN (libc)] (wcschr): Define as macro expanding to
9975         __redirect_wcschr.
9976         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
9977         [IS_IN (libc)] (__wcschr_power6): Likewise.
9978         [IS_IN (libc)] (__wcschr_power7): Likewise.
9979         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
9980         instead of wcschr.
9981         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
9982         __libc_wcschr.
9983         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
9984         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
9985         __wcschr and define as weak alias of __wcschr.  Use
9986         libc_hidden_builtin_def.
9987         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
9988         as weak alias of __wcschr.  Use libc_hidden_weak.
9989         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
9990         wcschr.
9991         * time/era.c (_nl_init_era_entries): Likewise.
9992         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
9993         variable.
9994         (test-xfail-XPG3/time.h/linknamespace): Likewise.
9995         (test-xfail-XPG4/time.h/linknamespace): Likewise.
9997 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9999         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
10000         format for long int variable.
10002 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
10004         [BZ #10672]
10005         * manual/search.texi: (Array Sort Function): Remove claim how to make
10006         qsort stable.
10008 2014-12-10  Andreas Schwab  <schwab@suse.de>
10010         [BZ #12847]
10011         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
10012         user-controlled locks.
10014 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
10016         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
10017         register.
10019 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10021         * configure.ac (--disable-werror): New configure option.
10022         (enable_werror): New AC_SUBST.
10023         * configure: Regenerated.
10024         * config.make.in (enable-werror): New variable.
10025         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
10026         -Wno-error=undef.
10027         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
10028         * manual/install.texi (Configuring and compiling): Document
10029         --disable-werror.
10030         * INSTALL: Regenerated.
10031         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
10032         (CFLAGS-tst-chk2.c): Likewise.
10033         (CFLAGS-tst-chk3.c): Likewise.
10034         (CFLAGS-tst-chk4.cc): Likewise.
10035         (CFLAGS-tst-chk5.cc): Likewise.
10036         (CFLAGS-tst-chk6.cc): Likewise.
10037         (CFLAGS-tst-lfschk1.c): Likewise.
10038         (CFLAGS-tst-lfschk2.c): Likewise.
10039         (CFLAGS-tst-lfschk3.c): Likewise.
10040         (CFLAGS-tst-lfschk4.cc): Likewise.
10041         (CFLAGS-tst-lfschk5.cc): Likewise.
10042         (CFLAGS-tst-lfschk6.cc): Likewise.
10044         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
10045         (main): Disable -Wdeprecated-declarations around calls to
10046         register_printf_function.
10048         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
10049         (do_test): Disable -Wdiv-by-zero around some calls to
10050         fwrite_unlocked and fread_unlocked.
10052         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
10053         (DIAG_POP_NEEDS_COMMENT): Likewise.
10054         (_DIAG_STR1): Likewise.
10055         (_DIAG_STR): Likewise.
10056         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
10057         * stdio-common/bug21.c: Include <libc-internal.h>.
10058         (do_test): Disable -Wformat around call to sscanf.
10059         * stdio-common/scanf14.c: Include <libc-internal.h>.
10060         (main): Disable -Wformat around some calls to scanf functions.
10062 2014-12-09  Torvald Riegel  <triegel@redhat.com>
10064         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
10066 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10068         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
10069         stack variable alignment.
10071 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
10073         [BZ #17682]
10074         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
10075         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
10076         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
10077         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
10078         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
10079         __getrlimit instead of getrlimit.
10080         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
10081         __gettimeofday instead of gettimeofday.
10082         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10083         Likewise.
10084         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10085         Likewise.
10086         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10087         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
10088         Remove variable.
10089         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10090         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10092 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10094         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
10095         for wide-character tests.
10097 2014-12-04  Roland McGrath  <roland@hack.frob.com>
10099         * io/openat64.c: #include <libc-internal.h>
10100         (__openat64): Prototypify.  Use ignore_value on MODE.
10101         * io/openat.c: Likewise.
10102         * misc/reboot.c: #include <libc-internal.h>
10103         (reboot): Prototypify.  Use ignore_value on HOWTO.
10104         * misc/ptrace.c: #include <libc-internal.h>
10105         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
10107 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
10109         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
10110         XPG4, UNIX98 and XOPEN2K.
10111         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
10112         Remove variable.
10113         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10115 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10117         * libio/fileops.c: Use ISO C style for function definitions.
10118         * libio/iofopen.c: Likewise.
10119         * libio/wfileops.c: Likewise.
10121         [BZ #17653]
10122         * libio/fileops.c (_IO_new_file_underflow): Unset cached
10123         offset on EOF.
10124         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
10125         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
10126         (fgets_func): Function pointer to fgets and fgetws.
10127         (do_ftell_test): Add test to verify ftell value after read
10128         EOF.
10129         (do_test): Set fgets_func.
10131         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
10132         O_TRUNC flag for w and w+ modes.
10133         (do_rewind_test): Likewise.
10134         (do_ftell_test): Likewise.
10135         (do_write_test): Likewise.
10137         [BZ #17647]
10138         * libio/fileops.c (do_ftell): Seek only when there are
10139         unflushed writes.
10140         * libio/wfileops.c (do_ftell_wide): Likewise.
10141         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
10142         test case.
10143         (do_one_test): Call it.
10145 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
10147         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
10148         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
10149         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
10150         Remove variable.
10151         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10152         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10153         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10155 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10157         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
10158         Remove variable.
10159         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10161         [BZ #17668]
10162         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
10163         as weak alias of __getifaddrs.  Use libc_hidden_weak.
10164         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10165         __freeifaddrs.  Use libc_hidden_weak.
10166         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
10167         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
10168         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10169         __freeifaddrs.  Use libc_hidden_weak.
10170         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
10171         __getifaddrs and define as weak alias of __getifaddrs.  Use
10172         libc_hidden_weak.
10173         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10174         __freeifaddrs.  Use libc_hidden_weak.
10175         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
10176         Remove variable.
10177         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10178         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10180 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
10182         [BZ #17601]
10183         * sysdeps/mips/start.S (__start): Use indirect jump to call
10184         __libc_start_main.
10186 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10188         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
10190         * nptl/tst-mutex1.c: Include <stdbool.h>.
10191         [!ATTR] (ATTR_NULL): New macro.
10192         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
10193         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
10194         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
10196         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
10197         to char *.
10199         [BZ #17665]
10200         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
10201         Change conditional to [__USE_MISC].
10203         [BZ #17664]
10204         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
10205         fgets_unlocked.
10206         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
10207         __fgets_unlocked.
10208         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
10209         fgets_unlocked.
10210         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
10211         Remove variable.
10212         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10213         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10214         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10215         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10216         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10217         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10218         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10219         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10220         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10222         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
10224 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10226         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10227         Remove strpbrk objects.
10228         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10229         (__libc_ifunc_impl_list): Remove strpbrk implementation.
10230         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
10231         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
10232         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
10233         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
10235         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10236         Remove strcspn objects.
10237         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10238         (__libc_ifunc_impl_list): Remove strcspn implementation.
10239         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
10240         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
10241         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
10242         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
10244         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10245         Remove strspn objetcs.
10246         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10247         (__libc_ifunc_impl_list): Remove strspn implementation.
10248         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
10249         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10250         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
10251         * sysdeps/powerpc/powerpc64/strspn.S: New file.
10253 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
10255         [BZ #17581]
10256         * malloc/hooks.c
10257         (mem2mem_check): Add a terminator to the chain of checking blocks.
10258         (malloc_check_get_size): Use it here.
10259         (mem2chunk_check): Ditto.
10261 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10263         * sysdeps/powerpc/powerpc64/strtok.S: New file.
10264         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
10266 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
10268         * bits/ioctl-types.h: Indent preprocessor directives correctly.
10270         * nptl/nptl-init.c: Include libc-internal.h.
10271         (__pthread_initialize_minimal_internal): Use ROUND_UP.
10273         * elf/ldconfig.c (search_dir): Expand comment.
10275 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
10277         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
10278         variable.
10279         (linknamespace-symlist-stdlibs-tests): Likewise.
10280         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
10281         instead of $(objpfx)symlist-stdlibs.
10282         (linknamespace-libs-isoc): New variable.
10283         (linknamespace-libs): Use $(linknamespace-libs-isoc).
10284         (linknamespace-libs-ISO): New variable.
10285         (linknamespace-libs-ISO99): Likewise.
10286         (linknamespace-libs-ISO11): Likewise.
10287         (linknamespace-libs-XPG3): Likewise.
10288         (linknamespace-libs-XPG4): Likewise.
10289         (linknamespace-libs-POSIX): Likewise.
10290         (linknamespace-libs-UNIX98): Likewise.
10291         (linknamespace-libs-XOPEN2K): Likewise.
10292         (linknamespace-libs-POSIX2008): Likewise.
10293         (linknamespace-libs-XOPEN2K8): Likewise.
10294         ($(objpfx)symlist-stdlibs): Replace by
10295         $(linknamespace-symlist-stdlibs-tests).  Use
10296         $(linknamespace-libs-$*) as set of libraries.
10297         ($(linknamespace-header-tests)): Update dependencies.  Use
10298         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
10299         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
10300         * conform/linknamespace.pl: Remove comment about considering
10301         definitions of symbols from irrelevant libraries.
10303 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
10305         [BZ #13862]
10306         * elf/dl-tls.c: Include <atomic.h>.
10307         (oom): Remove #ifdef SHARED/#endif.
10308         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
10309         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
10310         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
10311         big enough.
10312         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
10313         * nptl/Makefile (tests): Add tst-stack4.
10314         (modules-names): Add tst-stack4mod.
10315         ($(objpfx)tst-stack4): New.
10316         (tst-stack4mod.sos): Likewise.
10317         ($(objpfx)tst-stack4.out): Likewise.
10318         ($(tst-stack4mod.sos)): Likewise.
10319         (clean): Likewise.
10320         * nptl/tst-stack4.c: New file.
10321         * nptl/tst-stack4mod.c: Likewise.
10323 2014-11-27  J. Brown  <jb999@gmx.de>
10325         * sysdeps/x86/bits/string.h: Add recent CPUs.
10327 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
10329         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
10330         sigblock.
10332         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
10333         feof.
10335         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
10336         variable.
10338 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
10340         * nscd/connections.c: Include libc-internal.h because of macro
10341         usage ignore_value.
10343 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10345         * string/bits/string3.h (__warn_memset_zero_len): Don't
10346         declare for gcc newer than 5.0.
10347         (memset): Don't test for zero-length __LEN for gcc newer than
10348         5.0.
10350 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
10352         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
10353         size_t for %zu format.
10355         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
10356         difference, not %ju.
10358 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
10360         * include/libc-internal.h (ignore_value): New macro.
10361         * nscd/connections.c (restart): Wrap calls to setuid and setgid
10362         with ignore_value.
10364         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
10365         definition.
10367         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
10368         pthread_cleanup_push to void *.
10370         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
10371         Undefine.
10373         [BZ #16619]
10374         [BZ #16740]
10375         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
10376         instead of 1L << 52.
10378         * libio/bug-rewind.c (do_test): Check fwscanf return values.
10379         * libio/bug-rewind2.c (do_test): Likewise.
10381         * debug/test-stpcpy_chk-ifunc.c: Remove file.
10382         * debug/test-strcpy_chk-ifunc.c: Likewise.
10383         * wcsmbs/test-wcschr-ifunc.c: Likewise.
10384         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
10385         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
10386         * wcsmbs/test-wcslen-ifunc.c: Likewise.
10387         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
10388         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
10389         * Rules [$(multi-arch) = no] (tests): Do not filter out
10390         $(tests-ifunc).
10391         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
10392         * debug/Makefile (tests-ifunc): Remove variable.
10393         (tests): Do not add $(tests-ifunc).
10394         * wcsmbs/Makefile (tests-ifunc): Remove variable.
10395         (tests): Do not add $(tests-ifunc).
10396         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
10397         [TEST_IFUNC]: Remove conditionals.
10398         * string/test-string.h (TEST_IFUNC): Remove macro.
10399         [TEST_IFUNC]: Remove conditionals.
10401         * string/test-strchr.c [!WIDE] (L): New macro.
10402         [WIDE] (L): Likewise.
10403         (check1): Use CHAR instead of char.  Use L on string and character
10404         constants.
10406 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
10408         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
10409         tests.
10410         * sysdeps/powerpc/bits/atomic.h
10411         (__arch_atomic_exchange_and_add_32_acq): Add definition.
10412         (__arch_atomic_exchange_and_add_32_rel): Likewise.
10413         (atomic_exchange_and_add_acq): Likewise.
10414         (atomic_exchange_and_add_rel): Likewise.
10415         * sysdeps/powerpc/powerpc32/bits/atomic.h
10416         (__arch_atomic_exchange_and_add_64_acq): Add definition.
10417         (__arch_atomic_exchange_and_add_64_rel): Likewise.
10418         * sysdeps/powerpc/powerpc64/bits/atomic.h
10419         (__arch_atomic_exchange_and_add_64_acq): Add definition.
10420         (__arch_atomic_exchange_and_add_64_rel): Likewise.
10422 2014-11-26  Torvald Riegel  <triegel@redhat.com>
10424         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
10425         Change synchronization of __sched_fifo_min_prio and
10426         __sched_fifo_max_prio.
10427         * nptl/pthread_mutexattr_getprioceiling.c
10428         (pthread_mutexattr_getprioceiling): Likewise.
10429         * nptl/pthread_mutexattr_setprioceiling.c
10430         (pthread_mutexattr_setprioceiling): Likewise.
10431         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
10432         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
10433         Likewise.
10435 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
10437         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
10438         void.
10440 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
10442         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
10443         third argument const.
10445 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
10447         fnmatch: work around GCC compiler warning bug with uninit var
10448         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
10449         This works around a bug with x86-64 GCC 4.9.2 and earlier
10450         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
10451         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
10452         used uninitialized in this function [-Wmaybe-uninitialized]".
10454 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
10456         * posix/bug-regex31.c (main): Return RES not 0.
10458 2014-11-25  Anton Blanchard <anton@samba.org>
10460         * sysdeps/powerpc/bits/atomic.h
10461         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
10463 2014-11-24  Sterling Augustine  <saugustine@google.com>
10465         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
10467 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
10469         [BZ #17608]
10470         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
10472 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
10474         [BZ #17633]
10475         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
10476         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
10477         variable.
10478         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10479         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10481 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
10483         * string/strncpy.c (strncpy): Improve performance by using memset.
10485 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
10487         * string/strcpy.c (strcpy):
10488         Improve performance by using strlen and memcpy.
10490 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
10492         * string/strcoll_l.c (get_next_seq): __always_inline.
10493         * string/strcoll_l.c (do_compare): __always_inline.
10495 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10497         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
10498         defined.
10499         * include/mqueue.h: Likewise.
10500         * include/stdlib.h: Likewise.
10502         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
10503         (get_null_defines): Adjust.
10504         * sunrpc/Makefile: Adjust comment.
10505         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
10506         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
10507         (CFLAGS-interp.c): Likewise.
10508         (CFLAGS-ldconfig.c): Likewise.
10509         (CPPFLAGS-.os): Likewise.
10510         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10511         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
10512         * extra-modules.mk (extra-modules.mk): Likewise.
10513         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
10514         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
10515         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
10516         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
10517         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
10518         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
10519         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
10520         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
10521         * iconvdata/Makefile (CPPFLAGS): Likewise.
10522         (cpp-srcs-left): Add libof for all iconvdata routines.
10523         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
10524         * include/assert.h: Likewise.
10525         * include/ctype.h: Likewise.
10526         * include/errno.h: Likewise.
10527         * include/libc-symbols.h: Likewise.
10528         * include/math.h: Likewise.
10529         * include/netdb.h: Likewise.
10530         * include/resolv.h: Likewise.
10531         * include/stdio.h: Likewise.
10532         * include/stdlib.h: Likewise.
10533         * include/string.h: Likewise.
10534         * include/sys/stat.h: Likewise.
10535         * include/wctype.h: Likewise.
10536         * intl/l10nflist.c: Likewise.
10537         * libidn/idn-stub.c: Likewise.
10538         * libio/libioP.h: Likewise.
10539         * nptl/libc_multiple_threads.c: Likewise.
10540         * nptl/pthreadP.h: Likewise.
10541         * posix/regex_internal.h: Likewise.
10542         * resolv/res_hconf.c: Likewise.
10543         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
10544         * sysdeps/arm/memmove.S: Likewise.
10545         * sysdeps/arm/sysdep.h: Likewise.
10546         * sysdeps/generic/_itoa.h: Likewise.
10547         * sysdeps/generic/symbol-hacks.h: Likewise.
10548         * sysdeps/gnu/errlist.awk: Likewise.
10549         * sysdeps/gnu/errlist.c: Likewise.
10550         * sysdeps/i386/i586/memcpy.S: Likewise.
10551         * sysdeps/i386/i586/memset.S: Likewise.
10552         * sysdeps/i386/i686/memcpy.S: Likewise.
10553         * sysdeps/i386/i686/memmove.S: Likewise.
10554         * sysdeps/i386/i686/mempcpy.S: Likewise.
10555         * sysdeps/i386/i686/memset.S: Likewise.
10556         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10557         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10558         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
10559         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
10560         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10561         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10562         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
10563         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10564         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10565         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10566         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10567         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10568         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10569         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10570         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10571         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10572         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
10573         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
10574         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
10575         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10576         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10577         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10578         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10579         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10580         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10581         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10582         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
10583         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10584         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
10585         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10586         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10587         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10588         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10589         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10590         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10591         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10592         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10593         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10594         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10595         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10596         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10597         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10598         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10599         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10600         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10601         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10602         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
10603         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
10604         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10605         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10606         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10607         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
10608         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
10609         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10610         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10611         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
10612         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10613         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
10614         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
10615         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10616         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10617         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10618         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
10619         * sysdeps/nptl/bits/libc-lock.h: Likewise.
10620         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
10621         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
10622         * sysdeps/posix/closedir.c: Likewise.
10623         * sysdeps/posix/opendir.c: Likewise.
10624         * sysdeps/posix/readdir.c: Likewise.
10625         * sysdeps/posix/rewinddir.c: Likewise.
10626         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
10627         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
10628         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10629         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10630         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10631         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
10632         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
10633         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
10634         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
10635         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
10636         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
10637         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
10638         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
10639         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
10640         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
10641         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
10642         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
10643         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
10644         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
10645         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
10646         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
10647         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
10648         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
10649         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
10650         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
10651         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
10652         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
10653         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
10654         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
10655         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
10656         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
10657         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
10658         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
10659         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
10660         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
10661         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
10662         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10663         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10664         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
10665         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
10666         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
10667         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
10668         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
10669         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
10670         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
10671         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
10672         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
10673         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
10674         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
10675         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
10676         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
10677         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
10678         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
10679         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
10680         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
10681         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
10682         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
10683         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
10684         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
10685         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
10686         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
10687         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
10688         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
10689         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
10690         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
10691         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
10692         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
10693         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
10694         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
10695         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
10696         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
10697         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
10698         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
10699         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
10700         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
10701         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
10702         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
10703         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
10704         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10705         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
10706         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
10707         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10708         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
10709         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
10710         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10711         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
10712         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
10713         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
10714         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
10715         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10716         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
10717         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
10718         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
10719         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
10720         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10721         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
10722         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
10723         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10724         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
10725         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
10726         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10727         * sysdeps/unix/alpha/sysdep.S: Likewise.
10728         * sysdeps/unix/alpha/sysdep.h: Likewise.
10729         * sysdeps/unix/make-syscalls.sh: Likewise.
10730         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10731         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10732         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10733         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
10734         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10735         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
10736         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
10737         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10738         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10739         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
10740         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10741         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10742         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10743         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10744         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10745         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10746         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10747         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10748         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
10749         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10750         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
10751         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10752         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10753         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10754         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10755         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10756         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
10758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
10759         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
10760         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10761         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10762         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10763         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10764         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10765         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10766         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10767         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10768         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10769         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
10770         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10771         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10772         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10773         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
10774         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10775         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10776         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10777         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10778         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10779         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10780         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10781         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10782         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10783         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10784         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
10785         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10786         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10787         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10788         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
10789         * sysdeps/x86_64/memcpy.S: Likewise.
10790         * sysdeps/x86_64/memmove.c: Likewise.
10791         * sysdeps/x86_64/memset.S: Likewise.
10792         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
10793         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10794         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10795         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
10796         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
10797         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10798         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10799         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10800         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10801         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10802         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10803         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10804         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
10805         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10806         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10807         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
10808         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10809         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10810         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10811         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10812         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
10813         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10814         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10815         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10816         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10817         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10818         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10819         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
10820         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10821         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10822         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
10823         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10824         * sysdeps/x86_64/strcmp.S: Likewise.
10826         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
10828         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
10829         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
10830         * elf/rtld-Rules: Likewise.
10831         * elf/setup-vdso.h: Likewise.
10832         * include/assert.h: Likewise.
10833         * include/bits/stdlib-float.h: Likewise.
10834         * include/errno.h: Likewise.
10835         * include/sys/stat.h: Likewise.
10836         * include/unistd.h: Likewise.
10837         * sysdeps/aarch64/setjmp.S: Likewise.
10838         * sysdeps/alpha/setjmp.S: Likewise.
10839         * sysdeps/arm/__longjmp.S: Likewise.
10840         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
10841         * sysdeps/arm/setjmp.S: Likewise.
10842         * sysdeps/arm/sysdep.h: Likewise.
10843         * sysdeps/generic/_itoa.h: Likewise.
10844         * sysdeps/generic/dl-sysdep.h: Likewise.
10845         * sysdeps/generic/ldsodefs.h: Likewise.
10846         * sysdeps/i386/dl-tls.h: Likewise.
10847         * sysdeps/i386/setjmp.S: Likewise.
10848         * sysdeps/m68k/setjmp.c: Likewise.
10849         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
10850         * sysdeps/mach/hurd/opendir.c: Likewise.
10851         * sysdeps/posix/getcwd.c: Likewise.
10852         * sysdeps/posix/opendir.c: Likewise.
10853         * sysdeps/posix/profil.c: Likewise.
10854         * sysdeps/powerpc/dl-procinfo.h: Likewise.
10855         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10856         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10857         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10858         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10859         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
10860         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
10861         * sysdeps/s390/dl-tls.h: Likewise.
10862         * sysdeps/s390/s390-32/setjmp.S: Likewise.
10863         * sysdeps/s390/s390-64/setjmp.S: Likewise.
10864         * sysdeps/sh/sh3/setjmp.S: Likewise.
10865         * sysdeps/sh/sh4/setjmp.S: Likewise.
10866         * sysdeps/unix/alpha/sysdep.h: Likewise.
10867         * sysdeps/unix/arm/sysdep.S: Likewise.
10868         * sysdeps/unix/i386/sysdep.S: Likewise.
10869         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10870         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10871         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10872         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10873         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10874         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10875         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
10876         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10877         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10878         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
10879         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
10880         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10881         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10884         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10885         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10886         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10887         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10888         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10889         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10890         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10891         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10892         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10893         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10894         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10895         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10896         * sysdeps/unix/x86_64/sysdep.S: Likewise.
10897         * sysdeps/x86_64/setjmp.S: Likewise.
10899         * include/math.h: Use IS_IN instead of IS_IN_libm.
10900         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
10901         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10902         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10903         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10904         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10905         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10906         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10907         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10908         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10909         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10910         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
10911         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
10912         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
10913         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
10914         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
10915         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
10916         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
10917         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
10918         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
10919         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
10920         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
10921         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
10922         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
10923         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
10924         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
10925         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
10926         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
10927         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
10928         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
10929         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
10930         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
10931         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10932         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
10933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
10934         Likewise.
10935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
10936         Likewise.
10937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
10938         Likewise.
10939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
10940         Likewise.
10941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
10942         Likewise.
10943         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10944         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
10945         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10946         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10947         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10948         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
10950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
10951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
10952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
10953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
10954         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
10955         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
10956         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
10957         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
10958         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
10959         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
10960         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
10961         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
10962         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10963         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
10964         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
10965         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
10966         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
10967         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
10968         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10969         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
10971         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
10972         * nptl/pthreadP.h: Likewise.
10973         * nptl_db/structs.def: Likewise.
10974         * sysdeps/arm/sysdep.h: Likewise.
10975         * sysdeps/nptl/bits/libc-lock.h: Likewise.
10976         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
10977         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
10978         * sysdeps/unix/alpha/sysdep.h: Likewise.
10979         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10980         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10981         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10982         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10983         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10984         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10985         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10986         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10987         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10988         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10989         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10990         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10991         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10992         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
10994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
10995         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10996         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10997         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10998         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10999         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11000         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11001         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11002         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11003         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11004         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11006         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
11007         * nptl/pthreadP.h: Likewise.
11008         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11009         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11010         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11011         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11012         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11013         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11014         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11015         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11016         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11017         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11018         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11019         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11021         Likewise.
11022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11023         Likewise.
11024         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11025         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11026         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11027         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11028         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11029         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11030         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11031         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11033         * dlfcn/dladdr.c: Use IS_IN.
11034         * dlfcn/dladdr1.c: Likewise.
11035         * dlfcn/dlclose.c: Likewise.
11036         * dlfcn/dlerror.c: Likewise.
11037         * dlfcn/dlinfo.c: Likewise.
11038         * dlfcn/dlmopen.c: Likewise.
11039         * dlfcn/dlopen.c: Likewise.
11040         * dlfcn/dlsym.c: Likewise.
11041         * dlfcn/dlvsym.c: Likewise.
11043         * include/ifaddrs.h: Use IS_IN.
11044         * inet/check_pf.c: Likewise.
11045         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11046         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
11048         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
11049         IS_IN_ldconfig.
11050         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
11051         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
11053         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
11054         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
11055         IS_IN (libc).
11057         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
11059         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
11060         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11061         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11062         * include/libc-symbols.h (IS_IN_LIB): New macro.
11063         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
11064         * include/netdb.h: Likewise.
11065         * include/stap-probe.h: Remove all uses of IN_LIB.
11067         * Makeconfig (module-cppflags-real): Define MODULE_NAME
11068         instead of IN_MODULE.
11069         * include/libc-symbols.h (IN_MODULE): Define using
11070         MODULE_NAME.
11071         (PASTE_NAME, PASTE_NAME1): New macros.
11072         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
11073         of IN_LIB.
11074         (STAP_PROBE_ASM): Likewise.
11076 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11078         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
11079         __mach_init in dlopened libc.
11081 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
11083         * sysdeps/arm/preconfigure.ac: Delete EABI check.
11084         * sysdeps/arm/preconfigure: Regenerate.
11086 2014-11-21  Roland McGrath  <roland@hack.frob.com>
11088         * nptl/pthread_create.c (__pthread_create_2_1): Set
11089         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
11090         when copying values from IATTR into PD.
11092 2014-11-21  Will Newton  <will.newton@linaro.org>
11093             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
11095         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
11096         Refactor inline-asm.  Also add comment.
11098         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
11099         ElfW macro instead of hardcoded Elf64 types.
11100         (la_aarch64_gnu_pltenter): Likewise.
11101         * sysdeps/aarch64/dl-machine.h
11102         (elf_machine_runtime_setup): Use ElfW(Addr).
11104         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
11105         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
11106         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
11107         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
11108         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
11109         (R_AARCH64_TLS_DTPMOD64): Rename to ..
11110         (R_AARCH64_TLS_DTPMOD): This.
11111         (R_AARCH64_TLS_DTPREL64): Rename to ...
11112         (R_AARCH64_TLS_DTPREL): This.
11113         (R_AARCH64_TLS_TPREL64): Rename to ...
11114         (R_AARCH64_TLS_TPREL): This.
11115         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
11116         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
11117         R_AARCH64_TLS_TPREL64.
11118         (elf_machine_rela): Likewise.
11120 2014-11-21  Torvald Riegel  <triegel@redhat.com>
11122         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
11123         by setting it to 0.  64b atomics are not supported currently.
11125 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11127         [BZ #16469]
11128         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
11129         search domain names.
11131 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11133         [BZ #16469]
11134         * NEWS: Update.
11135         * resolv/res_query.c (__libc_res_nquerydomain): Retain
11136         trailing dot.
11137         * posix/tst-getaddrinfo5.c: New.
11138         * posix/Makefile (tests): Add it.
11140 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11142         [BZ #14498]
11143         * NEWS: Fixed.
11144         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
11145         after parsing line but before break_if_match.
11146         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
11147         if there is a protocol mismatch.
11149 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
11151         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
11152         because the potential race is on the user-supplied stream.
11154 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11156         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
11157         string literal if not passed a buffer.
11158         * manual/job.texi (ctermid): Update reasoning, note deviation
11159         from posix, suggest mtasurace when not passed a buffer, for
11160         future non-preliminary safety notes.
11162 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11164         * manual/users.texi (cuserid): Fix MT-Safety note for the case
11165         of not passing it a buffer.
11166         Reported by Peng Haitao.
11168 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11170         * manual/Makefile ($(objpfx)stamp-summary): Require
11171         check-safety.sh to pass.
11172         * manual/check-safety.sh: Wish for verification that every
11173         @deftypefn and @deftypefun is followed by a @safety remark.
11175 2014-11-20  Roland McGrath  <roland@hack.frob.com>
11177         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
11179         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
11180         PTHREAD_CANCEL_ASYNCHRONOUS.
11181         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
11182         send SIGCANCEL.
11184         * nptl/default-sched.h: New file.
11185         * sysdeps/unix/sysv/linux/default-sched.h: New file.
11186         * nptl/pthread_create.c: Include it.
11187         (__pthread_create_2_1): Use collect_default_sched instead of making
11188         Linux syscalls here directly.
11190 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11192         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
11193         __pthread_once): Use C11 atomics.
11195 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11197         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
11199 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11201         * include/atomic.h (__atomic_link_error, __atomic_check_size,
11202         atomic_thread_fence_acquire, atomic_thread_fence_release,
11203         atomic_thread_fence_seq_cst, atomic_load_relaxed,
11204         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
11205         atomic_compare_exchange_weak_relaxed,
11206         atomic_compare_exchange_weak_acquire,
11207         atomic_compare_exchange_weak_release,
11208         atomic_exchange_acquire, atomic_exchange_release,
11209         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
11210         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
11211         atomic_fetch_and_acquire,
11212         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
11214 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11216         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
11217         USE_ATOMIC_COMPILER_BUILTINS): Define.
11218         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
11219         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11220         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
11221         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11222         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
11223         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11224         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
11225         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11226         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
11227         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11228         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
11229         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11230         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
11231         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11232         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
11233         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11234         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11235         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11236         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11237         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11238         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
11239         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11240         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11241         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11242         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
11243         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11244         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11245         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11246         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
11247         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11248         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
11249         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11250         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
11251         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11252         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
11253         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11254         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
11255         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11256         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
11257         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11259 2014-11-19  Roland McGrath  <roland@hack.frob.com>
11261         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
11262         the sched_priority value here.  It was already checked when the user
11263         called pthread_attr_setschedparam.
11265         * nptl/tst-bad-schedattr.c: New file.
11266         * nptl/Makefile (tests): Add it.
11268 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
11269             Florian Weimer  <fweimer@redhat.com>
11270             Joseph Myers  <joseph@codesourcery.com>
11271             Adam Conrad  <adconrad@0c3.net>
11272             Andreas Schwab  <schwab@suse.de>
11273             Brooks  <bmoses@google.com>
11275         [BZ #17625]
11276         * wordexp-test.c (__dso_handle): Add prototype.
11277         (__register_atfork): Likewise.
11278         (__app_register_atfork): New function.
11279         (registered_forks): New global.
11280         (register_fork): New function.
11281         (test_case): Add 3 new tests for WRDE_CMDSUB.
11282         (main): Call __app_register_atfork.
11283         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
11284         fork count is non-zero fail the test.
11285         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
11286         is set.
11287         (parse_dollars): Remove check for WRDE_NOCMD.
11288         (parse_dquote): Likewise.
11290 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11292         * Makeconfig (built-modules): List non-library modules to be
11293         built.
11294         (module-cppflags): Include libc-modules.h for
11295         everything except shlib-versions.v.i.
11296         (CPPFLAGS): Use it.
11297         (before-compile): Add libc-modules.h.
11298         ($(common-objpfx)libc-modules.h,
11299         $(common-objpfx)libc-modules.stmp): New targets.
11300         (common-generated): Add libc-modules.h and libc-modules.stmp.
11301         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
11302         * include/libc-symbols.h: Don't include libc-modules.h.
11303         * include/libc-modules.h: Remove file.
11304         * scripts/gen-libc-modules.awk: New script to generate
11305         libc-modules.h.
11306         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
11307         Depend on libc-modules.stmp.
11309         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
11311         * Makeconfig (in-module): Get value of libof set for the
11312         translation unit.
11313         (CPPFLAGS): Use $(in-module).
11314         * Makerules: Don't suffix routine names for nonlib.
11315         * include/libc-modules.h: New file.
11316         * include/libc-symbols.h: Include libc-modules.h
11317         (IS_IN): New macro to replace IS_IN_* macros.
11318         * elf/Makefile: Set libof-* for each routine.
11319         * elf/rtld-Rules: Likewise.
11320         * extra-modules.mk: Likewise.
11321         * iconv/Makefile: Likewise.
11322         * iconvdata/Makefile: Likewise.
11323         * locale/Makefile: Likewise.
11324         * malloc/Makefile: Likewise.
11325         * nss/Makefile: Likewise.
11326         * sysdeps/gnu/Makefile: Likewise.
11327         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
11328         * sysdeps/unix/sysv/linux/Makefile: Likewise.
11329         * sysdeps/s390/s390-64/Makefile: Likewise.
11330         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
11331         CPPFLAGS for nscd instead of nonlib.
11333 2014-11-18  Roland McGrath  <roland@hack.frob.com>
11335         * nptl/createthread.c: New file.
11337         * nptl/createthread.c: Moved ...
11338         * sysdeps/unix/sysv/linux/createthread.c: ... here.
11340         * nptl/createthread.c: Add proper top-line comment.
11341         (do_clone): Folded into ...
11342         (create_thread): ... here.  Take new arguments STOPPED_START and
11343         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
11344         increment __nptl_threads, do event-reporting logic, do
11345         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
11346         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
11347         resource cleanup if sched_setaffinity or sched_setscheduler fails,
11348         just send SIGCANCEL.
11349         * nptl/pthread_create.c: Forward-declare create_thread before
11350         including createthread.c.
11351         (start_thread): Use new macro START_THREAD_DEFN to replace defining
11352         declaration, and new macro START_THREAD_SELF to replace argument.
11353         Remove return statement.
11354         (report_thread_creation): New function.
11355         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
11356         synchronization logic, and __nptl_nthreads increment here, around
11357         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
11358         PD->parent_cancelhandling here, before create_thread.  When
11359         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
11360         __deallocate_stack, and ENOMEM translation here.
11362 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
11364         [BZ #17616]
11365         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
11366         (mptwo): Rename to __mptwo.
11367         (__inv): Use __mptwo instead of mptwo.
11368         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
11369         (mptwo): Rename to __mptwo.
11370         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
11371         of mpone and __mptwo instead of mptwo.
11372         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
11373         instead of mpone.
11374         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11375         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
11376         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
11377         of mpone and __mptwo instead of mptwo.
11378         (__mpranred): Use __mpone instead of mpone.
11379         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
11380         variable.
11381         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
11382         (test-xfail-ISO99/math.h/linknamespace): Likewise.
11383         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
11384         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
11385         (test-xfail-ISO11/math.h/linknamespace): Likewise.
11386         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
11387         (test-xfail-XPG3/math.h/linknamespace): Likewise.
11388         (test-xfail-XPG4/math.h/linknamespace): Likewise.
11389         (test-xfail-POSIX/math.h/linknamespace): Likewise.
11390         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
11391         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
11392         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
11393         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
11394         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
11395         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
11396         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
11397         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
11398         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
11399         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
11401 2014-11-18  Tom de Vries  <tom@codesoucery.com>
11403         * manual/signal.texi (Primitives Interrupted by Signals): In section,
11404         replace BSD Handler xref with BSD Signal Handling.
11406 2014-11-17  Richard Henderson  <rth@redhat.com>
11408         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
11409         (_FP_PACK_RAW_2): Remove.
11410         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
11411         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
11412         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
11413         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
11414         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
11415         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
11416         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
11417         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
11418         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
11419         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
11420         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
11421         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
11422         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
11423         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
11424         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
11425         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
11427 2014-11-14  Roland McGrath  <roland@hack.frob.com>
11429         * signal/signal.h [__USE_MISC]
11430         (struct sigvec): Remove type.
11431         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
11432         (sigvec): Remove declaration.
11433         * sysdeps/posix/sigvec.c: Moved ...
11434         * signal/sigvec.c: ... here, replacing old file.
11435         (struct sigvec): New type, copied from old signal.h definition.
11436         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
11437         (__sigvec): Convert definition to prototype.
11438         (sigvec): Replace weak_alias with compat_symbol.
11439         * signal/Versions (libc: GLIBC_2.21): New version set.
11440         * include/signal.h: Remove __sigvec declaration.
11441         * sysdeps/unix/bsd/sigvec.c: Remove file.
11442         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
11443         * manual/signal.texi (BSD Handler): Remove subsection.
11444         Move siginterrupt up to ...
11445         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
11446         (Blocking in BSD): Fold subsection into its parent.
11447         * NEWS: Mention sigvec removal.
11449 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
11451         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
11452         (DLA_FMS): Make definition conditional only on [__FMA4__].
11453         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
11454         definition.
11456         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
11457         Make definition conditional only on [PROF].
11458         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
11459         definition.
11460         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
11461         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
11463         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
11464         !__GNUC__].
11465         * include/signal.h (__sigpause): Move declaration above call to
11466         libc_hidden_proto.
11467         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
11468         variable.
11469         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
11470         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
11472 2014-11-14  David S. Miller  <davem@davemloft.net>
11474         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
11475         Define before including <string/memcpy.c> and <string/mempcpy.c>.
11477 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
11479         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
11480         * configure: Regenerated.
11481         * manual/install.texi (Tools for Compilation): Document a
11482         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
11483         compiler verified to work.
11484         * INSTALL: Regenerated.
11486         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
11487         redeclare with asm name.
11488         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
11489         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
11490         including <string.h>.
11491         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11492         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
11493         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11494         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
11495         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11496         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
11497         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11499 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
11501         * stdlib/strtol.c (__strtol): Use prototype definition.
11503         [BZ #17594]
11504         * stdlib/strtol.c (SYM__): New macro.
11505         (SYM__1): Likewise.
11506         (__strtol): Likewise.
11507         (strtol): Rename to __strtol and define as weak alias of
11508         __strtol.  Use libc_hidden_weak.
11510 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11512         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
11513         Use numbered labels in inline assembly.
11515 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11517         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
11518         Add setjmp LIBC_PROBE.
11519         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
11520         Likewise.
11521         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
11522         Add longjmp, longjmp_target LIBC_PROBE.
11523         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
11524         Likewise.
11526 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11528         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11529         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
11530         to get rid of unused variable warning.
11532 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11534         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
11535         Check for unwind_backtrace ==  NULL only in SHARED case.
11536         (__backchain_backtrace): Compile only in SHARED case.
11537         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
11538         Likewise.
11539         (__backchain_backtrace): Declare as static.
11541 2014-11-12  Roland McGrath  <roland@hack.frob.com>
11543         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
11544         (__libc_multiple_threads_ptr): Variable moved ...
11545         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
11547 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
11549         * conform/GlibcConform.pm: New file.
11550         * conform/conformtest.pl: Use GlibcConform module.
11551         * conform/linknamespace.pl: New file.
11552         * conform/list-header-symbols.pl: Likewise.
11553         * conform/Makefile (linknamespace-symlists-base): New variable.
11554         (linknamespace-symlists-tests): Likewise.
11555         (linknamespace-header-base): Likewise.
11556         (linknamespace-header-tests): Likewise.
11557         (tests-special): Add new tests.
11558         ($(linknamespace-symlists-tests)): New rule.
11559         (linknamespace-libs): New variable.
11560         ($(objpfx)symlist-stdlibs): New rule.
11561         ($(linknamespace-header-tests)): Likewise.
11562         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
11563         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
11564         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
11565         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
11566         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
11567         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
11568         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
11569         (test-xfail-ISO/math.h/linknamespace): Likewise.
11570         (test-xfail-ISO/signal.h/linknamespace): Likewise.
11571         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
11572         (test-xfail-ISO/time.h/linknamespace): Likewise.
11573         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
11574         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
11575         (test-xfail-ISO99/math.h/linknamespace): Likewise.
11576         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
11577         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
11578         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
11579         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
11580         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
11581         (test-xfail-ISO11/math.h/linknamespace): Likewise.
11582         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
11583         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
11584         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
11585         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
11586         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
11587         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
11588         (test-xfail-XPG3/math.h/linknamespace): Likewise.
11589         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
11590         (test-xfail-XPG3/search.h/linknamespace): Likewise.
11591         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
11592         (test-xfail-XPG3/time.h/linknamespace): Likewise.
11593         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
11594         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
11595         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
11596         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
11597         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
11598         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
11599         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
11600         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
11601         (test-xfail-XPG4/math.h/linknamespace): Likewise.
11602         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
11603         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
11604         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
11605         (test-xfail-XPG4/search.h/linknamespace): Likewise.
11606         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
11607         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
11608         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
11609         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
11610         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
11611         (test-xfail-XPG4/time.h/linknamespace): Likewise.
11612         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
11613         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
11614         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
11615         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
11616         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
11617         (test-xfail-POSIX/math.h/linknamespace): Likewise.
11618         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
11619         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
11620         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
11621         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
11622         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
11623         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
11624         (test-xfail-POSIX/time.h/linknamespace): Likewise.
11625         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
11626         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
11627         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
11628         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
11629         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
11630         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
11631         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
11632         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
11633         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
11634         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
11635         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
11636         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
11637         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
11638         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
11639         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
11640         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
11641         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
11642         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
11643         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
11644         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
11645         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
11646         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
11647         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
11648         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
11649         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
11650         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
11651         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
11652         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
11653         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
11654         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
11655         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
11656         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
11657         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
11658         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
11659         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
11660         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
11661         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
11662         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
11663         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
11664         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
11665         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
11666         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
11667         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
11668         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
11669         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
11670         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
11671         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
11672         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
11673         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
11674         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
11675         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
11676         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
11677         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
11678         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
11679         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
11680         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
11681         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
11682         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
11683         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
11684         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
11685         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
11686         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
11687         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
11688         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
11689         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
11690         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
11691         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
11692         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
11693         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
11694         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
11695         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
11696         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
11697         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
11698         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
11699         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
11700         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
11701         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
11702         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
11703         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
11704         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
11705         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
11706         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
11707         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
11708         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
11709         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
11710         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
11711         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
11712         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
11713         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
11714         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
11715         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
11716         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
11717         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
11718         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
11719         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
11720         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
11721         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
11722         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
11724         [BZ #17589]
11725         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
11726         of fgets_unlocked.
11728         [BZ #17585]
11729         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
11730         (memmem): Rename to __memmem and define as weak alias of
11731         __memmem.  Use libc_hidden_weak.
11732         (__memmem): Use libc_hidden_def.
11733         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
11734         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
11735         memmem.
11737         [BZ #17582]
11738         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
11739         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
11740         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
11741         and define as weak alias of __fgets_unlocked.  Use
11742         libc_hidden_weak.
11743         (__fgets_unlocked): Use libc_hidden_def.
11744         * include/stdio.h (__fgets_unlocked): Declare.  Use
11745         libc_hidden_proto.
11746         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
11747         __fgets_unlocked instead of fgets_unlocked.
11748         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
11749         (GET_NPROCS_CONF_PARSER): Likewise.
11750         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
11751         (GET_NPROCS_CONF_PARSER): Likewise.
11753         [BZ #17574]
11754         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
11755         weak alias of __wmemset.  Use libc_hidden_weak.
11756         (__wmemset): Use libc_hidden_def.
11757         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
11758         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
11759         of wmemset.
11761         [BZ #17573]
11762         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
11763         with asm name __mempcpy.
11764         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
11766         [BZ #17572]
11767         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
11768         and define as weak alias of __rawmemchr.
11769         (__rawmemchr): Do not define as strong alias of rawmemchr.
11771         [BZ #17571]
11772         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
11773         alias of __qsort_r.
11774         (qsort): Call __qsort_r instead of qsort_r.
11775         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
11776         (__qsort_r): Declare.  Call libc_hidden_proto.
11777         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
11778         instead of qsort_r.
11779         * nscd/gai.c (__qsort_r): Define to qsort_r.
11780         * posix/tst-rfc3484.c (__qsort_r): Likewise.
11781         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
11782         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
11784         [BZ #17570]
11785         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
11786         define as weak alias of __malloc_info.
11788         [BZ #17584]
11789         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
11790         as weak alias of __rewinddir.  Don't use libc_hidden_def.
11791         (__rewinddir): Use libc_hidden_def.
11792         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
11793         as weak alias of __rewinddir.  Don't use libc_hidden_def.
11794         (__rewinddir): Use libc_hidden_def.
11795         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
11796         weak alias of __rewinddir.  Don't use libc_hidden_def.
11797         (__rewinddir): Use libc_hidden_def.
11798         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
11799         (__rewinddir): Use libc_hidden_proto.
11800         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
11801         rewinddir.
11802         (__getcwd): Use __rewinddir instead of rewinddir.
11804         [BZ #17583]
11805         * libio/fileno.c (fileno): Rename to __fileno and define as weak
11806         alias of __fileno.  Use libc_hidden_weak.
11807         (__fileno): Use libc_hidden_def.
11808         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
11809         * libio/ftello.c (ftello): Rename to __ftello and define as weak
11810         alias of __ftello.
11811         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
11812         __ftello.
11813         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
11814         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
11815         libc_hidden_def.
11816         (fread_unlocked): Don't use libc_hidden_ver.
11817         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
11818         and define as weak alias of __fread_unlocked.  Don't use
11819         libc_hidden_def.
11820         (__fread_unlocked): Use libc_hidden_def.
11821         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
11822         (ftello): Don't use libc_hidden_proto.
11823         (__ftello): Declare.  Use libc_hidden_proto.
11824         (fread_unlocked): Don't use libc_hidden_proto.
11825         (__fread_unlocked): Declare.  Use libc_hidden_proto.
11826         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
11827         and __ftello instead of fileno, fread_unlocked and ftello.
11829 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11831         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
11832         GOT12.
11833         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
11834         Likewise.
11835         (_dl_start_user): Likewise.
11836         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
11838 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
11839             Siddhesh Poyarekar  <siddhesh@redhat.com>
11841         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
11842         Move argv and envp down instead of moving argc up.
11843         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
11845 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
11847         [BZ #17506]
11848         * test-skeleton.c (main): Return successful if one of
11849         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
11850         * string/tst-strcoll-overflow.c: Define expected status.
11852 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
11854         [BZ #17475]
11855         * locale/iso-639.def: Define Bhili and Tulu language codes.
11857 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
11859         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
11861 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
11863         [BZ #17555]
11864         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
11866 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
11868         * configure.ac: Updated check of minimal required version to
11869         2.22.
11870         * manual/install.texi (Tools for Compilation): Updated version
11871         number.
11872         * configure: Regenerated.
11873         * INSTALL: Likewise.
11875 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
11877         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
11878         __tls_get_addr.
11880 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
11882         * include/sys/wait.h (__libc_waitpid): Remove declaration.
11883         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
11884         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11885         libc_hidden_weak.
11886         (waitpid): Define as alias of __waitpid.
11887         * sysdeps/unix/bsd/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.
11892         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
11893         __libc_waitpid alias.
11894         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
11895         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
11896         Likewise.
11897         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
11898         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
11899         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
11900         alias.
11901         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
11902         __waitpid.
11903         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11904         libc_hidden_weak.
11905         (waitpid): Define as alias of __waitpid.
11907 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
11909         * manual/llio.texi: Add comment that write safety has been
11910         fixed in Linux.
11912         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
11913         (localplt-build-dso): Add elf/ld.so.
11914         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
11915         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
11916         and free for ld.so.
11917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
11918         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
11919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
11920         Likewise.
11921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11922         Likewise.
11923         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
11924         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
11925         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
11926         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
11927         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
11928         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
11929         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
11930         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
11931         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
11932         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
11933         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
11935 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
11937         [BZ #14132]
11938         * include/libc-symbols.h (INTUSE): Remove macro.
11939         (INTDEF): Likewise.
11940         (INTVARDEF): Likewise.
11941         (_INTVARDEF): Likewise.
11942         (INTDEF2): Likewise.
11943         (INTVARDEF2): Likewise.
11944         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
11945         rtld_hidden_def instead of INTVARDEF.
11946         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
11947         (_dl_starting_up_internal): Remove declaration.
11948         (_dl_starting_up): Use rtld_hidden_proto.
11949         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
11950         declaration.
11951         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
11952         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
11953         _dl_starting_up.
11954         * elf/dl-writev.h (_dl_writev): Likewise.
11955         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
11956         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
11957         _dl_starting_up_internal.
11959 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11961         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
11962         test-skeleton.c.
11964 2014-11-05  Will Newton  <will.newton@linaro.org>
11966         * benchtests/Makefile: (bench-malloc): Add malloc thread
11967         scalability benchmark.
11968         * benchtests/bench-malloc-threads.c: New file.
11970 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
11972         * sysdeps/aarch64/strchrnul.S: New file.
11974 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11976         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
11977         definition.
11978         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11979         Likwise.
11980         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11981         Likewise.
11982         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11983         Likewise.
11984         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11985         Likewise.
11986         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11987         Likewise.
11989 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
11991         * catgets/test-gencat.c: Use test-skeleton.c.
11992         * catgets/tst-catgets.c: Likewise.
11993         * csu/tst-empty.c: Likewise.
11994         * elf/tst-audit2.c: Likewise.
11995         * elf/tst-global1.c: Likewise.
11996         * elf/tst-pathopt.c: Likewise.
11997         * elf/tst-piemod1.c: Likewise.
11998         * elf/tst-tls10.c: Likewise.
11999         * elf/tst-tls11.c: Likewise.
12000         * elf/tst-tls12.c: Likewise.
12001         * gnulib/tst-gcc.c: Likewise.
12002         * iconvdata/tst-e2big.c: Likewise.
12003         * iconvdata/tst-loading.c: Likewise.
12004         * iconv/tst-iconv1.c: Likewise.
12005         * iconv/tst-iconv2.c: Likewise.
12006         * inet/test-inet6_opt.c: Likewise.
12007         * inet/tst-gethnm.c: Likewise.
12008         * inet/tst-network.c: Likewise.
12009         * inet/tst-ntoa.c: Likewise.
12010         * intl/tst-codeset.c: Likewise.
12011         * intl/tst-gettext2.c: Likewise.
12012         * intl/tst-gettext3.c: Likewise.
12013         * intl/tst-ngettext.c: Likewise.
12014         * intl/tst-translit.c: Likewise.
12015         * io/test-stat.c: Likewise.
12016         * libio/test-fmemopen.c: Likewise.
12017         * libio/tst-freopen.c: Likewise.
12018         * libio/tst-sscanf.c: Likewise.
12019         * libio/tst-ungetwc1.c: Likewise.
12020         * libio/tst-ungetwc2.c: Likewise.
12021         * libio/tst-widetext.c: Likewise.
12022         * localedata/tst-ctype.c: Likewise.
12023         * localedata/tst-digits.c: Likewise.
12024         * localedata/tst-leaks.c: Likewise.
12025         * localedata/tst-mbswcs1.c: Likewise.
12026         * localedata/tst-mbswcs2.c: Likewise.
12027         * localedata/tst-mbswcs3.c: Likewise.
12028         * localedata/tst-mbswcs4.c: Likewise.
12029         * localedata/tst-mbswcs5.c: Likewise.
12030         * localedata/tst-setlocale.c: Likewise.
12031         * localedata/tst-trans.c: Likewise.
12032         * localedata/tst-wctype.c: Likewise.
12033         * localedata/tst-xlocale1.c: Likewise.
12034         * login/tst-grantpt.c: Likewise.
12035         * malloc/tst-calloc.c: Likewise.
12036         * malloc/tst-malloc.c: Likewise.
12037         * malloc/tst-mallocstate.c: Likewise.
12038         * malloc/tst-mcheck.c: Likewise.
12039         * malloc/tst-mtrace.c: Likewise.
12040         * malloc/tst-obstack.c: Likewise.
12041         * math/atest-exp2.c: Likewise.
12042         * math/atest-exp.c: Likewise.
12043         * math/atest-sincos.c: Likewise.
12044         * math/test-matherr.c: Likewise.
12045         * math/test-misc.c: Likewise.
12046         * math/test-powl.c: Likewise.
12047         * math/tst-definitions.c: Likewise.
12048         * misc/tst-dirname.c: Likewise.
12049         * misc/tst-efgcvt.c: Likewise.
12050         * misc/tst-fdset.c: Likewise.
12051         * misc/tst-hsearch.c: Likewise.
12052         * misc/tst-mntent2.c: Likewise.
12053         * nptl/tst-sem7.c: Likewise.
12054         * nptl/tst-sem8.c: Likewise.
12055         * nptl/tst-sem9.c: Likewise.
12056         * nss/test-netdb.c: Likewise.
12057         * posix/tst-fnmatch.c: Likewise.
12058         * posix/tst-getlogin.c: Likewise.
12059         * posix/tst-gnuglob.c: Likewise.
12060         * posix/tst-mmap.c: Likewise.
12061         * pwd/tst-getpw.c: Likewise.
12062         * resolv/tst-inet_ntop.c: Likewise.
12063         * rt/tst-timer.c: Likewise.
12064         * stdio-common/test-fseek.c: Likewise.
12065         * stdio-common/test-popen.c: Likewise.
12066         * stdio-common/test-vfprintf.c: Likewise.
12067         * stdio-common/tst-cookie.c: Likewise.
12068         * stdio-common/tst-fileno.c: Likewise.
12069         * stdio-common/tst-gets.c: Likewise.
12070         * stdio-common/tst-obprintf.c: Likewise.
12071         * stdio-common/tst-perror.c: Likewise.
12072         * stdio-common/tst-sprintf2.c: Likewise.
12073         * stdio-common/tst-sprintf3.c: Likewise.
12074         * stdio-common/tst-sprintf.c: Likewise.
12075         * stdio-common/tst-swprintf.c: Likewise.
12076         * stdio-common/tst-tmpnam.c: Likewise.
12077         * stdio-common/tst-unbputc.c: Likewise.
12078         * stdio-common/tst-wc-printf.c: Likewise.
12079         * stdlib/tst-environ.c: Likewise.
12080         * stdlib/tst-fmtmsg.c: Likewise.
12081         * stdlib/tst-limits.c: Likewise.
12082         * stdlib/tst-rand48-2.c: Likewise.
12083         * stdlib/tst-rand48.c: Likewise.
12084         * stdlib/tst-random2.c: Likewise.
12085         * stdlib/tst-random.c: Likewise.
12086         * stdlib/tst-strtol.c: Likewise.
12087         * stdlib/tst-strtoll.c: Likewise.
12088         * stdlib/tst-tls-atexit.c: Likewise.
12089         * stdlib/tst-xpg-basename.c: Likewise.
12090         * string/test-ffs.c: Likewise.
12091         * string/tst-bswap.c: Likewise.
12092         * string/tst-inlcall.c: Likewise.
12093         * string/tst-strtok.c: Likewise.
12094         * string/tst-strxfrm.c: Likewise.
12095         * sysdeps/x86_64/tst-audit10.c: Likewise.
12096         * sysdeps/x86_64/tst-audit3.c: Likewise.
12097         * sysdeps/x86_64/tst-audit4.c: Likewise.
12098         * sysdeps/x86_64/tst-audit5.c: Likewise.
12099         * time/tst-ftime_l.c: Likewise.
12100         * time/tst-getdate.c: Likewise.
12101         * time/tst-mktime3.c: Likewise.
12102         * time/tst-mktime.c: Likewise.
12103         * time/tst-posixtz.c: Likewise.
12104         * time/tst-strptime2.c: Likewise.
12105         * time/tst-strptime3.c: Likewise.
12106         * wcsmbs/tst-btowc.c: Likewise.
12107         * wcsmbs/tst-mbrtowc.c: Likewise.
12108         * wcsmbs/tst-mbsrtowcs.c: Likewise.
12109         * wcsmbs/tst-wchar-h.c: Likewise.
12110         * wcsmbs/tst-wcpncpy.c: Likewise.
12111         * wcsmbs/tst-wcrtomb.c: Likewise.
12112         * wcsmbs/tst-wcsnlen.c: Likewise.
12113         * wcsmbs/tst-wcstof.c: Likewise.
12115 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
12117         [BZ #14132]
12118         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
12119         INTDEF.
12120         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
12121         declaration.
12122         (_dl_mcount): Use rtld_hidden_proto.
12123         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
12124         _dl_mcount.
12125         * elf/rtld.c (_rtld_global_ro): Likewise.
12127         [BZ #14132]
12128         * elf/dl-init.c (_dl_init): Don't use INTDEF.
12129         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
12130         of _dl_init_internal.
12131         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
12132         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
12133         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
12134         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
12135         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
12136         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
12137         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
12138         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
12139         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
12140         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
12141         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
12142         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
12143         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12144         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12145         * sysdeps/tile/dl-start.S (_start): Likewise.
12146         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
12147         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
12149         [BZ #14132]
12150         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
12151         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
12152         (rtld_progname): Make macro definition unconditional.
12153         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
12154         INTDEF.
12155         (dlmopen_doit): Do not use INTUSE with _dl_argv.
12156         (dl_main): Likewise.
12157         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12158         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
12159         instead of _dl_argv_internal.
12160         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12161         __GI__dl_argv instead of INTUSE(_dl_argv).
12162         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
12163         __GI__dl_argv instead of _dl_argv_internal.
12165         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
12166         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
12167         macro.
12168         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
12169         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
12170         New macro.
12171         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
12172         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
12173         macro.
12174         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
12175         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
12177 2014-11-04  Andreas Schwab  <schwab@suse.de>
12179         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
12181 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12183         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
12184         mtvsrd instruction in binary form.
12186 2014-11-03  Andreas Schwab  <schwab@suse.de>
12188         [BZ #17522]
12189         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
12190         for less than MB_LEN_MAX use a local buffer of that size.
12191         * libio/tst-fputws.c: New file.
12192         * libio/Makefile (tests): Add tst-fputws.
12194 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
12196         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
12197         the size of the fpu_fr.fpu_dregs[] array.
12199 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
12201         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
12202         (__nanosleep): Do not define as alias.
12203         (nanosleep): Define as alias of __nanosleep.
12204         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
12205         __libc_nanosleep name.
12207 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12209         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
12210         install.texi in comment.
12212 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12214         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
12215         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
12216         ... add here and use lwsync or sync ...
12217         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
12218         ... and add here using lwsync.
12220 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
12222         * elf/dl-machine-reject-phdr.h: New file.
12223         * elf/dl-load.c: #include that.
12224         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
12225         if that returned true.
12227 2014-10-31  Roland McGrath  <roland@hack.frob.com>
12229         [BZ #17496]
12230         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
12231         gen-as-const-headers chunk.  Add a big scare comment after the last
12232         safe place to touch before-compile.
12234 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12236         * manual/install.texi (Tools for Compilation): Update autoconf
12237         version requirements.
12238         * INSTALL: Regenerated.
12240         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
12241         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
12242         (__libc_pselect): Likewise.
12244         [BZ #14138]
12245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
12246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12250 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12252         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
12253         correct barrier instruction.
12254         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
12255         Likewise.
12256         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
12257         Likewise.
12259 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12261         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
12262         after defining inlines.  Instead, just use parens to defeat macro
12263         expansion of __isctype in its declaration.
12265 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12267         * include/sys/uio.h (__libc_readv): Remove declaration.
12268         (__libc_writev): Likewise.
12269         * misc/readv.c (__libc_readv): Rename to __readv.
12270         (__readv): Do not define as alias.
12271         (readv): Define as alias of __readv.
12272         * misc/writev.c (__libc_writev): Rename to __writev.
12273         (__writev): Do not define as alias.
12274         (writev): Define as alias of __writev.
12275         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
12276         (__readv): Do not define as alias.
12277         (readv): Define unconditionally as alias of __readv.
12278         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
12279         (__writev): Do not define as alias.
12280         (writev): Define unconditionally as alias of __writev.
12281         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
12282         name.
12283         (writev): Do not define __libc_writev name.
12285 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12287         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
12288         (convert_charseq): New function, broken out of ...
12289         (use_from_charmap): ... here.  Call it.
12290         (use_to_charmap): Use convert_charseq and free instead of duplicating
12291         its code with a variable-length stack struct.
12293 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12295         * include/fcntl.h (__libc_creat): Remove declaration.
12296         * io/creat.c (__libc_creat): Rename to creat.
12297         (creat): Do not define as alias.
12298         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
12299         of creat instead of __libc_creat.
12300         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
12301         to creat.
12302         (creat): Do not define as alias.
12303         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
12304         __libc_creat.
12305         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
12306         __libc_creat name.
12307         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
12308         Likewise.
12310 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
12312         * manual/llio.texi: Add comments discussing why write() may be
12313         considered MT-unsafe on Linux.
12315 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
12317         * dl-load.c (local_strdup): Remove.
12318         (expand_dynamic_string_token): Use __strdup.
12319         (decompose_rpath): Likewise.
12320         (_dl_map_object): Likewise.
12322 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
12324         [BZ #14132]
12325         * sysdeps/generic/unwind-dw2-fde.c
12326         (__register_frame_info_bases_internal): Do not declare.
12327         (__register_frame_info_table_bases_internal): Likewise.
12328         (__deregister_frame_info_bases_internal): Likewise.
12329         (__register_frame_info_bases): Declare and use hidden_proto before
12330         definition.  Use hidden_def instead of INTDEF.
12331         (__register_frame_info_table_bases): Likewise.
12332         (__deregister_frame_info_bases): Likewise.
12333         (__register_frame_info): Do not use INTUSE.
12334         (__register_frame): Likewise.
12335         (__register_frame_info_table): Likewise.
12336         (__register_frame_table): Likewise.
12337         (__deregister_frame_info): Likewise.
12338         (__deregister_frame): Likewise.
12340 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
12342         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12343         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
12344         not undefine.
12345         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
12346         Likewise.
12347         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
12348         Likewise.
12350 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
12352         [BZ #14138]
12353         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
12354         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
12355         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
12356         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
12357         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
12358         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
12359         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
12360         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
12361         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
12362         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
12363         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
12364         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
12365         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
12366         syscall.
12367         (setfsuid): Likewise.
12368         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
12369         (setfsuid): Likewise.
12370         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
12371         (setfsuid): Likewise.
12372         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
12373         Likewise.
12374         (setfsuid): Likewise.
12375         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
12376         (setfsuid): Likewise.
12377         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
12378         Likewise.
12379         (setfsuid): Likewise.
12381 2014-10-27  Andreas Schwab  <schwab@suse.de>
12383         [BZ #17501]
12384         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
12385         check for Slow_SSE4_2 feature bit.
12386         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
12387         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12388         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
12389         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
12391 2014-10-24  Roland McGrath  <roland@hack.frob.com>
12393         * configure.ac: Validate compiler version with a empirical test of
12394         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
12395         $CC -v output.
12396         * configure: Regenerated.
12398         * inet/htons.c (htons): Prototypify.
12399         * inet/htonl.c (htonl): Likewise.
12401 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12403         * string/strncat.c (strncat): Improve performance by using strlen.
12405 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12407         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
12409 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12411         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
12412         Call libc_fetestexcept_aarch64.
12414 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12416         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
12417         Call libc_feholdexcept_aarch64.
12419 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12421         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
12422         Call get_rounding_mode.
12424 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12426         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
12427         Simplify logic.
12429 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12431         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
12432         Simplify logic.
12434 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
12436         [BZ #14138]
12437         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
12438         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
12439         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
12440         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
12441         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
12442         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
12443         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
12444         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
12445         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
12446         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
12447         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12448         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
12449         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
12450         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
12451         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
12452         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
12453         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
12454         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
12455         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
12456         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
12457         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
12458         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
12459         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
12460         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
12461         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
12462         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
12463         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
12464         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
12465         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
12466         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
12467         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
12468         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
12469         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
12470         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
12471         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
12472         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
12473         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
12474         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
12475         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
12476         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
12477         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
12478         syscall.
12479         (geteuid): Likewise.
12480         (getgid): Likewise.
12481         (getuid): Likewise.
12482         (getresgid): Likewise.
12483         (getresuid): Likewise.
12484         (getgroups): Likewise.
12485         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
12486         (geteuid): Likewise.
12487         (getgid): Likewise.
12488         (getuid): Likewise.
12489         (getresgid): Likewise.
12490         (getresuid): Likewise.
12491         (getgroups): Likewise.
12492         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
12493         (geteuid): Likewise.
12494         (getgid): Likewise.
12495         (getuid): Likewise.
12496         (getresgid): Likewise.
12497         (getresuid): Likewise.
12498         (getgroups): Likewise.
12499         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
12500         Likewise.
12501         (geteuid): Likewise.
12502         (getgid): Likewise.
12503         (getuid): Likewise.
12504         (getresgid): Likewise.
12505         (getresuid): Likewise.
12506         (getgroups): Likewise.
12507         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
12508         (geteuid): Likewise.
12509         (getgid): Likewise.
12510         (getuid): Likewise.
12511         (getresgid): Likewise.
12512         (getresuid): Likewise.
12513         (getgroups): Likewise.
12514         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
12515         Likewise.
12516         (geteuid): Likewise.
12517         (getgid): Likewise.
12518         (getuid): Likewise.
12519         (getgroups): Likewise.
12521         [BZ #14138]
12522         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
12523         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
12524         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
12525         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12526         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
12527         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
12528         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
12529         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
12530         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
12531         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
12532         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
12533         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
12534         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
12535         __chown.
12536         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
12537         (lchown): Likewise.
12538         (fchown): Likewise.
12539         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
12540         Likewise.
12541         (lchown): Likewise.
12542         (fchown): Likewise.
12543         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
12544         (lchown): Likewise.
12545         (fchown): Likewise.
12546         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
12547         Likewise.
12548         (lchown): Likewise.
12549         (fchown): Likewise.
12551 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12553         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
12554         Simplify logic.
12556 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12558         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
12559         Cleanup logic.
12561 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12563         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
12564         Remove unused include.
12566 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12568         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
12569         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
12570         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
12571         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
12573 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
12574             Helge Deller <deller@gmx.de>
12576         [BZ #17508]
12577         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
12578         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
12579         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
12581 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
12583         [BZ #14132]
12584         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
12585         Remove macro definition.
12586         (__ashrdi3_v_glibc20): Likewise.
12587         (__lshrdi3_v_glibc20): Likewise.
12588         (__cmpdi2_v_glibc20): Likewise.
12589         (__ucmpdi2_v_glibc20): Likewise.
12590         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
12591         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12592         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12593         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12594         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12595         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
12597 2014-10-22  Roland McGrath  <roland@hack.frob.com>
12599         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
12600         old GNU extension [0] syntax.
12601         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
12602         alloca rather than an array member with variable length.
12603         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
12604         * nscd/nscd.c (invalidate_db): New function, broken out of ...
12605         (parse_opt): ... here.  Likewise use alloca there.
12606         Validate the -i argument before checking for rootness.
12607         (send_shutdown): New function, broken out of ...
12608         (parse_opt): ... here.
12610 2014-10-22  Roland McGrath  <roland@hack.frob.com>
12612         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
12613         macro to get at the _rt_local_ro field.
12614         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
12615         ([PIC] case) or _dl_hwcap ([!PIC] case).
12616         * sysdeps/arm/setjmp.S: Likewise.
12618         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
12619         * sysdeps/arm/configure.ac: New check to define it.
12620         * sysdeps/arm/configure: Regenerated.
12621         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
12622         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
12623         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
12624         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
12625         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
12626         Use move/movt pair instead of a load.
12627         (LDST_GLOBAL): Macro removed.
12628         (LDR_GLOBAL): New macro replaces it.
12629         (LDR_HIDDEN): New macro.
12630         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
12631         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
12633         * setjmp/tst-setjmp-static.c: New file.
12634         * setjmp/Makefile (tests): Add it.
12635         (tests-static): New variable.
12637 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
12639         [BZ #17485]
12640         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
12642 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
12644         [BZ #14132]
12645         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
12647 2014-10-21  Roland McGrath  <roland@hack.frob.com>
12649         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
12651 2014-10-20  Roland McGrath  <roland@hack.frob.com>
12653         * io/fts.c (dirent_not_directory): New function.
12654         (fts_build): Call it.
12656 2014-10-20  Roland McGrath  <roland@hack.frob.com>
12658         * nptl/version.c (__nptl_main): Use normal __write rather than
12659         INTERNAL_SYSCALL.
12660         (banner): Update copyright years.
12662         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
12663         gettimeofday.
12664         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
12665         * nptl/pthread_cond_timedwait.c: Likewise.
12666         * nptl/pthread_mutex_timedlock.c: Likewise.
12667         * nptl/sem_timedwait.c: Likewise.
12669         * sysdeps/nptl/bits/libc-lock.h
12670         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12671         (__libc_lock_init_recursive): Return void, not 0.
12672         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
12673         (__libc_rwlock_init): Likewise.
12674         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
12676 2014-10-20  Torvald Riegel  <triegel@redhat.com>
12678         [BZ #15215]
12679         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
12680         (__pthread_once_slow): ... here.
12681         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
12682         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
12684 2014-10-20  Torvald Riegel  <triegel@redhat.com>
12686         [BZ #15215]
12687         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
12688         __PTHREAD_ONCE_FORK_GEN_INCR): New.
12689         * sysdeps/nptl/fork.c (__libc_fork): Use them.
12690         * nptl/pthread_once.c (__pthread_once): Likewise.
12691         Update comments.
12693 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
12695         [BZ #14138]
12696         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
12697         name.
12698         (writev): Use __libc_writev as strong name.
12699         * sysdeps/unix/sysv/linux/readv.c: Remove file.
12700         * sysdeps/unix/sysv/linux/writev.c: Likewise.
12702 2014-10-17  Roland McGrath  <roland@hack.frob.com>
12704         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
12706         * sysdeps/i386/nptl/tls.h
12707         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
12708         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
12709         New macros.
12710         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
12711         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
12712         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
12713         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
12714         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
12715         Call CHECK_THREAD_SYSINFO instead of doing an assert.
12717         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12718         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
12719         on [__NR_futex].
12720         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
12721         broken out of ...
12722         (__pthread_mutex_init): ... here.  Call it.
12723         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
12724         Conditionalize PI cases on [__NR_futex].
12725         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
12726         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
12727         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12729         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
12730         conditional on [SIGSETXID].
12731         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
12732         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
12733         is defined.  Likewise for SIGSETXID.
12734         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
12735         Conditionalize definitions on [SIGSETXID].
12736         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
12737         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
12738         unblocking on [SIGCANCEL].
12740         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
12741         [__NR_set_robust_list].
12743 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12745         * string/strcoll_l.c (get_next_seq): Fix up formatting.
12746         (do_compare): Likewise.
12748 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
12750         [BZ #15884]
12751         * string/strcoll_l.c: Don't include stdio.h.
12752         (coll_seq): Remove members idxarr and rulearr.
12753         (get_next_seq_cached): Remove function.
12754         (get_next_seq): Likewise.
12755         (get_next_seq_nocache): Rename to get_next_seq.
12756         (do_compare): Remove function.
12757         (do_compare_nocache): Rename to do_compare.
12758         (STRCOLL): Remove weight and rules cache.
12760 2014-10-16  Roland McGrath  <roland@hack.frob.com>
12762         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
12763         * sysdeps/arm/sfp-machine.h: ... to here.
12764         * sysdeps/arm/Implies: Remove arm/soft-fp.
12766 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
12768         * conform/data/sys/utsname.h-data (*_t): Allow.
12769         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
12770         [POSIX] (WEXITED): Do not expect constant.
12771         [POSIX] (WSTOPPED): Likewise.
12772         [POSIX] (WNOHANG): Likewise.
12773         [POSIX] (WNOWAIT): Likewise.
12774         [POSIX] (siginfo_t): Do not expect type or elements.
12775         [POSIX] (pid_t): Do not expect type.
12776         [POSIX] (signal.h): Do not allow header.
12777         [POSIX] (sys/resource.h): Likewise.
12778         [POSIX] (si_*): Do not allow pattern.
12779         [POSIX] (W*): Likewise.
12780         [POSIX] (P_*): Likewise.
12781         [POSIX] (BUS_*): Likewise.
12782         [POSIX] (CLD_*): Likewise.
12783         [POSIX] (FPE_*): Likewise.
12784         [POSIX] (ILL_*): Likewise.
12785         [POSIX] (POLL_*): Likewise.
12786         [POSIX] (SEGV_*): Likewise.
12787         [POSIX] (SI_*): Likewise.
12788         [POSIX] (TRAP_*): Likewise.
12789         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
12790         variable.
12792 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
12794         [BZ #12926]
12795         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
12796         infinite loop when __recvmsg returns 0.
12798 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
12800         * CANCEL-FCT-WAIVE: Remove file.
12801         * CANCEL-FILE-WAIVE: Likewise.
12803         [BZ #14132]
12804         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
12805         instead of INTVARDEF.
12806         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12807         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
12808         rtld_hidden_data_def instead of INTVARDEF.
12809         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12810         * elf/dl-deps.c (expand_dst): Likewise.
12811         * elf/dl-load.c (_dl_dst_count): Likewise.
12812         (_dl_dst_substitute): Likewise.
12813         (decompose_rpath): Likewise.
12814         (_dl_init_paths): Likewise.
12815         (open_path): Likewise.
12816         (_dl_map_object): Likewise.
12817         * elf/rtld.c (dl_main): Likewise.
12818         (process_dl_audit): Likewise.
12819         (process_envvars): Likewise.
12820         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
12821         Remove declaration.
12822         (__libc_enable_secure): Use rtld_hidden_proto.
12824 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12826         * elf/dl-load.c
12827         (add_path): New function broken out of _dl_rtld_di_serinfo.
12828         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
12830 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
12832         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
12833         parentheses around macro arguments.
12834         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
12835         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
12836         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
12837         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
12838         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
12839         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
12840         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12841         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
12842         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
12843         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
12844         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
12845         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
12846         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
12847         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
12848         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
12849         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
12850         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
12851         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
12852         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
12853         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
12854         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
12855         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
12856         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
12857         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
12858         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12859         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
12860         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
12861         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
12862         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
12863         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
12864         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
12865         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
12866         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
12867         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
12868         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
12869         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
12870         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         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
12885         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
12886         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
12887         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
12888         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
12889         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
12890         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
12891         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
12892         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
12893         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
12894         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
12895         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
12896         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
12897         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
12898         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
12899         (_FP_FRAC_SRS_1): Likewise.
12900         (_FP_FRAC_CLZ_1): Likewise.
12901         (_FP_MUL_MEAT_1_imm): Likewise.
12902         (_FP_MUL_MEAT_1_wide): Likewise.
12903         (_FP_MUL_MEAT_1_hard): Likewise.
12904         (_FP_SQRT_MEAT_1): Likewise.
12905         (_FP_FRAC_ASSEMBLE_1): Likewise.
12906         (_FP_FRAC_DISASSEMBLE_1): Likewise.
12907         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
12908         (__FP_CLZ_2): Likewise.
12909         (_FP_MUL_MEAT_2_wide): Likewise.
12910         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
12911         (_FP_MUL_MEAT_2_gmp): Likewise.
12912         (_FP_MUL_MEAT_2_120_240_double): Likewise.
12913         (_FP_SQRT_MEAT_2): Likewise.
12914         (_FP_FRAC_ASSEMBLE_2): Likewise.
12915         (_FP_FRAC_DISASSEMBLE_2): Likewise.
12916         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
12917         (_FP_FRAC_CLZ_4): Likewise.
12918         (_FP_MUL_MEAT_4_wide): Likewise.
12919         (_FP_MUL_MEAT_4_gmp): Likewise.
12920         (_FP_SQRT_MEAT_4): Likewise.
12921         (_FP_FRAC_ASSEMBLE_4): Likewise.
12922         (_FP_FRAC_DISASSEMBLE_4): Likewise.
12923         * soft-fp/op-common.h (_FP_CMP): Likewise.
12924         (_FP_CMP_EQ): Likewise.
12925         (_FP_CMP_UNORD): Likewise.
12926         (_FP_TO_INT): Likewise.
12927         (_FP_FROM_INT): Likewise.
12928         [!__FP_CLZ] (__FP_CLZ): Likewise.
12929         (_FP_DIV_HELP_imm): Likewise.
12930         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
12931         Likewise.
12932         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
12933         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
12934         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
12935         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
12936         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
12937         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
12938         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
12939         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
12940         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
12941         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
12942         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
12943         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
12944         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
12945         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
12946         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
12947         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
12948         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
12949         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
12950         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
12951         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
12952         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
12953         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
12954         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
12955         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
12956         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
12957         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
12958         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
12959         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
12960         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
12961         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
12962         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
12963         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
12964         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
12965         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
12966         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
12967         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
12968         (FP_UNPACK_RAW_SP): Likewise.
12969         (FP_PACK_RAW_S): Likewise.
12970         (FP_PACK_RAW_SP): Likewise.
12971         (FP_UNPACK_S): Likewise.
12972         (FP_UNPACK_SP): Likewise.
12973         (FP_UNPACK_SEMIRAW_S): Likewise.
12974         (FP_UNPACK_SEMIRAW_SP): Likewise.
12975         (FP_PACK_S): Likewise.
12976         (FP_PACK_SP): Likewise.
12977         (FP_PACK_SEMIRAW_S): Likewise.
12978         (FP_PACK_SEMIRAW_SP): Likewise.
12979         (_FP_SQRT_MEAT_S): Likewise.
12980         (FP_CMP_S): Likewise.
12981         (FP_CMP_EQ_S): Likewise.
12982         (FP_CMP_UNORD_S): Likewise.
12983         (FP_TO_INT_S): Likewise.
12984         (FP_FROM_INT_S): Likewise.
12986         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
12988         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
12989         (FP_EX_INVALID_IMZ): Likewise.
12990         (FP_EX_INVALID_IMZ_FMA): Likewise.
12991         (FP_EX_INVALID_ISI): Likewise.
12992         (FP_EX_INVALID_ZDZ): Likewise.
12993         (FP_EX_INVALID_IDI): Likewise.
12994         (FP_EX_INVALID_SQRT): Likewise.
12995         (FP_EX_INVALID_CVI): Likewise.
12996         (FP_EX_INVALID_VC): Likewise.
12997         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
12998         "invalid" exceptions.
12999         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
13000         (_FP_ADD_INTERNAL): Likewise.
13001         (_FP_MUL): Likewise.
13002         (_FP_FMA): Likewise.
13003         (_FP_DIV): Likewise.
13004         (_FP_CMP_CHECK_NAN): Likewise.
13005         (_FP_SQRT): Likewise.
13006         (_FP_TO_INT): Likewise.
13007         (FP_EXTEND): Likewise.
13009 2014-10-09  Allan McRae  <allan@archlinux.org>
13011         * po/fr.po: Update French translation from translation project.
13013 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
13015         [BZ #14132]
13016         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
13017         of INTDEF.
13018         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
13019         (__cxa_atexit): Use libc_hidden_proto.
13020         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
13022         [BZ #14132]
13023         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
13024         declaration.
13025         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
13026         [!_ISOMAC] (__iswspace_l_internal): Likewise.
13027         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
13028         [!_ISOMAC] (__iswctype_internal): Likewise.
13029         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
13030         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
13031         alias.
13032         (fcntl): Remove __fcntl_internal alias.
13033         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
13034         __connect_internal alias.
13035         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
13036         Likewise.
13038         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
13039         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
13040         FP_DENORM_ZERO.
13041         (_FP_CHECK_FLUSH_ZERO): New macro.
13042         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
13043         (_FP_CMP): Likewise.
13044         (_FP_CMP_EQ): Likewise.
13045         (_FP_TO_INT): Do not set inexact for subnormal arguments if
13046         FP_DENORM_ZERO.
13047         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
13048         (FP_TRUNC): Likewise.
13050         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
13051         treated as invalid conversion, not as normal exponent.
13053         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
13054         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
13055         (_FP_CMP_EQ): Likewise.
13056         (_FP_CMP_UNORD): Likewise.
13057         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
13058         (FP_CMP_EQ_D): Likewise.
13059         (FP_CMP_UNORD_D): Likewise.
13060         * soft-fp/extended.h (FP_CMP_E): Likewise.
13061         (FP_CMP_EQ_E): Likewise.
13062         (FP_CMP_UNORD_E): Likewise.
13063         * soft-fp/quad.h (FP_CMP_Q): Likewise.
13064         (FP_CMP_EQ_Q): Likewise.
13065         (FP_CMP_UNORD_Q): Likewise.
13066         * soft-fp/single.h (FP_CMP_S): Likewise.
13067         (FP_CMP_EQ_S): Likewise.
13068         (FP_CMP_UNORD_S): Likewise.
13069         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
13070         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
13071         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
13072         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
13073         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
13074         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
13075         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
13076         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
13077         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
13078         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
13079         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
13080         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
13081         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
13082         to FP_CMP_Q.
13083         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
13084         FP_CMP_Q.
13085         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
13086         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
13087         FP_CMP_EQ_Q.
13088         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
13089         FP_CMP_Q.
13090         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
13091         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
13092         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
13093         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
13094         FP_CMP_EQ_Q.
13095         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
13096         FP_CMP_Q.
13097         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
13098         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
13099         FP_CMP_EQ_Q.
13100         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
13101         FP_CMP_Q.
13102         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
13103         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
13104         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
13105         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
13106         FP_CMP_EQ_Q.
13108         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
13109         a subnormal result, set the underflow exception if trapping on
13110         underflow is enabled.
13111         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
13112         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
13113         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
13114         redefine to 0.
13115         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
13116         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13117         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13118         * soft-fp/extendxftf2.c (__extendxftf2): Use
13119         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
13121         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
13122         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
13123         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13124         FP_HANDLE_EXCEPTIONS.
13125         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
13126         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13127         FP_HANDLE_EXCEPTIONS.
13128         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
13129         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13130         FP_HANDLE_EXCEPTIONS.
13131         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
13132         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13133         FP_HANDLE_EXCEPTIONS.
13135 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
13137         [BZ #14132]
13138         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
13139         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
13140         use INTUSE.
13141         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
13142         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
13143         Remove alias.
13144         (__adjtimex): Define using libc_hidden_ver.
13145         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
13146         Remove declaration.
13147         (ntp_gettime): Call __adjtimex directly.
13148         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
13149         Remove declaration.
13150         (ntp_gettimex): Call __adjtimex directly.
13151         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
13152         __adjtimex_internal alias.
13154 2014-10-08  Roland McGrath  <roland@hack.frob.com>
13156         [BZ #17460]
13157         * nscd/nscd.c (more_help): Rewrite list of tables collection
13158         using xstrdup and asprintf.
13160         * nscd/nscd_conf.c: Remove local xstrdup declaration.
13162 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13163             Roland McGrath  <roland@hack.frob.com>
13165         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
13166         (do_lookup_unique): ... local function 'enter' here; update callers.
13168 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
13170         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
13171         compat_symbol calls on [SHARED].
13172         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
13173         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
13174         Remove.
13175         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13176         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
13177         (oldsetrlimit): Remove.
13178         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13180         (lchown): New syscall entry.
13181         (oldsetrlimit): Remove.
13182         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13183         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
13184         (oldsetrlimit): Remove.
13185         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13187         [BZ #14138]
13188         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
13189         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
13190         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
13191         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
13192         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
13193         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
13194         (fchown): Likewise.
13195         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
13196         (fchown): Likewise.
13197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
13198         Likewise.
13200 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13202         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
13203         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
13204         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
13205         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
13206         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
13207         Likewise.
13208         (__old_sem_post): Likewise.
13210 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
13212         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
13213         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
13214         HAVE_CLOCK_GETTIME_VSYSCALL macros.
13215         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
13216         Use INLINE_VSYSCALL macro.
13217         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
13218         __vdso_clock_gettime.
13219         * sysdeps/unix/sysv/linux/tile/init-first.c
13220         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
13221         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
13222         __vdso_clock_gettime.
13224         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
13225         to set up frame more cleanly.
13227         * sysdeps/tile/memcmp.c: New file.
13229         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
13231         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
13232         * sysdeps/tile/tilegx/strcasestr.c: New file.
13233         * sysdeps/tile/tilegx/strnlen.c: New file.
13234         * sysdeps/tile/tilegx/strstr.c: New file.
13236         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
13238 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
13240         * nptl/tst-setuid3.c: Write errors to stdout.
13242 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13244         * elf/dl-deps.c
13245         (preload): New functions broken out of _dl_map_object_deps.
13246         (_dl_map_object_deps):  Remove a nested function. Update call sites.
13248 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
13250         [BZ #14138]
13251         * sysdeps/unix/sysv/linux/execve.c: Remove file.
13252         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
13254 2014-10-01  Steve Ellcey  <sellcey@mips.com>
13256         * sysdeps/mips/strcmp.S: New.
13258 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
13260         [BZ #14138]
13261         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
13262         (linkat): Likewise.
13263         (mkdirat): Likewise.
13264         (readlinkat): Likewise.
13265         (renameat): Likewise.
13266         (symlinkat): Likewise.
13267         (unlinkat): Likewise.
13268         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
13269         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
13270         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
13271         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
13272         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
13273         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
13274         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
13276 2014-09-30  Will Newton  <will.newton@linaro.org>
13278         * math/math.h: Define long double math functions if
13279         _LIBC_TEST is defined.
13280         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
13282         * localedata/Makefile: Move assignment to tests-special
13283         into an ifdef testing run-built-tests.
13284         * timezone/Makefile: Likewise.
13286 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
13288         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
13289         with $(BASH) not $(SHELL).
13291 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
13292             Matthew LeGendre  <legendre1@llnl.gov>
13294         [BZ #17411]
13295         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
13296         l_reloc_result.
13298 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13300         * stdio-common/printf_fp.c
13301         (hack_digit): New function, broken out of ...
13302         (__printf_fp): ... local function here.  Update call sites.
13303         hack_digit now takes an additional parameter that is a pointer
13304         to a struct of the referenced locals.  Those locals moved inside
13305         the struct and references updated.
13307 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
13309         * aclocal.m4: Require autoconf 2.69.
13310         * configure: Regenerated.
13311         * sysdeps/aarch64/configure: Likewise.
13312         * sysdeps/alpha/configure: Likewise.
13313         * sysdeps/arm/armv7/configure: Likewise.
13314         * sysdeps/arm/configure: Likewise.
13315         * sysdeps/ia64/configure: Likewise.
13316         * sysdeps/mach/configure: Likewise.
13317         * sysdeps/mips/configure: Likewise.
13318         * sysdeps/s390/configure: Likewise.
13319         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
13320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
13322         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
13323         file.
13324         * sysdeps/ia64/configure.ac: Likewise.
13326 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
13328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
13329         specify symbol version for ld.so.  Do not include entry for
13330         libpthread.
13331         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13332         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13333         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13335         [BZ #14171]
13336         * Makeconfig [$(build-shared) = yes]
13337         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
13338         makefiles.
13339         [$(build-shared) = yes && $(soversions.mk-done) = t]
13340         ($(common-objpfx)gnu/lib-names.h): Remove rule.
13341         [$(build-shared) = yes && $(soversions.mk-done) = t]
13342         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
13343         to Makerules.
13344         [$(build-shared) = yes && $(soversions.mk-done) = t]
13345         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
13346         here.
13347         [$(build-shared) = yes && $(soversions.mk-done) = t]
13348         (common-generated): Don't append gnu/lib-names.h and
13349         gnu/lib-names.stmp here.
13350         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
13351         (lib-names-h-abi): New variable.
13352         [$(build-shared) = yes && $(soversions.mk-done) = t]
13353         (lib-names-stmp-abi): Likewise.
13354         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13355         abi-variants] (before-compile): Append
13356         $(common-objpfx)$(lib-names-h-abi).
13357         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13358         abi-variants] (common-generated): Append gnu/lib-names.h.
13359         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13360         abi-variants] (install-others-nosubdir): Depend on
13361         $(inst_includedir)/$(lib-names-h-abi).
13362         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13363         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
13364         [$(build-shared) = yes && $(soversions.mk-done) = t]
13365         ($(common-objpfx)$(lib-names-h-abi)): New rule.
13366         [$(build-shared) = yes && $(soversions.mk-done) = t]
13367         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
13368         [$(build-shared) = yes && $(soversions.mk-done) = t]
13369         (common-generated): Append $(lib-names-h-abi) and
13370         $(lib-names-stmp-abi).
13371         * scripts/lib-names.awk: Do not handle multi being set.
13372         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
13373         Remove variable.
13374         (abi-lp64_be-ld-soname): Likewise.
13375         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
13376         Likewise.
13377         (abi-hard-ld-soname): Likewise.
13378         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
13379         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
13380         Remove variable.
13381         (abi-o32_hard-ld-soname): Likewise.
13382         (abi-o32_soft_2008-ld-soname): Likewise.
13383         (abi-o32_hard_2008-ld-soname): Likewise.
13384         (abi-n32_soft-ld-soname): Likewise.
13385         (abi-n32_hard-ld-soname): Likewise.
13386         (abi-n32_soft_2008-ld-soname): Likewise.
13387         (abi-n32_hard_2008-ld-soname): Likewise.
13388         (abi-n64_soft-ld-soname): Likewise.
13389         (abi-n64_hard-ld-soname): Likewise.
13390         (abi-n64_soft_2008-ld-soname): Likewise.
13391         (abi-n64_hard_2008-ld-soname): Likewise.
13392         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
13393         Likewise.
13394         (abi-64-v2-ld-soname): Likewise.
13395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
13396         ld.so entries.
13397         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
13398         variable.
13399         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
13400         entry.
13401         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
13402         variable.
13403         (abi-64-ld-soname): Likewise.
13404         (abi-x32-ld-soname): Likewise.
13405         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
13406         entry.
13407         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13409 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
13411         [BZ #14138]
13412         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
13413         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
13414         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
13415         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
13416         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
13417         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
13418         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
13419         syscall entry for GLIBC_2.2 symbol version.
13420         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
13421         Likewise.
13422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13423         (setrlimit): Likewise.
13424         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
13425         Likewise.
13427 2014-09-23  Will Newton  <will.newton@linaro.org>
13429         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
13430         _LINUX_ARM_SYSDEP_H include guard too.
13431         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
13432         define.
13434 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
13436         * sysdeps/unix/sysv/linux/eventfd.c:
13437         Make first argument unsigned.
13438         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
13439         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
13441 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
13443         * socket/recvmmsg.c (recvmmsg): Drop const argument.
13444         * socket/sys/socket.h: Likewise
13445         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
13447 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13449         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
13451 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
13453         * time/tst-ftime.c: New test.
13454         * time/Makefile (tests): Add tst-ftime.
13456 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
13458         * soft-fp/extended.h: Fix comment formatting.
13459         * soft-fp/op-1.h: Likewise.
13460         * soft-fp/op-2.h: Likewise.
13461         * soft-fp/op-4.h: Likewise.
13462         * soft-fp/op-8.h: Likewise.
13463         * soft-fp/op-common.h: Likewise.
13464         * soft-fp/soft-fp.h: Likewise.
13466         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
13468 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
13470         [BZ #6652]
13471         * Makeconfig (soversions-default-setname): Remove variable.
13472         ($(common-objpfx)soversions.i): Don't pass default_setname to
13473         soversions.awk.
13474         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
13475         oldest_abi to abi-versions.awk.
13476         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
13477         * config.make.in (oldest-abi): Remove variable.
13478         * configure.ac (--enable-oldest-abi): Remove configure option.
13479         * configure: Regenerated.
13480         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
13481         text.
13482         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
13483         * scripts/soversions.awk: Do not handle default_setname variable.
13484         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
13485         variable.
13486         * sysdeps/mach/hurd/configure: Regenerated.
13487         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
13488         variable.
13489         * sysdeps/unix/sysv/linux/configure: Regenerated.
13491 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13493         * elf/Makefile (CFLAGS-interp.c): Remove.
13494         ($(elf-objpfx)runtime-linker.h): Generate header with linker
13495         path string.
13496         * elf/interp.c: Include generated runtime-linker.h
13498         * Makerules (lib%.so): Don't include $(+interp) in
13499         prerequisites.
13500         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
13501         * dlfcn/eval.c: Remove file.
13503         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
13504         macros.
13506         [BZ #17266]
13507         * misc/sys/cdefs.h: Define __extern_always_inline for clang
13508         4.2 and newer.
13510         [BZ #17370]
13511         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
13513 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13514             Jakub Jelinek  <jakub@redhat.com>
13516         [BZ #17266]
13517         * libio/stdio.h: Check definition of __fortify_function
13518         instead of __extern_always_inline to include bits/stdio2.h.
13519         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
13520         check if __extern_always_inline is defined.
13521         [__USE_MISC || __USE_XOPEN]: Likewise.
13522         [__USE_ISOC99] Likewise.
13523         * misc/sys/cdefs.h (__fortify_function): Define only if
13524         __extern_always_inline is defined.
13525         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
13526         __extern_always_inline and __extern_inline only for g++-4.3
13527         and newer or a compatible gcc.
13529 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
13531         [BZ #17371]
13532         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
13533         last change to handle zero prefix length.
13535 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13537         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
13538         _SC_REGEX_VERSION.
13540         * posix/getconf.c (vars): Add _POSIX_IPV6 and
13541         _POSIX_RAW_SOCKETS.
13543 2014-09-13  Allan McRae  <allan@archlinux.org>
13545         * po/ru.po: Update Russian translation from translation project.
13547 2014-09-12  Roland McGrath  <roland@hack.frob.com>
13549         * locale/programs/locale.c (show_locale_vars): Inline local function
13550         into its sole call site.  Clean up some style nits.
13551         (print_item): New function, broken out of ...
13552         (show_info): ... local function here.  Clean up style nits.
13554         * locale/programs/ld-ctype.c (set_one_default): New function, broken
13555         out of ...
13556         (set_class_defaults): ... local function set_default here.
13557         Define set_default as a macro locally to pass constant parameters.
13558         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
13559         rather than a shared local.
13561         * stdlib/rpmatch.c (try): New function, broken out of ...
13562         (rpmatch): ... local function here.  Also, prototypify definition.
13564 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
13566         * scripts/soversions.awk: Do not handle configuration names.
13567         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
13568         vendor and os variables to soversions.awk.
13569         * configure.ac: Do not modify gnu-* host_os.
13570         * configure: Regenerated
13571         * shlib-versions: Remove first column with configuration names.
13572         * nptl/shlib-versions: Likewise.
13573         * nptl_db/shlib-versions: Likewise.
13574         * sysdeps/hppa/shlib-versions: Likewise.
13575         * sysdeps/m68k/shlib-versions: Likewise.
13576         * sysdeps/mach/hurd/shlib-versions: Likewise.
13577         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
13578         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
13579         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
13580         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
13581         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
13582         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
13583         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
13584         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
13585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
13586         Likewise.
13587         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13588         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
13589         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
13590         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
13591         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
13592         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
13593         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13594         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13597         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
13598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13599         Regenerated.
13600         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
13601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
13602         Condition symbol version definitions on [HAVE_ELFV2_ABI].
13604         * shlib-versions: Remove OS-specific entries.  Moved to files in
13605         sysdeps.
13606         * sysdeps/mach/hurd/shlib-versions: New file.
13607         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
13609         * nptl/shlib-versions: Remove architecture-specific entries.
13610         Moved to files in sysdeps.
13611         * shlib-versions: Likewise.
13612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
13613         file.
13614         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13615         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
13616         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
13617         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
13619         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
13620         (UDP_NO_CHECK6_RX): Likewise.
13622 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13624         * sysdeps/posix/sysconf.c (__sysconf): Spell
13625         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
13627 2014-08-12  Florian Weimer  <fweimer@redhat.com>
13629         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
13630         loading.
13631         * iconv/Versions (__gconv_transliterate): Export for use from
13632         gconv modules.
13633         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
13634         (struct __gconv_trans_data, __gconv_trans_fct,
13635         __gconv_trans_context_fct, __gconv_trans_query_fct,
13636         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
13637         definitions.
13638         (struct __gconv_step_data): Remove __trans member.
13639         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
13640         longer hidden.  Remove unused trans_data argument.
13641         * iconv/gconv_int.h (struct trans_struct): Remove definition.
13642         (__gconv_translit_find): Remove declaration.
13643         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
13644         prototype.
13645         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
13646         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
13647         trans_data argument.  Add hidden definition.
13648         (__gconv_translit_find): Remove.
13649         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
13650         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
13651         * iconv/skeleton.c: Remove transliteration initialization.
13652         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
13653         __gconv_step_data initialization.
13654         * libio/iofwide.c (__libio_translit_): Remove.
13655         (_IO_fwide): Adjust struct __gconv_step_data initialization.
13656         * wcsmbs/btowc.c (__btowc): Likewise.
13657         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13658         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13659         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
13660         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
13661         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
13662         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
13663         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
13664         * wcsmbs/wctob.c (wctob): Likewise.
13666 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13668         [BZ #16194]
13669         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
13670         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
13671         register usage.
13672         * sysdeps/x86/Makefile: Adjust.
13674 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13675             Roland McGrath  <roland@hack.frob.com>
13677         * locale/weight.h: Add include guard.
13678         (findidx): Make static rather than auto; take new parameters
13679         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
13680         * locale/weightwc.h: Likewise.
13681         * posix/fnmatch_loop.c
13682         (FCT): Change type of EXTRA from int32_t to wint_t.
13683         Don't include either header inside the function.
13684         Call FINDIDX rather than findidx, and pass new arguments.
13685         #undef FINDIDX at the end of the file.
13686         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
13687         FINDIDX before including fnmatch_loop.c for the non-wide version.
13688         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
13689         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
13690         for the wide version.
13691         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
13692         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
13693         Pass new arguments to findidx.
13694         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
13695         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
13696         Don't #include it inside the function.  Pass new arguments to findidx.
13697         * posix/regex_internal.h
13698         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
13699         (re_string_elem_size_at): Don't #include it inside the function.
13700         Pass new arguments to findidx.
13701         * string/strcoll_l.c: #include WEIGHT_H at top level.
13702         (get_next_seq): Don't #include it inside the function.
13703         Pass new arguments to findidx.
13704         (get_next_seq_nocache): Likewise.
13705         * string/strxfrm_l.c: #include WEIGHT_H at top level.
13706         (STRXFRM): Don't #include it inside the function.
13707         Pass new arguments to findidx.
13709 2014-09-11  Florian Weimer  <fweimer@redhat.com>
13711         [BZ #17344]
13712         * malloc/malloc.c (unlink): Turn asserts into a call to
13713         malloc_printerr.
13715 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
13717         [BZ #17370]
13718         * libio/wfileops (do_ftell_wide): Free OUT.
13720 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
13722         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
13724 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13726         [BZ #17363]
13727         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
13728         group if the current group is empty.
13730 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13732         * benchtests/bench-memset.c (test_main): Add more test from size
13733         from 32 to 512 bytes.
13734         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13735         Add POWER8 memset object.
13736         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13737         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
13738         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
13739         implementation.
13740         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
13741         Likewise.
13742         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
13743         multiarch POWER8 memset optimization.
13744         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
13745         POWER8 memset optimization.
13747         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13748         Remove bzero multiarch objects.
13749         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
13750         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
13751         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
13752         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
13753         Remove define.
13754         [__bzero]: Redefine to specific name.
13755         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
13756         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
13757         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
13758         define.
13759         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13760         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13762 2014-09-10  Florian Weimer  <fweimer@redhat.com>
13764         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
13765         warnings into errors.
13767         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
13768         __cxa_thread_atexit_impl prototype.
13770 2014-09-09  Steve Ellcey  <sellcey@mips.com>
13772         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
13773         Fix capitalization of error message.
13775 2014-09-09  Steve Ellcey  <sellcey@mips.com>
13777         * sysdeps/mips/preconfigure: Modify ABI tests.
13779 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
13781         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
13783 2014-09-07  Roland McGrath  <roland@hack.frob.com>
13784             Carlos O'Donell  <carlos@systemhalted.org>
13786         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
13787         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
13788         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
13789         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
13790         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
13791         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
13792         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
13793         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
13794         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
13795         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
13796         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
13797         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
13798         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
13799         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
13800         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
13801         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
13802         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
13803         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
13804         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
13805         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
13806         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
13807         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
13808         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
13809         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
13810         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
13811         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
13812         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
13813         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
13814         Deconditionalize the code that was previously under [RESET_PID].
13815         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
13816         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
13817         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
13818         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
13819         include sysdep.h.
13821 2014-09-08  Allan McRae  <allan@archlinux.org>
13823         * version.h (RELEASE): Set to "development".
13824         (VERSION): Set to "2.20.90"
13826 2014-09-07  Allan McRae  <allan@archlinux.org
13828         * version.h (RELEASE): Set to "stable".
13829         (VERSION): Set to "2.20"
13830         * include/features.h (__GLIBC_MINOR__): Set to 20.
13832         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
13833         Liebler.
13835         * po/ko.po: Update Korean translation from translation project.
13837 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
13839         [BZ #17354]
13840         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
13841         macro for handling signed relocations.
13843 2014-09-03  Florian Weimer  <fweimer@redhat.com>
13845         [BZ #17325]
13846         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
13847         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
13848         assert.
13849         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
13850         * iconvdata/ibm935.c (BODY): Likewise.
13851         * iconvdata/ibm937.c (BODY): Likewise.
13852         * iconvdata/ibm939.c (BODY): Likewise.
13853         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
13854         assert.
13855         * iconvdata/Makefile (iconv-test.out): Pass module list to test
13856         script.
13857         * iconvdata/run-iconv-test.sh: New test loop for checking for
13858         decoder crashers.
13860 2014-09-02  Khem Raj  <raj.khem@gmail.com>
13862         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
13863         libm_hidden_ver.
13865 2014-09-01  Allan McRae  <allan@archlinux.org>
13867         * po/eo.po: Update Esperanto translation from translation project.
13869         * po/ca.po: Update Catalan translation from translation project.
13871 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13873         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
13874         __proc_dostop call.
13876 2014-08-27  Mark Wielaard  <mjw@redhat.com>
13878         [BZ #17319]
13879         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
13880         to call set_thread_area instead of hand written asm.
13881         (__NR_set_thread_area): Removed define.
13882         (TLS_FLAG_WRITABLE): Likewise.
13883         (__ASSUME_SET_THREAD_AREA): Remove check.
13884         (TLS_EBX_ARG): Remove define.
13885         (TLS_LOAD_EBX): Likewise.
13887 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13889         Simplify atomicity of socket creation in bind.
13891         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
13892         looking up the name after linking the file.
13894 2014-08-27  Allan McRae  <allan@archlinux.org>
13896         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13898 2014-08-26  Florian Weimer  <fweimer@redhat.com>
13900         [BZ #17187]
13901         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
13902         trans_compare, open_translit, __gconv_translit_find):
13903         Remove module loading code.
13905 2014-08-26  Allan McRae  <allan@archlinux.org>
13907         * po/vi.po: Update Vietnamese translation from translation project.
13909         * po/uk.po: Update Ukrainian translation from translation project.
13911         * po/fr.po: Update French translation from translation project.
13913         * po/ru.po: Update Russian translation from translation project.
13915         * po/pl.po: Update Polish translation from translation project.
13917         * po/cs.po: Update Czech translation from translation project.
13919         * po/de.po: Update German translation from translation project.
13921         * po/bg.po: Update Bulgarian translation from translation project.
13923         * po/sv.po: Update Sweedish translation from translation project.
13925         * po/nl.po: Update Dutch translation from translation project.
13927         * po/es.po: Update Spanish translation from translation project.
13929 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13931         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
13933         * catgets/Makefile (CPPFLAGS-gencat): Remove.
13934         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
13935         (CPPFLAGS-iconvconfig): Likewise.
13936         * timezone/Makefile (CPPFLAGS-zic): Likewise.
13938         * include/libc-symbols.h: Remove unnecessary check for
13939         NOT_IN_libc.
13940         * nptl/pthreadP.h: Likewise.
13941         * sysdeps/aarch64/setjmp.S: Likewise.
13942         * sysdeps/alpha/setjmp.S: Likewise.
13943         * sysdeps/arm/sysdep.h: Likewise.
13944         * sysdeps/i386/setjmp.S: Likewise.
13945         * sysdeps/m68k/setjmp.c: Likewise.
13946         * sysdeps/posix/getcwd.c: Likewise.
13947         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13948         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
13949         * sysdeps/s390/s390-32/setjmp.S: Likewise.
13950         * sysdeps/s390/s390-64/setjmp.S: Likewise.
13951         * sysdeps/sh/sh3/setjmp.S: Likewise.
13952         * sysdeps/sh/sh4/setjmp.S: Likewise.
13953         * sysdeps/unix/alpha/sysdep.h: Likewise.
13954         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13955         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13956         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
13957         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13960         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13961         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13962         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13963         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13964         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13965         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13966         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13967         * sysdeps/x86_64/setjmp.S: Likewise.
13969 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
13971         [BZ #17263]
13972         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
13973         <stdint.h>.
13974         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
13975         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
13977 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13979         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
13981         [BZ #17262]
13982         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
13983         and __x86_64__ when disabling x87 inline functions.
13985 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
13987         [BZ #17259]
13988         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
13989         asm statement with __cpuid_count.
13991 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
13993         * configure.ac: Change __ehdr_start code to dereference the struct.
13994         Run readelf on the output to look for relocations.
13995         * configure: Regenerated.
13997 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
13999         [BZ #17261]
14000         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
14001         value to 0.
14002         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
14004 2014-08-12  Roland McGrath  <roland@hack.frob.com>
14006         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
14008 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
14010         [BZ #16892]
14011         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
14012         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
14014 2014-08-12  Sean Anderson  <seanga2@gmail.com>
14016         * malloc/malloc.c: Fix typo in comment.
14018 2014-08-09  Allan McRae  <allan@archlinux.org>
14020         * Regenerate libc.po.
14022 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
14024         * intl/tst-gettext2.sh: Check every lang file for creation.
14026 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14028         * sysdeps/aarch64/fpu/math_private.h
14029         (libc_feholdsetround_noex_aarch64_ctx): New function.
14031 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14033         * sysdeps/arm/armv6/strcpy.S (strcpy):
14034         Fix performance issue in misaligned cases.
14036 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14038         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
14039         Move definition from termios.h.
14040         (struct termio): Likewise.
14041         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14042         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14043         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14044         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14045         Likewise.
14046         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
14047         Move definition to ioctl-types.h
14048         (struct termio): Likewise.
14049         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14050         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14051         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14052         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14053         Likewise.
14055 2014-08-05  Richard Henderson  <rth@redhat.com>
14057         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
14058         exceptions.
14059         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
14060         Add fraiseexcpt.
14061         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
14062         Use __feraiseexcept.
14063         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
14064         Protect libm symbols with IS_IN_libm.
14066         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
14068 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
14070         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
14072 2014-08-04  Will Newton  <will.newton@linaro.org>
14074         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
14075         file.
14077 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
14079         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
14080         variants for each function.
14082 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14084         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
14085         appended ...
14086         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
14087         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
14088         appended ...
14089         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
14090         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
14091         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
14092         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
14093         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
14094         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
14095         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
14096         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
14097         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
14098         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
14099         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
14100         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
14101         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
14102         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
14103         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
14104         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
14105         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
14106         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
14107         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
14108         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
14109         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
14110         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
14111         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
14112         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
14113         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
14114         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
14115         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
14116         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
14117         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
14118         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
14119         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
14120         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
14121         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
14122         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
14123         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
14124         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
14125         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
14126         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
14127         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
14128         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
14129         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
14130         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
14131         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
14132         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
14133         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
14134         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
14135         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
14136         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
14137         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
14138         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
14139         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
14140         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
14141         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
14142         Update #include.
14143         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
14144         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
14146 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14148         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
14149         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
14150         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
14151         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
14152         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
14153         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
14155 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14157         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
14158         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
14159         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14160         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
14162 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14164         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
14165         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
14166         (__libc_vfork): Define function under this name.
14167         (__vfork): Define as an alias.
14168         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
14169         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
14171 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14173         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
14174         that was previously under [RESET_PID].
14175         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
14177 2014-08-04  Andreas Schwab  <schwab@suse.de>
14179         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
14181 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
14183         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
14184         (main): Likewise.
14186 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14188         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
14190 2014-08-01  Richard Henderon  <rth@redhat.com>
14192         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
14193         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
14194         typo in exact zero test.
14195         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14196         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14197         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14199 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14201         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
14202         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
14203         * sysdeps/arm/sysdep.h: ... here.
14204         [!__ASSEMBLER__]: Include <stdint.h>.
14206 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14208         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
14209         (HAVE_WCTYPE_H): Likewise.
14210         (HAVE_ISWCTYPE): Likewise.
14211         (ENABLE_NLS): Likewise.
14212         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
14213         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
14215         * posix/regex_internal.c: Check if DEBUG is defined and is
14216         set.
14218         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
14219         (HAVE_MBSRTOWCS): Likewise.
14220         * posix/fnmatch.c: Include string.h unconditionally.
14222 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14224         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
14225         reversal.
14227 2014-07-31  Roland McGrath  <roland@hack.frob.com>
14229         * sysdeps/generic/safe-fatal.h: New file.
14230         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
14231         * nptl/forward.c: Include it.
14232         (__pthread_unwind): Use __safe_fatal as default action, rather
14233         than a bogus use of INTERNAL_SYSCALL that could never work.
14235         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
14236         * configure.ac (libc_cv_builtin_trap): New test.
14237         * configure: Regenerated.
14238         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
14239         (ABORT_INSTRUCTION): Define using __builtin_trap.
14241         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
14242         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
14243         * sysdeps/nptl/nptl-signals.h: New file.
14244         * nptl/pthreadP.h: Include <nptl-signals.h>.
14246 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14248         * sysdeps/s390/s390-64/utf16-utf32-z9.c
14249         (ONE_DIRECTION): Define.
14250         * sysdeps/s390/s390-64/utf8-utf16-z9.c
14251         (ONE_DIRECTION): Define.
14252         * sysdeps/s390/s390-64/utf8-utf32-z9.c
14253         (ONE_DIRECTION): Define.
14255 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14257         * sysdeps/s390/Makefile: Delete file.
14258         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
14259         * sysdeps/s390/__longjmp.c: Delete file.
14260         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
14261         Remove fields __flags and __reserved.
14262         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
14263         and add versioning.
14264         * sysdeps/s390/rtld-__longjmp.c: Delete file.
14265         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
14266         * sysdeps/s390/rtld-setjmp.S: Likewise.
14267         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
14268         * sysdeps/s390/s390-32/__longjmp.c: ... here.
14269         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
14270         * sysdeps/s390/s390-32/setjmp.S: ... here.
14271         Add versioning.
14272         (__sigsetjmp): Remove setting __flags field.
14273         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
14274         * sysdeps/s390/s390-64/__longjmp.c: ... here.
14275         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
14276         * sysdeps/s390/s390-64/setjmp.S: ... here.
14277         Add versioning.
14278         (__sigsetjmp): Remove setting __flags field.
14279         * sysdeps/s390/setjmp.S: Delete file.
14280         * sysdeps/s390/sigjmp.c: Likewise.
14281         * sysdeps/s390/v1-longjmp.c: Likewise.
14282         * sysdeps/s390/v1-setjmp.h: Likewise.
14283         * sysdeps/s390/v1-sigjmp.c: Likewise.
14284         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
14285         Remove v1-longjmp_chk.
14286         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
14287         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
14288         Include debug/longjmp_chk.c and add versioning.
14289         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
14290         Include nptl/pt-longjmp.c and add versioning.
14291         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
14292         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
14293         Include __longjmp.c.
14294         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14295         Move to ...
14296         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
14297         (__getcontext): Remove setting __flags field.
14298         Add versioning.
14299         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
14300         Don't restore upper high grps.
14301         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
14302         Likewise.
14303         (__swapcontext): Remove setting uc_flags field.
14304         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
14305         Delete file.
14306         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14307         Include __longjmp.c.
14308         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14309         Move to ...
14310         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
14311         (__getcontext): Remove setting __flags field.
14312         Add versioning.
14313         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
14314         (__swapcontext): Remove setting uc_flags field.
14315         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
14316         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
14317         Remove fields uc_high_gprs and __reserved.
14318         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
14319         New file with reverted content.
14320         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
14321         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
14322         Regenerated.
14323         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
14324         Regenerated.
14326 2014-07-31  Andreas Schwab  <schwab@suse.de>
14328         * config.h.in (HAVE_IFUNC): Define to 0.
14329         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
14330         definedness.
14332 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
14334         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14335         memmove-avx-unaligned, memcpy-avx-unaligned and
14336         mempcpy-avx-unaligned.
14337         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14338         Add tests for AVX memcpy functions.
14339         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
14340         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
14341         memcpy_chk.
14342         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
14343         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
14344         memmove_chk.
14345         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
14346         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
14347         mempcpy_chk.
14348         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
14349         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
14350         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
14352 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14354         [BZ #17213]
14355         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
14356         powerpc64le.
14358 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
14360         [BZ #16839]
14361         * manual/llio.texi: Add section about open file description locks.
14362         * manual/examples/ofdlocks.c: Example of open file description
14363         lock usage.
14364         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
14365         F_OFD_SETLK, and F_OFD_SETLKW.
14367 2014-07-23  Allan McRae  <allan@archlinux.org>
14369         * po/es.po: Update Spanish translation from translation project.
14371 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
14373         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
14375 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
14377         [BZ #17078]
14378         * sysdeps/arm/dl-machine.h (elf_machine_rela)
14379         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
14380         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
14382 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
14384         [BZ #17088]
14385         * math/fesetenv.c (__fesetenv)
14386         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
14387         * math/feupdateenv.c (__feupdateenv)
14388         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
14390         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
14391         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14392         (__ASSUME_SOCKETCALL): Do not define.
14394         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
14395         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
14396         (__ASSUME_SOCKETCALL): Do not define.
14397         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
14398         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
14399         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14400         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
14401         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14402         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
14403         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14404         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14406         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
14407         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
14408         (__ASSUME_SOCKETCALL): Do not define.
14409         (__ASSUME_IPC64): Define unconditionally.
14410         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
14411         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14412         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
14413         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14414         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
14415         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14416         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
14417         Likewise.
14419         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
14420         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
14421         (__ASSUME_SOCKETCALL): Do not define.
14422         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
14423         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14424         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14425         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14426         (__ASSUME_REQUEUE_PI): Define unconditionally.
14427         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
14428         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
14429         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14430         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
14431         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14432         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14434         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
14435         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
14436         (__ASSUME_SOCKETCALL): Do not define.
14437         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
14438         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14439         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14440         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
14441         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14442         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14444         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
14445         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
14446         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14447         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
14448         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14449         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
14450         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14451         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
14452         (__ASSUME_GETCPU_SYSCALL): Likewise.
14454         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
14455         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
14456         cases for individual architectures.
14457         * sysdeps/gnu/configure: Regenerated.
14458         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
14459         LIBC_SLIBDIR_RTLDDIR.
14460         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
14461         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
14462         LIBC_SLIBDIR_RTLDDIR.
14463         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
14464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
14465         LIBC_SLIBDIR_RTLDDIR.
14466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
14467         Regenerated.
14468         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
14469         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
14470         file.
14471         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
14472         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
14473         file.
14474         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
14475         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
14476         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
14477         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
14479         * sysdeps/aarch64/shlib-versions: Move to ...
14480         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
14481         * sysdeps/alpha/shlib-versions: Move to ...
14482         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
14483         * sysdeps/arm/shlib-versions: Move to ...
14484         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
14485         * sysdeps/hppa/shlib-versions: Move all contents except for
14486         libgcc_s entry to ...
14487         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
14488         entry from ...
14489         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
14490         * sysdeps/ia64/shlib-versions: Move to ...
14491         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
14492         entry from ...
14493         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
14494         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
14495         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
14496         * sysdeps/microblaze/shlib-versions: Move to ...
14497         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
14498         * sysdeps/mips/shlib-versions: Move to ...
14499         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
14500         entry from ...
14501         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
14502         * sysdeps/tile/shlib-versions: Move to ...
14503         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
14504         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
14505         from ...
14506         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
14507         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
14508         entry from ...
14509         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
14511 2014-07-17  Will Newton  <will.newton@linaro.org>
14513         * sysdeps/arm/bits/atomic.h
14514         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
14515         (__arch_compare_and_exchange_bool_16_int): Likewise.
14516         (__arch_compare_and_exchange_bool_64_int): Likewise.
14518         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
14519         into an #else block.
14521 2014-07-16  Roland McGrath  <roland@hack.frob.com>
14523         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
14524         just Linux configurations.  Test empirically that the compiler sets
14525         __ARM_EABI__, rather than using the tuple to decide.
14526         * sysdeps/arm/preconfigure: Regenerated.
14527         * sysdeps/unix/sysv/linux/arm/configure: File removed.
14528         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
14529         contents appended ...
14530         * sysdeps/arm/configure.ac: ... here.
14531         * sysdeps/arm/configure: Regenerated.
14533 2014-07-15  Roland McGrath  <roland@hack.frob.com>
14535         * nptl/pthread_kill.c: New file.
14536         * nptl/pthread_sigmask.c: New file.
14537         * nptl/pthread_sigqueue.c: New file.
14539         * sysdeps/nptl/lowlevellock.h: New file.
14540         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
14541         * sysdeps/nptl/lowlevellock-futex.h: New file.
14543         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
14544         Remove dead declarations.
14546 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
14548         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
14549         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
14550         config-cflags-avx2.
14551         * sysdeps/x86_64/configure.ac: Likewise.
14552         * sysdeps/i386/configure: Regenerated.
14553         * sysdeps/x86_64/configure: Likewise.
14554         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14555         memset-avx2 only if config-cflags-avx2 is yes.
14556         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14557         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
14558         defined.
14559         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
14560         only if HAVE_AVX2_SUPPORT is defined.
14561         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14563 2014-07-14  Alan Modra  <amodra@gmail.com>
14565         [BZ #17153]
14566         * elf/elf.h (DT_PPC64_NUM): Correct value.
14567         * NEWS: Add to fixed bug list.
14569 2014-07-13  Jim Meyering  <meyering@fb.com>
14571         [BZ 17150]
14572         regex: don't deref NULL upon heap allocation failure
14573         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
14574         failure in one more place.
14575         To trigger the segfault, configure grep -with-included-regex,
14576         build it, and run these commands:
14577         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
14579 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
14581         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14583 2014-07-11  Richard Henderson  <rth@redhat.com>
14585         * sysdeps/aarch64/libm-test-ulps: Update.
14587 2014-07-10  Florian Weimer  <fweimer@redhat.com>
14589         [BZ #17135]
14590         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
14591         * nptl/allocatestack.c (__nptl_setxid_error): New function.
14592         (__nptl_setxid): Initialize error member.  Call
14593         __nptl_setxid_error.
14594         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
14595         * nptl/descr.h (struct xid_command): Add error member.
14596         * nptl/tst-setuid3.c: New file.
14597         * nptl/Makefile (tests): Add it.
14599 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14601         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
14602         New define.
14603         (__lll_trylock): Use __lll_base_trylock.
14604         (__lll_cond_trylock): Likewise.
14606 2014-07-10  Roland McGrath  <roland@hack.frob.com>
14608         * nptl/pthread_create.c (start_thread): Use atomic_or and
14609         lll_futex_wake directly rather than lll_robust_dead.
14610         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
14611         (lll_robust_dead): Macro removed.
14612         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
14613         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
14614         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
14615         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14616         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14617         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
14618         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
14619         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14620         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
14621         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14622         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14623         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14624         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14625         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14626         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14628         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
14629         Use atomic_compare_and_exchange_val_acq directly rather than
14630         lll_robust_trylock.
14631         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
14632         (__lll_robust_trylock, lll_robust_trylock): Removed.
14633         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
14634         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
14635         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14636         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14637         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
14638         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
14639         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14640         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
14641         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14642         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14643         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14644         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14645         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14646         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14648 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14650         * manual/locale.texi (Locale Names): New section documenting
14651         locale name syntax.  Adjust menu and node chaining accordingly.
14652         (Choosing Locale): Reference Locale Names, Locale Categories.
14653         Mention setting LC_ALL=C.  Reflect that name syntax is now
14654         documented.
14655         (Locale Categories): New section title.  Reference Locale Names.
14656         LC_ALL is an environment variable, but not a category.
14657         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
14658         description, now in Locale Name.  Reference that section.  Locale
14659         name syntax is now documented.
14661 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14663         [BZ #17137]
14664         * locale/findlocale.c (name_present, valid_locale_name): New
14665         functions.
14666         (_nl_find_locale): Use the loc_name variable to store name
14667         candidates.  Call name_present and valid_locale_name to check and
14668         validate locale names.  Return an error if the locale is invalid.
14670 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14672         * locale/setlocale.c (setlocale): Use strdup for allocating
14673         composite name copy.
14675 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14677         Sync up with gnulib.
14678         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
14679         [!_LIBC && ENABLE_NLS]: Include gettext.h.
14680         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
14681         and _GL_ARG_NONNULL.
14682         [USE_UNLOCKED_IO]: Include unlocked-io.h.
14683         [!_LIBC]: Include code for Windows and Cygwin.
14684         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
14685         Include prototype for int strerror_r.
14686         [!_LIBC] (is_open): New function.
14687         (flush_stdout): New function.
14688         (print_errno_message): Use it.
14689         (error): Likewise.
14690         (error_at_line): Likewise.
14691         (error_tail) Add function attribute macros.  Use
14692         __builtin_expect.
14694         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
14696         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
14698         * io/ftw.c: Include sys/param.h unconditionally.
14700         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
14702         [BZ #17125]
14703         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
14704         libc_freeres_ptr.
14705         (freecache): New function to free CACHE on exit.
14707         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
14708         initialization.
14710 2014-07-09  David S. Miller  <davem@davemloft.net>
14712         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14714         * sysdeps/sparc/nptl/internaltypes.h: Delete.
14715         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
14716         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
14717         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
14718         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
14719         * sysdeps/sparc/nptl/sem_init.c: Likewise.
14720         * sysdeps/sparc/nptl/sem_post.c: Likewise.
14721         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
14722         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
14723         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
14724         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
14725         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
14726         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
14728 2014-07-09  Andreas Schwab  <schwab@suse.de>
14730         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
14731         output.
14732         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
14733         (do_test): Likewise.
14735         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14737 2014-07-09  Will Newton  <will.newton@linaro.org>
14739         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
14740         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
14741         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
14742         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
14743         * sysdeps/hppa/start.S (_start): Likewise.
14745 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
14747         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
14749         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
14750         defined.
14752 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14754         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
14755         after checking that it is non-NULL.
14757         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
14759 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14761         * sysdeps/powerpc/memmove.c: Remove file.
14762         * sysdeps/powerpc/powerpc32/power4/memcopy.h
14763         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
14764         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
14765         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
14766         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
14767         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
14768         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
14769         string memmove instead of removed powerpc one.
14771         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14772         [weak_alias]: Fix compiler warning due trailing data.
14773         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
14774         [weak_alias]: Likewise.
14775         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
14776         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
14778         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14779         (__libc_ifunc_impl_list): Add memmove functions.
14781 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14783         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
14784         Remove code.
14785         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
14786         Likewise
14787         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
14788         Likewise
14789         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
14790         Likewise
14791         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
14792         Likewise
14793         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
14794         Likewise
14795         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
14796         Likewise
14797         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
14798         Likewise
14799         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
14800         Likewise
14801         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
14802         Likewise
14803         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
14804         Likewise
14805         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
14806         Likewise
14807         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
14808         Likewise
14809         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
14810         Likewise
14811         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
14812         Likewise
14813         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
14814         Likewise
14815         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
14816         Likewise
14818 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14820         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
14821         to avoid alignment traps in non-cacheable memory.
14822         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14824         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
14825         multiarch objects.
14826         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
14827         file: multiarch power7 memmove.
14828         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
14829         multiarch default memmove.
14830         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
14831         multiarch memove for powerpc32/power4.
14833         * string/bcopy.c: Use full path to include memmove.c.
14834         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
14835         multiarch objects.
14836         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
14837         bcopy for powerpc64.
14838         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
14839         bcopy for powerpc64.
14840         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
14841         and memmove implementations.
14842         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
14843         optimized multiarch memmove for POWER7/powerpc64.
14844         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
14845         default multiarch memmove for powerpc64.
14846         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
14847         multiarch for powerpc64.
14848         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
14849         for POWER7/powerpc64.
14850         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
14851         memmove for POWER7/powerpc64.
14853         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
14854         glibc default one.
14856         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
14857         __ELF_NATIVE_CLASS equal to 64.
14859 2014-07-07  Roland McGrath  <roland@hack.frob.com>
14861         * sysdeps/nptl/lowlevellock.h: File removed.
14863         * NEWS: NPTL is no longer an add-on!
14864         * nptl/internaltypes.h: Moved ...
14865         * sysdeps/nptl/internaltypes.h: ... here.
14866         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
14867         * sysdeps/nptl/fork.c: Likewise.
14868         * sysdeps/nptl/gai_misc.h: Likewise.
14869         * sysdeps/nptl/librt-cancellation.c: Likewise.
14870         * sysdeps/nptl/jmp-unwind.c: Likewise.
14871         * sysdeps/nptl/setxid.h: Likewise.
14872         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
14873         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
14874         * sysdeps/unix/sysv/linux/arm/Implies: New file.
14875         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
14876         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
14877         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
14878         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
14879         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
14880         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
14881         * sysdeps/unix/sysv/linux/mips/Implies: New file.
14882         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
14883         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
14884         * sysdeps/unix/sysv/linux/sh/Implies: New file.
14885         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
14886         * sysdeps/unix/sysv/linux/tile/Implies: New file.
14887         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
14888         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
14889         * nptl/Makeconfig: Moved ...
14890         * sysdeps/nptl/Makeconfig: ... here.
14891         * nptl/configure: File removed.
14892         * nptl/ANNOUNCE: File removed.
14893         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
14894         * sysdeps/unix/sysv/linux/configure: Regenerated.
14896         * nptl/Makefile (routines): Add libc_pthread_init,
14897         libc_multiple_threads, register-atfork and unregister-atfork.
14898         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
14899         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
14900         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
14901         pthread-pi-defines.sym, structsem.sym.
14902         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
14903         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
14904         [$(subdir) = nptl] (tests): Add tst-setgetname.
14905         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
14906         * sysdeps/unix/sysv/linux/sigaction.c: Just include
14907         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
14908         [!LIBC_SIGACTION]: Remove aliases.
14909         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14910         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14911         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14912         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
14913         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14914         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
14915         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14916         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14917         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14918         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
14919         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
14920         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
14921         __libc_allocate_rtsig_private.
14922         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
14923         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
14924         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
14925         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
14926         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
14927         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
14928         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
14929         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
14930         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
14931         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
14932         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
14933         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
14934         * nptl/internaltypes.h: ... here.
14935         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
14936         * sysdeps/nptl/jmp-unwind.c: ... here.
14937         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
14938         * nptl/libc-lowlevellock.c: ... here.
14939         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
14940         * nptl/libc_multiple_threads.c: ... here.
14941         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
14942         * nptl/libc_pthread_init.c: ... here.
14943         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
14944         * nptl/lowlevelbarrier.sym: ... here.
14945         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
14946         * nptl/lowlevelcond.sym: ... here.
14947         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
14948         * nptl/lowlevellock.c: ... here.
14949         * nptl/lowlevellock.h: Moved ...
14950         * sysdeps/nptl/lowlevellock.h: ... here.
14951         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
14952         * nptl/lowlevelrobustlock.c: ... here.
14953         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
14954         * nptl/lowlevelrobustlock.sym: ... here.
14955         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
14956         * nptl/lowlevelrwlock.sym: ... here.
14957         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
14958         * nptl/pt-fork.c: ... here.
14959         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
14960         * nptl/pthread-pi-defines.sym: ... here.
14961         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
14962         * nptl/pthread_attr_getaffinity.c: ... here.
14963         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
14964         * nptl/pthread_attr_setaffinity.c: ... here.
14965         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
14966         * nptl/pthread_mutex_cond_lock.c: ... here.
14967         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14968         Update #include.
14969         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
14970         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
14971         * nptl/pthread_once.c: ... here, replacing old file.
14972         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
14973         * nptl/pthread_yield.c: ... here.
14974         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
14975         * nptl/register-atfork.c: ... here.
14976         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
14977         * nptl/sem_post.c: ... here.
14978         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
14979         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
14980         * nptl/sem_timedwait.c: ... here.
14981         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
14982         * nptl/sem_trywait.c: ... here.
14983         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
14984         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
14985         * nptl/sem_wait.c: ... here.
14986         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
14987         * nptl/structsem.sym: ... here.
14988         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
14989         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
14990         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
14991         * nptl/unregister-atfork.c: ... here.
14992         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
14993         * nptl/unwindbuf.sym: ... here.
14994         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
14995         * sysdeps/nptl/fork.c: ... here.
14996         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
14997         * sysdeps/nptl/fork.h: ... here.
14998         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
14999         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
15000         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
15001         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
15002         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
15003         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
15004         * sysdeps/unix/sysv/linux/getpid.c: ... here.
15005         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
15006         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
15007         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
15008         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
15009         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
15010         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
15011         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
15012         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
15013         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
15014         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
15015         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
15016         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
15017         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
15018         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
15019         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
15020         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
15021         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
15022         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
15023         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
15024         * sysdeps/unix/sysv/linux/raise.c: ... here.
15025         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
15026         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
15027         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
15028         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
15029         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
15030         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
15031         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
15032         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
15033         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
15034         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
15035         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
15036         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
15037         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
15038         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
15039         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
15041 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15043         * sysdeps/generic/memcopy.h: Add comment for
15044         MEMCPY_OK_FOR_FWD_MEMMOVE.
15046 2014-07-04  Will Newton  <will.newton@linaro.org>
15048         * string/memchr.c: Merge from gnulib.
15049         [_LIBC]: Remove conditionals.
15050         (__ptr_t): Remove define.
15051         (LONG_MAX_32_BITS): Likewise.
15052         (LONG_MAX): Likewise.
15053         (MEMCHR): Use ANSI prototype and optimize algorithm.
15055         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
15057 2014-07-03  Roland McGrath  <roland@hack.frob.com>
15059         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
15060         (lll_futex_timed_wait_bitset): Fix syscall argument count.
15062         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
15063         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
15064         in a bare environment with no <stdlib.h> installed.
15065         * sysdeps/nptl/configure: Regenerated.
15067         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
15069         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
15070         AC_EGREP_CPP for kernel header checks, so they only succeed if
15071         including <linux/version.h> actually works right.
15072         * sysdeps/unix/sysv/linux/configure: Regenerated.
15074         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
15075         value so it's not diagnosed as unused.
15077         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
15078         thing) with "ifeq ($(subdir),rt)".
15080 2014-07-03  Richard Henderson  <rth@redhat.com>
15082         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
15083         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
15084         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
15086         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
15087         (math_force_eval): New.
15089         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
15090         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
15092         * sysdeps/alpha/fpu/s_round.c: Remove file.
15093         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
15095         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
15096         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
15097         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
15098         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
15099         (_dl_start, print_statistics): Likewise.
15100         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
15101         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
15103         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15104         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15105         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15106         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15107         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15108         (HP_SMALL_TIMING_AVAIL): Define.
15109         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15110         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15111         (HP_SMALL_TIMING_AVAIL): Define.
15112         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15113         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15115         * sysdeps/aarch64/hp-timing.h: New file.
15117         * sysdeps/generic/hp-timing.h: Remove dead comment.
15118         * sysdeps/generic/hp-timing-common.h: New file.
15119         * sysdeps/alpha/hp-timing.h: Include it.
15120         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
15121         * sysdeps/i386/i686/hp-timing.h: Likewise.
15122         * sysdeps/ia64/hp-timing.h: Likewise.
15123         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15124         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15125         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15126         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15127         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
15128         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
15129         (hp_timing_t): New.
15131         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
15132         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
15133         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
15134         * elf/rtld.c (_dl_start_final): Likewise.
15135         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
15136         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15137         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15138         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15139         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15140         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15141         (HP_TIMING_DIFF_INIT): Remove.
15142         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15143         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15144         (HP_TIMING_DIFF_INIT): Remove.
15145         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15146         * sysdeps/i386/i686/hp-timing.c: Remove file.
15147         * sysdeps/x86_64/hp-timing.c: Remove file.
15148         * sysdeps/ia64/hp-timing.c: Remove file.
15149         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
15150         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
15151         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
15152         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
15154         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
15155         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
15156         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
15157         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15158         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15159         (HP_TIMING_ACCUM): Remove.
15160         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15161         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
15162         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15164         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
15165         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
15166         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
15167         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
15168         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
15169         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15170         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
15171         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15173         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
15175 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
15177         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
15179 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15181         Sync up with gettext.
15182         * intl/loadmsgcat.c: Define O_BINARY if not defined.
15183         [_MSC_VER]: Include malloc.h
15184         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
15185         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
15186         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
15187         TEMP_FAILURE_RETRY.  Cast return of alloca.
15188         [!_LIBC] Call gl_rwlock_init.
15189         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
15191 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15193         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
15194         before checking its value.
15196 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15198         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
15200         * debug/memcpy_chk.c: Don't include pagecopy.h.
15201         * debug/mempcpy_chk.c: Likewise.
15202         * string/memcpy.c: Likewise.
15203         * string/memmove.c: Likewise.
15204         * sysdeps/powerpc/memmove.c: Likewise.
15205         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
15206         definition of PAGE_COPY_FWD_MAYBE here...
15207         * sysdeps/generic/pagecopy.h: ... from here.
15208         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
15210 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15211             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15213         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
15214         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
15215         optimizations.
15216         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15217         (__libc_ifunc_impl_list): Likewise.
15218         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
15219         multiarch strcat for PPC64.
15220         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
15221         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
15223 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15225         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
15227 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15229         * intl/loadmsgcat.c: Remove declaration of
15230         get_sysdep_segment_value.
15231         (get_sysdep_segment_value): Use ISO C style.
15232         (_nl_load_domain): Use ISO C style.  Get rid of redundant
15233         semicolon.  Fix typo and formatting in comment.
15234         (_nl_unload_domain): Use ISO C style.
15236         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
15238 2014-07-02  Will Newton  <will.newton@linaro.org>
15240         * malloc/obstack.c: Merge from gnulib master.
15241         [HAVE_CONFIG_H]: Remove conditional code.
15242         [!_LIBC]: Include config.h.
15243         [!ELIDE_CODE]: Don't include inttypes.h, include
15244         stdint.h unconditionally.
15245         (print_and_abort): Mark as _Noreturn.
15246         (_obstack_allocated_p): Mark as __attribute_pure__.
15247         (obstack_free): Rename to __obstack_free.
15248         [!__attribute__]: Remove conditional code.
15249         * malloc/obstack.h: Merge from gnulib master.
15250         [__cplusplus]: Move conditional down.
15251         [!__attribute_pure__]: Define __attribute_pure__ here
15252         if it is not already defined.
15253         (_obstack_memory_used): Mark as __attribute_pure__.
15254         [!__obstack_free]: Define as obstack_free.
15255         [__GNUC__]: Remove check for ancient NeXT gcc.
15257 2014-07-02  Will Newton  <will.newton@linaro.org>
15258             Paul Eggert  <eggert@cs.ucla.edu>
15260         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
15262 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15264         * resolv/gethnamaddr.c: Add comment warning that the file is
15265         not maintained.
15267 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
15269         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
15270         entries.
15272         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
15273         entry for aio_cancel and aio_cancel64.
15274         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
15275         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
15276         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
15277         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
15278         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
15279         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
15280         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
15281         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
15282         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
15283         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
15284         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
15285         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
15286         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
15288 2014-07-01  Roland McGrath  <roland@hack.frob.com>
15290         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
15291         * nptl/pthread_mutex_lock.c: Likewise.
15292         * nptl/pthread_mutex_timedlock.c: Likewise.
15293         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
15295 2014-07-01  Richard henderson  <rth@redhat.com>
15297         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
15298         (__isnan, __isnanl): Remove.
15299         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
15301         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15303 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
15305         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15307 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
15309         * resolv/nss_dns/dns-host.c (getanswer_r)
15310         [MULTI_PTRS_ARE_ALIASES]: Remove code.
15312 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
15314         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15315         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
15316         undefine.
15317         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
15318         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
15320 2014-07-01  Roland McGrath <roland@hack.frob.com>
15322         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
15323         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
15325         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
15326         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
15328         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
15329         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
15330         ... here.
15331         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
15332         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
15334         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
15335         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
15336         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
15337         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
15339         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
15340         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
15341         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
15342         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
15343         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
15344         Moved ...
15345         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
15346         ... here.
15347         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
15348         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
15349         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
15350         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
15351         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
15352         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
15353         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
15354         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
15355         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
15356         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
15357         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
15358         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
15359         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
15360         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
15361         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
15362         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
15363         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
15364         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
15365         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
15366         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
15367         ... here.
15368         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
15369         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
15370         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
15371         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
15372         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
15373         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
15374         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
15375         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
15377 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
15379         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
15380         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
15381         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
15382         Add sysdep.
15384 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15386         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15388 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
15390         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15391         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15393         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15395         * sysdeps/arm/libm-test-ulps: Regenerated.
15397 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
15398             Roland McGrath <roland@hack.frob.com>
15400         * test-skeleton.c (signal_handler): Kill the whole process group
15401         before killing the child individually.
15402         (main): Report any failure on `setpgid'.
15404 2014-06-30  Roland McGrath  <roland@hack.frob.com>
15406         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
15407         from _TLS_H to _ARM_NPTL_TLS_H.
15408         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
15409         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
15411 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
15413         [BZ #16539]
15414         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
15415         (__expm1l): Return argument unchanged when small but not
15416         subnormal.
15418         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
15419         include macro name.
15420         (_FP_UNPACK_RAW_1_P): Likewise.
15421         (_FP_PACK_RAW_1): Likewise.
15422         (_FP_PACK_RAW_1_P): Likewise.
15423         (_FP_MUL_MEAT_1_wide): Likewise.
15424         (_FP_MUL_MEAT_DW_1_hard): Likewise.
15425         (_FP_MUL_MEAT_1_hard): Likewise.
15426         (_FP_DIV_MEAT_1_imm): Likewise.
15427         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
15428         (_FP_DIV_MEAT_1_udiv): Likewise.
15429         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
15430         (_FP_UNPACK_RAW_2): Likewise.
15431         (_FP_UNPACK_RAW_2_P): Likewise.
15432         (_FP_PACK_RAW_2): Likewise.
15433         (_FP_PACK_RAW_2_P): Likewise.
15434         (_FP_MUL_MEAT_DW_2_wide): Likewise.
15435         (_FP_MUL_MEAT_2_wide): Likewise.
15436         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
15437         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
15438         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
15439         (_FP_MUL_MEAT_2_gmp): Likewise.
15440         (_FP_DIV_MEAT_2_udiv): Likewise.
15441         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
15442         (_FP_FRAC_SRL_4): Likewise.
15443         (_FP_FRAC_SRST_4): Likewise.
15444         (_FP_FRAC_SRS_4): Likewise.
15445         (_FP_UNPACK_RAW_4): Likewise.
15446         (_FP_UNPACK_RAW_4_P): Likewise.
15447         (_FP_PACK_RAW_4): Likewise.
15448         (_FP_PACK_RAW_4_P): Likewise.
15449         (_FP_MUL_MEAT_DW_4_wide): Likewise.
15450         (_FP_MUL_MEAT_4_wide): Likewise.
15451         (_FP_MUL_MEAT_4_gmp): Likewise.
15452         (umul_ppppmnnn): Likewise.
15453         (_FP_DIV_MEAT_4_udiv): Likewise.
15454         (__FP_FRAC_ADD_4): Likewise.
15455         (__FP_FRAC_SUB_3): Likewise.
15456         (__FP_FRAC_SUB_4): Likewise.
15457         (__FP_FRAC_DEC_3): Likewise.
15458         (__FP_FRAC_DEC_4): Likewise.
15459         (__FP_FRAC_ADDI_4): Likewise.
15460         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
15461         (_FP_FRAC_SRL_8): Likewise.
15462         (_FP_FRAC_SRS_8): Likewise.
15464         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
15465         include macro name.
15466         (FP_UNPACK_RAW_EP): Likewise.
15467         (FP_PACK_RAW_E): Likewise.
15468         (FP_PACK_RAW_EP): Likewise.
15469         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
15470         (_FP_ISSIGNAN): Likewise.
15471         (_FP_ADD_INTERNAL): Likewise.
15472         (_FP_FMA): Likewise.
15473         (_FP_CMP): Likewise.
15474         (_FP_SQRT): Likewise.
15475         (_FP_TO_INT): Likewise.
15476         (_FP_FROM_INT): Likewise.
15477         (FP_EXTEND): Likewise.
15478         (_FP_DIV_MEAT_N_loop): Likewise.
15480 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
15482         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
15483         throughout.
15485 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
15487         [BZ #17097]
15488         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
15489         result with correct sign in case of exponents that produce
15490         overflow except for X very close to 1.
15492 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
15494         mktime: merge #if/#ifdef usage from glibc
15495         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
15496         as that works with both Glibc's and Gnulib's style.
15497         See thread starting at Siddhesh Poyarekar's bug report at:
15498         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
15500 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15502         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
15503         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
15504         * sysdeps/tile/tilegx/memmove.c: Remove file.
15506 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
15508         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
15509         abi-name definition.
15510         * scripts/soversions.awk: Do not handle or generate ABI lines.
15511         * shlib-versions: Remove ABI entries.
15512         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
15513         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
15515 2014-06-27  Roland McGrath  <roland@hack.frob.com>
15517         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
15518         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
15519         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
15520         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
15521         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
15522         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
15523         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
15524         Moved ...
15525         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
15526         ... here.
15527         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
15528         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
15529         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
15530         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
15531         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
15532         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
15533         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
15534         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
15535         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
15536         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
15537         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
15538         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
15539         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
15540         Moved ...
15541         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
15542         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
15543         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
15544         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
15545         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
15546         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
15547         Moved ...
15548         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
15549         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
15550         Moved ...
15551         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
15552         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
15553         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
15554         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
15555         Moved ...
15556         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
15557         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
15558         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
15559         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
15560         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
15561         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
15562         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
15563         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
15564         Moved ...
15565         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
15566         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
15567         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
15568         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
15569         Moved ...
15570         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
15571         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
15572         Moved ...
15573         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
15574         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
15575         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
15576         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
15577         Moved ...
15578         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
15579         ... here.
15580         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
15581         Identical file removed.
15582         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
15583         Moved ...
15584         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
15585         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
15586         Identical file removed.
15587         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
15588         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
15589         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
15590         Moved ...
15591         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
15592         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
15593         Identical file removed.
15594         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
15595         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
15596         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
15597         Identical file removed.
15598         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
15599         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
15600         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
15601         Identical file removed.
15602         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
15603         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
15604         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
15605         Identical file removed.
15606         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
15607         Moved ...
15608         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
15609         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
15610         Identical file removed.
15611         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
15612         Moved ...
15613         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
15614         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
15615         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
15616         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
15617         Identical file removed.
15618         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
15619         Moved ...
15620         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
15621         ... here.
15622         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
15623         Identical file removed.
15624         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
15625         Moved ...
15626         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
15627         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
15628         Identical file removed.
15629         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
15630         Moved ...
15631         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
15632         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
15633         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
15634         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
15635         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
15636         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
15637         Moved ...
15638         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
15639         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
15640         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
15642         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
15643         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
15644         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
15645         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
15646         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
15648 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
15650         [BZ #17092]
15651         * nscd/nscd.c (monitor_child): Return exit status of child
15652         instead of return value from wait syscall.
15654 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
15656         * configure.ac (libc_commonpagesize): Remove variable.
15657         (libc_relro_required): Likewise.
15658         (libc_cv_z_relro): Remove configure test.
15659         * configure: Regenerated.
15660         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
15661         variable.
15662         (libc_relro_required): Likewise.
15663         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
15664         (libc_relro_required): Likewise.
15665         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
15666         (libc_relro_required): Likewise.
15667         * sysdeps/arm/preconfigure: Regenerated.
15668         * sysdeps/ia64/preconfigure: Remove file.
15669         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
15670         variable.
15671         (libc_relro_required): Likewise.
15673         [BZ #16561]
15674         [BZ #16562]
15675         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
15676         (__ieee754_yn): Set FE_TONEAREST mode internally and then
15677         recompute overflowing results in original rounding mode.
15678         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
15679         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
15680         recompute overflowing results in original rounding mode.
15681         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
15682         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15683         recompute overflowing results in original rounding mode.
15684         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
15685         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15686         recompute overflowing results in original rounding mode.
15687         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
15688         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15689         recompute overflowing results in original rounding mode.
15690         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
15691         (libc_feholdsetround_ctx): New macro.
15692         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
15693         * sysdeps/i386/fpu/libm-test-ulps: Update.
15694         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
15696 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15698         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
15699         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
15700         corresponding .cpsetup call.
15702 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15704         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
15705         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
15706         * sysdeps/arm/Makefile [$(subdir) = csu]
15707         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
15708         (static-only-routines): Add aeabi_read_tp here.
15709         (shared-only-routines): Add libc-aeabi_read_tp here.
15710         (CFLAGS-libc-start.c): Add -fexceptions here.
15711         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
15712         (sysdep_routines, static-only-routines, shared-only-routines):
15713         Don't add to these here.
15714         (CFLAGS-libc-start.c): Likewise.
15716         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
15717         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
15718         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
15719         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
15720         * sysdeps/arm/Makefile [$(subdir) = rt]
15721         (librt-sysdep_routines, librt-shared-only-routines):
15722         Append rt-aeabi_unwind_cpp_pr1 here.
15723         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
15724         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
15725         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
15726         (libpthread-sysdep_routines, libpthread-shared-only-routines):
15727         Append nptl-aeabi_unwind_cpp_pr1 here.
15728         (tests): Filter out tst-cleanupx4 here.
15729         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
15730         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
15731         Don't do those here.
15733 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15735         * scripts/list-sources.sh: Do not handle ports specially.
15737 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15739         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
15740         * sysdeps/arm/feupdateenv.c: Likewise.
15742         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
15744 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15746         * manual/texinfo.tex: Update to version 2014-05-05.10 with
15747         trailing whitespace removed.
15748         * scripts/config.guess: Update to version 2014-03-23.
15749         * scripts/config.sub: Update to version 2014-05-01
15750         * scripts/install-sh: Update to version 2013-12-25.23.
15751         * scripts/move-if-change: Update from gnulib.
15753 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15755         * debug/memmove_chk.c: Remove pagecopy.h include.
15757 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
15759         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
15760         identical to gnulib mktime.
15762 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15764         * configure.ac: Do not test for machine being rs6000.  Do not test
15765         for powerpc*-*soft.
15766         * configure: Regenerated.
15768         [BZ #11505]
15769         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
15770         test.
15771         * configure: Regenerated.
15772         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
15773         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
15774         Remove configure test.
15775         * sysdeps/arm/configure: Regenerated.
15776         * sysdeps/nptl/configure.ac: Do not check
15777         libc_cv_asm_cfi_directives.
15778         * sysdeps/nptl/configure: Regenerated.
15779         * sysdeps/x86_64/nptl/configure.ac: Remove file.
15780         * sysdeps/x86_64/nptl/configure: Remove generated file.
15781         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
15782         unconditional.
15783         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
15785 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15787         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
15788         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
15789         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
15790         it is defined.
15792         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
15793         instead of whether it is defined.
15794         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
15795         * sysdeps/hppa/dl-machine.h: Likewise.
15796         * sysdeps/ia64/dl-machine.h: Likewise.
15797         * sysdeps/m68k/dl-machine.h: Likewise.
15798         * sysdeps/microblaze/dl-machine.h: Likewise.
15799         * sysdeps/mips/dl-machine.: Likewise.
15800         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15801         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15802         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15803         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15804         * sysdeps/sh/dl-machine.h: Likewise.
15805         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15806         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15807         * sysdeps/tile/dl-machine.h: Likewise.
15808         * sysdeps/x86_64/dl-machine.h: Likewise.
15810         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
15811         code.
15812         (verify_persistent_db): Likewise.
15814 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15816         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
15817         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
15818         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
15819         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
15820         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15821         Moved ...
15822         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
15823         ... here.
15824         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
15825         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
15826         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
15827         Identical file removed.
15828         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
15829         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
15830         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
15831         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
15832         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
15833         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
15834         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
15835         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
15836         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
15837         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
15838         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15839         Moved ...
15840         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
15841         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
15842         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
15843         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
15844         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
15845         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15846         Moved ...
15847         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
15848         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
15849         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
15850         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
15851         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
15852         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15853         Identical file removed.
15854         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
15855         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
15856         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
15857         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
15858         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15859         Moved ...
15860         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
15861         ... here.
15862         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
15863         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
15864         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
15865         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
15866         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
15867         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
15868         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
15869         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
15870         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
15871         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
15872         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15873         Moved ...
15874         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
15875         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
15876         Moved ...
15877         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
15878         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
15879         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
15880         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15881         Moved ...
15882         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
15883         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
15884         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
15886         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
15887         folded into ...
15888         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
15889         * sysdeps/unix/sysv/linux/s390/Versions
15890         (libpthread: GLIBC_2.19): New version set.
15891         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
15892         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
15893         (librt: GLIBC_2.3.3): New version set.
15894         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
15895         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
15896         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
15897         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
15898         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
15899         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
15900         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
15901         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
15902         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
15903         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
15904         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
15905         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
15906         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
15907         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
15908         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
15909         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
15910         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
15911         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
15912         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
15913         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
15914         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
15915         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
15916         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
15917         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
15918         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
15919         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
15920         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
15921         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
15922         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
15923         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
15924         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
15925         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
15926         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
15927         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
15928         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
15929         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
15930         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
15931         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
15932         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
15933         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
15934         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
15935         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
15936         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
15937         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
15938         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
15940         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
15941         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
15942         (__libc_vfork): Define the function under this name.
15943         [!NOT_IN_libc] (__vfork): Make this an alias.
15944         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
15945         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
15946         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
15947         (__libc_vfork): Define the function under this name.
15948         [!NOT_IN_libc] (__vfork): Make this an alias.
15949         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
15950         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
15951         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
15952         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
15953         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
15954         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15956         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
15957         code that was previously under [RESET_PID].
15958         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
15959         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
15960         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
15962         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
15963         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
15964         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
15965         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
15966         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
15967         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
15968         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
15969         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
15970         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
15971         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
15972         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
15973         Moved ...
15974         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
15975         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
15976         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
15977         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
15978         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
15979         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
15980         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
15981         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
15982         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
15983         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
15984         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
15985         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
15986         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
15987         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
15988         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
15989         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
15990         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
15991         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
15992         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
15993         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
15994         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
15995         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
15996         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
15997         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
15998         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
15999         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
16000         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
16001         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
16002         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
16004 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16006         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
16007         that was previously under [RESET_PID].
16008         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
16010 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16012         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
16013         not undefine and redefine.
16014         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
16015         [O_CLOEXEC]: Make code unconditional.
16016         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
16017         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
16018         <kernel-features.h>.
16019         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
16020         conditional variable definition.
16021         (shm_open) [O_CLOEXEC]: Make code unconditional.
16022         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
16023         code.
16025         * configure.ac (USE_REGPARMS): Don't define here.
16026         * configure: Regenerated.
16027         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
16028         * sysdeps/i386/configure: Regenerated.
16030         * nptl/createthread.c: Don't include kernel-features.h.
16031         * nptl/pthread_cancel.c: Likewise.
16032         * nptl/pthread_condattr_setclock.c: Likewise.
16033         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
16034         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
16035         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
16036         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
16037         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
16038         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
16039         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
16040         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
16041         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
16042         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
16043         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
16044         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
16045         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
16046         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
16047         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
16048         * nscd/gai.c: Likewise.
16049         * nss/nss_db/db-open.c: Likewise.
16050         * sysdeps/generic/ldsodefs.h: Likewise.
16051         * sysdeps/sh/nptl/tls.h: Likewise.
16052         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16053         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
16054         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
16055         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
16056         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
16057         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16058         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
16059         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16060         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16061         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
16062         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
16063         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16064         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
16065         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
16066         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
16067         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
16068         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16069         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
16070         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
16071         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
16072         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
16073         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
16074         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
16075         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
16076         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
16077         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
16078         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
16079         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
16080         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
16081         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
16082         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
16083         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
16084         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
16085         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16086         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16087         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16088         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16089         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
16090         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
16091         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
16092         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16093         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
16094         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
16095         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16096         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
16097         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
16098         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
16099         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
16100         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
16101         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
16102         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
16103         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
16104         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
16105         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16106         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
16107         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16108         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
16109         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
16110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
16112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
16113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
16114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
16115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
16116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
16117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
16118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
16121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
16122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
16123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
16124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
16130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
16131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
16132         * sysdeps/unix/sysv/linux/pread.c: Likewise.
16133         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
16134         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
16135         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
16136         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
16137         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
16138         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
16139         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
16140         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
16141         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
16142         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
16143         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
16144         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
16145         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
16146         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
16147         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
16148         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16149         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
16150         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
16151         * sysdeps/unix/sysv/linux/system.c: Likewise.
16152         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
16153         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
16154         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16155         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16156         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16157         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16158         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16160         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
16161         * configure: Regenerated.
16162         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
16164         * configure.ac (base_machine): Do not set specially for particular
16165         machines here.
16166         * configure: Regenerated.
16167         * sysdeps/powerpc/preconfigure: Move machine and base_machine
16168         settings from configure.ac.
16169         * sysdeps/i386/preconfigure: New file.
16170         * sysdeps/s390/preconfigure: Likewise.
16171         * sysdeps/sh/preconfigure: Likewise.
16172         * sysdeps/sparc/preconfigure: Likewise.
16174 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16176         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
16177         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
16178         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
16179         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
16180         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
16181         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
16182         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
16183         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
16184         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
16185         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
16186         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
16187         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
16188         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
16189         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
16190         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
16191         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
16192         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
16193         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
16194         * sysdeps/sparc/sparc64/Makefile: ... appended here.
16196         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
16197         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
16198         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
16199         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
16200         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
16201         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
16202         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
16203         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
16204         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
16205         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
16206         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
16207         * sysdeps/sparc/sparc32/sem_post.c: ... here.
16208         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
16209         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
16210         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
16211         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
16212         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
16213         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
16214         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
16215         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
16216         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
16217         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
16218         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
16219         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
16220         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
16221         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
16222         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
16223         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
16224         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
16225         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
16226         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
16227         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
16228         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
16229         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
16230         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
16231         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
16232         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
16233         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
16235         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
16236         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
16237         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
16238         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
16239         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16240         Moved ...
16241         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
16242         ... here.
16243         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
16244         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
16245         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
16246         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
16247         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
16248         Moved ...
16249         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
16250         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
16251         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
16252         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
16253         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
16254         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
16255         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
16256         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16257         Moved ...
16258         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
16259         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16260         Moved ...
16261         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
16262         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
16263         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
16264         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16265         Moved ...
16266         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
16267         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
16268         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
16269         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
16270         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
16271         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
16272         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
16273         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
16274         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
16275         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16276         Moved ...
16277         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
16278         ... here.
16279         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
16280         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
16281         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
16282         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
16283         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
16284         Moved ...
16285         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
16286         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
16287         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
16288         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
16289         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
16290         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
16291         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
16292         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16293         Moved ...
16294         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
16295         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16296         Moved ...
16297         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
16298         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
16299         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
16300         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16301         Moved ...
16302         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
16303         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
16304         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
16305         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
16306         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
16308 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16310         * timezone/checktab.awk: Update from tzcode 2014e.
16311         * timezone/private.h: Likewise.
16312         * timezone/tzfile.h: Likewise.
16313         * timezone/zdump.c: Likewise.
16314         * timezone/zic.c: Likewise.
16316         * sysdeps/unix/sysv/linux/kernel-features.h
16317         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
16318         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
16319         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
16320         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16321         Remove conditional code.
16323 2014-06-25  Will Newton  <will.newton@linaro.org>
16325         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
16326         (_dl_arm_cap_flags): Add HWCAP2 values.
16327         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
16328         (_DL_HWCAP_COUNT): Increase to 37.
16329         (_DL_HWCAP_LAST): New define.
16330         (_DL_HWCAP2_LAST): New define.
16331         (_dl_procinfo): Add support for printing
16332         AT_HWCAP2 entries.
16333         (_dl_string_hwcap): Use _dl_hwcap_string.
16335 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16337         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16339 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16341         * README: Do not mention ports directory.
16343         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
16344         Remove macro.
16345         * sysdeps/unix/sysv/linux/futimes.c: Do not include
16346         <kernel-features.h>.
16347         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
16348         conditional variable definition.
16349         (__futimes): Update comment.
16350         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
16351         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
16353         [BZ #16560]
16354         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
16355         arguments close to 0.
16356         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
16357         Likewise.
16358         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
16359         Likewise.
16360         * math/auto-libm-test-in: Add more tests of exp10.
16361         * math/auto-libm-test-out: Regenerated.
16362         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16364         * sysdeps/unix/sysv/linux/kernel-features.h
16365         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
16366         * sysdeps/unix/sysv/linux/readv.c: Do not include
16367         <kernel-features.h>.
16368         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16369         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
16370         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
16371         unconditional.
16372         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
16373         conditional code.
16374         * sysdeps/unix/sysv/linux/writev.c: Do not include
16375         <kernel-features.h>.
16376         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16377         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
16378         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
16379         unconditional.
16380         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
16381         conditional code.
16383 2014-06-25  Will Newton  <will.newton@linaro.org>
16385         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
16386         comment changes throughout the file.  Remove checks
16387         for HAVE_*_H definitions that are not required.
16388         (__gen_tempname): Call abort if an unknown kind value is
16389         passed.
16391 2014-06-25  Andreas Schwab  <schwab@suse.de>
16393         [BZ #17086]
16394         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
16395         scalbln, scalblnf, scalblnl in libc.
16397 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16399         [BZ #17086]
16400         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
16401         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
16402         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
16404 2014-06-24  Roland McGrath  <roland@hack.frob.com>
16406         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
16407         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
16408         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
16409         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
16410         Update #include.
16411         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
16412         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
16413         Update #include.
16414         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
16415         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
16416         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
16417         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
16418         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
16419         * sysdeps/x86/bits/pthreadtypes.h: ... here.
16420         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
16421         * sysdeps/x86/bits/semaphore.h: ... here.
16422         * sysdeps/x86/nptl/elide.h: Moved ...
16423         * sysdeps/x86/elide.h: ... here.
16424         * sysdeps/x86_64/nptl/Implies: File removed.
16425         * sysdeps/i386/nptl/Implies: File removed.
16427 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
16429         [BZ #16539]
16430         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
16431         return the argument for normal arguments with exponent below -64.
16432         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16433         Likewise.
16434         * math/auto-libm-test-in: Add another test of expm1.
16435         * math/auto-libm-test-out: Regenerated.
16437         [BZ #16287]
16438         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
16439         calling __erfcl for arguments at least 16.
16440         * math/auto-libm-test-in: Add more tests of erf.
16441         * math/auto-libm-test-out: Regenerated.
16443         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
16444         individual architectures.
16445         * sysdeps/unix/sysv/linux/configure: Regenerated.
16446         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
16447         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
16448         * sysdeps/unix/sysv/linux/powerpc/configure.ac
16449         (ldd_rewrite_script): Define variable.
16450         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
16452         file.
16453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
16454         generated file.
16455         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
16456         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
16457         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
16458         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
16459         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
16460         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
16461         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
16462         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
16464 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16466         [BZ #17084]
16467         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
16468         Rename member __data.d to __data.__elision_data.
16470 2014-06-24  Wilco  <wdijkstr@arm.com>
16472         * NEWS: Add 16918 to fixed bug list.
16474 2014-06-24  Wilco  <wdijkstr@arm.com>
16476         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
16478 2014-06-24  Wilco  <wdijkstr@arm.com>
16480         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
16481         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
16482         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
16483         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
16484         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
16485         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
16486         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
16487         Use _FPU_MASK_RM.
16489 2014-06-24  Wilco  <wdijkstr@arm.com>
16491         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
16493 2014-06-24  Wilco  <wdijkstr@arm.com>
16495         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
16496         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
16497         * sysdeps/arm/fesetround.c (fesetround): Remove space.
16498         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
16500 2014-06-24  Wilco  <wdijkstr@arm.com>
16502         [BZ #16918]
16503         * sysdeps/arm/feupdateenv.c (feupdateenv):
16504         Rewrite to reduce FPSCR accesses and fix return value.
16506 2014-06-24  Wilco  <wdijkstr@arm.com>
16508         * sysdeps/arm/fclrexcpt.c (feclearexcept):
16509         Optimize to avoid unnecessary FPSCR writes.
16510         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
16511         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
16512         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
16513         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
16515 2014-06-24  Wilco  <wdijkstr@arm.com>
16517         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
16518         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
16519         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
16520         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
16521         Call libc_fetestexcept_vfp.
16522         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
16523         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
16524         __SOFTFP__ ifdef so that they can be built for softfp.
16526 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16528         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
16529         argument type signed char.
16531         * Makerules (check-abi): Dump diff of symlist if the test
16532         fails.
16534 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16536         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
16537         using abort.
16539         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
16540         Remove unused variable ST.
16542 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
16544         [BZ #16354]
16545         [BZ #17061]
16546         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
16547         small arguments before calling __expm1.
16548         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
16549         small arguments before calling __expm1f.
16550         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
16551         small arguments before calling __expm1l.
16552         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16553         Likewise.
16554         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
16555         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
16556         spurious underflow for some cosh tests.
16557         * math/auto-libm-test-out: Regenerated.
16558         * sysdeps/i386/fpu/libm-test-ulps: Update.
16560         [BZ #17050]
16561         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
16562         (__ieee754_y1): Set errno if return value overflows.
16563         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
16564         (__ieee754_y1f): Set errno if return value overflows.
16565         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
16566         (__ieee754_y1l): Set errno if return value overflows.
16567         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
16568         (__ieee754_y1l): Set errno if return value overflows.
16569         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
16570         * math/auto-libm-test-out: Regenerated.
16572         * math/gen-auto-libm-tests.c: Document use of
16573         ignore-zero-inf-sign.
16574         (input_flag_type): Add value flag_ignore_zero_inf_sign.
16575         (input_flags): Add ignore-zero-inf-sign.
16576         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
16577         * math/gen-libm-test.pl (generate_testfile): Handle
16578         ignore-zero-inf-sign.
16579         * math/auto-libm-test-in: Mark some cpow tests with
16580         ignore-zero-inf-sign and some with xfail-rounding.
16581         * math/auto-libm-test-out: Regenerated.
16582         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
16583         * sysdeps/i386/fpu/libm-test-ulps: Update.
16584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16586         [BZ #16315]
16587         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
16588         overflowing or underflowing operations take place with sign of
16589         result.
16590         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16591         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16592         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
16593         (__ieee754_pow): Recompute overflowing and underflowing results in
16594         original rounding mode.
16595         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
16596         (__powl_helper): Allow negative argument X and scale negated value
16597         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
16598         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
16599         overflowing or underflowing operations take place with sign of
16600         result.
16601         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
16602         Include <math.h>.
16603         * math/auto-libm-test-in: Add more tests of pow.
16604         * math/auto-libm-test-out: Regenerated.
16605         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
16606         (pow_tonearest_test_data): Remove.
16607         (pow_test_tonearest): Likewise.
16608         (pow_towardzero_test_data): Likewise.
16609         (pow_test_towardzero): Likewise.
16610         (pow_downward_test_data): Likewise.
16611         (pow_test_downward): Likewise.
16612         (pow_upward_test_data): Likewise.
16613         (pow_test_upward): Likewise.
16614         (main): Don't call removed functions.
16615         * sysdeps/i386/fpu/libm-test-ulps: Update.
16616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16618 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
16621         Moved ...
16622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
16623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16624         Moved ...
16625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
16626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16627         Moved ...
16628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
16629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16630         Moved ...
16631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
16632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16633         File removed.
16634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16635         File removed.
16636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
16637         File removed.
16638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
16639         File removed.
16640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
16641         File removed.
16642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
16643         File removed.
16644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
16645         File removed.
16646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16647         File removed.
16648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
16649         File removed.
16650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16651         File removed.
16652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
16653         File removed.
16654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
16655         File removed.
16656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
16657         Moved ...
16658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
16659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
16660         Moved ...
16661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
16662         ... here.
16663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
16664         Moved ...
16665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
16666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
16667         Moved ...
16668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
16669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
16670         Moved ...
16671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
16672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
16673         Moved ...
16674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
16675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
16676         Moved ...
16677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
16678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
16679         Moved ...
16680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
16681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
16682         Moved ...
16683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
16684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
16685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
16686         ... here.
16687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
16688         Moved ...
16689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
16690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16691         Moved ...
16692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16693         ... here.
16694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
16695         Moved ...
16696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16697         ... here.
16698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16699         Moved ...
16700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
16701         ... here.
16702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16703         Moved ...
16704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
16705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16706         Moved ...
16707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
16708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
16709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
16710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16711         Moved ...
16712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
16713         ... here.
16714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16715         Moved ...
16716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
16717         ... here.
16718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16719         Moved ...
16720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
16721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16722         Moved ...
16723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
16724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16725         Moved ...
16726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
16727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16728         Moved ...
16729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
16730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16731         Moved ...
16732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
16733         ... here.
16734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16735         Moved ...
16736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
16737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16738         Moved ...
16739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
16740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16741         Moved ...
16742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
16743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16744         Moved ...
16745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
16746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
16747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
16748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16749         Moved ...
16750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
16751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16752         Moved ...
16753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
16754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16755         Moved ...
16756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
16757         ... here.
16758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16759         Moved ...
16760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
16761         ... here.
16762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16763         Moved ...
16764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
16765         ... here.
16766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16767         Moved ...
16768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
16769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16770         Moved ...
16771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
16772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16773         Moved ...
16774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
16775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16776         Moved ...
16777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
16778         ... here.
16779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16780         Moved ...
16781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
16782         ... here.
16783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16784         Moved ...
16785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
16786         ... here.
16787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16788         Moved ...
16789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
16790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16791         Moved ...
16792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
16794 2014-06-23  Will Newton  <will.newton@linaro.org>
16795             Wilco  <wdijkstr@arm.com>
16797         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
16798         implementation.  Include get-rounding-mode.h.
16799         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
16800         [!libc_feholdsetround_noex_ctx]: Define
16801         libc_feholdsetround_noex_ctx.
16802         [!libc_feholdsetround_noexf_ctx]: Define
16803         libc_feholdsetround_noexf_ctx.
16804         [!libc_feholdsetround_noexl_ctx]: Define
16805         libc_feholdsetround_noexl_ctx.
16806         (libc_feholdsetround_ctx): New function.
16807         (libc_feresetround_ctx): New function.
16808         (libc_feholdsetround_noex_ctx): New function.
16809         (libc_feresetround_noex_ctx): New function.
16811 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16813         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
16814         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
16815         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
16816         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
16817         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
16818         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
16820         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
16821         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
16822         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
16823         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
16824         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
16825         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
16826         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
16827         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
16828         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
16829         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
16830         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
16831         Moved ...
16832         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
16833         ... here.
16834         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
16835         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
16836         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
16837         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
16838         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
16839         Moved ...
16840         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
16841         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
16842         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
16843         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
16844         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
16845         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
16846         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
16847         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
16848         Moved ...
16849         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
16850         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
16851         Moved ...
16852         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
16853         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
16854         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
16855         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
16856         Moved ...
16857         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
16858         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
16859         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
16860         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
16861         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
16862         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
16863         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
16864         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
16865         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
16866         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
16867         Moved ...
16868         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
16869         ... here.
16870         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
16871         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
16872         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
16873         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
16874         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
16875         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
16876         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
16877         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
16878         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
16879         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
16880         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
16881         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
16882         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
16883         Moved ...
16884         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
16885         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
16886         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
16887         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
16888         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
16889         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
16890         Moved ...
16891         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
16892         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
16893         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
16894         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
16895         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
16897         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
16898         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
16899         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
16900         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
16901         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
16902         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
16903         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
16904         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
16905         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
16906         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
16907         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
16908         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
16909         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
16910         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
16911         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
16912         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
16913         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
16914         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
16915         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
16916         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
16917         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
16918         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
16919         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
16920         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
16921         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
16922         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
16923         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
16924         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
16926 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
16928         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
16929         (FALLOC_FL_COLLAPSE_RANGE): New macro.
16930         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
16931         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
16932         (IPV6_PMTUDISC_INTERFACE): Likewise.
16933         (IPV6_PMTUDISC_OMIT): Likewise.
16935 2014-06-23  Andreas Schwab  <schwab@suse.de>
16937         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
16938         Remove unused errout label.
16940 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16942         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
16943         macro: hardware supports Vector Crypto instructions.
16945 2014-06-23  Will Newton  <will.newton@linaro.org>
16947         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
16948         rather than __builtin_expect.
16950         * elf/dl-lookup.c (undefined_msg): Remove variable.
16951         (_dl_lookup_symbol_x): Replace undefined_msg with string
16952         literal.
16954         * elf/dl-lookup.c (do_lookup_unique): New function.
16955         (do_lookup_x): Move STB_GNU_UNIQUE handling code
16956         to a separate function.
16958 2014-06-23  Andreas Schwab  <schwab@suse.de>
16960         [BZ #17079]
16961         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
16962         before reading the next line.
16964 2014-06-23  Will Newton  <will.newton@linaro.org>
16966         * test-skeleton.c (signal_handler): Use printf and %m
16967         rather than perror.  Use printf rather than fprintf to
16968         stderr.  Use puts rather than fputs to stderr.
16969         (main): Likewise.
16971 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
16973         * nscd/nscd.c (thread_info_t): Remove typedef.
16974         (thread_info): Remove variable.
16976 2014-06-21  Allan McRae  <allan@archlinux.org>
16978         * NEWS: Mention CVE-2014-4043.
16980 2014-06-20  Roland McGrath  <roland@hack.frob.com>
16982         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
16983         * nptl/smp.h: ... here.
16985         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
16987         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
16988         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
16989         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
16990         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
16992         * nptl/allocatestack.c: Include <stack-aliasing.h>.
16993         * nptl/stack-aliasing.h: New file.
16994         * sysdeps/i386/i686/stack-aliasing.h: New file.
16995         * sysdeps/i386/i686/nptl/Makefile: File removed.
16996         * sysdeps/x86_64/stack-aliasing.h: New file.
16997         * sysdeps/x86_64/nptl/Makefile
16998         (CFLAGS-pthread_create.c): Variable removed.
17000         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
17001         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
17002         old file.
17003         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
17004         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
17005         old file.
17007 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
17009         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17010         (__ASSUME_SIGFRAME_V2): Remove macro.
17011         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
17012         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
17013         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
17014         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
17015         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
17016         Declare as function.  Remove conditional macro definitions.
17017         (__default_rt_sa_restorer): Likewise.
17018         (__default_sa_restorer_v1): Remove declaration.
17019         (__default_sa_restorer_v2): Likewise.
17020         (__default_rt_sa_restorer_v1): Likewise.
17021         (__default_rt_sa_restorer_v2): Likewise.
17022         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
17023         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
17024         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
17026 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17028         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
17029         (libpthread-routines): Add sysdep.
17030         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
17031         * sysdeps/unix/sysv/linux/sparc/Versions
17032         (libpthread: GLIBC_2.3.3): New version set.
17033         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
17034         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
17035         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
17036         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
17037         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
17038         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
17039         Moved ...
17040         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
17041         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
17042         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
17043         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
17044         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
17045         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
17046         * sysdeps/sparc/nptl/sem_init.c: ... here.
17047         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
17048         * sysdeps/sparc/nptl/sem_post.c: ... here.
17049         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
17050         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
17051         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
17052         * sysdeps/sparc/nptl/sem_wait.c: ... here.
17053         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
17054         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
17055         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
17056         (libpthread-routines): Add cpu_relax.
17057         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
17058         File removed.
17059         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
17060         (librt: GLIBC_2.3.3): New version set.
17061         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
17062         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
17063         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
17064         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
17065         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
17066         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
17067         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
17068         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
17069         Moved ...
17070         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
17071         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
17072         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
17073         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
17074         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
17075         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
17076         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
17077         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
17078         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
17079         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
17080         Moved ...
17081         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
17082         Update #include.
17083         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
17084         Moved ...
17085         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
17086         Update #include.
17087         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
17088         Moved ...
17089         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
17090         Update #include.
17091         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
17092         Moved ...
17093         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
17094         Update #include.
17095         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
17096         Moved ...
17097         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
17098         Update #include.
17099         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
17100         Moved ...
17101         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
17102         Update #include.
17103         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
17104         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
17105         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
17106         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
17107         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
17108         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
17109         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
17110         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
17111         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
17112         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
17113         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17114         Moved ...
17115         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
17116         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
17117         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
17118         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
17119         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
17121 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17123         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
17124         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
17125         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
17126         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
17127         * nscd/nscd.c: Likewise.
17128         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
17129         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
17130         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
17131         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
17133         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
17134         <kernel-features.h>.
17135         (init_mq_netlink): Remove conditional have_sock_cloexec
17136         definitions.  Remove code conditional on have_sock_cloexec < 0.
17137         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
17138         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
17139         * sysdeps/unix/sysv/linux/opensock.c: Do not include
17140         <kernel-features.h>.
17141         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
17142         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
17144 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17146         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17147         Add tests for memset_chk and memset.
17149         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
17150         with AVX2_Usable.
17152 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17154         [BZ #16046]
17155         * elf/tst-dl-iter-static.c: New file.
17156         * elf/Makefile (tests-static): Add tst-dl-iter-static.
17158         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
17159         error.
17161 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17163         * sysdeps/unix/sysv/linux/kernel-features.h
17164         (__ASSUME_F_GETOWN_EX): Remove macro.
17165         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
17166         <kernel-features.h>.
17167         (miss_F_GETOWN_EX): Remove variable or macro.
17168         (do_fcntl): Do not check miss_F_GETOWN_EX.
17169         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
17171         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
17172         Remove macro.
17173         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
17174         [!__ASSUME_AT_RANDOM]: Remove conditional code.
17175         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
17177         * sysdeps/unix/sysv/linux/kernel-features.h
17178         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
17179         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
17180         [ADJ_OFFSET_SS_READ]: Make code unconditional.
17181         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
17183 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17185         [BZ #17075]
17186         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
17187         Fix calculation of the symbol's value.
17188         * sysdeps/arm/tst-armtlsdescloc.c: New file.
17189         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
17190         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
17191         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
17192         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
17193         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
17194         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
17195         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
17196         (modules-names): Add `tst-armtlsdescmod',
17197         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
17198         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
17199         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17200         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
17201         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
17202         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17203         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
17204         ($(objpfx)tst-armtlsdescloc): New dependency.
17205         ($(objpfx)tst-armtlsdescextnow): Likewise.
17206         ($(objpfx)tst-armtlsdescextlazy): Likewise.
17207         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
17208         TLS scheme support.
17209         * sysdeps/arm/configure: Regenerate.
17211 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17213         * include/fcntl.h (__atfct_seterrno): Remove prototype.
17214         (__atfct_seterrno_2): Likewise.
17215         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
17216         <kernel-features.h>.
17217         (__ASSUME_ATFCTS): Do not undefine and redefine.
17218         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
17219         (__have_atfcts): Remove conditional definition.
17220         (__fxstatat([__NR_fstatat64]: Make code unconditional.
17221         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
17222         unreachable if [__ASSUME_ATFCTS].
17223         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
17224         not undefine and redefine.
17225         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
17226         <kernel-features.h>.
17227         (faccessat) [__NR_faccessat]: Make code unconditional.
17228         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
17229         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
17230         <kernel-features.h>.
17231         (fchmodat) [__NR_fchmodat]: Make code unconditional.
17232         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17233         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
17234         <kernel-features.h>.
17235         (fchownat) [__NR_fchownat]: Make code unconditional.
17236         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
17237         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
17238         <kernel-features.h>.
17239         (futimesat) [__NR_futimesat]: Make code unconditional.
17240         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
17241         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17242         <kernel-features.h>.
17243         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17244         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17245         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17246         <kernel-features.h>.
17247         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
17248         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17249         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
17250         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17251         <kernel-features.h>.
17252         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
17253         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17254         * sysdeps/unix/sysv/linux/linkat.c: Do not include
17255         <kernel-features.h>.
17256         (linkat) [__NR_linkat]: Make code unconditional.
17257         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17258         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
17259         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
17260         <kernel-features.h>.
17261         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
17262         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17263         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
17264         <kernel-features.h>.
17265         (mkdirat) [__NR_mkdirat]: Make code unconditional.
17266         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
17267         * sysdeps/unix/sysv/linux/openat.c: Do not include
17268         <kernel-features.h>.
17269         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
17270         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
17271         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
17272         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
17273         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
17274         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
17275         <kernel-features.h>.
17276         (readlinkat) [__NR_readlinkat]: Make code unconditional.
17277         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
17278         result of INLINE_SYSCALL directly, not via int variable.
17279         * sysdeps/unix/sysv/linux/renameat.c: Do not include
17280         <kernel-features.h>.
17281         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
17282         (renameat) [__NR_renameat]: Make code unconditional.
17283         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
17284         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
17285         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
17286         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
17287         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
17288         (__ASSUME_ATFCTS): Do not undefine and redefine.
17289         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
17290         <kernel-features.h>.
17291         (symlinkat) [__NR_symlinkat]: Make code unconditional.
17292         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17293         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
17294         <kernel-features.h>.
17295         (unlinkat) [__NR_unlinkat]: Make code unconditional.
17296         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17297         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
17298         (__ASSUME_ATFCTS): Do not undefine and redefine.
17299         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17300         <kernel-features.h>.
17301         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17302         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17303         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17304         <kernel-features.h>.
17305         (__xmknodat) [__NR_mknodat]: Make code unconditional.
17306         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17308 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17310         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
17312 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
17314         [BZ #17069]
17315         * posix/regcomp.c (parse_reg_exp): Deallocate partially
17316         constructed tree before returning error.
17317         * posix/bug-regexp36.c: Expand test case.
17319 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17321         [BZ #6803]
17322         * math/libm-test.inc (scalbln_test_date):
17323         Add errno expectations.
17324         * math/w_scalblnf.c: New File.
17325         Add wrapper which checks for setting errno to ERANGE.
17326         Add weak_alias for corresponding scalbln function.
17327         * math/w_scalbln.c: Likewise.
17328         * math/w_scalblnl.c: Likewise.
17329         * math/Makefile (libm-calls): Add w_scalbln.
17330         * sysdeps/ieee754/flt-32/s_scalblnf.c:
17331         Remove weak_alias for corresponding scalbln function.
17332         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17333         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17334         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17335         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17336         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
17337         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17338         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
17339         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17340         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
17341         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
17342         Remove long_double_symbol for scalblnl function in libm, libc.
17343         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
17344         Add wrapper which checks for setting errno to ERANGE.
17345         Add long_double_symbol for scalblnl function in libm, libc.
17346         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
17347         Remove long_double_symbol for scalblnl in libm.
17348         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
17349         Add wrapper which checks for setting errno to ERANGE.
17350         Add long_double_symbol for scalblnl function in libm.
17351         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
17352         Do not use wrapper because of own implementation.
17354 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
17356         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
17357         3 bytes for __pad1 for x32.
17358         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
17360 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
17361             H.J. Lu  <hongjiu.lu@intel.com>
17363         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
17364         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
17365         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17366         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17367         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
17369 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
17371         [BZ #17069]
17372         * posix/regcomp.c (parse_expression): Deallocate partially
17373         constructed tree before returning error.
17374         * posix/Makefile.c (tests): Add bug-regex36.
17375         (generated): Add bug-regex36.mtrace.
17376         (tests-special): Add $(objpfx)bug-regex36-mem.out
17377         (bug-regex36-ENV): New variable.
17378         ($(objpfx)bug-regex36-mem.out): New rule.
17379         * posix/bug-regex36.c: New file.
17381 2014-06-19  Will Newton  <will.newton@linaro.org>
17383         * malloc/malloc.c (systrim): If extra is zero then return
17384         early.
17386 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17388         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
17390 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
17392         * sysdeps/aarch64/strchr.S: New file.
17394 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
17396         [BZ #17022]
17397         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
17398         from arguments -2 or below.
17399         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
17400         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
17402 2014-06-18  Andreas Schwab  <schwab@suse.de>
17404         [BZ #17062]
17405         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
17406         of a bracket expr not to run off the end of the string.
17407         * posix/Makefile (tests): Add tst-fnmatch3.
17408         * posix/tst-fnmatch3.c: New file.
17410 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
17412         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
17413         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17414         [$(cross-compiling) = no]: Likewise.
17415         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17416         [$(cross-compiling) = no]: Likewise.
17418 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17420         [BZ #17031]
17421         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
17422         double, adjusted for any remainder from the high double.
17423         * math/libm-test.inc (nearbyint): Add tests.
17424         (rint): Likewise.
17426 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17428         * nptl/sysdeps/powerpc/Makefile: Moved ...
17429         * sysdeps/powerpc/nptl/Makefile: ... here.
17430         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
17431         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
17432         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
17433         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
17434         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
17435         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
17436         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
17437         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
17438         * nptl/sysdeps/powerpc/tls.h: Moved ...
17439         * sysdeps/powerpc/nptl/tls.h: ... here.
17441 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
17443         [BZ #16681]
17444         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
17445         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
17446         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
17447         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
17448         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
17449         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
17450         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
17451         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
17452         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
17454 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
17456         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17458 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
17460         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
17461         defined operator.
17463         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
17464         $TIMEOUTFACTOR.
17466 2014-06-16  Florian Weimer  <fweimer@redhat.com>
17468         [BZ #17058]
17469         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
17470         non-executed part of the test.
17472 2014-06-16  Andreas Schwab  <schwab@suse.de>
17474         * string/bits/string2.h (strdup, strndup): Update feature guard.
17476 2014-06-14  David S. Miller  <davem@davemloft.net>
17478         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17480 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
17482         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
17483         that was previously under [RESET_PID].
17484         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
17486         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
17487         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
17488         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
17489         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17490         (__libc_vfork): New strong alias.
17491         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
17493 2014-06-14 Andi Kleen  <ak@linux.intel.com>
17495         * sysdeps/generic/elide.h: New file.
17497 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17499         * Makefile (installed-headers): Adjust path of pthread.h header.
17501 2014-06-13  Roland McGrath  <roland@hack.frob.com>
17503         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
17504         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
17505         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
17506         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
17508         * nptl/sysdeps/s390/Makefile: Moved ...
17509         * sysdeps/s390/nptl/Makefile: ... here.
17510         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
17511         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
17512         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
17513         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
17514         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
17515         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
17516         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
17517         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
17518         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
17519         * sysdeps/s390/nptl/pthreaddef.h: ... here.
17520         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
17521         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
17522         * nptl/sysdeps/s390/tls.h: Moved ...
17523         * sysdeps/s390/nptl/tls.h: ... here.
17525         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
17526         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
17528 2014-06-13  David S. Miller  <davem@davemloft.net>
17530         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
17531         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
17532         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
17533         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
17534         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
17535         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
17536         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
17537         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
17538         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
17539         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
17540         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
17541         Remove RESET_PID cpp guards.
17542         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
17543         Remove RESET_PID cpp guards.
17544         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
17546 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
17548         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
17549         __sp to uintptr_t.
17551 2014-06-13  Andi Kleen  <ak@linux.intel.com>
17553         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
17554         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
17555         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
17556         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
17557         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
17558         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
17559         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
17560         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
17561         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
17562         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
17563         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
17564         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
17565         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
17566         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
17567         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
17568         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
17569         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
17570         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
17571         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
17572         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
17574         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
17575         (pthread_rwlock_rdlock): Add elision.
17576         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
17577         (pthread_rwlock_wrlock): Add elision.
17578         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
17579         (pthread_rwlock_trywrlock): Add elision.
17580         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
17581         (pthread_rwlock_tryrdlock): Add elision.
17582         * nptl/pthread_rwlock_unlock.c: Include elide.h.
17583         (pthread_rwlock_tryrdlock): Add elision unlock.
17584         * nptl/sysdeps/pthread/pthread.h:
17585         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
17586         (PTHREAD_RWLOCK_INITIALIZER,
17587         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
17588         Handle new elision field.
17589         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
17590         * sysdeps/arm/nptl/bits/pthreadtypes.h
17591         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17592         * sysdeps/sh/nptl/bits/pthreadtypes.h
17593         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17594         * sysdeps/tile/nptl/bits/pthreadtypes.h
17595         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17596         * sysdeps/a/nptl/bits/pthreadtypes.h
17597         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17598         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
17599         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17600         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
17601         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17602         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
17603         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17604         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
17605         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17606         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
17607         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17608         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
17609         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17610         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
17611         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17612         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
17613         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17614         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
17615         (elision_init): Set try_xbegin to zero when no RTM.
17616         * sysdeps/x86/nptl/bits/pthreadtypes.h
17617         (pthread_rwlock_t): Change __pad1 to __rwelision.
17618         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17620 2014-06-13  Andi Kleen  <ak@linux.intel.com>
17622         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
17623         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
17624         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
17625         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
17627 2014-06-13  Meador Inge  <meadori@codesourcery.com>
17629         [BZ #16996]
17630         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
17631         that the cached result has been set before returning it.
17633 2014-06-12  Roland McGrath  <roland@hack.frob.com>
17635         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
17636         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
17637         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
17638         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
17639         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
17640         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
17642         * nptl/sysdeps/sparc/Makefile: Moved ...
17643         * sysdeps/sparc/nptl/Makefile: ... here.
17644         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
17645         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
17646         * nptl/sysdeps/sparc/tls.h: Moved ...
17647         * sysdeps/sparc/nptl/tls.h: ... here.
17648         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
17649         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
17650         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
17651         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
17652         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
17653         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
17654         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
17655         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
17656         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
17657         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
17658         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
17659         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
17660         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
17661         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
17662         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
17663         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
17664         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
17665         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
17666         Update #include.
17667         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
17668         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
17669         Update #include.
17670         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
17671         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
17672         Update #include.
17673         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
17674         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
17675         Update #include.
17677         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
17679         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
17680         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
17682         * sysdeps/pthread/posix-timer.h: Include <list.h>.
17683         (struct list_links): Type removed.
17684         (struct thread_node, struct timer_node): Replace struct list_links
17685         with struct list_head.
17686         (list_unlink_ip): Likewise.
17687         * sysdeps/pthread/timer_routines.c
17688         (timer_free_list, thread_free_list, thread_active_list): Likewise.
17689         (list_append, list_insbefore): Likewise.
17690         (list_init): Function removed.
17691         (thread_init, init_module): Use INIT_LIST_HEAD instead.
17692         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
17693         * sysdeps/pthread/Makefile: ... here, new file.
17695         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
17696         * sysdeps/nptl/Implies: ... here.
17697         * sysdeps/unix/sysv/linux/Implies: Add nptl.
17698         * nptl/sysdeps/pthread/list.h: Moved ...
17699         * include/list.h: ... here.
17700         * nptl/sysdeps/pthread/createthread.c: Moved ...
17701         * nptl/createthread.c: ... here.
17702         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
17703         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
17704         * nptl/pt-longjmp.c: ... here.
17705         * nptl/sysdeps/pthread/Makefile: Moved ...
17706         * sysdeps/nptl/Makefile: ... here.
17707         * nptl/sysdeps/pthread/Subdirs: Moved ...
17708         * sysdeps/nptl/Subdirs: ... here.
17709         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
17710         * sysdeps/nptl/aio_misc.h: ... here.
17711         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
17712         * sysdeps/nptl/bits/libc-lock.h: ... here.
17713         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
17714         * sysdeps/nptl/bits/libc-lockP.h: ... here.
17715         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
17716         * sysdeps/nptl/bits/stdio-lock.h: ... here.
17717         * nptl/sysdeps/pthread/configure: Moved ...
17718         * sysdeps/nptl/configure: ... here.
17719         * nptl/sysdeps/pthread/configure.ac: Moved ...
17720         * sysdeps/nptl/configure.ac: ... here.
17721         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
17722         * sysdeps/nptl/gai_misc.h: ... here.
17723         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
17724         * sysdeps/nptl/librt-cancellation.c: ... here.
17725         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
17726         * sysdeps/nptl/malloc-machine.h: ... here.
17727         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
17728         * sysdeps/nptl/pthread-functions.h: ... here.
17729         * nptl/sysdeps/pthread/pthread.h: Moved ...
17730         * sysdeps/nptl/pthread.h: ... here.
17731         * nptl/sysdeps/pthread/setxid.h: Moved ...
17732         * sysdeps/nptl/setxid.h: ... here.
17733         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
17734         * sysdeps/nptl/sigfillset.c: ... here.
17735         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
17736         * sysdeps/nptl/tcb-offsets.h: ... here.
17737         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
17738         * sysdeps/nptl/tst-mqueue8x.c: ... here.
17739         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
17740         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
17741         * nptl/sysdeps/pthread/allocalim.h: Moved ...
17742         * sysdeps/pthread/allocalim.h: ... here.
17743         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
17744         * sysdeps/pthread/bits/sigthread.h: ... here.
17745         * nptl/sysdeps/pthread/flockfile.c: Moved ...
17746         * sysdeps/pthread/flockfile.c: ... here.
17747         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
17748         * sysdeps/pthread/ftrylockfile.c: ... here.
17749         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
17750         * sysdeps/pthread/funlockfile.c: ... here.
17751         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
17752         * sysdeps/pthread/posix-timer.h: ... here.
17753         * nptl/sysdeps/pthread/timer_create.c: Moved ...
17754         * sysdeps/pthread/timer_create.c: ... here.
17755         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
17756         * sysdeps/pthread/timer_delete.c: ... here.
17757         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
17758         * sysdeps/pthread/timer_getoverr.c: ... here.
17759         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
17760         * sysdeps/pthread/timer_gettime.c: ... here.
17761         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
17762         * sysdeps/pthread/timer_routines.c: ... here.
17763         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
17764         * sysdeps/pthread/timer_settime.c: ... here.
17765         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
17766         * sysdeps/pthread/tst-timer.c: ... here.
17767         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
17768         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
17770         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
17771         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
17773         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
17774         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
17775         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
17776         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
17777         Update #include target.
17778         * nptl/sysdeps/i386/i686/Makefile: Moved ...
17779         * sysdeps/i386/i686/nptl/Makefile: ... here.
17780         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
17781         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
17782         Update #include target.
17783         * nptl/sysdeps/i386/i686/tls.h: Moved ...
17784         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
17785         * nptl/sysdeps/i386/Makefile: Moved ...
17786         * sysdeps/i386/nptl/Makefile: ... here.
17787         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
17788         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
17789         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
17790         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
17791         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
17792         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
17793         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
17794         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
17795         * sysdeps/i386/nptl/pthreaddef.h: ... here.
17796         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
17797         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
17798         * nptl/sysdeps/i386/tls.h: Moved ...
17799         * sysdeps/i386/nptl/tls.h: ... here.
17801         * sysdeps/sh/Makefile [$(subdir) = csu]
17802         (gen-as-const-headers): Add tcb-offsets.sym.
17803         * nptl/sysdeps/sh/Makefile: File removed.
17804         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
17805         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
17806         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
17807         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
17808         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
17809         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
17810         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
17811         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
17812         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
17813         * sysdeps/sh/nptl/pthreaddef.h: ... here.
17814         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
17815         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
17816         * nptl/sysdeps/sh/tls.h: Moved ...
17817         * sysdeps/sh/nptl/tls.h: ... here.
17818         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
17819         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
17820         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
17821         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
17822         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
17823         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
17824         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
17825         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
17826         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
17827         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
17828         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
17829         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
17830         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
17831         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
17832         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
17833         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
17834         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
17835         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
17836         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
17837         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
17838         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
17839         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
17840         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
17841         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
17842         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
17843         Moved ...
17844         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
17845         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
17846         Moved ...
17847         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
17848         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
17849         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
17850         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
17851         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
17852         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
17853         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
17854         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
17855         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
17856         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
17857         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
17858         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
17859         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
17860         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
17861         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
17862         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
17863         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
17864         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
17865         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
17867 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17869         * posix/spawn_faction_addopen.c: Include string.h.
17871 2014-06-11  Roland McGrath  <roland@hack.frob.com>
17873         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
17874         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
17875         * nptl/sysdeps/x86_64/Makefile: Moved ...
17876         * sysdeps/x86_64/nptl/Makefile: ... here.
17877         * nptl/sysdeps/x86_64/configure: Moved ...
17878         * sysdeps/x86_64/nptl/configure: ... here.
17879         * nptl/sysdeps/x86_64/configure.ac: Moved ...
17880         * sysdeps/x86_64/nptl/configure.ac: ... here.
17881         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
17882         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
17883         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
17884         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
17885         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
17886         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
17887         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
17888         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
17889         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
17890         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
17891         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
17892         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
17893         * nptl/sysdeps/x86_64/tls.h: Moved ...
17894         * sysdeps/x86_64/nptl/tls.h: ... here.
17895         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
17896         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
17897         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
17898         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
17900         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
17902 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17904         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17906 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
17908         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
17909         type.
17910         [POSIX] (off_t): Likewise.
17911         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
17912         [POSIX] (S_ISBLK): Require macro.
17913         [POSIX] (S_ISCHR): Likewise.
17914         [POSIX] (S_ISDIR): Likewise.
17915         [POSIX] (S_ISFIFO): Likewise.
17916         [POSIX] (S_ISREG): Likewise.
17917         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
17918         optional-macro.
17919         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
17920         type.
17921         [POSIX] (time_t): Likewise.
17922         [POSIX] (timer_t): Likewise.
17924 2014-06-11  Florian Weimer  <fweimer@redhat.com>
17926         [BZ #17048]
17927         * posix/spawn_int.h (struct __spawn_action): Make the path string
17928         non-const to support deallocation.
17929         * posix/spawn_faction_addopen.c
17930         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
17931         * posix/spawn_faction_destroy.c
17932         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
17933         path in all spawn_do_open actions.
17934         * posix/tst-spawn.c (do_test): Exercise the copy operation in
17935         posix_spawn_file_actions_addopen.
17937 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
17939         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
17940         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
17941         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
17942         conditional code always true.
17943         (__libc_vfork): New alias.
17945 2014-06-11  Roland McGrath  <roland@hack.frob.com>
17947         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17948         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
17950         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
17952         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17953         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
17955         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
17956         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
17958         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17959         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
17961 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
17963         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
17964         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
17965         multiarch strcmp for PPC64.
17966         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
17967         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
17968         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
17969         multiarch optimizations.
17970         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17971         (__libc_ifunc_impl_list): Likewise.
17973 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17975         * benchtests/scripts/validate_benchout.py: New script.
17976         * benchtests/Makefile (bench-func): Call it.
17977         * benchtests/scripts/benchout.schema.json: New file.
17979 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
17981         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
17982         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
17983         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
17984         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
17985         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
17986         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
17987         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
17988         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
17989         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
17990         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
17991         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
17992         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
17993         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
17994         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
17995         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
17996         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
17997         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
17998         Moved ...
17999         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
18000         ... here.
18001         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
18002         Moved ...
18003         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
18004         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
18005         Moved ...
18006         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
18007         ... here.
18008         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
18009         Moved ...
18010         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
18011         ... here.
18012         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
18013         Moved ...
18014         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
18015         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
18016         Moved ...
18017         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
18018         ... here.
18019         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
18020         Moved ...
18021         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
18022         ... here.
18023         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
18024         Moved ...
18025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
18026         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
18027         Moved ...
18028         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
18029         ... here.
18030         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
18031         Moved ...
18032         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
18033         ... here.
18034         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
18035         Moved ...
18036         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
18037         ... here.
18038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
18039         Moved ...
18040         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
18041         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
18042         Moved ...
18043         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
18044         ... here.
18045         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
18046         Moved ...
18047         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
18048         ... here.
18049         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
18050         Moved ...
18051         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
18052         ... here.
18053         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
18054         Moved ...
18055         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
18056         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
18057         Moved ...
18058         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
18059         ... here.
18060         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
18061         Moved ...
18062         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
18063         ... here.
18064         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
18065         Moved ...
18066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
18067         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
18068         Moved ...
18069         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
18070         ... here.
18071         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
18072         Moved ...
18073         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
18074         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
18075         Moved ...
18076         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
18077         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
18078         Moved ...
18079         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
18080         ... here.
18081         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
18082         Moved ...
18083         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
18084         ... here.
18085         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
18086         Moved ...
18087         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
18088         ... here.
18089         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
18090         Moved ...
18091         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
18092         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
18093         Moved ...
18094         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
18095         ... here.
18096         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
18097         Moved ...
18098         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
18099         ... here.
18100         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
18101         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
18102         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
18103         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
18104         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
18105         Moved ...
18106         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18107         ... here.
18108         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
18109         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
18110         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
18111         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
18112         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
18113         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
18114         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
18115         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
18116         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
18117         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
18118         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
18119         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
18120         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
18121         Moved ...
18122         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
18123         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
18124         Moved ...
18125         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
18126         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
18127         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
18128         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
18129         Moved ...
18130         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
18131         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
18132         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
18133         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
18134         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
18135         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
18136         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
18138 2014-06-10  Wilco  <wdijkstr@arm.com>
18140         * math/test-fenv-return.c: New file.
18141         * math/Makefile: Add new test test-fenv-return.
18143 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
18145         [BZ #17042]
18146         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
18147         when x - 1 is zero.
18148         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
18149         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
18150         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
18151         0.0L for an argument of 1.0L.
18152         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
18153         Likewise.
18154         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
18155         value when x - 1 is zero.
18156         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
18157         * sysdeps/i386/fpu/libm-test-ulps: Update.
18158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18160 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
18162         [BZ #15119]
18163         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
18165 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18167         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
18168         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
18170 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18172         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18173         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
18175         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18176         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
18178         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18179         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
18181         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18182         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
18184         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
18185         if not already defined.
18186         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
18187         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
18188         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
18189         (TLS_INIT_TP): Use it.
18190         (TLS_DEFINE_INIT_TP): New macro.
18191         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
18193 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
18195         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
18196         constant.
18197         [POSIX] (IXANY): Likewise.
18198         [POSIX] (OLCUC): Likewise.
18199         [POSIX || POSIX2008] (CBAUD): Do not allow.
18200         [POSIX || POSIX2008] (DEFECHO): Likewise.
18201         [POSIX || POSIX2008] (ECHOCTL): Likewise.
18202         [POSIX || POSIX2008] (ECHOKE): Likewise.
18203         [POSIX || POSIX2008] (ECHOPRT): Likewise.
18204         [POSIX || POSIX2008] (EXTA): Likewise.
18205         [POSIX || POSIX2008] (EXTB): Likewise.
18206         [POSIX || POSIX2008] (FLUSHO): Likewise.
18207         [POSIX || POSIX2008] (LOBLK): Likewise.
18208         [POSIX || POSIX2008] (PENDIN): Likewise.
18209         [POSIX || POSIX2008] (SWTCH): Likewise.
18210         [POSIX || POSIX2008] (VDISCARD): Likewise.
18211         [POSIX || POSIX2008] (VDSUSP): Likewise.
18212         [POSIX || POSIX2008] (VLNEXT): Likewise.
18213         [POSIX || POSIX2008] (VREPRINT): Likewise.
18214         [POSIX || POSIX2008] (VSTATUS): Likewise.
18215         [POSIX || POSIX2008] (VWERASE): Likewise.
18216         (B*): Change to B[0123456789]*.
18217         * conform/data/time.h-data [POSIX || UNIX98]
18218         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
18219         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
18220         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
18221         [POSIX] (tm_*): Do not allow.
18223 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
18225         * Makefile (install): Don't set LANGUAGE.
18226         * Makefile.in (install): Likewise.
18227         * assert/Makefile (test-assert-ENV): Remove variable.
18228         (test-assert-perr-ENV): Likewise.
18229         * elf/Makefile (neededtest4-ENV): Likewise.
18230         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18231         [$(cross-compiling) = no]: Don't set LANGUAGE.
18232         * io/ftwtest-sh (LANG): Remove variable.
18233         * libio/Makefile (tst-widetext-ENV): Likewise.
18234         * manual/install.texi (Running make install): Don't refer to
18235         environment settings for make install.
18236         * INSTALL: Regenerated.
18237         * nptl/tst-tls6.sh: Don't set LANG.
18238         * posix/globtest.sh (LANG): Remove variable.
18239         * string/Makefile (tester-ENV): Likewise.
18240         (inl-tester-ENV): Likewise.
18241         (noinl-tester-ENV): Likewise.
18242         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18243         [$(cross-compiling) = no]: Don't set LANGUAGE.
18244         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
18245         without explicit environment settings.
18247 2014-06-06  Roland McGrath  <roland@hack.frob.com>
18249         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
18250         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
18251         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
18252         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
18254 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
18256         * crypt/crypt-private.h [DOS]: Add some includes taken from the
18257         other files in the crypt directory.
18258         * crypt/crypt.c: Remove duplicate includes.
18259         * crypt/crypt-entry.c: Likewise.
18260         * crypt/crypt_util.c: Likewise.
18262 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
18264         * Makeconfig (run-program-env): New variable.
18265         (run-program-prefix-before-env): Likewise.
18266         (run-program-prefix-after-env): Likewise.
18267         (run-program-prefix): Define in terms of new variables.
18268         (built-program-cmd-before-env): New variable.
18269         (built-program-cmd-after-env): Likewise.
18270         (built-program-cmd): Define in terms of new variables.
18271         (test-program-prefix-before-env): New variable.
18272         (test-program-prefix-after-env): Likewise.
18273         (test-program-prefix): Define in terms of new variables.
18274         (test-program-cmd-before-env): New variable.
18275         (test-program-cmd-after-env): Likewise.
18276         (test-program-cmd): Define in terms of new variables.
18277         * Rules (make-test-out): Use $(run-program-env).
18278         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
18279         (help): Do not mention environment variables.  Mention
18280         --timeoutfactor option.
18281         (timeoutfactor): New variable.
18282         (blacklist_exports): Remove function.
18283         (exports): Remove variable.
18284         (command): Do not include ${exports}.
18285         * manual/install.texi (Configuring and compiling): Do not mention
18286         test wrappers preserving environment variables.  Mention that last
18287         assignment to a variable must take precedence.
18288         * INSTALL: Regenerated.
18289         * benchtests/Makefile (run-bench): Use $(run-program-env).
18290         * catgets/Makefile ($(objpfx)test1.cat): Use
18291         $(built-program-cmd-before-env), $(run-program-env) and
18292         $(built-program-cmd-after-env).
18293         ($(objpfx)test2.cat): Do not specify environment variables
18294         explicitly.
18295         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
18296         $(run-program-env) and $(built-program-cmd-after-env).
18297         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
18298         $(run-program-env) and $(test-program-cmd-after-env).
18299         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
18300         explicitly.
18301         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
18302         run_program_env and test_program_cmd_after_env arguments.
18303         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
18304         * elf/tst-pathopt.sh: Use run_program_env argument.
18305         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
18306         $(test-wrapper-env) and $(run-program-env).
18307         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
18308         run_program_env arguments.
18309         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
18310         * intl/Makefile ($(objpfx)tst-gettext.out): Use
18311         $(test-program-prefix-before-env), $(run-program-env) and
18312         $(test-program-prefix-after-env).
18313         ($(objpfx)tst-gettext2.out): Likewise.
18314         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
18315         run_program_env and test_program_prefix_after_env arguments.
18316         * intl/tst-gettext2.sh: Likewise.
18317         * intl/tst-gettext4.sh: Do not set environment variables
18318         explicitly.
18319         * intl/tst-gettext6.sh: Likewise.
18320         * intl/tst-translit.sh: Likewise.
18321         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
18322         $(test-program-prefix-before-env), $(run-program-env) and
18323         $(test-program-prefix-after-env).
18324         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
18325         run_program_env and test_program_prefix_after_env arguments.
18326         * math/Makefile (run-regen-ulps): Use $(run-program-env).
18327         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
18328         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
18329         explicitly with each use of ${test_wrapper_env}.
18330         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
18331         $(test-program-prefix-before-env), $(run-program-env) and
18332         $(test-program-prefix-after-env).
18333         * posix/tst-getconf.sh: Do not set environment variables
18334         explicitly.
18335         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
18336         run_program_env and test_program_prefix_after_env arguments.
18337         * stdio-common/tst-printf.sh: Do not set environment variables
18338         explicitly.
18339         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
18340         $(test-program-prefix-before-env), $(run-program-env) and
18341         $(test-program-prefix-after-env).
18342         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
18343         run_program_env and test_program_prefix_after_env arguments.
18344         Split $test calls into $test_pre and $test.
18345         * timezone/Makefile (build-testdata): Use
18346         $(built-program-cmd-before-env), $(run-program-env) and
18347         $(built-program-cmd-after-env).
18349 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18351         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
18352         strlen for non SHARED builds.
18354 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18356         * nptl/allocatestack.c (check_list): Inlined function...
18357         (__reclaim_stacks): ... here.
18359 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
18361         [BZ #15698]
18362         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
18363         memory overrun.
18365 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
18367         * Rules (make-test-out): Include
18368         LOCPATH=$(common-objpfx)localedata in default environment.
18369         * debug/Makefile (tst-chk1-ENV): Remove variable.
18370         (tst-chk2-ENV): Likewise.
18371         (tst-chk3-ENV): Likewise.
18372         (tst-chk4-ENV): Likewise.
18373         (tst-chk5-ENV): Likewise.
18374         (tst-chk6-ENV): Likewise.
18375         (tst-lfschk1-ENV): Likewise.
18376         (tst-lfschk2-ENV): Likewise.
18377         (tst-lfschk3-ENV): Likewise.
18378         (tst-lfschk4-ENV): Likewise.
18379         (tst-lfschk5-ENV): Likewise.
18380         (tst-lfschk6-ENV): Likewise.
18381         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
18382         (tst-iconv7-ENV): Likewise.
18383         * intl/Makefile (LOCPATH-ENV): Likewise.
18384         (tst-codeset-ENV): Likewise.
18385         (tst-gettext3-ENV): Likewise.
18386         (tst-gettext5-ENV): Likewise.
18387         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
18388         (tst-fopenloc-ENV): Likewise.
18389         (tst-fgetws-ENV): Remove variable.
18390         (tst-ungetwc1-ENV): Likewise.
18391         (tst-ungetwc2-ENV): Likewise.
18392         (bug-ungetwc2-ENV): Likewise.
18393         (tst-swscanf-ENV): Likewise.
18394         (bug-ftell-ENV): Likewise.
18395         (tst-fgetwc-ENV): Likewise.
18396         (tst-fseek-ENV): Likewise.
18397         (tst-ftell-partial-wide-ENV): Likewise.
18398         (tst-ftell-active-handler-ENV): Likewise.
18399         (tst-ftell-append-ENV): Likewise.
18400         * posix/Makefile (tst-fnmatch-ENV): Likewise.
18401         (tst-regexloc-ENV): Likewise.
18402         (bug-regex1-ENV): Likewise.
18403         (tst-regex-ENV): Likewise.
18404         (tst-regex2-ENV): Likewise.
18405         (bug-regex5-ENV): Likewise.
18406         (bug-regex6-ENV): Likewise.
18407         (bug-regex17-ENV): Likewise.
18408         (bug-regex18-ENV): Likewise.
18409         (bug-regex19-ENV): Likewise.
18410         (bug-regex20-ENV): Likewise.
18411         (bug-regex22-ENV): Likewise.
18412         (bug-regex23-ENV): Likewise.
18413         (bug-regex25-ENV): Likewise.
18414         (bug-regex26-ENV): Likewise.
18415         (bug-regex30-ENV): Likewise.
18416         (bug-regex32-ENV): Likewise.
18417         (bug-regex33-ENV): Likewise.
18418         (bug-regex34-ENV): Likewise.
18419         (bug-regex35-ENV): Likewise.
18420         (tst-rxspencer-ENV): Likewise.
18421         (tst-rxspencer-no-utf8-ENV): Likewise.
18422         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
18423         (tst-sscanf-ENV): Likewise.
18424         (tst-swprintf-ENV): Likewise.
18425         (tst-swscanf-ENV): Likewise.
18426         (test-vfprintf-ENV): Likewise.
18427         (scanf13-ENV): Likewise.
18428         (bug14-ENV): Likewise.
18429         (tst-grouping-ENV): Likewise.
18430         * stdlib/Makefile (tst-strtod-ENV): Likewise.
18431         (tst-strtod3-ENV): Likewise.
18432         (tst-strtod4-ENV): Likewise.
18433         (tst-strtod5-ENV): Likewise.
18434         (testmb2-ENV): Likewise./
18435         * string/Makefile (tst-strxfrm-ENV): Likewise.
18436         (tst-strxfrm2-ENV): Likewise.
18437         (bug-strcoll1-ENV): Likewise.
18438         (test-strcasecmp-ENV): Likewise.
18439         (test-strncasecmp-ENV): Likewise.
18440         * time/Makefile (tst-strptime-ENV): Likewise.
18441         (tst-ftime_l-ENV): Likewise.
18442         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
18443         (tst-mbrtowc-ENV): Likewise.
18444         (tst-wcrtomb-ENV): Likewise.
18445         (tst-mbrtowc2-ENV): Likewise.
18446         (tst-c16c32-1-ENV): Likewise.
18447         (tst-mbsnrtowcs-ENV): Likewise.
18449 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
18451         * manual/resource.texi (How to get information about the memory
18452         subsystem?): Fix typo.
18453         Reported by Peon de la Parra Ivan <peon@keba.com>
18455 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
18457         [BZ #16882]
18458         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
18459         (pthread_spin_lock): Branch out of spin loop to proper location.
18460         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
18461         (pthread_spin_lock): Likewise.
18463         * nptl/tst-spin4.c: New test.
18464         * nptl/Makefile (tests): Add tst-spin4.
18466 2014-06-03  Andreas Schwab  <schwab@suse.de>
18468         [BZ #15946]
18469         * resolv/res_send.c (send_dg): Reload file descriptor after
18470         calling reopen.
18472 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
18474         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18476 2014-06-03  Richard Henderson  <rth@redhat.com>
18478         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
18479         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
18480         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
18481         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
18482         in the SAVE_PID block.
18483         (__libc_vfork): New alias.
18484         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
18486         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
18487         child in registers, not on the stack.  Remove RESET_PID conditionals.
18488         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
18490 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
18492         * sysdeps/aarch64/libm-test-ulps: Regenerate.
18494 2014-06-03  Wilco  <wdijkstr@arm.com>
18496         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
18497         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
18498         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
18499         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
18500         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
18501         Likewise.
18503 2014-06-03  Wilco  <wdijkstr@arm.com>
18505         * sysdeps/aarch64/fpu/math_private.h
18506         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
18507         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
18508         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
18509         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
18510         Fix declarations.
18512 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18514         * crypt/crypt-private.h: Include ufc-crypt.h.
18515         (__b64_from_24bit): Declare extern.
18516         * crypt/crypt_util.c(__b64_from_24bit): New function.
18517         (b64t): New static const variable.
18518         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
18519         (b64t): Remove variable.
18520         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
18521         * crypt/sha256-crypt.c: Include crypt-private.h.
18522         (b64t): Remove variable.
18523         (__sha256_crypt_r): Remove b64_from_24bit and replace
18524         with __b64_from_24bit.
18525         * crypt/sha512-crypt.c: Likewise.
18527 2014-06-02  Roland McGrath  <roland@hack.frob.com>
18529         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
18530         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
18531         Label the code __libc_vfork rather than __vfork.
18532         [!NOT_IN_libc] (vfork): Define as weak alias.
18533         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
18534         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
18535         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
18537 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18539         * malloc/malloc.c (malloc_info): Fix format specifier for
18540         n_mmaps.
18542 2014-06-02  Wilco  <wdijkstr@arm.com>
18544         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
18545         FPCR write.
18547 2014-06-02  Wilco  <wdijkstr@arm.com>
18549         [BZ #17009]
18550         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
18551         Rewrite to reduce FPCR/FPSR accesses.
18553 2014-06-01  David S. Miller  <davem@davemloft.net>
18555         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18557 2014-05-31  David S. Miller  <davem@davemloft.net>
18559         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
18560         to occur in round to nearest mode when |x| >= 2.0
18562 2014-05-30  Richard Henderson  <rth@twiddle.net>
18564         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
18565         (PSEUDO_RET_NOERRNO): Remove.
18566         (ret): Don't redefine.
18567         (ret_NOERRNO): Define in terms of ret.
18568         (ret_ERRVAL): Likewise.
18570         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
18571         use of PSEUDO_RET; perform the error check directly.
18573 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
18575         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
18576         with __int128_t.
18578 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18580         * malloc/malloc (malloc_info): Fix formatting.
18582 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18583             Roland McGrath  <roland@hack.frob.com>
18585         * malloc/malloc (malloc_info): Also print mmapped statistics.
18587 2014-05-30  Roland McGrath  <roland@hack.frob.com>
18589         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
18590         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
18592 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
18594         * malloc/malloc.c (malloc_info): Inline mi_arena.
18596 2014-05-29  Richard Henderson  <rth@twiddle.net>
18598         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
18599         Remove comma before expanding ASM_ARGS_##nr.
18600         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
18601         Make _x0 a strict output; make _x8 a strict input; adjust expansion
18602         of ASM_ARGS_##nr.
18603         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
18604         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
18605         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
18606         (ASM_ARGS_1): Add leading comma.
18608         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
18609         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
18610         to __errno_location.
18611         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
18612         Remove the expected plt for __errno_location.
18614         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18615         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
18616         call to __read_tp.
18618         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18619         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
18620         it and break it down.
18621         (DOCARGS_0, DOCARGS_1): Do nothing.
18622         (DOCARGS_2): Update to store into the new stack frame.
18623         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
18624         (UNDOCARGS_1): Update to restore from the new stack frame.
18625         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
18626         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
18628         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18629         (SINGLE_THREAD_P): New parameter for result regno.
18630         (PSEUDO): Update to match; use cbz instead of beq.
18632         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18633         Use ENTRY to define the _nocancel entry point.  Share the syscall
18634         and syscall error check paths with the cancel path.
18635         (PSEUDO_END): New.
18637         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
18638         whitespace; tabs before and after asm mnemonics.
18640 2014-05-29  Eric Wong  <normalperson@yhbt.net>
18642         [BZ #15132]
18643         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18644         Call fstat64 or stat64 internally, depending on arguments passed.
18645         Replace stat buffer argument with file descriptor argument.
18646         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
18647         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
18648         Pass fd to __internal_statvfs instead of calling fstat64.
18649         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
18650         Pass fd to __internal_statvfs64 instead of calling fstat64.
18651         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
18652         Pass -1 to __internal_statvfs instead of calling stat64.
18653         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
18654         Pass -1 to __internal_statvfs64 instead of calling stat64.
18656 2014-05-28  Roland McGrath  <roland@hack.frob.com>
18658         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
18659         that was previously under [RESET_PID].
18660         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
18662         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
18663         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
18665 2014-05-27  Roland McGrath  <roland@hack.frob.com>
18667         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
18669         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
18670         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
18672 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
18674         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
18676 2014-05-27  Andreas Schwab  <schwab@suse.de>
18678         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
18679         TLS_INIT_TP macro.
18680         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
18681         * elf/rtld.c (init_tls, dl_main): Likewise.
18682         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
18683         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
18684         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
18685         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
18686         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
18687         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
18688         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
18689         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
18690         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
18691         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
18692         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
18693         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
18694         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
18695         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
18696         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
18697         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
18698         * sysdeps/generic/tls.h: Update description.
18700 2014-05-27  Will Newton  <will.newton@linaro.org>
18702         [BZ #16990]
18703         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
18704         and restore r2 rather than just restoring.
18706 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18708         [BZ #16724]
18709         * libio/tst-ftell-append.c: New test case.
18710         * libio/Makefile (tests): Add test case.
18711         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
18712         append mode.
18713         * libio/wfileops.c (do_ftell_wide): Likewise.
18715 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18717         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18719         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
18720         ...
18721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
18722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18723         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
18724         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
18725         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
18726         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
18727         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
18728         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
18729         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
18730         Moved ...
18731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
18732         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
18733         Moved ...
18734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
18735         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
18736         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
18737         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
18738         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
18739         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
18740         ...
18741         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
18742         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
18743         Moved ...
18744         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
18745         here.
18746         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
18747         ...
18748         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
18749         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
18750         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
18752         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
18753         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
18754         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
18755         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
18757         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
18758         merge into ...
18759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
18760         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
18761         ...
18762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
18763         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
18764         ...
18765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
18766         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18767         Moved ...
18768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
18769         here.
18770         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18771         Moved ...
18772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
18773         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18774         Moved ...
18775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
18777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
18778         conditional [RESET_PID].
18779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
18780         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
18781         removed.
18782         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
18783         removed.
18785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
18786         <tcb-offsets.h>.
18787         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18788         (__libc_vfork): New strong alias.
18789         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
18790         removed.
18791         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
18792         Removed.
18794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
18795         <tcb-offsets.h>.
18796         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
18797         (__libc_vfork): New strong alias.
18798         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
18799         removed.
18800         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
18801         removed.
18803 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
18805         * malloc/malloc.c (mi_arena): New function.
18806         (malloc_info): Remove nested function mi_arena. Call non-nosted
18807         function mi_arena.
18809 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18811         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
18812         by insrwi.
18813         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
18814         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
18815         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
18816         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
18817         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
18818         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
18819         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
18821 2014-05-26  Andreas Schwab  <schwab@suse.de>
18823         [BZ #16984]
18824         * locale/programs/repertoire.c (repertoire_read): Add slash
18825         between I18NPATH element and file name.
18826         * locale/programs/locfile.c (locfile_read): Likewise.
18828 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
18830         * nptl/pthread_mutexattr_settype.c
18831         (__pthread_mutexattr_settype):
18832         Disable lock elision for PTHREAD_MUTEX_NORMAL.
18834 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
18836         * nptl/tst-mutex5 (do_test):
18837         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
18839 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18841         * benchtests/README: Document 'init' directive.
18842         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
18843         BENCH_INIT.
18844         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
18845         (parse_file): Recognize 'init' directive.
18847 2014-05-26  Kyle McMartin  <kyle@redhat.com>
18849         [BZ #16796]
18850         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
18851         alignment of struct pthread.
18853 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18855         [BZ #16878]
18856         * nscd/netgroupcache.c (addgetnetgrentX): Look for
18857         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
18858         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
18859         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
18861 2014-05-25  Richard Henderson  <rth@twiddle.net>
18863         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18864         (SINGLE_THREAD_P_PIC): Remove.
18865         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
18866         (SINGLE_THREAD_P_PIC): Remove.
18868         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
18869         branch to syscall error ...
18870         (PSEUDO): ... here.
18871         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
18872         from __local_syscall_error to .Lsyscall_error.
18873         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
18874         (SYSCALL_ERROR): Update label name.
18876         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18877         Do not use DOARGS/UNDOARGS.
18878         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
18879         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
18880         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
18881         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
18882         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
18884         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
18885         block comment.
18887         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
18888         define if !NOT_IN_libc.
18889         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
18890         define with non-default symbol versions.
18892 2014-05-23  Richard Henderson  <rth@twiddle.net>
18894         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
18895         (vfork, __vfork): Define via compat_symbol.
18897         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
18898         [!HAVE_IFUNC] (vfork_compat): Remove.
18899         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
18901 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
18903         [BZ #16978]
18904         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
18905         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
18906         variable.
18908 2014-05-23  Richard Henderson  <rth@twiddle.net>
18910         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
18911         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
18912         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
18913         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
18915         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
18916         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
18917         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
18918         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
18919         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
18920         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
18921         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
18922         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
18923         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
18924         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
18925         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
18926         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
18927         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
18928         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
18929         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
18930         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
18931         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
18932         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
18933         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
18934         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
18935         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
18936         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
18937         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
18938         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
18939         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
18940         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
18941         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
18942         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
18943         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
18944         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
18945         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
18946         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
18947         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
18948         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
18949         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
18950         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
18951         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
18952         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
18953         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
18954         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
18955         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
18956         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
18957         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
18958         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
18959         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
18960         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
18961         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
18962         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
18963         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
18964         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
18965         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
18966         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
18967         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
18968         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
18969         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
18970         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
18972         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
18973         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
18974         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
18975         before exiting on error.
18976         (__libc_vfork): New strong alias.
18977         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
18978         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
18980         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
18981         that was previously under [RESET_PID].
18982         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
18984         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
18986 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
18988         [BZ #16977]
18989         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
18990         value when x - 1 is zero.
18991         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
18992         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
18993         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
18994         0.0L for an argument of 1.0L.
18995         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
18996         Likewise.
18997         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
18998         value when x - 1 is zero.
18999         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
19000         * sysdeps/i386/fpu/libm-test-ulps: Update.
19001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19003 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
19005         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
19006         alphasort and versionsort.
19008 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19010         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
19011         macro.
19012         [copysignf]: Likewise.
19014 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19016         * crypt/md5-crypt.c: Fix formatting.
19018 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19020         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
19021         (b64_from_24bit): New function.
19023 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19025         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
19026         libc_hidden_builtin_def to ifunc.
19027         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19028         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
19030 2014-05-21  Roland McGrath  <roland@hack.frob.com>
19032         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
19033         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
19035 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
19037         * nscd/Depend (linuxthreads): Remove.
19038         (nptl): Add.
19039         * resolv/Depend (linuxthreads): Remove.
19040         * rt/Depend (linuxthreads): Remove.
19042         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
19043         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
19044         $(common-objpfx)elf/.
19045         (link-libc-before-gnulib): Likewise.
19046         (elfobjdir): Remove variable.
19047         * Makefile (install): Use $(elf-objpfx) instead of
19048         $(common-objpfx)elf/.
19049         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
19050         $(elfobjdir)/.
19051         (link-libc-deps): Likewise.
19052         ($(common-objpfx)libc.so): Likewise.
19053         ($(common-objpfx)linkobj/libc.so): Likewise.
19054         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
19055         instead of $(common-objpfx)elf/.
19056         (symbolic-link-list): Likewise.
19057         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19058         [$(cross-compiling) = no]: Likewise.
19059         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
19060         $(elfobjdir)/.
19061         (static-gnulib-arch): Likewise.
19062         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19063         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
19064         $(common-objpfx)elf/.
19066 2014-05-21  Richard Henderson  <rth@redhat.com>
19068         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19069         (SINGLE_THREAD_P): Use the correct width load.  Fold
19070         into the ldr offset.
19072         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
19073         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
19075 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
19077         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
19078         (libgcc_s_resume): Use __attribute_used__.
19079         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
19080         Likewise.
19082 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19084         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
19085         optimization when used with float constants.
19087         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19089 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
19091         [BZ #16915]
19092         * locale/nl_langinfo_l.c: Make direct reference to every
19093         _nl_current_CATEGORY symbol.
19094         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
19095         (tests-static): Add tst-langinfo-static.
19096         (tests-special): Add tst-langinfo-static.out.
19097         ($(objpfx)tst-langinfo.out): Redirect output.
19098         ($(objpfx)tst-langinfo-static.out): New.
19099         * localedata/tst-langinfo.sh: Send output to stdout.
19100         * localedata/tst-langinfo-static.c: New file.
19102         [BZ #16965]
19103         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
19104         when the shift amount is modulo the limb size.
19106 2014-05-20  Richard Henderson  <rth@redhat.com>
19108         [BZ #16967]
19109         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
19110         Change type of sa_flags from unsigned int to int.
19112         [BZ #16966]
19113         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
19115         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
19117 2014-05-20  Will Newton  <will.newton@linaro.org>
19119         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19120         Test the return value of the system call in the nocancel case.
19122 2014-05-20  Will Newton  <will.newton@linaro.org>
19123             Yvan Roux  <yvan.roux@linaro.org>
19125         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
19126         #include of asm/ptrace.h.
19127         (PTRACE_GET_THREAD_AREA): Remove #undef.
19128         (PTRACE_GETHBPREGS): Likewise.
19129         (PTRACE_SETHBPREGS): Likewise.
19130         (struct user_regs_struct): New structure.
19131         (struct user_fpsimd_struct): New structure.
19132         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
19133         #include of asm/ptrace.h and second #include of sys/user.h.
19134         (PTRACE_GET_THREAD_AREA): Remove #undef.
19135         (PTRACE_GETHBPREGS): Likewise.
19136         (PTRACE_SETHBPREGS): Likewise.
19137         (ELF_NGREG): Use new struct user_regs_struct.
19138         (elf_fpregset_t): Use new struct user_fpsimd_struct.
19140 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19142         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
19143         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
19145 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
19147         [BZ #16958]
19148         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
19149         membar to avoid block loads/stores to overlap previous stores.
19151 2014-05-17  Richard Henderson  <rth@redhat.com>
19153         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
19154         Create the __##syscall_name##_nocancel entry point.
19155         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
19156         Remove; let the sysdep-cancel.h code create it.
19158 2014-05-17  David S. Miller  <davem@davemloft.net>
19160         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
19161         Protect with __USE_GNU.
19162         (TIOCSET_TEMPT): Likewise.
19163         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
19164         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
19165         these are already provided in bits/ioctl-types.h
19167 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19169         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
19170         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
19172         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
19173         Use wait4 regardless of [__NR_waitpid].
19175 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
19177         PR libgcc/60166
19178         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
19179         (_FP_NANSIGN_Q): Set the quiet bit.
19181 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
19183         * benchtests/Makefile
19184         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
19185         not $(common-objpfx)math/libm.so.
19186         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
19187         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
19188         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
19189         $(common-objpfx)dlfcn/libdl.so.
19190         ($(objpfx)tst-audit8): Depend on $(libm), not
19191         $(common-objpfx)math/libm.so.
19192         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
19193         not $(common-objpfx)dlfcn/libdl.so.
19194         * math/Makefile
19195         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19196         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
19197         [$(build-shared) = yes].
19198         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
19199         $(common-objpfx)nptl/libpthread.so.
19200         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
19201         $(common-objpfx)math/libm.so$(libm.so-version) or
19202         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
19203         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
19204         $(common-objpfx)dlfcn/libdl.so.
19205         * setjmp/Makefile (link-libm): Remove variable.
19206         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
19207         * stdio-common/Makefile (link-libm): Remove variable.
19208         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
19209         * stdlib/Makefile (link-libm): Remove variable.
19210         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
19211         ($(objpfx)tst-strtod-round): Likewise.
19212         ($(objpfx)tst-tininess): Likewise.
19213         ($(objpfx)tst-strtod-underflow): Likewise.
19214         ($(objpfx)tst-strtod6): Likewise.
19215         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
19216         $(libdl), not $(common-objpfx)nptl/libpthread.so and
19217         $(common-objpfx)dlfcn/libdl.so.
19219 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19221         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
19222         BSD terminal modes definitions.
19224 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19226         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
19227         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
19229         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
19230         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
19231         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
19232         Don't do #include_next.
19233         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
19234         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
19235         Don't do #include_next.
19236         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
19237         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
19238         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
19239         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
19241 2014-05-16  Allan McRae  <allan@archlinux.org>
19243         * po/sv.po: Update Swedish translation from translation project.
19245         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
19246         in sed expression.
19248 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
19250         [BZ #16917]
19251         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
19252         errno if the TIOCGPTN ioctl fails with an error different than
19253         EINVAL.
19254         * login/tst-ptsname.c: New file.
19255         * login/Makefile (tests): Add tst-ptsname.
19257         [BZ #16943]
19258         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
19259         and prlimit64.
19261 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19263         [BZ #16849]
19264         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
19265         herrno to return EAI_AGAIN.
19267 2014-05-14  Roland McGrath  <roland@hack.frob.com>
19269         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
19270         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
19271         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
19272         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
19273         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
19274         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
19275         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
19276         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
19277         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
19278         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
19279         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
19280         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
19281         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
19282         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
19283         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
19284         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
19285         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
19286         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
19287         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
19288         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
19289         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
19290         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
19291         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
19292         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
19293         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
19294         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
19295         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
19296         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
19297         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
19298         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
19299         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
19300         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
19301         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
19302         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
19303         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19304         Moved ...
19305         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
19306         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
19307         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
19308         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
19309         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
19310         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
19311         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
19312         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
19313         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
19314         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
19315         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
19316         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
19317         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
19318         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
19319         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
19320         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
19321         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
19322         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
19323         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
19324         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
19325         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
19326         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
19327         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
19328         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
19329         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
19330         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
19331         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
19332         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19333         Moved ...
19334         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
19335         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
19336         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
19337         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
19338         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
19339         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
19340         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
19341         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
19342         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
19343         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
19344         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
19345         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
19346         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
19347         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
19348         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
19349         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
19350         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
19351         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
19352         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
19353         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19354         Moved ...
19355         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
19356         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
19357         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
19359         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
19360         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
19361         (libpthread-sysdep_routines): Add elision-related stuff here instead.
19362         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
19363         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
19364         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
19365         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
19366         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
19367         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
19368         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
19369         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
19370         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
19371         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
19372         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
19373         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
19374         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
19375         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
19376         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
19377         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
19378         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
19379         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
19380         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
19381         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
19382         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
19383         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
19384         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
19385         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
19386         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
19387         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
19388         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
19389         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
19391         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
19392         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
19394         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
19395         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
19396         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
19397         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
19398         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
19399         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
19400         Moved ...
19401         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
19402         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
19403         Moved ...
19404         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
19405         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
19406         Moved ...
19407         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
19408         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
19409         Moved ...
19410         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
19411         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
19412         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
19413         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
19414         Moved ...
19415         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
19416         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
19417         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
19418         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
19419         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
19420         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
19421         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
19422         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
19423         Moved ...
19424         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
19425         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
19426         Moved ...
19427         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
19428         ... here.
19429         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
19430         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
19431         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
19432         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
19433         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
19434         Moved ...
19435         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
19436         ... here.
19437         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
19438         Moved ...
19439         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
19440         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
19441         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
19442         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
19443         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
19444         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
19445         Moved ...
19446         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
19447         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
19448         Moved ...
19449         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
19450         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
19451         Moved ...
19452         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
19453         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
19454         Moved ...
19455         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
19456         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
19457         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
19458         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
19459         Moved ...
19460         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
19461         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
19462         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
19463         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
19464         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
19465         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
19466         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
19467         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
19468         Moved ...
19469         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
19470         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
19471         Moved ...
19472         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
19473         ... here.
19474         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
19475         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
19476         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
19477         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
19478         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
19479         Moved ...
19480         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
19481         ... here.
19482         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
19483         Moved ...
19484         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
19485         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
19486         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
19487         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
19488         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
19489         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
19490         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
19491         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
19492         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
19493         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
19494         Moved ...
19495         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
19496         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
19497         Moved ...
19498         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
19499         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
19500         Moved ...
19501         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
19502         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
19503         Moved ...
19504         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
19505         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
19506         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
19507         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
19508         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
19509         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
19510         Moved ...
19511         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
19512         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
19513         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
19514         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
19515         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
19516         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
19517         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
19518         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
19519         Moved ...
19520         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
19521         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
19522         Moved ...
19523         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
19524         ... here.
19525         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
19526         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
19527         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
19528         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
19529         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
19530         Moved ...
19531         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
19532         ... here.
19533         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
19534         Moved ...
19535         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
19536         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
19537         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
19538         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
19539         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
19540         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
19541         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
19542         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
19543         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
19544         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
19545         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
19547         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
19548         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
19550         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
19551         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
19553         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
19554         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
19555         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
19556         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
19557         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
19558         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
19559         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
19560         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
19561         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
19562         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
19563         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
19564         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
19565         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
19566         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
19567         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
19568         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
19569         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
19570         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
19571         Moved ...
19572         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
19573         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
19574         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
19575         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
19576         Moved ...
19577         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
19578         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
19579         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
19580         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
19581         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
19582         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
19583         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
19584         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
19585         Moved ...
19586         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
19587         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
19588         Moved ...
19589         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
19590         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
19591         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
19592         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
19593         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
19594         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
19595         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
19596         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
19597         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
19598         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
19599         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
19600         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
19601         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
19602         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
19603         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
19604         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
19605         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
19607         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
19608         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
19609         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
19610         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
19611         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
19613         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
19614         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
19615         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
19616         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
19617         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
19618         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
19619         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
19620         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
19621         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
19622         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
19624         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
19625         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
19627         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
19628         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
19629         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
19630         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
19631         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
19632         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
19633         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
19634         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
19635         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
19636         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
19637         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
19638         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
19639         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
19640         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
19641         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
19642         Update #include.
19643         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
19644         Likewise.
19645         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
19646         Likewise.
19647         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
19648         Likewise.
19649         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
19650         Likewise.
19651         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
19652         Likewise.
19653         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
19654         Likewise.
19655         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
19656         Likewise.
19657         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
19658         Likewise.
19659         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
19660         Likewise.
19661         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
19662         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
19663         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
19664         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
19665         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
19666         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
19667         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
19668         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
19669         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
19670         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
19671         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
19672         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
19673         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
19674         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
19675         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
19677         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
19678         that was previously under [RESET_PID].
19679         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19680         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
19681         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
19683         * sysdeps/i386/nptl/Implies: New file.
19684         * sysdeps/x86_64/nptl/Implies: New file.
19685         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
19686         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
19687         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
19688         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
19690         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
19691         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19692         (__libc_vfork): New strong alias.
19693         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
19694         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
19696         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
19697         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19698         (__libc_vfork): New strong alias.
19699         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
19700         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
19702         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
19703         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19704         (__libc_vfork): New strong alias.
19705         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
19706         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
19707         * nptl/pt-vfork.c: New file.
19708         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
19709         (libpthread: GLIBC_2.20): New version set (empty).
19711 2014-05-14  Will Newton  <will.newton@linaro.org>
19713         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
19714         rather than #if.
19716 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
19718         [BZ #16564]
19719         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
19720         arguments with exponent 65 or above.
19721         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
19722         arguments 0x1p113L or above.
19723         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
19724         to arguments 0x1p107L or above.
19725         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
19726         positive arguments with exponent 65 or above.
19727         * math/auto-libm-test-in: Add more tests of log1p.
19728         * math/auto-libm-test-out: Regenerated.
19730         [BZ #16928]
19731         * math/s_cacos.c (__cacos): Ensure zero real part of result from
19732         non-finite arguments is +0.
19733         * math/s_cacosf.c (__cacosf): Likewise.
19734         * math/s_cacosl.c (__cacosl): Likewise.
19735         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
19736         * sysdeps/i386/fpu/libm-test-ulps: Update.
19737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19739         [BZ #16927]
19740         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
19741         value.
19742         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
19743         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
19744         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
19745         for explicit high bit of mantissa when testing for argument equal
19746         to 1.
19747         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
19748         * sysdeps/i386/fpu/libm-test-ulps: Update.
19749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19751         [BZ #16516]
19752         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
19753         (__erf): Scale by 16 instead of 8 in potentially underflowing
19754         case.  Ensure exception if result actually underflows.
19755         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
19756         (__erff): Scale by 16 instead of 8 in potentially underflowing
19757         case.  Ensure exception if result actually underflows.
19758         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
19759         (efx8): Remove variable.
19760         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19761         case.  Ensure exception if result actually underflows.
19762         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
19763         (efx8): Remove variable.
19764         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19765         case.  Ensure exception if result actually underflows.
19766         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
19767         (efx8): Remove variable.
19768         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19769         case.  Ensure exception if result actually underflows.
19770         * math/auto-libm-test-in: Add more tests of erf.
19771         * math/auto-libm-test-out: Regenerated.
19773 2014-05-14  Andreas Schwab  <schwab@suse.de>
19775         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
19776         Remove code conditionalized on USE___THREAD.
19778         * config.h.in (HAVE_PT_CHOWN): Define as 0.
19779         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
19780         not definedness.
19782 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
19784         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
19785         Define unconditionally.
19786         (__ASSUME_O_CLOEXEC): Likewise.
19787         (__ASSUME_SOCK_CLOEXEC): Likewise.
19788         (__ASSUME_IN_NONBLOCK): Likewise.
19789         (__ASSUME_PIPE2): Likewise.
19790         (__ASSUME_EVENTFD2): Likewise.
19791         (__ASSUME_SIGNALFD4): Likewise.
19792         (__ASSUME_DUP3): Likewise.
19793         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19794         (__ASSUME_DUP3): Do not define.
19795         (__ASSUME_EVENTFD2): Likewise.
19796         (__ASSUME_IN_NONBLOCK): Likewise.
19797         (__ASSUME_O_CLOEXEC): Likewise.
19798         (__ASSUME_PIPE2): Likewise.
19799         (__ASSUME_SIGNALFD4): Likewise.
19800         (__ASSUME_SOCK_CLOEXEC): Likewise.
19801         (__ASSUME_UTIMES): Undefine.
19802         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19803         (__ASSUME_UTIMES): Do not define.
19804         (__ASSUME_O_CLOEXEC): Likewise.
19805         (__ASSUME_SOCK_CLOEXEC): Likewise.
19806         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
19807         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
19808         0x020621].
19809         (__ASSUME_PIPE2): Likewise.
19810         (__ASSUME_EVENTFD2): Likewise.
19811         (__ASSUME_SIGNALFD4): Likewise.
19812         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
19813         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
19814         Do not define.
19815         (__ASSUME_EVENTFD2): Likewise.
19816         (__ASSUME_SIGNALFD4): Likewise.
19817         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19818         (__ASSUME_32BITUIDS): Likewise.
19819         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19820         (__ASSUME_IPC64): Likewise.
19821         (__ASSUME_ST_INO_64_BIT): Likewise.
19822         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
19823         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
19824         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19825         (__ASSUME_UTIMES): Do not define.
19826         (__ASSUME_PSELECT): Likewise.
19827         (__ASSUME_PPOLL): Likewise.
19828         (__ASSUME_O_CLOEXEC): Likewise.
19829         (__ASSUME_SOCK_CLOEXEC): Likewise.
19830         (__ASSUME_IN_NONBLOCK): Likewise.
19831         (__ASSUME_PIPE2): Likewise.
19832         (__ASSUME_EVENTFD2): Likewise.
19833         (__ASSUME_SIGNALFD4): Likewise.
19834         (__ASSUME_DUP3): Likewise.
19835         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19836         (__ASSUME_UTIMES): Likewise.
19837         (__ASSUME_O_CLOEXEC): Likewise.
19838         (__ASSUME_SOCK_CLOEXEC): Likewise.
19839         (__ASSUME_IN_NONBLOCK): Likewise.
19840         (__ASSUME_PIPE2): Likewise.
19841         (__ASSUME_EVENTFD2): Likewise.
19842         (__ASSUME_SIGNALFD4): Likewise.
19843         (__ASSUME_DUP3): Likewise.
19844         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19845         (__ASSUME_UTIMES): Likewise.
19846         (__ASSUME_O_CLOEXEC): Likewise.
19847         (__ASSUME_SOCK_CLOEXEC): Likewise.
19848         (__ASSUME_IN_NONBLOCK): Likewise.
19849         (__ASSUME_PIPE2): Likewise.
19850         (__ASSUME_EVENTFD2): Likewise.
19851         (__ASSUME_SIGNALFD4): Likewise.
19852         (__ASSUME_DUP3): Likewise.
19853         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
19854         Likewise.
19855         (__ASSUME_UTIMES): Likewise.
19856         (__ASSUME_EVENTFD2): Likewise.
19857         (__ASSUME_SIGNALFD4): Likewise.
19858         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19859         (__ASSUME_O_CLOEXEC): Likewise.
19860         (__ASSUME_SOCK_CLOEXEC): Likewise.
19861         (__ASSUME_IN_NONBLOCK): Likewise.
19862         (__ASSUME_PIPE2): Likewise.
19863         (__ASSUME_EVENTFD2): Likewise.
19864         (__ASSUME_SIGNALFD4): Likewise.
19865         (__ASSUME_DUP3): Likewise.
19866         (__ASSUME_UTIMES): Undefine.
19868         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
19869         feclearexcept.  Remove symbol versioning code.
19870         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
19871         symbol versioning code.
19872         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
19873         symbol versioning code.
19874         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
19875         feupdateenv.  Remove symbol versioning code.
19876         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
19877         fegetexceptflag.  Remove symbol versioning code.
19878         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
19879         fesetexceptflag.  Remove symbol versioning code.
19880         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
19881         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
19882         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
19883         (__posix_fadvise64_l32): Remove prototype.
19884         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
19885         code.
19887 2014-05-13  Roland McGrath  <roland@hack.frob.com>
19889         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
19890         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
19891         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
19892         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
19894 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
19896         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
19897         current working directory
19899 2014-05-13  Roland McGrath  <roland@hack.frob.com>
19901         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
19902         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
19903         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
19904         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
19905         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
19906         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
19907         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
19908         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
19909         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
19910         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
19911         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
19912         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
19913         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
19914         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
19915         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
19916         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
19917         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
19918         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
19919         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
19920         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
19921         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
19922         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
19923         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
19924         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
19925         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
19926         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
19927         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
19928         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
19929         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
19930         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
19931         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
19932         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
19933         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
19934         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
19935         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
19936         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
19937         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
19938         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
19939         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
19940         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
19941         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
19942         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
19944         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
19945         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
19947         * sysdeps/unix/sysv/linux/arm/Makefile
19948         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
19949         Add rt-aeabi_unwind_cpp_pr1.
19950         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
19951         Add nptl-aeabi_unwind_cpp_pr1.
19952         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
19953         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
19954         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
19955         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
19956         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
19957         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
19959         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
19960         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
19961         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
19962         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
19964         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
19965         Deconditionalize the code that was previously under [RESET_PID].
19966         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
19968         * sysdeps/generic/exit-thread.h: New file.
19969         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
19970         * include/unistd.h (__exit_thread): Remove declaration.
19971         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
19972         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
19973         * csu/libc-start.c: Include <exit-thread.h>.
19974         (LIBC_START_MAIN): Pass no argument to __exit_thread.
19975         * nptl/pthread_create.c: Include <exit-thread.h>.
19976         (start_thread): Call __exit_thread in place of __exit_thread_inline.
19977         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
19978         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
19979         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
19980         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
19981         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
19982         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
19983         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
19984         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
19985         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
19986         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
19987         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
19988         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
19989         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
19990         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
19991         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
19992         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
19994 2014-05-13  Andreas Schwab  <schwab@suse.de>
19996         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
19998 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
20000         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
20001         (__ASSUME_UTIMES): Do not condition on kernel version.
20002         (__ASSUME_PSELECT): Define unconditionally.
20003         (__ASSUME_PPOLL): Likewise.
20004         (__ASSUME_ATFCTS): Likewise.
20005         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
20006         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
20007         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
20008         (__ASSUME_UTIMENSAT): Define unconditionally.
20009         (__ASSUME_PRIVATE_FUTEX): Likewise.
20010         (__ASSUME_FALLOCATE): Likewise.
20011         (__ASSUME_O_CLOEXEC): Likewise.
20012         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
20013         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
20014         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
20015         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
20016         (__ASSUME_IN_NONBLOCK): Likewise.
20017         (__ASSUME_PIPE2): Likewise.
20018         (__ASSUME_EVENTFD2): Likewise.
20019         (__ASSUME_SIGNALFD4): Likewise.
20020         (__ASSUME_DUP3): Likewise.
20021         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20022         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
20023         (__ASSUME_AT_RANDOM): Likewise.
20024         (__ASSUME_PREADV): Likewise.
20025         (__ASSUME_PWRITEV): Likewise.
20026         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
20027         (__ASSUME_F_GETOWN_EX): Define unconditionally.
20028         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
20029         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20030         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
20031         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20032         (__ASSUME_O_CLOEXEC): Define unconditionally.
20033         (__ASSUME_PSELECT): Do not undefine conditionally.
20034         (__ASSUME_PPOLL): Likewise.
20035         (__ASSUME_ATFCTS): Likewise.
20036         (__ASSUME_SET_ROBUST_LIST): Likewise.
20037         (__ASSUME_UTIMENSAT): Likewise.
20038         (__ASSUME_FDATASYNC): Define unconditionally.
20039         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20040         (__ASSUME_SIGFRAME_V2): Likewise.
20041         )__ASSUME_EVENTFD2): Likewise.
20042         (__ASSUME_SIGNALFD4): Likewise.
20043         (__ASSUME_PSELECT): Do not undefine conditionally.
20044         (__ASSUME_PPOLL): Likewise.
20045         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20046         (__ASSUME_PSELECT): Define unconditionally.
20047         (__ASSUME_PPOLL): Likewise.
20048         (__ASSUME_O_CLOEXEC): Likewise.
20049         (__ASSUME_SOCK_CLOEXEC): Likewise.
20050         (__ASSUME_IN_NONBLOCK): Likewise.
20051         (__ASSUME_PIPE2): Likewise.
20052         (__ASSUME_EVENTFD2): Likewise.
20053         (__ASSUME_SIGNALFD4): Likewise.
20054         (__ASSUME_DUP3): Likewise.
20055         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20056         (__ASSUME_O_CLOEXEC): Likewise.
20057         (__ASSUME_SOCK_CLOEXEC): Likewise.
20058         (__ASSUME_IN_NONBLOCK): Likewise.
20059         (__ASSUME_PIPE2): Likewise.
20060         (__ASSUME_EVENTFD2): Likewise.
20061         (__ASSUME_SIGNALFD4): Likewise.
20062         (__ASSUME_DUP3): Likewise.
20063         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20064         (__ASSUME_EVENTFD2): Likewise.
20065         (__ASSUME_SIGNALFD4): Likewise.
20066         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20068 2014-05-12  Andreas Schwab  <schwab@suse.de>
20070         [BZ #16932]
20071         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
20072         (_nss_nis_gethostbyname4_r): Return error if item length is larger
20073         than maximum RPC packet size.
20074         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
20075         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
20076         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
20077         (_nss_nis_getservbyport_r): Likewise.
20079 2014-05-12  Will Newton  <will.newton@linaro.org>
20081         * malloc/Makefile (tests): Add tst-mallopt.
20082         * malloc/tst-mallopt.c: New file.
20084 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20086         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
20087         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
20089 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20091         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
20092         (tst-tlsmod6.so): Likewise.
20094 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20096         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
20098 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
20100         [BZ #16064]
20101         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
20102         and <dl-procinfo.h>.
20103         (__fegetenv): Save SSE state in envp->__eip if supported.
20104         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
20105         envp->__eip if supported.
20106         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
20107         and <dl-procinfo.h>.
20108         (__fesetenv): Always set __eip, __cs_selector, __opcode,
20109         __data_offset and __data_selector in environment to 0.  Set SSE
20110         state if supported.
20111         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20112         test-fenv-sse.
20113         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
20114         -mfpmath=sse.
20115         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
20117 2014-05-09  Will Newton  <will.newton@linaro.org>
20119         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
20120         and libc_relro_required for ARM.
20121         * sysdeps/arm/preconfigure: Regenerate.
20123 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
20124             Stefan Liebler  <stli@linux.vnet.ibm.com>
20126         * config.make.in (enable-lock-elision): New Makefile variable.
20127         * configure.ac: Likewise.
20128         * configure: Regenerate.
20129         * sysdeps/s390/configure.ac:
20130         Add check for gcc transactions support.
20131         * sysdeps/s390/configure: Regenerate.
20132         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
20133         Build elision files if enabled.
20134         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
20135         Add lock elision support for s390.
20136         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20137         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
20138         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
20139         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
20140         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
20141         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20142         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
20143         Likewise.
20144         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
20145         Likewise.
20146         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
20147         Likewise.
20148         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
20149         Likewise.
20150         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
20151         (__lll_timedlock_elision, __lll_lock_elision)
20152         (__lll_unlock_elision, __lll_trylock_elision)
20153         (lll_timedlock_elision, lll_lock_elision)
20154         (lll_unlock_elision, lll_trylock_elision): Add.
20155         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20156         (pthread_mutex_t): Add lock elision support for s390.
20158 2014-05-14  Wilco  <wdijkstr@arm.com>
20160         * sysdeps/arm/fclrexcpt.c: Cleanup.
20161         * sysdeps/arm/fedisblxcpt.c: Cleanup.
20162         * sysdeps/arm/feenablxcpt.c: Cleanup.
20163         * sysdeps/arm/fegetenv.c: Cleanup.
20164         * sysdeps/arm/fegetexcept.c: Cleanup.
20165         * sysdeps/arm/fegetround.c: Cleanup.
20166         * sysdeps/arm/feholdexcpt.c: Cleanup.
20167         * sysdeps/arm/fesetenv.c: Cleanup.
20168         * sysdeps/arm/fesetround.c: Cleanup.
20169         * sysdeps/arm/feupdateenv.c: Cleanup.
20170         * sysdeps/arm/fgetexcptflg.c: Cleanup.
20171         * sysdeps/arm/fraiseexcpt.c: Cleanup.
20172         * sysdeps/arm/fsetexcptflg.c: Cleanup.
20173         * sysdeps/arm/ftestexcept.c: Cleanup.
20174         * sysdeps/arm/get-rounding-mode.h: Cleanup.
20175         * sysdeps/arm/setfpucw.c: Cleanup.
20177 2014-05-09  Will Newton  <will.newton@linaro.org>
20179         * sysdeps/arm/armv7/strcmp.S: New file.
20180         * NEWS: Mention addition of ARMv7 optimized strcmp.
20182 2014-05-08  Roland McGrath  <roland@hack.frob.com>
20184         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
20185         look for %.ac rather than %.in.
20187         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
20188         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
20189         * sysdeps/mach/hurd/configure: Regenerated.
20190         * sysdeps/unix/sysv/linux/configure: Regenerated.
20192         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
20194 2014-05-07  Steve Ellcey  <sellcey@mips.com>
20196         [BZ# 16922]
20197         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
20198         (LONG_SUB): Ditto.
20199         (PTR_SUB): Ditto.
20201 2014-05-07  Andreas Schwab  <schwab@suse.de>
20203         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
20204         when skipping over non-matching result from nscd.
20206 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
20208         [BZ #16876]
20209         * nptl/sockperf.c (client): Check socket return value.
20211         [BZ #16877]
20212         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
20213         nscd security class.
20215 2014-05-06  Roland McGrath  <roland@hack.frob.com>
20217         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
20218         * sysdeps/arm/unwind.h: ... here.
20220 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
20222         [BZ# 16916]
20223         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
20224         Define.
20226 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20228         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
20229         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
20230         multiarch strncpy for PPC64.
20231         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
20232         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
20233         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
20234         multiarch optimizations.
20235         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20236         (__libc_ifunc_impl_list): Likewise.
20237         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
20238         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
20239         multiarch stpncpy for PPC64.
20240         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
20241         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
20243 2014-05-06  Andreas Schwab  <schwab@suse.de>
20245         [BZ #16912]
20246         * gmon/mcount.c (_MCOUNT_DECL): Use
20247         atomic_compare_and_exchange_bool_acq instead of
20248         catomic_compare_and_exchange_bool_acq.
20250 2014-05-05  Roland McGrath  <roland@hack.frob.com>
20252         * elf/Makefile (others, install-bin): Remove pldd.
20253         (pldd-modules): Variable removed.
20254         ($(objpfx)pldd): Target removed.
20255         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
20256         (others, install-bin): Append pldd here.
20257         ($(objpfx)pldd): New target.
20259         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
20260         to 0, so the first #if test emitted later doesn't see it undefined.
20261         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
20262         * sysdeps/gnu/errlist.c: Regenerated.
20264 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20266         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
20267         [libc_hidden_builtin_def]: Define to empty value.
20268         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
20269         [libc_hidden_builtin_def]: Likewise.
20270         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
20271         [libc_hidden_builtin_def]: Likewise.
20272         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
20273         [libc_hidden_builtin_def]: Likewise.
20274         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
20275         __redirect_memcpy and define ifunc as default hidden symbol.
20276         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
20277         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
20279 2014-05-04  Adam Conrad  <adconrad@0c3.net>
20281         * locale/iso-4217.def: Reintroduce XDR currency.
20283 2014-05-04  Allan McRae  <allan@archlinux.org>
20285         * po/eo.po: Update Esperanto translation from translation project.
20287 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
20289         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
20290         and FEATURE_INDEX_MAX to 1.
20291         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
20293 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20295         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
20296         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
20297         * iconvdata/big5.c (ONE_DIRECTION): Define.
20298         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
20299         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
20300         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
20301         * iconvdata/cp932.c (ONE_DIRECTION): Define.
20302         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
20303         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
20304         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
20305         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
20306         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
20307         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
20308         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
20309         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
20310         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
20311         * iconvdata/gbk.c (ONE_DIRECTION): Define.
20312         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
20313         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
20314         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
20315         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
20316         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
20317         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
20318         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
20319         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
20320         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
20321         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
20322         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
20323         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
20324         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
20325         * iconvdata/iso646.c (ONE_DIRECTION): Define.
20326         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
20327         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
20328         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
20329         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
20330         * iconvdata/johab.c (ONE_DIRECTION): Define.
20331         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
20332         * iconvdata/sjis.c (ONE_DIRECTION): Define.
20333         * iconvdata/t.61.c (ONE_DIRECTION): Define.
20334         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
20335         * iconvdata/tscii.c (ONE_DIRECTION): Define.
20336         * iconvdata/uhc.c (ONE_DIRECTION): Define.
20337         * iconvdata/unicode.c (ONE_DIRECTION): Define.
20338         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
20339         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
20340         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
20342 2014-05-01  Roland McGrath  <roland@hack.frob.com>
20344         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
20345         (_IO_JUMPS_OFFSET): Define to 0.
20347         * nptl/sysdeps/pthread/bits/libc-lock.h
20348         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
20349         (__libc_lock_define_initialized_recursive): Always define using
20350         initializer.  Modern compilers treat uninitialized (implicit zero) and
20351         explicit zero initializers the same (i.e. put the datum in bss).
20353 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20355         * nscd/nscd-client.h: Include <string.h>.
20357 2014-05-01  David S. Miller  <davem@davemloft.net>
20359         [BZ #16885]
20360         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
20361         multiple zero bytes exist at the end of a string.
20362         Reported by Aurelien Jarno <aurelien@aurel32.net>
20364         * string/test-strcmp.c (check): Add explicit test for situations where
20365         there are multiple zero bytes after the first.
20367 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20369         [BZ #16890]
20370         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
20371         when compiling wprintf.
20372         * stdio-common/tstdiomisc.c (t3): New function.
20373         (main): Call it.
20375 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20377         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
20378         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
20379         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
20380         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
20382 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20384         * stdlib/longlong.h: Updated from GCC.
20386 2014-05-01  Will Newton  <will.newton@linaro.org>
20387             Bernard Ogden  <bernie.ogden@linaro.org>
20389         * NEWS: Update fixed bug list.
20391         [BZ #15119]
20392         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
20394 2014-04-30  David S. Miller  <davem@davemloft.net>
20396         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
20397         (libc_feholdexcept_setround_sparc_ctx): New function.
20398         (libc_fesetenv_sparc_ctx): Likewise.
20399         (libc_feupdateenv_sparc_ctx): Likewise.
20400         (libc_feholdsetround_sparc_ctx): Likewise.
20401         (libc_feholdexcept_setround_ctx): Define.
20402         (libc_feholdexcept_setroundf_ctx): Likewise.
20403         (libc_feholdexcept_setroundl_ctx): Likewise.
20404         (libc_fesetenv_ctx): Likewise.
20405         (libc_fesetenvf_ctx): Likewise.
20406         (libc_fesetenvl_ctx): Likewise.
20407         (libc_feupdateenv_ctx): Likewise.
20408         (libc_feupdateenvf_ctx): Likewise.
20409         (libc_feupdateenvl_ctx): Likewise.
20410         (libc_feresetround_ctx): Likewise.
20411         (libc_feresetroundf_ctx): Likewise.
20412         (libc_feresetroundl_ctx): Likewise.
20413         (libc_feholdsetround_ctx): Likewise.
20414         (libc_feholdsetroundf_ctx): Likewise.
20415         (libc_feholdsetroundl_ctx): Likewise.
20417         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
20418         with __USE_GNU instead of XOPEN cpp guards.
20420         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
20421         0.
20423         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
20424         with XOPEN cpp guards.
20426 2014-04-30  Julian Brown  <julian@codesourcery.com>
20428         [BZ #16888]
20429         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
20430         handling.
20432 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
20434         [BZ #9894]
20435         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
20436         Change to 2.6.32.
20437         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
20438         * sysdeps/unix/sysv/linux/configure: Regenerated.
20439         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
20440         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
20441         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
20442         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
20443         * README: Update reference to required Linux kernel version.
20444         * manual/install.texi (Linux): Update reference to required Linux
20445         kernel headers version.
20446         * INSTALL: Regenerated.
20448         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
20449         header inclusion.
20450         [POSIX] (limits.h): Likewise.
20451         [POSIX] (math.h): Likewise.
20452         [POSIX] (sys/wait.h): Likewise.
20453         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
20454         function.
20455         [POSIX] (stddef.h): Do not allow header inclusion.
20457 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20459         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
20461 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
20463         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
20464         Return immediately after lll_futex_wake.
20466 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20468         [BZ #16791]
20469         * nscd/nscd-client.h (datahead_init_common): Initialize entire
20470         structure.
20471         (datahead_init_pos): Call datahead_init_common early.
20472         (datahead_init_neg): Likewise.
20474         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
20475         datahead_init_neg): New functions.
20476         * nscd/aicache.c (addhstaiX): Use them.
20477         * nscd/grpcache.c (cache_addgr): Likewise.
20478         * nscd/hstcache.c (cache_addhst): Likewise.
20479         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20480         * nscd/netgroupcache.c (do_notfound): Likewise.
20481         (addgetnetgrentX): Likewise.
20482         (addinnetgrX): Likewise.
20483         * nscd/pwdcache.c (cache_addpw): Likewise.
20484         * nscd/servicescache.c (cache_addserv): Likewise.
20486 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20487             Atsushi Onoe  <atsushi@onoe.org>
20489         [BZ #14308]
20490         [BZ #12994]
20491         [BZ #13651]
20492         * resolv/res_query.c (__libc_res_nsearch): Return if at least
20493         one response is valid.
20494         * resolv/res_send.c (send_dg): Check for validity of other
20495         response if the current response is a referral.
20497 2014-04-29  Steve Ellcey  <sellcey@mips.com>
20499         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
20501 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
20503         [BZ #16823]
20504         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
20505         Always divide by positive zero when computing -Inf result.
20506         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
20507         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
20509 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20511         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
20512         FPSCR if value do not change.
20513         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20514         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
20515         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
20516         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20517         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
20518         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
20519         function.
20521 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
20523         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
20524         * sysdeps/unix/sysv/linux/hppa: Move directory from
20525         ports/systeps/unix/sysv/linux/hppa.
20526         * README: Update listing for hppa-*-linux-gnu.
20528 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
20530         [BZ #16754]
20531         * manual/stdio.texi (Hook functions): Fix types of stream hook
20532         functions.
20533         [BZ #16854]
20534         * socket/sys/socket.h: Fix typo in comment.
20536 2014-04-28  Wilco  <wdijkstr@arm.com>
20538         * sysdeps/arm/fenv_private.h: New file.
20539         * sysdeps/arm/math_private.h: New file.
20540         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
20542 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
20544         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
20545         with __int128_t.
20546         (La_x86_64_retval): Likewise.
20548 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
20550         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
20551         fpsr if value didn't change.
20552         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
20553         to fpcr if value didn't change.
20554         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
20555         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
20556         fpsr or fpcr if value didn't change.
20557         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
20558         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
20559         fpcr if value didn't change.
20560         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
20561         to fpsr if value didn't change.
20563 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20565         * nptl/tst-sem3.c: Use test-skeleton.c
20566         (main): Rename to do_test.  Use return instead of
20567         exit.
20568         * nptl/tst-sem4.c: Use test-skeleton.c
20569         (main): Rename to do_test.
20571 2014-04-22  David S. Miller  <davem@davemloft.net>
20573         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
20574         (struct sigaction): New struct member __glibc_reserved0, change
20575         type of sa_flags to int.
20577 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
20579         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
20580         (COUNT_LEADING_ZEROS_0): Define for AArch64.
20582 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20584         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
20585         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
20587 2014-04-22  Will Newton  <will.newton@linaro.org>
20588             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
20590         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
20591         (__longjmp): Add longjmp and longjmp_target SystemTap
20592         probes.
20593         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
20594         (__sigsetjmp): Add setjmp SystemTap probe.
20596 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
20598         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
20599         match manual order.
20601 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20603         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
20605         * sysdeps/powerpc/fpu/fenv_private.h
20606         (libc_feholdexcept_setroundl_ctx): Define to
20607         libc_feholdexcept_setround_ppc_ctx.
20608         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
20609         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
20610         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
20611         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
20613 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
20615         * sysdeps/aarch64/math-tests.h: New file.
20617 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
20619         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
20620         New.
20621         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20622         Check and set bit_AVX2_Usable.
20623         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
20624         macro.
20625         (bit_AVX2): Likewise.
20626         (index_AVX2_Usable): Likewise.
20627         (CPUID_AVX2): Likewise.
20628         (HAS_AVX2): Likewise.
20630 2014-04-17  Will Newton  <will.newton@linaro.org>
20632         * manual/setjmp.texi (System V contexts): Add note that
20633         calling setcontext on a context created by a call to a
20634         signal handler is undefined.  Update text to note that
20635         setcontext from a signal handler is possible but not
20636         recommended.
20638         [BZ #16629]
20639         * stdlib/tst-setcontext.c: Include signal.h.
20640         (main): Check that the signal stack before and
20641         after swapcontext is the same.
20643         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
20644         Re-implement to restore registers in user code and avoid
20645         rt_sigreturn system call.
20647 2014-04-17  Wilco  <wdijkstr@arm.com>
20649         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
20650         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
20651         * math/test-fenv.c: Skip exception trap tests on targets which only
20652         support non-stop mode.
20654 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
20655             Wilco Dijkstra  <wilco.dijkstra@arm.com>
20657         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
20658         (libc_feholdsetround_aarch64_ctx)
20659         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
20660         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
20661         (libc_feresetround_ctx, libc_feresetroundf_ctx)
20662         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
20663         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
20664         (libc_feresetround_noexl_ctx): Define.
20666 2014-04-16  Richard Henderson  <rth@redhat.com>
20668         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
20670         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
20671         unwind tables.
20673         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
20674         const from the non-libc, non-ldso copy.
20676         * sysdeps/alpha/libm-test-ulps: Regenerate.
20678 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
20679             Wilco Dijkstra  <wilco.dijkstra@arm.com>
20681         * sysdeps/aarch64/fpu/math_private.h: New file.
20683 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
20685         * sysdeps/aarch64/libm-test-ulps: Regenerate.
20687 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
20689         [BZ #16275]
20690         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
20691         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
20692         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
20693         Intel MPX bound registers before _dl_profile_fixup.
20694         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
20695         registers after _dl_profile_fixup.  Save and restore bound
20696         registers bnd0/bnd1 when calling _dl_call_pltexit.
20697         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
20698         (LR_BND_OFFSET): Likewise.
20699         (LRV_BND0_OFFSET): Likewise.
20700         (LRV_BND1_OFFSET): Likewise.
20702 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20704         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
20705         to...
20706         * sysdeps/mach/hurd/i386/tls.h: ... here.
20707         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
20708         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
20709         fields.
20711 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20713         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
20715 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20717         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20719 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20721         [BZ #14770]
20722         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
20723         * sysdeps/s390/configure: Regenerate.
20725         [BZ #16824]
20726         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
20727         Set round-to-nearest internally to reduce error accumulation.
20729 2014-04-16  Alan Modra  <amodra@gmail.com>
20731         [BZ #16740]
20732         [BZ #16619]
20733         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
20734         * math/libm-test.inc (frexp_test_data): Add tests.
20735         * NEWS: Update fixed bug list.
20737 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20739         * benchtests/Makefile: Depend on libraries in build directory.
20740         (bench-math): Separate out math tests.
20741         (bench-pthread): Separate out pthread tests.
20742         (bench): Include math and pthread tests.
20744 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
20746         [BZ #16831]
20747         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
20748         _dl_debug_initialize.
20750         * configure.ac: Remove SELinux header check.
20751         * configure: Regenerate.
20752         * nscd/selinux.c (perms): Array of const char* to permission names.
20753         (nscd_request_avc_has_perm): Call security_deny_unknown to find
20754         default policy. Call string_to_security_class and string_to_av_perm to
20755         translate strings. Enforce default policy and call avs_has_perm with
20756         results of translated strings.
20758 2014-04-13  David S. Miller  <davem@davemloft.net>
20760         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20762 2014-04-12  Allan McRae  <allan@archlinux.org>
20764         [BZ #16838]
20765         * manual/string.texi (Collation Functions): Fix qsort argument
20766         order in example.
20767         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20769 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
20771         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
20772         Make the test a no-op if there are no exceptions defined.
20774 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20776         * elf/Makefile (tests): make tst-dlopen-aout conditional on
20777         enable-hardcoded-path-in-tests
20779 2014-04-11  Will Newton  <will.newton@linaro.org>
20781         * benchtests/Makefile (extra-objs): Add json-lib.o.
20782         (bench-func): Tidy up JSON output.
20783         * benchtests/bench-skeleton.c: Include json-lib.h.
20784         (main): Use JSON library functions to do output of
20785         benchmark results.
20786         * benchtests/bench-timing-type.c (main): Output the
20787         timing type simply, leaving formatting to the user.
20788         * benchtests/json-lib.c: New file.
20789         * benchtests/json-lib.h: Likewise.
20791 2014-04-11  Torvald Riegel  <triegel@redhat.com>
20793         [BZ #15215]
20794         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
20795         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
20796         memory barriers.  Add comments.
20797         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
20798         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
20799         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
20800         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
20801         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
20802         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
20804 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20806         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
20807         * sysdeps/s390/s390-64/configure.ac: ... this ...
20808         * sysdeps/s390/configure.ac: ... to here.
20809         * sysdeps/s390/s390-32/configure: Delete file.
20810         * sysdeps/s390/s390-64/configure: Delete file.
20811         * sysdeps/s390/configure: Regenerate.
20813 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
20815         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
20817 2014-04-11  Will Newton  <will.newton@linaro.org>
20819         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
20820         to zero if it is not defined elsewhere.  (mtrim): Test
20821         the value of MALLOC_DEBUG with #if rather than #ifdef.
20823 2014-04-10 Torvald Riegel  <triegel@redhat.com>
20825         * benchtests/pthread_once-inputs: New file.
20826         * benchtests/pthread_once-source.c: New file.
20827         * benchtests/README: Update documentation.
20829 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
20830             H.J. Lu  <hongjiu.lu@intel.com>
20832         [BZ #16275]
20833         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
20834         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
20835         * sysdeps/x86_64/configure: Regenerated.
20836         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
20837         macro.
20838         (REGISTER_SAVE_RAX): Likewise.
20839         (REGISTER_SAVE_RCX): Likewise.
20840         (REGISTER_SAVE_RDX): Likewise.
20841         (REGISTER_SAVE_RSI): Likewise.
20842         (REGISTER_SAVE_RDI): Likewise.
20843         (REGISTER_SAVE_R8): Likewise.
20844         (REGISTER_SAVE_R9): Likewise.
20845         (REGISTER_SAVE_BND0): Likewise.
20846         (REGISTER_SAVE_BND1): Likewise.
20847         (REGISTER_SAVE_BND2): Likewise.
20848         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
20849         bound registers when calling _dl_fixup.
20851 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20853         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
20854         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
20855         of its definition.
20856         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
20857         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
20858         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
20859         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
20860         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
20861         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
20862         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
20864 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
20866         [BZ #15514]
20867         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
20868         pathconf(_PC_NAME_MAX).
20870 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20872         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
20873         Remove macro usage.
20874         (__PTHREAD_SPINS): Move definition to ...
20875         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20876         (__PTHREAD_SPINS): ... here.
20877         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20878         (__PTHREAD_SPIN): Likewise.
20879         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
20880         (__PTHREAD_SPIN): Likewise.
20881         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
20882         (__PTHREAD_SPIN): Likewise.
20883         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
20884         (__PTHREAD_SPIN): Likewise.
20885         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
20886         (__PTHREAD_SPIN): Likewise.
20887         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
20888         (__PTHREAD_SPIN): Likewise.
20889         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
20890         (__PTHREAD_SPIN): Likewise.
20891         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
20892         (__PTHREAD_SPIN): Likewise.
20893         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
20894         (__PTHREAD_SPIN): Likewise.
20895         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
20896         (__PTHREAD_SPIN): Likewise.
20897         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
20898         (__PTHREAD_SPIN): Likewise.
20899         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
20900         (__PTHREAD_SPIN): Likewise.
20902         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
20903         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
20904         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
20905         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
20906         imply folder.
20907         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
20908         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
20909         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
20910         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
20911         correct imply path.
20912         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
20913         strlen symbol for non multi-arch builds.
20914         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
20915         missing hidden_def and weak_alias.
20917 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
20919         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
20921 2014-04-07  Will Newton  <will.newton@linaro.org>
20923         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
20924         and contents.  [!_LIBC] Remove #ifndef and contents.
20925         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
20926         * string/memccpy.c (__memccpy): Use ANSI prototype.
20927         * string/memfrob.c (memfrob): Likewise.
20928         * string/strcoll.c (STRCOLL): Likewise.
20929         * string/strlen.c (strlen): Likewise.
20930         * string/strtok.c (STRTOK): Likewise.
20931         * string/strcat.c: Remove unused #include of memcopy.h.
20932         (strcat): Use ANSI prototype.
20933         * string/strchr.c: Remove unused #include of memcopy.h.
20934         (strchr): Use ANSI prototype.
20935         * string/strcmp.c: Remove unused #include of memcopy.h.
20936         (strcmp): Use ANSI prototype.
20937         * string/strcpy.c: Remove unused #include of memcopy.h.
20938         (strcpy): Use ANSI prototype.
20940 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20942         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
20943         * config.make.in (config-extra-cppflags): Set it from
20944         libc_extra_cppflags.
20945         * configure.ac (libc_extra_cflags): Make it accumulate over
20946         configure fragments.
20947         (libc_extra_cppflags): New flag.
20948         * configure. Regenerate.
20949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
20950         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
20951         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
20952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
20954         [BZ #16815]
20955         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
20956         result for FE_DOWNWARD rounding mode.
20957         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20958         Likewise.
20959         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20961 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
20963         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
20964         in function argument name.
20966 2014-04-03  David Svoboda  <svoboda@cert.org>
20968         [BZ #5666]
20969         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
20970         explicitly.
20972 2014-04-03  Roland McGrath  <roland@hack.frob.com>
20974         * elf/dl-unmap-segments.h: New file.
20975         * sysdeps/generic/ldsodefs.h
20976         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
20977         * elf/dl-close.c: Include <dl-unmap-segments.h>.
20978         * elf/dl-fptr.c: Likewise.
20979         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
20980         * sysdeps/aarch64/tlsdesc.c: Likewise.
20981         * sysdeps/arm/tlsdesc.c: Likewise.
20982         * sysdeps/i386/tlsdesc.c: Likewise.
20983         * sysdeps/tile/dl-runtime.c: Likewise.
20984         * sysdeps/x86_64/tlsdesc.c: Likewise.
20985         * elf/dl-load.h: New file.
20986         * elf/dl-load.c: Include it.
20987         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
20988         Macros moved to dl-load.h.
20989         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
20990         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
20991         Use _dl_unmap_segments in place of __munmap.
20992         Break out segment-mapping loop into ...
20993         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
20995 2014-04-03  Will Newton  <will.newton@linaro.org>
20997         * elf/dl-lookup.c (do_lookup_x): Remove comment
20998         referring to nested function and move variable
20999         declarations down to before first use.
21001 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
21003         [BZ #16799]
21004         [BZ #16800]
21005         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
21006         with 0 numerator.
21007         * math/s_catanf.c (__catanf): Likewise.
21008         * math/s_catanh.c (__catanh): Likewise.
21009         * math/s_catanhf.c (__catanhf): Likewise.
21010         * math/s_catanhl.c (__catanhl): Likewise.
21011         * math/s_catanl.c (__catanl): Likewise.
21012         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
21013         by positive zero when computing -Inf result.
21014         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
21015         (catanh_test): Likewise.
21016         * sysdeps/i386/fpu/libm-test-ulps: Update.
21017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21019         [BZ #16789]
21020         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
21021         instead of using underflowing value in computing result.
21022         * math/s_clog10.c (__clog10): Likewise.
21023         * math/s_clog10f.c (__clog10f): Likewise.
21024         * math/s_clog10l.c (__clog10l): Likewise.
21025         * math/s_clogf.c (__clogf): Likewise.
21026         * math/s_clogl.c (__clogl): Likewise.
21027         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
21028         (clog10_test): Likewise.
21029         * sysdeps/i386/fpu/libm-test-ulps: Update.
21030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21032 2014-04-02  Alan Modra  <amodra@gmail.com>
21034         [BZ #16739]
21035         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
21036         output when value is near a power of two.  Use int64_t for lx and
21037         remove casts.  Use decimal rather than hex exponent constants.
21038         Don't use long double multiplication when double will suffice.
21039         * math/libm-test.inc (nextafter_test_data): Add tests.
21040         * NEWS: Add 16739 and 16786 to bug list.
21042         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
21044         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
21046 2014-04-01  Will Newton  <will.newton@linaro.org>
21048         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
21049         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
21051 2014-04-01  Florian Weimer  <fweimer@redhat.com>
21053         [BZ #13347]
21054         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
21055         * nptl/tst-setuid2.c: New file.
21056         * nptl/Makefile (xtests): Add tst-setuid2.
21058 2014-04-01  Alan Modra  <amodra@gmail.com>
21060         [BZ #16786]
21061         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
21063 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21065         [BZ #6803]
21066         [BZ #6804]
21067         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
21068         set errno as appropriate.
21069         * math/w_scalbf.c (__scalbf): Likewise.
21070         * math/w_scalbl.c (__scalbl): Likewise.
21071         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
21072         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
21073         * math/libm-test.inc (scalb_test_data): Add errno expectations.
21074         Add more NaN tests.
21076         [BZ #16349]
21077         * math/w_atan2.c: Include <errno.h>.
21078         (__atan2): Set errno for result underflowing to zero.
21079         * math/w_atan2f.c: Include <errno.h>.
21080         (__atan2f): Set errno for result underflowing to zero.
21081         * math/w_atan2l.c: Include <errno.h>.
21082         (__atan2l): Set errno for result underflowing to zero.
21083         * math/auto-libm-test-in: Don't allow missing errno for some atan2
21084         tests.
21085         * math/auto-libm-test-out: Regenerated.
21087 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21089         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
21090         Encode instruction correctly in little endian.
21091         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
21092         Likewise.
21093         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
21094         Likewise.
21095         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
21096         Likewise.
21097         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
21098         Likewise.
21100 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21102         [BZ #9894]
21103         * sysdeps/unix/sysv/linux/kernel-features.h
21104         [__sparc__ && !__arch64__ && !__sparc_v9__]
21105         (__ASSUME_SET_ROBUST_LIST): Do not define.
21106         [__sparc__ && !__arch64__ && !__sparc_v9__]
21107         (__ASSUME_FUTEX_LOCK_PI): Likewise.
21108         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
21109         Likewise.
21110         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21111         (__ASSUME_FUTEX_LOCK_PI): Undefine.
21112         (__ASSUME_REQUEUE_PI): Likewise.
21113         (__ASSUME_SET_ROBUST_LIST): Likewise.
21114         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21115         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
21116         Undefine.
21117         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21118         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
21119         Likewise.
21120         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
21121         Likewise.
21122         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
21123         Likewise.
21124         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21125         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
21126         Undefine.
21127         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
21128         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
21129         Likewise.
21131         [BZ #16648]
21132         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21133         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
21134         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
21136 2014-03-31  Will Newton  <will.newton@linaro.org>
21138         * benchtests/Makefile (bench): Add ffs and ffsll to list
21139         of tests.
21140         * benchtests/ffs-inputs: New file.
21141         * benchtests/ffsll-inputs: Likewise.
21143 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
21145         [BZ #16770]
21146         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
21147         too large before casting to int.
21148         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
21149         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
21150         * math/libm-test.inc (scalb_test_data): Add more tests.
21152 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21154         * benchtests/Makefile (DETAILED_OPT): New make option.
21155         (bench-func): Run benchmark program with -d if DETAILED_OPT is
21156         set.
21157         * benchtests/bench-skeleton.c: Include stdbool.h.
21158         (main): Store and print timings per input.
21159         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
21160         member to each argument value.
21161         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
21162         (_print_arg_data): Initialize per-input timing to 0.
21164         * benchtests/Makefile (timing-type): New binary.
21165         (bench-clean): Also remove bench-timing-type.
21166         (bench): New target for timing-type.
21167         (bench-func): Print output in JSON format.
21168         * benchtests/bench-skeleton.c (main): Print output in JSON
21169         format.
21170         * benchtests/bench-timing-type.c: New file.
21171         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
21172         (TIMING_PRINT_STATS): Remove.
21173         * benchtests/scripts/bench.py (_print_arg_data): Store variant
21174         name separately.
21176         * benchtests/bench-modf.c: Remove.
21177         * benchtests/modf-inputs: New inputs file.
21179 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
21181         [BZ #16362]
21182         * math/s_clog10.c (M_PI_LOG10E): New macro.
21183         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
21184         imaginary parts are 0.
21185         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
21186         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
21187         imaginary parts are 0.
21188         * math/s_clog10l.c (M_PI_LOG10El): New macro.
21189         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
21190         imaginary parts are 0.
21191         * math/libm-test.inc (clog10_test_data): Update expected results
21192         for when real and imaginary parts are 0.
21194 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
21196         * elf/dl-load.c: Finish conversion of __builtin_expect into
21197         __glibc_{un}likely.
21199 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
21201         [BZ #16348]
21202         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
21203         1+x for argument with exponent below -67.
21204         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
21205         Likewise.
21206         * math/auto-libm-test-in: Add more tests of exp.
21207         * math/auto-libm-test-out: Regenerated.
21209 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21211         [BZ #16759]
21212         * inet/getnetgrent_r.c (get_nonempty_val): New function.
21213         (nscd_getnetgrent): Use it.
21215         [BZ #16760]
21216         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
21217         of stpcpy.
21219 2014-03-27  Andi Kleen  <ak@linux.intel.com>
21221         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
21222         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21223         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21224         (lll_robust_unlock): Remove out of line section. Use cfi
21225         intrinsics.
21226         (LLL_STUB_UNWIND_INFO*): Remove.
21227         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
21228         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21229         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21230         (lll_robust_unlock): Remove out of line section. Use cfi
21231         intrinsics.
21232         (LLL_STUB_UNWIND_INFO*): Remove.
21234 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21236         [BZ #16758]
21237         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
21238         blank values.
21240 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
21242         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
21244 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
21246         [BZ #16198]
21247         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
21248         fnstenv.
21249         * math/test-fenv-preserve.c: New file.
21250         * math/Makefile (tests): Add test-fenv-preserve.
21252 2014-03-26  Will Newton <will.newton@linaro.org>
21254         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
21256 2014-03-25  Roland McGrath  <roland@hack.frob.com>
21258         * scripts/versionlist.awk: Partition the version sets and emit all
21259         GLIBC_* (sorted) before all others (sorted).
21261 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21263         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
21264         GLIBC_2.2.5 version.
21266 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21268         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
21269         calls.
21271         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
21272         previous change.
21274         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21276 2014-03-25  Andreas Schwab  <schwab@suse.de>
21278         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
21279         label to be used after in6ailist is initialized.
21281 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21283         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21284         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21286 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21288         [BZ #16357]
21289         [BZ #16599]
21290         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
21291         min_plus_half.
21292         (fp_formats): Update initializers.
21293         (init_fp_formats): Initialize new field.
21294         (output_for_one_input_case): Allow underflow for results up to
21295         min_plus_half.
21296         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
21297         * math/auto-libm-test-in: Don't mark some underflows from asin and
21298         atanh as spurious.
21299         * math/auto-libm-test-out: Regenerated.
21300         * sysdeps/i386/fpu/libm-test-ulps: Update.
21301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21303 2014-03-25  Andreas Schwab  <schwab@suse.de>
21305         * libio/Makefile (tst-ftell-partial-wide-ENV)
21306         (tst-ftell-active-handler-ENV): Define.
21308 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
21310         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
21312 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21314         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
21316 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
21318         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
21319         * sysdeps/x86_64/fpu/multiarch/e_exp.c
21320         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21322 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21324         [BZ #16634]
21325         * elf/dl-load.c (open_verify): Add mode parameter.
21326         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
21327         (open_path): Change from boolean 'secure' to complete flag 'mode'
21328         (_dl_map_object): Adjust.
21329         * elf/Makefile (tests): Add tst-dlopen-aout.
21330         * elf/tst-dlopen-aout.c: New test.
21332 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
21334         [BZ #16714]
21335         * sysdeps/unix/sysv/linux/s390/bits/stat.h
21336         (struct stat): Rename member pad0 to __glibc_reserved0.
21338         [BZ #16712]
21339         * sysdeps/s390/s390-32/bits/wordsize.h
21340         (__WORDSIZE32_SIZE_ULONG): New define.
21341         * sysdeps/s390/s390-64/bits/wordsize.h
21342         (__WORDSIZE32_SIZE_ULONG): Likewise.
21343         * sysdeps/generic/stdint.h (SIZE_MAX):
21344         Define as UL if __WORDSIZE32_SIZE_ULONG.
21346         [BZ #16713]
21347         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
21348         (__glibc_reserved0): New variable.
21349         (sa_flags): Change type to int.
21351         * posix/Makefile (before-compile): Use += before-compile instead
21352         of a :=.
21354         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21355         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21357 2014-03-20  Andreas Schwab  <schwab@suse.de>
21359         [BZ #16743]
21360         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
21361         non-matching result from nscd.
21363 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21365         * scripts/bench.py: Moved to ...
21366         * benchtests/scripts/bench.py: ... here.
21367         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
21369 2014-03-24  Andreas Schwab  <schwab@suse.de>
21371         [BZ #16002]
21372         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
21373         alloca_account and account alloca use for struct in6ailist.
21375 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
21377         [BZ #16284]
21378         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
21379         rounding mode to recompute results that overflow to infinity or
21380         underflow to zero.
21381         * math/auto-libm-test-in: Don't mark tests as expected to fail for
21382         bug 16284.
21383         * math/auto-libm-test-out: Regenerated.
21384         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
21385         (ccosh_test): Likewise.
21386         (csin_test_data): Use plus_oflow.
21387         (csin_test): Use ALL_RM_TEST.
21388         (csinh_test_data): Use plus_oflow.
21389         (csinh_test): Use ALL_RM_TEST.
21390         * sysdeps/i386/fpu/libm-test-ulps: Update.
21391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21393 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
21395         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
21396         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
21397         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
21399         [BZ #16731]
21400         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
21401         when x - 1 is zero.
21402         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
21403         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
21404         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
21405         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
21406         argument is 1.
21407         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
21408         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
21409         zero.
21410         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
21411         * sysdeps/i386/fpu/libm-test-ulps: Update.
21412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21414 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21416         * scripts/bench.pl: Remove file.
21417         * scripts/bench.py: New benchmark script.
21418         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
21419         * benchtests/README: Mention python dependency.
21420         * scripts/pylintrc: New file.
21421         * scripts/pylint: New file.
21423         * bits/mathdef.h: Use #ifdef instead of #if.
21424         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
21425         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21426         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
21427         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21428         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
21429         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21431 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21432             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21434         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
21435         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
21436         and strpbrk-ppc64 objects.
21437         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21438         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
21439         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
21440         multiarch strpbrk for POWER7.
21441         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
21442         multiarch strpbrk for PPC64.
21443         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
21444         ifunc selector.
21445         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
21446         strpbrk for POWER7.
21448 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
21450         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
21451         (atan_test): Likewise.
21452         (atanh_test_data): Use NO_TEST_INLINE for two tests.
21453         (atanh_test): Use ALL_RM_TEST.
21454         (atan2_test_data): Likewise.
21455         (cabs_test): Likewise.
21456         (cacosh_test): Likewise.
21457         (carg_test): Likewise.
21458         (casin_test): Likewise.
21459         (casinh_test): Likewise.
21460         (cbrt_test): Likewise.
21461         (csqrt_test): Likewise.
21462         (erf_test): Likewise.
21463         (erfc_test): Likewise.
21464         (pow10_test): Likewise.
21465         (exp2_test): Likewise.
21466         (hypot_test): Likewise.
21467         (j0_test): Likewise.
21468         (j1_test): Likewise.
21469         (lgamma_test): Likewise.
21470         (gamma_test): Likewise.
21471         (sincos_test): Likewise.
21472         (tanh_test): Likewise.
21473         (y0_test): Likewise.
21474         (y1_test): Likewise.
21475         * sysdeps/i386/fpu/libm-test-ulps: Update.
21476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21478 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21480         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
21481         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
21482         and strcspn-ppc64 objects.
21483         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21484         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
21485         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
21486         multiarch strcspn for POWER7.
21487         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
21488         multiarch strcspn for PPC64.
21489         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
21490         ifunc selector.
21491         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
21492         strcspn for POWER7.
21494 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
21496         * math/gen-libm-test.pl (generate_testfile): Expect only function
21497         name as argument to AUTO_TESTS_* and pass results for all rounding
21498         modes to parse_args.
21499         (parse_auto_input): Separate inputs of automatic tests from
21500         outputs before storing in %auto_tests.
21501         * math/libm-test.inc (acos_test_data): Update call to
21502         AUTO_TESTS_f_f.
21503         (acos_test): Use ALL_RM_TEST.
21504         (acos_tonearest_test_data): Remove.
21505         (acos_test_tonearest): Likewise.
21506         (acos_towardzero_test_data): Likewise.
21507         (acos_test_towardzero): Likewise.
21508         (acos_downward_test_data): Likewise.
21509         (acos_test_downward): Likewise.
21510         (acos_upward_test_data): Likewise.
21511         (acos_test_upward): Likewise.
21512         (acosh_test_data): Update call to AUTO_TESTS_f_f.
21513         (asin_test_data): Likewise.
21514         (asin_test): Use ALL_RM_TEST.
21515         (asin_tonearest_test_data): Remove.
21516         (asin_test_tonearest): Likewise.
21517         (asin_towardzero_test_data): Likewise.
21518         (asin_test_towardzero): Likewise.
21519         (asin_downward_test_data): Likewise.
21520         (asin_test_downward): Likewise.
21521         (asin_upward_test_data): Likewise.
21522         (asin_test_upward): Likewise.
21523         (asinh_test_data): Update call to AUTO_TESTS_f_f.
21524         (atan_test_data): Likewise.
21525         (atanh_test_data): Likewise.
21526         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
21527         (cabs_test_data): Update call to AUTO_TESTS_c_f.
21528         (carg_test_data): Likewise.
21529         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
21530         (ccos_test_data): Update call to AUTO_TESTS_c_c.
21531         (ccosh_test_data): Likewise.
21532         (cexp_test_data): Likewise.
21533         (clog_test_data): Likewise.
21534         (clog10_test_data): Likewise.
21535         (cos_test_data): Update call to AUTO_TESTS_f_f.
21536         (cos_test): Use ALL_RM_TEST.
21537         (cos_tonearest_test_data): Remove.
21538         (cos_test_tonearest): Likewise.
21539         (cos_towardzero_test_data): Likewise.
21540         (cos_test_towardzero): Likewise.
21541         (cos_downward_test_data): Likewise.
21542         (cos_test_downward): Likewise.
21543         (cos_upward_test_data): Likewise.
21544         (cos_test_upward): Likewise.
21545         (cosh_test_data): Update call to AUTO_TESTS_f_f.
21546         (cosh_test): Use ALL_RM_TEST.
21547         (cosh_tonearest_test_data): Remove.
21548         (cosh_test_tonearest): Likewise.
21549         (cosh_towardzero_test_data): Likewise.
21550         (cosh_test_towardzero): Likewise.
21551         (cosh_downward_test_data): Likewise.
21552         (cosh_test_downward): Likewise.
21553         (cosh_upward_test_data): Likewise.
21554         (cosh_test_upward): Likewise.
21555         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
21556         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
21557         (ctan_test_data): Likewise.
21558         (ctan_test): Use ALL_RM_TEST.
21559         (ctan_tonearest_test_data): Remove.
21560         (ctan_test_tonearest): Likewise.
21561         (ctan_towardzero_test_data): Likewise.
21562         (ctan_test_towardzero): Likewise.
21563         (ctan_downward_test_data): Likewise.
21564         (ctan_test_downward): Likewise.
21565         (ctan_upward_test_data): Likewise.
21566         (ctan_test_upward): Likewise.
21567         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
21568         (ctanh_test): Use ALL_RM_TEST.
21569         (ctanh_tonearest_test_data): Remove.
21570         (ctanh_test_tonearest): Likewise.
21571         (ctanh_towardzero_test_data): Likewise.
21572         (ctanh_test_towardzero): Likewise.
21573         (ctanh_downward_test_data): Likewise.
21574         (ctanh_test_downward): Likewise.
21575         (ctanh_upward_test_data): Likewise.
21576         (ctanh_test_upward): Likewise.
21577         (erf_test_data): Update call to AUTO_TESTS_f_f.
21578         (erfc_test_data): Likewise.
21579         (exp_test_data): Likewise.
21580         (exp_test): Use ALL_RM_TEST.
21581         (exp_tonearest_test_data): Remove.
21582         (exp_test_tonearest): Likewise.
21583         (exp_towardzero_test_data): Likewise.
21584         (exp_test_towardzero): Likewise.
21585         (exp_downward_test_data): Likewise.
21586         (exp_test_downward): Likewise.
21587         (exp_upward_test_data): Likewise.
21588         (exp_test_upward): Likewise.
21589         (exp10_test_data): Update call to AUTO_TESTS_f_f.
21590         (exp10_test): Use ALL_RM_TEST.
21591         (exp10_tonearest_test_data): Remove.
21592         (exp10_test_tonearest): Likewise.
21593         (exp10_towardzero_test_data): Likewise.
21594         (exp10_test_towardzero): Likewise.
21595         (exp10_downward_test_data): Likewise.
21596         (exp10_test_downward): Likewise.
21597         (exp10_upward_test_data): Likewise.
21598         (exp10_test_upward): Likewise.
21599         (exp2_test_data): Update call to AUTO_TESTS_f_f.
21600         (expm1_test_data): Likewise.
21601         (expm1_test): Use ALL_RM_TEST.
21602         (expm1_tonearest_test_data): Remove.
21603         (expm1_test_tonearest): Likewise.
21604         (expm1_towardzero_test_data): Likewise.
21605         (expm1_test_towardzero): Likewise.
21606         (expm1_downward_test_data): Likewise.
21607         (expm1_test_downward): Likewise.
21608         (expm1_upward_test_data): Likewise.
21609         (expm1_test_upward): Likewise.
21610         (fma_test_data): Update call to AUTO_TESTS_fff_f.
21611         (fma_test): Use ALL_RM_TEST.
21612         (fma_towardzero_test_data): Remove.
21613         (fma_test_towardzero): Likewise.
21614         (fma_downward_test_data): Likewise.
21615         (fma_test_downward): Likewise.
21616         (fma_upward_test_data): Likewise.
21617         (fma_test_upward): Likewise.
21618         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
21619         (j0_test_data): Update call to AUTO_TESTS_f_f.
21620         (j1_test_data): Likewise.
21621         (jn_test_data): Update call to AUTO_TESTS_if_f.
21622         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
21623         (log_test_data): Update call to AUTO_TESTS_f_f.
21624         (log10_test_data): Likewise.
21625         (log1p_test_data): Likewise.
21626         (log2_test_data): Likewise.
21627         (pow_test_data): Update call to AUTO_TESTS_ff_f.
21628         (pow_tonearest_test_data): Likewise.
21629         (sin_test_data): Update call to AUTO_TESTS_f_f.
21630         (sin_test): Use ALL_RM_TEST.
21631         (sin_tonearest_test_data): Remove.
21632         (sin_test_tonearest): Likewise.
21633         (sin_towardzero_test_data): Likewise.
21634         (sin_test_towardzero): Likewise.
21635         (sin_downward_test_data): Likewise.
21636         (sin_test_downward): Likewise.
21637         (sin_upward_test_data): Likewise.
21638         (sin_test_upward): Likewise.
21639         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
21640         (sinh_test_data): Update call to AUTO_TESTS_f_f.
21641         (sinh_test): Use ALL_RM_TEST.
21642         (sinh_tonearest_test_data): Remove.
21643         (sinh_test_tonearest): Likewise.
21644         (sinh_towardzero_test_data): Likewise.
21645         (sinh_test_towardzero): Likewise.
21646         (sinh_downward_test_data): Likewise.
21647         (sinh_test_downward): Likewise.
21648         (sinh_upward_test_data): Likewise.
21649         (sinh_test_upward): Likewise.
21650         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
21651         (sqrt_test): Use ALL_RM_TEST.
21652         (sqrt_tonearest_test_data): Remove.
21653         (sqrt_test_tonearest): Likewise.
21654         (sqrt_towardzero_test_data): Likewise.
21655         (sqrt_test_towardzero): Likewise.
21656         (sqrt_downward_test_data): Likewise.
21657         (sqrt_test_downward): Likewise.
21658         (sqrt_upward_test_data): Likewise.
21659         (sqrt_test_upward): Likewise.
21660         (tan_test_data): Update call to AUTO_TESTS_f_f.
21661         (tan_test): Use ALL_RM_TEST.
21662         (tan_tonearest_test_data): Remove.
21663         (tan_test_tonearest): Likewise.
21664         (tan_towardzero_test_data): Likewise.
21665         (tan_test_towardzero): Likewise.
21666         (tan_downward_test_data): Likewise.
21667         (tan_test_downward): Likewise.
21668         (tan_upward_test_data): Likewise.
21669         (tan_test_upward): Likewise.
21670         (tanh_test_data): Update call to AUTO_TESTS_f_f.
21671         (tgamma_test_data): Likewise.
21672         (y0_test_data): Likewise.
21673         (y1_test_data): Likewise.
21674         (yn_test_data): Update call to AUTO_TESTS_if_f.
21675         (main): Do not call removed functions.
21677 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
21679         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
21680         (ldexp_test_data): Remove.
21681         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
21682         scalbn_test_data.
21683         (scalb_test): Use ALL_RM_TEST.
21685 2014-03-19  Andreas Schwab  <schwab@suse.de>
21687         * nscd/nscd.service: Also invalidate netgroup cache on reload.
21689 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
21691         [BZ #16649]
21692         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21693         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
21694         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
21695         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21696         (__ASSUME_PREADV): Undefine.
21697         (__ASSUME_PWRITEV): Likewise.
21699 2014-03-18  Roland McGrath  <roland@hack.frob.com>
21701         * bits/mman-linux.h: Add comment about non-Linux use.
21702         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
21703         bits/mman-linux.h resting place.
21705         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
21706         * bits/mman-linux.h: ... here.
21708 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21710         * conform/conformtest.pl: Add standard definition when calling C
21711         preprocessor on data files.
21712         (checknamespace): Remove unused variable.
21714 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
21716         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
21717         minus_oflow, plus_uflow and minus_uflow in expected results.
21718         * math/libm-test.inc (scalbn_test_data): Add more tests of
21719         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
21720         minus_uflow.
21721         (scalbn_test): Use ALL_RM_TEST.
21722         (scalbln_test_data): Add more tests of negative arguments.  Use
21723         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
21724         (scalbln_test): Use ALL_RM_TEST.
21726 2014-03-18  Roland McGrath  <roland@hack.frob.com>
21728         * scripts/abilist.awk: Ignore symbols marked with .hidden.
21730 2014-03-18  Will Newton  <will.newton@linaro.org>
21732         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
21733         inaccurate comment.
21735 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
21737         * Makerules [!subdir] (check-abi): Exit with error status if a
21738         test failed.
21740 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
21742         * math/libm-test.inc (nearbyint_test_data): Include all tests used
21743         for rint.  Include results for all rounding modes.
21744         (nearbyint_test): Use ALL_RM_TEST.
21745         (rint_test_data): Include all tests used for nearbyint.
21747 2014-03-17  Will Newton  <will.newton@linaro.org>
21749         * nptl/sysdeps/pthread/pthread.h: Revert previous
21750         change.
21752         * sysdeps/generic/ldsodefs.h: Revert previous
21753         change.
21755         * libio/genops.c: Revert previous change.
21756         * libio/libioP.h: Likewise.
21757         * stdio-common/vfprintf.c: Likewise.
21759         * sysdeps/generic/math_private.h: Revert previous
21760         change.
21762         * sysdeps/generic/math_private.h: Check whether
21763         HAVE_RM_CTX is defined with #ifdef rather
21764         than #if.
21766         * argp/argp-fmtstream.h: Check whether
21767         __STRICT_ANSI__ is defined with #ifdef rather
21768         than #if.
21769         * argp/argp.h: Likewise.
21771         * libio/genops.c: Check whether
21772         _IO_JUMPS_OFFSET is defined with #ifdef rather
21773         than #if.
21774         * libio/libioP.h: Likewise.
21775         * stdio-common/vfprintf.c: Likewise.
21777         * sysdeps/generic/ldsodefs.h: Check whether
21778         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
21779         than #if.
21781         * nptl/sysdeps/pthread/pthread.h: Check
21782         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
21783         its value.
21785 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21787         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
21788         setting O_APPEND.
21789         * libio/tst-ftell-active-handler.c (do_append_test): Add a
21790         test case.
21792         [BZ #16680]
21793         * libio/fileops.c (_IO_file_open): Seek to end of file but
21794         don't cache the offset.
21795         (get_file_offset): Remove function.
21796         (do_ftell): Use cached offset when available.
21797         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
21798         don't cache the offset.
21799         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
21800         case.
21801         (do_one_test): Call it.
21802         (do_ftell_test): Fix up expected old offset for a+ mode.
21803         * libio/wfileops.c (do_ftell_wide): Used cached offset when
21804         available.
21806         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
21807         up test status with function return status.
21808         (do_write_test): Likewise.
21809         (do_append_test): Likewise.
21811         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
21812         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
21813         Remove.
21815 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
21817         * math/gen-libm-test.pl (parse_args): Handle results specified for
21818         each rounding mode separately.
21819         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
21820         tests and results from lrint_tonearest_test_data,
21821         lrint_towardzero_test_data, lrint_downward_test_data and
21822         lrint_upward_test_data.
21823         (lrint_test): Use ALL_RM_TEST.
21824         (lrint_tonearest_test_data): Remove.
21825         (lrint_test_tonearest): Likewise.
21826         (lrint_towardzero_test_data): Likewise.
21827         (lrint_test_towardzero): Likewise.
21828         (lrint_downward_test_data): Likewise.
21829         (lrint_test_downward): Likewise.
21830         (lrint_upward_test_data): Likewise.
21831         (lrint_test_upward): Likewise.
21832         (llrint_test_data): Merge in per-rounding-mode tests and results
21833         from llrint_tonearest_test_data, llrint_towardzero_test_data,
21834         llrint_downward_test_data and llrint_upward_test_data.
21835         (llrint_test): Use ALL_RM_TEST.
21836         (llrint_tonearest_test_data): Remove.
21837         (llrint_test_tonearest): Likewise.
21838         (llrint_towardzero_test_data): Likewise.
21839         (llrint_test_towardzero): Likewise.
21840         (llrint_downward_test_data): Likewise.
21841         (llrint_test_downward): Likewise.
21842         (llrint_upward_test_data): Likewise.
21843         (llrint_test_upward): Likewise.
21844         (rint_test_data): Merge in per-rounding-mode tests and results
21845         from rint_tonearest_test_data, rint_towardzero_test_data,
21846         rint_downward_test_data and rint_upward_test_data.  Add
21847         per-rounding-mode results for tests not in those arrays.
21848         (rint_test): Use ALL_RM_TEST.
21849         (rint_tonearest_test_data): Remove.
21850         (rint_test_tonearest): Likewise.
21851         (rint_towardzero_test_data): Likewise.
21852         (rint_test_towardzero): Likewise.
21853         (rint_downward_test_data): Likewise.
21854         (rint_test_downward): Likewise.
21855         (rint_upward_test_data): Likewise.
21856         (rint_test_upward): Likewise.
21857         (main): Don't call removed functions.
21859 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21861         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
21862         "Compiled on ..." crapola.  It is anti-useful.
21864 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
21866         * scripts/evaluate-test.sh: Handle fourth argument to determine
21867         whether test run should stop on failure.
21868         * Makeconfig (stop-on-test-failure): New variable.
21869         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
21870         $(stop-on-test-failure).
21871         * Makefile (tests): Give a summary of results from testing and
21872         exit with failure status if they include an ERROR or FAIL.
21873         (xtests): Likewise.
21874         * manual/install.texi (Configuring and compiling): Mention
21875         stop-on-test-failure=y.
21876         * INSTALL: Regenerated.
21878 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21880         * scripts/versionlist.awk: New file.
21881         * Makerules [$(build-shared) = yes]
21882         (postclean-generated): Add Versions.def, not Versions.def.v and
21883         Versions.def.v.i.
21884         ($(common-objpfx)Versions.def.v.i): Target removed.
21885         ($(common-objpfx)Versions.def): New target.
21886         ($(common-objpfx)Versions.all): Depend on that rather that
21887         $(common-objpfx)Versions.def.v.
21888         * Versions.def: File removed.
21890         * Makeconfig (+gccwarn): Add -Wundef.
21891         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
21892         a dl-sysdep.h breaking its contract.
21893         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
21894         * include/stackinfo.h: New file.
21895         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
21896         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
21897         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
21898         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
21899         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
21900         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
21901         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21902         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21903         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21904         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21905         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21906         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
21907         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21908         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21909         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21911 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21913         [BZ #16707]
21914         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
21915         implementation.
21916         * math/libm-test.inc (round_test_data): Add more tests.
21918         [BZ #16706]
21919         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
21920         implementation.
21921         * math/libm-test.inc (nearbyint_test_data): Add more tests.
21923         [BZ #16701]
21924         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
21925         implementation.
21926         * math/libm-test.inc (ceil_test_data): Add more tests.
21928         * math/libm-test.inc (trunc_test_data): Add more tests related to
21929         BZ#16414.
21931 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21933         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
21934         with #if rather than #ifdef.
21935         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
21937 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
21939         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
21940         first.  Disable AVX-512 GCC support if assembler doesn't support
21941         it.
21942         * sysdeps/x86_64/configure: Regenerated.
21944 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
21946         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
21947         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
21948         (__old_pthread_attr_setstack): Likewise.
21949         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
21950         [!_STACK_GROWS_DOWN]: Likewise.
21952 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
21954         * config.make.in (have-bash2): Delete.
21955         * configure.ac (libc_cv_have_bash2): Delete.
21956         * configure: Regenerate.
21957         * elf/Makefile (common-ldd-rewrite): Rename to ...
21958         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
21959         (sh-ldd-rewrite): Delete.
21960         (bash-ldd-rewrite): Delete.
21961         (have-bash2): Delete checks.
21962         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
21963         ldd-rewrite.
21965         * config.make.in (have-ksh): Delete.
21966         (KSH): Delete.
21967         * configure.ac (libc_cv_have_ksh): Delete.
21968         * configure: Regenerate.
21970         * elf/Makefile: Delete $(have-ksh) check.
21971         ($(objpfx)sotruss): Change KSH to BASH.
21972         * elf/sotruss.ksh: Rename to ...
21973         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
21974         function style to match POSIX.  Drop ksh vim mode setting.
21976         * manual/time.texi (Specifying the Time Zone with TZ): Change
21977         Tuesday to Thursday.
21979         * debug/tst-longjmp_chk2.c: Update header comment.
21980         (stackoverflow_handler): Add comment.  Call assert on pass value.
21982 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
21984         [BZ #16194]
21985         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
21986         (HAVE_AVX512_ASM_SUPPORT): Likewise.
21987         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
21988         (La_x86_64_vector): Add zmm.
21989         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
21990         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
21991         ($(objpfx)tst-audit10): New target.
21992         ($(objpfx)tst-audit10.out): Likewise.
21993         (tst-audit10-ENV): New.
21994         (AVX512-CFLAGS): Likewise.
21995         (CFLAGS-tst-audit10.c): Likewise.
21996         (CFLAGS-tst-auditmod10a.c): Likewise.
21997         (CFLAGS-tst-auditmod10b.c): Likewise.
21998         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
21999         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
22000         * sysdeps/x86_64/configure: Regenerated.
22001         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
22002         AVX-512 zmm register support.
22003         (_dl_x86_64_save_sse): Likewise.
22004         (_dl_x86_64_restore_sse): Likewise.
22005         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
22006         size vector registers.
22007         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
22008         (ZMM_SIZE): Likewise.
22009         * sysdeps/x86_64/tst-audit10.c: New file.
22010         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
22011         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
22013 2014-03-13  Roland McGrath  <roland@hack.frob.com>
22015         * configure.ac (HAVE_EHDR_START): New check.
22016         * configure: Regenerated.
22017         * config.h.in (HAVE_EHDR_START): New #undef.
22018         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
22019         assuming the lowest-addressed segment maps the start of the file.
22021 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
22023         * INSTALL: Regenerated.
22025 2014-03-13  Will Newton  <will.newton@linaro.org>
22027         * manual/setjmp.texi (System V contexts): Improve
22028         clarity and grammar of documentation.
22030 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
22032         [BZ #16381]
22033         * elf/Makefile (tests): Add tst-pie2.
22034         (tests-pie): Add tst-pie2.
22035         * elf/tst-pie2.c: New file.
22036         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
22037         for ET_EXEC.
22038         * elf/rtld.c (map_doit): Load executable as lt_executable.
22039         (dl_main): Likewise.
22041 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
22043         [BZ #16642]
22044         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22045         (__ASSUME_PSELECT): Undefine.
22047 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22049         [BZ #16689]
22050         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
22051         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
22052         static build.
22053         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
22054         selector for static builds.
22056 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22058         [BZ #16695]
22059         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
22060         key in the buffer.
22062 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22064         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
22065         IFUNC selector for static builds.
22067 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
22069         * sysdeps/mips/math_private.h [__mips_hard_float]
22070         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
22071         libc_feresetround_mips_ctx.
22072         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
22073         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
22074         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
22076         [BZ #16677]
22077         * math/s_nextafter.c (__nextafter): Do not return value from
22078         overflowing computation.
22079         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
22080         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
22081         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
22082         Likewise.
22083         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
22084         Likewise.
22085         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
22086         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
22088 2014-03-11  Roland McGrath  <roland@hack.frob.com>
22090         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
22091         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
22092         Move sfi_sp use from the load-multiple (that no longer sets sp) to
22093         the new mov targetting sp.
22095 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22097         [BZ #16683]
22098         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
22099         Define it for static builds as well.
22100         (NO_BZERO_IMPL): Likewise.
22102 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22104         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
22105         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
22106         multiarch strspn for PPC64.
22107         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
22108         * sysdeps/powerpc/powerpc64/multiarch/strspn-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 strspn
22112         multiarch optimizations
22113         * string/strspn.c (strspn): Using macro to redefine symbol name.
22115 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22116             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22118         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
22119         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
22120         multiarch strncat for PPC64.
22121         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
22122         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
22123         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22124         (__libc_ifunc_impl_list): Likewise.
22125         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
22126         multiarch optimizations
22128 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22130         [BZ #16639]
22131         * nscd/nscd.service: Make service type forking.
22133 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22135         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
22136         sign in non default rounding modes.
22137         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
22139 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
22141         * math/libm-test.inc (ALL_RM_TEST): New macro.
22142         (ceil_test): Use ALL_RM_TEST.
22143         (cimag_test): Likewise.
22144         (conj_test): Likewise.
22145         (copysign_test): Likewise.
22146         (cproj_test): Likewise.
22147         (creal_test): Likewise.
22148         (fabs_test): Likewise.
22149         (floor_test): Likewise.
22150         (fmax_test): Likewise.
22151         (fmin_test): Likewise.
22152         (fmod_test): Likewise.
22153         (fpclassify_test): Likewise.
22154         (frexp_test): Likewise.
22155         (ilogb_test): Likewise.
22156         (isfinite_test): Likewise.
22157         (finite_test): Likewise.
22158         (isgreater_test): Likewise.
22159         (isgreaterequal_test): Likewise.
22160         (isinf_test): Likewise.
22161         (isless_test): Likewise.
22162         (islessequal_test): Likewise.
22163         (islessgreater_test): Likewise.
22164         (isnan_test): Likewise.
22165         (isnormal_test): Likewise.
22166         (issignaling_test): Likewise.
22167         (isunordered_test): Likewise.
22168         (logb_test): Likewise.
22169         (logb_downward_test_data): Remove.
22170         (logb_test_downward): Likewise.
22171         (lround_test): Use ALL_RM_TEST.
22172         (llround_test): Likewise.
22173         (modf_test): Likewise.
22174         (nexttoward_test): Likewise.
22175         (remainder_test): Likewise.
22176         (drem_test): Likewise.
22177         (remainder_tonearest_test_data): Likewise.
22178         (remainder_test_tonearest): Likewise.
22179         (drem_test_tonearest): Likewise.
22180         (remainder_towardzero_test_data): Likewise.
22181         (remainder_test_towardzero): Likewise.
22182         (drem_test_towardzero): Likewise.
22183         (remainder_downward_test_data): Likewise.
22184         (remainder_test_downward): Likewise.
22185         (drem_test_downward): Likewise.
22186         (remainder_upward_test_data): Likewise.
22187         (remainder_test_upward): Likewise.
22188         (drem_test_upward): Likewise.
22189         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
22190         (round_test): Use ALL_RM_TEST.
22191         (signbit_test): Likewise.
22192         (trunc_test): Likewise.
22193         (significand_test): Likewise.
22194         (main): Don't call removed functions.
22196 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
22198         [BZ #16674]
22199         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
22200         || __USE_XOPEN2K8].
22201         (ILL_ILLOPN): Likewise.
22202         (ILL_ILLADR): Likewise.
22203         (ILL_ILLTRP): Likewise.
22204         (ILL_PRVOPC): Likewise.
22205         (ILL_PRVREG): Likewise.
22206         (ILL_COPROC): Likewise.
22207         (ILL_BADSTK): Likewise.
22208         (FPE_INTDIV): Likewise.
22209         (FPE_INTOVF): Likewise.
22210         (FPE_FLTDIV): Likewise.
22211         (FPE_FLTOVF): Likewise.
22212         (FPE_FLTUND): Likewise.
22213         (FPE_FLTRES): Likewise.
22214         (FPE_FLTINV): Likewise.
22215         (FPE_FLTSUB): Likewise.
22216         (SEGV_MAPERR): Likewise.
22217         (SEGV_ACCERR): Likewise.
22218         (BUS_ADRALN): Likewise.
22219         (BUS_ADRERR): Likewise.
22220         (BUS_OBJERR): Likewise.
22221         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22222         (TRAP_TRACE): Likewise.
22223         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22224         __USE_XOPEN2K8].
22225         (CLD_KILLED): Likewise.
22226         (CLD_DUMPED): Likewise.
22227         (CLD_TRAPPED): Likewise.
22228         (CLD_STOPPED): Likewise.
22229         (CLD_CONTINUED): Likewise.
22230         (POLL_IN): Likewise.
22231         (POLL_OUT): Likewise.
22232         (POLL_MSG): Likewise.
22233         (POLL_ERR): Likewise.
22234         (POLL_PRI): Likewise.
22235         (POLL_HUP): Likewise.
22236         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
22237         Likewise.
22238         (ILL_ILLOPN): Likewise.
22239         (ILL_ILLADR): Likewise.
22240         (ILL_ILLTRP): Likewise.
22241         (ILL_PRVOPC): Likewise.
22242         (ILL_PRVREG): Likewise.
22243         (ILL_COPROC): Likewise.
22244         (ILL_BADSTK): Likewise.
22245         (FPE_INTDIV): Likewise.
22246         (FPE_INTOVF): Likewise.
22247         (FPE_FLTDIV): Likewise.
22248         (FPE_FLTOVF): Likewise.
22249         (FPE_FLTUND): Likewise.
22250         (FPE_FLTRES): Likewise.
22251         (FPE_FLTINV): Likewise.
22252         (FPE_FLTSUB): Likewise.
22253         (SEGV_MAPERR): Likewise.
22254         (SEGV_ACCERR): Likewise.
22255         (BUS_ADRALN): Likewise.
22256         (BUS_ADRERR): Likewise.
22257         (BUS_OBJERR): Likewise.
22258         (BUS_MCEERR_AR): Likewise.
22259         (BUS_MCEERR_AO): Likewise.
22260         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22261         (TRAP_TRACE): Likewise.
22262         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22263         __USE_XOPEN2K8].
22264         (CLD_KILLED): Likewise.
22265         (CLD_DUMPED): Likewise.
22266         (CLD_TRAPPED): Likewise.
22267         (CLD_STOPPED): Likewise.
22268         (CLD_CONTINUED): Likewise.
22269         (POLL_IN): Likewise.
22270         (POLL_OUT): Likewise.
22271         (POLL_MSG): Likewise.
22272         (POLL_ERR): Likewise.
22273         (POLL_PRI): Likewise.
22274         (POLL_HUP): Likewise.
22275         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
22276         (ILL_ILLOPN): Likewise.
22277         (ILL_ILLADR): Likewise.
22278         (ILL_ILLTRP): Likewise.
22279         (ILL_PRVOPC): Likewise.
22280         (ILL_PRVREG): Likewise.
22281         (ILL_COPROC): Likewise.
22282         (ILL_BADSTK): Likewise.
22283         (FPE_INTDIV): Likewise.
22284         (FPE_INTOVF): Likewise.
22285         (FPE_FLTDIV): Likewise.
22286         (FPE_FLTOVF): Likewise.
22287         (FPE_FLTUND): Likewise.
22288         (FPE_FLTRES): Likewise.
22289         (FPE_FLTINV): Likewise.
22290         (FPE_FLTSUB): Likewise.
22291         (SEGV_MAPERR): Likewise.
22292         (SEGV_ACCERR): Likewise.
22293         (BUS_ADRALN): Likewise.
22294         (BUS_ADRERR): Likewise.
22295         (BUS_OBJERR): Likewise.
22296         (BUS_MCEERR_AR): Likewise.
22297         (BUS_MCEERR_AO): Likewise.
22298         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22299         (TRAP_TRACE): Likewise.
22300         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22301         __USE_XOPEN2K8].
22302         (CLD_KILLED): Likewise.
22303         (CLD_DUMPED): Likewise.
22304         (CLD_TRAPPED): Likewise.
22305         (CLD_STOPPED): Likewise.
22306         (CLD_CONTINUED): Likewise.
22307         (POLL_IN): Likewise.
22308         (POLL_OUT): Likewise.
22309         (POLL_MSG): Likewise.
22310         (POLL_ERR): Likewise.
22311         (POLL_PRI): Likewise.
22312         (POLL_HUP): Likewise.
22313         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
22314         Likewise.
22315         (ILL_ILLOPN): Likewise.
22316         (ILL_ILLADR): Likewise.
22317         (ILL_ILLTRP): Likewise.
22318         (ILL_PRVOPC): Likewise.
22319         (ILL_PRVREG): Likewise.
22320         (ILL_COPROC): Likewise.
22321         (ILL_BADSTK): Likewise.
22322         (ILL_BADIADDR): Likewise.
22323         (ILL_BREAK): Likewise.
22324         (FPE_INTDIV): Likewise.
22325         (FPE_INTOVF): Likewise.
22326         (FPE_FLTDIV): Likewise.
22327         (FPE_FLTOVF): Likewise.
22328         (FPE_FLTUND): Likewise.
22329         (FPE_FLTRES): Likewise.
22330         (FPE_FLTINV): Likewise.
22331         (FPE_FLTSUB): Likewise.
22332         (FPE_DECOVF): Likewise.
22333         (FPE_DECDIV): Likewise.
22334         (FPE_DECERR): Likewise.
22335         (FPE_INVASC): Likewise.
22336         (FPE_INVDEC): Likewise.
22337         (SEGV_MAPERR): Likewise.
22338         (SEGV_ACCERR): Likewise.
22339         (SEGV_PSTKOVF): Likewise.
22340         (BUS_ADRALN): Likewise.
22341         (BUS_ADRERR): Likewise.
22342         (BUS_OBJERR): Likewise.
22343         (BUS_MCEERR_AR): Likewise.
22344         (BUS_MCEERR_AO): Likewise.
22345         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22346         (TRAP_TRACE): Likewise.
22347         (TRAP_BRANCH): Likewise.
22348         (TRAP_HWBKPT): Likewise.
22349         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22350         __USE_XOPEN2K8].
22351         (CLD_KILLED): Likewise.
22352         (CLD_DUMPED): Likewise.
22353         (CLD_TRAPPED): Likewise.
22354         (CLD_STOPPED): Likewise.
22355         (CLD_CONTINUED): Likewise.
22356         (POLL_IN): Likewise.
22357         (POLL_OUT): Likewise.
22358         (POLL_MSG): Likewise.
22359         (POLL_ERR): Likewise.
22360         (POLL_PRI): Likewise.
22361         (POLL_HUP): Likewise.
22362         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
22363         (ILL_ILLOPN): Likewise.
22364         (ILL_ILLADR): Likewise.
22365         (ILL_ILLTRP): Likewise.
22366         (ILL_PRVOPC): Likewise.
22367         (ILL_PRVREG): Likewise.
22368         (ILL_COPROC): Likewise.
22369         (ILL_BADSTK): Likewise.
22370         (FPE_INTDIV): Likewise.
22371         (FPE_INTOVF): Likewise.
22372         (FPE_FLTDIV): Likewise.
22373         (FPE_FLTOVF): Likewise.
22374         (FPE_FLTUND): Likewise.
22375         (FPE_FLTRES): Likewise.
22376         (FPE_FLTINV): Likewise.
22377         (FPE_FLTSUB): Likewise.
22378         (SEGV_MAPERR): Likewise.
22379         (SEGV_ACCERR): Likewise.
22380         (BUS_ADRALN): Likewise.
22381         (BUS_ADRERR): Likewise.
22382         (BUS_OBJERR): Likewise.
22383         (BUS_MCEERR_AR): Likewise.
22384         (BUS_MCEERR_AO): Likewise.
22385         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22386         (TRAP_TRACE): Likewise.
22387         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22388         __USE_XOPEN2K8].
22389         (CLD_KILLED): Likewise.
22390         (CLD_DUMPED): Likewise.
22391         (CLD_TRAPPED): Likewise.
22392         (CLD_STOPPED): Likewise.
22393         (CLD_CONTINUED): Likewise.
22394         (POLL_IN): Likewise.
22395         (POLL_OUT): Likewise.
22396         (POLL_MSG): Likewise.
22397         (POLL_ERR): Likewise.
22398         (POLL_PRI): Likewise.
22399         (POLL_HUP): Likewise.
22400         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
22401         (ILL_ILLOPN): Likewise.
22402         (ILL_ILLADR): Likewise.
22403         (ILL_ILLTRP): Likewise.
22404         (ILL_PRVOPC): Likewise.
22405         (ILL_PRVREG): Likewise.
22406         (ILL_COPROC): Likewise.
22407         (ILL_BADSTK): Likewise.
22408         (FPE_INTDIV): Likewise.
22409         (FPE_INTOVF): Likewise.
22410         (FPE_FLTDIV): Likewise.
22411         (FPE_FLTOVF): Likewise.
22412         (FPE_FLTUND): Likewise.
22413         (FPE_FLTRES): Likewise.
22414         (FPE_FLTINV): Likewise.
22415         (FPE_FLTSUB): Likewise.
22416         (SEGV_MAPERR): Likewise.
22417         (SEGV_ACCERR): Likewise.
22418         (BUS_ADRALN): Likewise.
22419         (BUS_ADRERR): Likewise.
22420         (BUS_OBJERR): Likewise.
22421         (BUS_MCEERR_AR): Likewise.
22422         (BUS_MCEERR_AO): Likewise.
22423         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22424         (TRAP_TRACE): Likewise.
22425         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22426         __USE_XOPEN2K8].
22427         (CLD_KILLED): Likewise.
22428         (CLD_DUMPED): Likewise.
22429         (CLD_TRAPPED): Likewise.
22430         (CLD_STOPPED): Likewise.
22431         (CLD_CONTINUED): Likewise.
22432         (POLL_IN): Likewise.
22433         (POLL_OUT): Likewise.
22434         (POLL_MSG): Likewise.
22435         (POLL_ERR): Likewise.
22436         (POLL_PRI): Likewise.
22437         (POLL_HUP): Likewise.
22438         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
22439         (ILL_ILLOPN): Likewise.
22440         (ILL_ILLADR): Likewise.
22441         (ILL_ILLTRP): Likewise.
22442         (ILL_PRVOPC): Likewise.
22443         (ILL_PRVREG): Likewise.
22444         (ILL_COPROC): Likewise.
22445         (ILL_BADSTK): Likewise.
22446         (FPE_INTDIV): Likewise.
22447         (FPE_INTOVF): Likewise.
22448         (FPE_FLTDIV): Likewise.
22449         (FPE_FLTOVF): Likewise.
22450         (FPE_FLTUND): Likewise.
22451         (FPE_FLTRES): Likewise.
22452         (FPE_FLTINV): Likewise.
22453         (FPE_FLTSUB): Likewise.
22454         (SEGV_MAPERR): Likewise.
22455         (SEGV_ACCERR): Likewise.
22456         (BUS_ADRALN): Likewise.
22457         (BUS_ADRERR): Likewise.
22458         (BUS_OBJERR): Likewise.
22459         (BUS_MCEERR_AR): Likewise.
22460         (BUS_MCEERR_AO): Likewise.
22461         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22462         (TRAP_TRACE): Likewise.
22463         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22464         __USE_XOPEN2K8].
22465         (CLD_KILLED): Likewise.
22466         (CLD_DUMPED): Likewise.
22467         (CLD_TRAPPED): Likewise.
22468         (CLD_STOPPED): Likewise.
22469         (CLD_CONTINUED): Likewise.
22470         (POLL_IN): Likewise.
22471         (POLL_OUT): Likewise.
22472         (POLL_MSG): Likewise.
22473         (POLL_ERR): Likewise.
22474         (POLL_PRI): Likewise.
22475         (POLL_HUP): Likewise.
22476         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
22477         (ILL_ILLOPN): Likewise.
22478         (ILL_ILLADR): Likewise.
22479         (ILL_ILLTRP): Likewise.
22480         (ILL_PRVOPC): Likewise.
22481         (ILL_PRVREG): Likewise.
22482         (ILL_COPROC): Likewise.
22483         (ILL_BADSTK): Likewise.
22484         (ILL_DBLFLT): Likewise.
22485         (ILL_HARDWALL): Likewise.
22486         (FPE_INTDIV): Likewise.
22487         (FPE_INTOVF): Likewise.
22488         (FPE_FLTDIV): Likewise.
22489         (FPE_FLTOVF): Likewise.
22490         (FPE_FLTUND): Likewise.
22491         (FPE_FLTRES): Likewise.
22492         (FPE_FLTINV): Likewise.
22493         (FPE_FLTSUB): Likewise.
22494         (SEGV_MAPERR): Likewise.
22495         (SEGV_ACCERR): Likewise.
22496         (BUS_ADRALN): Likewise.
22497         (BUS_ADRERR): Likewise.
22498         (BUS_OBJERR): Likewise.
22499         (BUS_MCEERR_AR): Likewise.
22500         (BUS_MCEERR_AO): Likewise.
22501         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22502         (TRAP_TRACE): Likewise.
22503         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22504         __USE_XOPEN2K8].
22505         (CLD_KILLED): Likewise.
22506         (CLD_DUMPED): Likewise.
22507         (CLD_TRAPPED): Likewise.
22508         (CLD_STOPPED): Likewise.
22509         (CLD_CONTINUED): Likewise.
22510         (POLL_IN): Likewise.
22511         (POLL_OUT): Likewise.
22512         (POLL_MSG): Likewise.
22513         (POLL_ERR): Likewise.
22514         (POLL_PRI): Likewise.
22515         (POLL_HUP): Likewise.
22516         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
22517         (ILL_ILLOPN): Likewise.
22518         (ILL_ILLADR): Likewise.
22519         (ILL_ILLTRP): Likewise.
22520         (ILL_PRVOPC): Likewise.
22521         (ILL_PRVREG): Likewise.
22522         (ILL_COPROC): Likewise.
22523         (ILL_BADSTK): Likewise.
22524         (FPE_INTDIV): Likewise.
22525         (FPE_INTOVF): Likewise.
22526         (FPE_FLTDIV): Likewise.
22527         (FPE_FLTOVF): Likewise.
22528         (FPE_FLTUND): Likewise.
22529         (FPE_FLTRES): Likewise.
22530         (FPE_FLTINV): Likewise.
22531         (FPE_FLTSUB): Likewise.
22532         (SEGV_MAPERR): Likewise.
22533         (SEGV_ACCERR): Likewise.
22534         (BUS_ADRALN): Likewise.
22535         (BUS_ADRERR): Likewise.
22536         (BUS_OBJERR): Likewise.
22537         (BUS_MCEERR_AR): Likewise.
22538         (BUS_MCEERR_AO): Likewise.
22539         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22540         (TRAP_TRACE): Likewise.
22541         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22542         __USE_XOPEN2K8].
22543         (CLD_KILLED): Likewise.
22544         (CLD_DUMPED): Likewise.
22545         (CLD_TRAPPED): Likewise.
22546         (CLD_STOPPED): Likewise.
22547         (CLD_CONTINUED): Likewise.
22548         (POLL_IN): Likewise.
22549         (POLL_OUT): Likewise.
22550         (POLL_MSG): Likewise.
22551         (POLL_ERR): Likewise.
22552         (POLL_PRI): Likewise.
22553         (POLL_HUP): Likewise.
22554         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
22555         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
22557         [BZ #16670]
22558         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
22559         before #include of <time.h>.
22560         [!__USE_XOPEN2K] (__need_timespec): Likewise.
22561         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
22562         (test-xfail-UNIX98/sched.h/conform): Likewise.
22564 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
22566         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
22567         error absence of trapping exception support.
22568         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
22570 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
22572         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
22573         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
22574         * timezone/Makefile (testdata): Move definition above include of
22575         Rules.
22576         (test-zones): New variable.
22577         (tests-special): Add zone files.
22578         (build-testdata): Use $(evaluate-test).
22580         * elf/Makefile (tests-special): Rename tests to end with .out.
22581         ($(objpfx)noload-mem): Likewise.
22582         ($(objpfx)tst-leaks1-mem): Likewise.
22583         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
22584         * iconv/Makefile (xtests-special): Change test-iconvconfig to
22585         $(objpfx)test-iconvconfig.out.
22586         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
22587         set -e inside subshell and redirect output to file.
22588         * iconvdata/Makefile (generated): Rename tests to end with .out.
22589         Correct type.
22590         (tests-special): Rename tests to end with .out.
22591         ($(objpfx)mtrace-tst-loading): Likewise.
22592         * intl/Makefile (generated): Likewise.
22593         (tests-special): Likewise.
22594         ($(objpfx)mtrace-tst-gettext): Likewise.
22595         * misc/Makefile (generated): Likewise.
22596         (tests-special): Likewise.
22597         ($(objpfx)tst-error1-mem): Likewise.
22598         * nptl/Makefile (tests-special): Likewise.
22599         ($(objpfx)tst-stack3-mem): Likewise.
22600         (generated): Likewise.
22601         * posix/Makefile (generated): Likewise.
22602         (tests-special): Likewise.
22603         (xtests-special): Likewise.
22604         ($(objpfx)tst-fnmatch-mem): Likewise.
22605         ($(objpfx)bug-regex2-mem): Likewise.
22606         ($(objpfx)bug-regex14-mem): Likewise.
22607         ($(objpfx)bug-regex21-mem): Likewise.
22608         ($(objpfx)bug-regex31-mem): Likewise.
22609         ($(objpfx)tst-vfork3-mem): Likewise.
22610         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22611         ($(objpfx)tst-pcre-mem): Likewise.
22612         ($(objpfx)tst-boost-mem): Likewise.
22613         ($(objpfx)bug-ga2-mem): Likewise.
22614         ($(objpfx)bug-glob2-mem): Likewise.
22615         * resolv/Makefile (generate): Likewise.
22616         (tests-special): Likewise.
22617         (xtests-special): Likewise.
22618         (generated): Likewise.
22619         ($(objpfx)mtrace-tst-leaks): Likewise.
22620         ($(objpfx)mtrace-tst-leaks2): Likewise.
22622         * scripts/merge-test-results.sh: New file.
22623         * Makefile (tests-special-notdir): New variable.
22624         (tests): Run merge-test-results.sh.
22625         (xtests): Likewise.
22626         * Rules (tests-special-notdir): New variable.
22627         (xtests-special-notdir): Likewise.
22628         (tests): Run merge-test-results.sh
22629         (xtests): Likewise.
22631         * Makeconfig (test-xfail-name): New variable.
22632         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
22633         compute variable name for expected failures.
22634         * conform/Makefile (conformtest-headers-data): New variable.
22635         (conformtest-standards): Likewise.
22636         (conformtest-headers-ISO): Likewise.
22637         (conformtest-headers-ISO99): Likewise.
22638         (conformtest-headers-ISO11): Likewise.
22639         (conformtest-headers-POSIX): Likewise.
22640         (conformtest-headers-XPG3): Likewise.
22641         (conformtest-headers-XPG4): Likewise.
22642         (conformtest-headers-UNIX98): Likewise.
22643         (conformtest-headers-XOPEN2K): Likewise.
22644         (conformtest-headers-POSIX2008): Likewise.
22645         (conformtest-headers-XOPEN2K8): Likewise.
22646         (conformtest-header-list-base): Likewise.
22647         (conformtest-header-list-tests): Likewise.
22648         (conformtest-header-base): Likewise.
22649         (conformtest-header-tests): Likewise.
22650         (tests-special): Add $(conformtest-header-list-tests).  If
22651         [$(fast-check) && !$(cross-compiling)], add
22652         $(conformtest-header-tests) instead of
22653         $(objpfx)run-conformtest.out.
22654         (generated): Add $(conformtest-header-list-base).  If
22655         [$(fast-check) && !$(cross-compiling)], add
22656         $(conformtest-header-base).  Remove previous setting.
22657         ($(conformtest-header-list-tests)): New target.
22658         (test-xfail-run-conformtest): Remove variable.
22659         ($(objpfx)run-conformtest.out): Remove target.
22660         (test-xfail-ISO11/complex.h/conform): New variable.
22661         (test-xfail-ISO11/stdalign.h/conform): Likewise.
22662         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
22663         (test-xfail-XPG3/varargs.h/conform): Likewise.
22664         (test-xfail-XPG4/varargs.h/conform): Likewise.
22665         (test-xfail-UNIX98/varargs.h/conform): Likewise.
22666         (test-xfail-XPG4/ndbm.h/conform): Likewise.
22667         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
22668         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
22669         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
22670         (test-xfail-XPG3/fcntl.h/conform): Likewise.
22671         (test-xfail-XPG3/ftw.h/conform): Likewise.
22672         (test-xfail-XPG3/grp.h/conform): Likewise.
22673         (test-xfail-XPG3/langinfo.h/conform): Likewise.
22674         (test-xfail-XPG3/limits.h/conform): Likewise.
22675         (test-xfail-XPG3/pwd.h/conform): Likewise.
22676         (test-xfail-XPG3/search.h/conform): Likewise.
22677         (test-xfail-XPG3/signal.h/conform): Likewise.
22678         (test-xfail-XPG3/stdio.h/conform): Likewise.
22679         (test-xfail-XPG3/stdlib.h/conform): Likewise.
22680         (test-xfail-XPG3/string.h/conform): Likewise.
22681         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
22682         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
22683         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
22684         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
22685         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
22686         (test-xfail-XPG3/sys/types.h/conform): Likewise.
22687         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
22688         (test-xfail-XPG3/termios.h/conform): Likewise.
22689         (test-xfail-XPG3/time.h/conform): Likewise.
22690         (test-xfail-XPG3/unistd.h/conform): Likewise.
22691         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
22692         (test-xfail-XPG4/fcntl.h/conform): Likewise.
22693         (test-xfail-XPG4/langinfo.h/conform): Likewise.
22694         (test-xfail-XPG4/netdb.h/conform): Likewise.
22695         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
22696         (test-xfail-XPG4/signal.h/conform): Likewise.
22697         (test-xfail-XPG4/stdio.h/conform): Likewise.
22698         (test-xfail-XPG4/stdlib.h/conform): Likewise.
22699         (test-xfail-XPG4/stropts.h/conform): Likewise.
22700         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
22701         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
22702         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
22703         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
22704         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
22705         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
22706         (test-xfail-XPG4/sys/time.h/conform): Likewise.
22707         (test-xfail-XPG4/sys/types.h/conform): Likewise.
22708         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
22709         (test-xfail-XPG4/termios.h/conform): Likewise.
22710         (test-xfail-XPG4/ucontext.h/conform): Likewise.
22711         (test-xfail-XPG4/unistd.h/conform): Likewise.
22712         (test-xfail-XPG4/utmpx.h/conform): Likewise.
22713         (test-xfail-POSIX/sched.h/conform): Likewise.
22714         (test-xfail-POSIX/signal.h/conform): Likewise.
22715         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
22716         (test-xfail-POSIX/tar.h/conform): Likewise.
22717         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
22718         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
22719         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
22720         (test-xfail-UNIX98/netdb.h/conform): Likewise.
22721         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
22722         (test-xfail-UNIX98/sched.h/conform): Likewise.
22723         (test-xfail-UNIX98/signal.h/conform): Likewise.
22724         (test-xfail-UNIX98/stdio.h/conform): Likewise.
22725         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
22726         (test-xfail-UNIX98/stropts.h/conform): Likewise.
22727         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
22728         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
22729         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
22730         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
22731         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
22732         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
22733         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
22734         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
22735         (test-xfail-UNIX98/unistd.h/conform): Likewise.
22736         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
22737         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
22738         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
22739         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
22740         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
22741         (test-xfail-XOPEN2K/math.h/conform): Likewise.
22742         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
22743         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
22744         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
22745         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
22746         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
22747         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
22748         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
22749         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
22750         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
22751         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
22752         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
22753         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
22754         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
22755         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
22756         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
22757         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
22758         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
22759         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
22760         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
22761         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
22762         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
22763         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
22764         (test-xfail-POSIX2008/signal.h/conform): Likewise.
22765         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
22766         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
22767         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
22768         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
22769         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
22770         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
22771         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
22772         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
22773         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
22774         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
22775         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
22776         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
22777         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
22778         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
22779         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
22780         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
22781         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
22782         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
22783         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
22784         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
22785         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
22786         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
22787         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
22788         (conformtest-cc-flags): Likewise.
22789         ($(conformtest-header-tests): New target.
22790         * conform/check-header-lists.sh: New file.
22791         * conform/run-conformtest.sh: Remove.
22793         * conform/conformtest.pl: Allow ' and \ in values given for
22794         constants.
22795         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
22796         inclusion.
22797         [POSIX] (sys/types.h): Likewise.
22798         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
22799         inclusion.
22800         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
22801         inclusion.
22802         * conform/data/signal.h-data (SIGIO): Remove expectation.
22803         [XPG3] (SIGBUS): Do not expect.
22804         [POSIX || XPG3] (SIGPOLL): Likewise.
22805         [POSIX || XPG3] (SIGPROF): Likewise.
22806         [POSIX || XPG3] (SIGSYS): Likewise.
22807         [XPG3] (SIGTRAP): Likewise.
22808         [POSIX || XPG3] (SIGURG): Likewise.
22809         [POSIX || XPG3] (SIGVTALRM): Likewise.
22810         [POSIX || XPG3] (SIGXCPU): Likewise.
22811         [POSIX || XPG3] (SIGXFSZ): Likewise.
22812         [POSIX] (SA_SIGINFO): Expect.
22813         [XPG3] (siginfo_t): Do not expect type or contents.
22814         [POSIX] (si_pid): Do not expect element.
22815         [POSIX] (si_uid): Likewise.
22816         [POSIX] (si_addr): Likewise.
22817         [POSIX] (si_status): Likewise.
22818         [POSIX] (si_band): Likewise.
22819         [XPG4] (si_value): Likewise.
22820         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
22821         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
22822         [POSIX || XPG3] (ILL_ILLADR): Likewise.
22823         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
22824         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
22825         [POSIX || XPG3] (ILL_PRVREG): Likewise.
22826         [POSIX || XPG3] (ILL_COPROC): Likewise.
22827         [POSIX || XPG3] (ILL_BADSTK): Likewise.
22828         [POSIX || XPG3] (FPE_INTDIV): Likewise.
22829         [POSIX || XPG3] (FPE_INTOVF): Likewise.
22830         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
22831         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
22832         [POSIX || XPG3] (FPE_FLTUND): Likewise.
22833         [POSIX || XPG3] (FPE_FLTRES): Likewise.
22834         [POSIX || XPG3] (FPE_FLTINV): Likewise.
22835         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
22836         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
22837         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
22838         [POSIX || XPG3] (BUS_ADRALN): Likewise.
22839         [POSIX || XPG3] (BUS_ADRERR): Likewise.
22840         [POSIX || XPG3] (BUS_OBJERR): Likewise.
22841         [POSIX || XPG3] (CLD_EXITED): Likewise.
22842         [POSIX || XPG3] (CLD_KILLED): Likewise.
22843         [POSIX || XPG3] (CLD_DUMPED): Likewise.
22844         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
22845         [POSIX || XPG3] (CLD_STOPPED): Likewise.
22846         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
22847         [POSIX || XPG3] (POLL_IN): Likewise.
22848         [POSIX || XPG3] (POLL_OUT): Likewise.
22849         [POSIX || XPG3] (POLL_MSG): Likewise.
22850         [POSIX || XPG3] (POLL_ERR): Likewise.
22851         [POSIX || XPG3] (POLL_PRI): Likewise.
22852         [POSIX || XPG3] (POLL_HUP): Likewise.
22853         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
22854         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
22855         (SIG*): Do not allow.
22856         [XPG3] (si_*): Likewise.
22857         [XPG3] (SI_*): Likewise.
22858         [XPG3 || XPG4] (sigev_*): Likewise.
22859         [XPG3 || XPG4] (SIGEV_*): Likewise.
22860         [XPG3 || XPG4] (sival_*): Likewise.
22861         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
22862         [POSIX || XPG3] (BUS_*): Likewise.
22863         [POSIX || XPG3] (CLD_*): Likewise.
22864         [POSIX || XPG3] (FPE_*): Likewise.
22865         [POSIX || XPG3] (ILL_*): Likewise.
22866         [POSIX || XPG3] (POLL_*): Likewise.
22867         [POSIX || XPG3] (SEGV_*): Likewise.
22868         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
22869         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
22870         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
22871         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
22872         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
22873         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
22874         Specify type and value.
22875         (TVERSLEN): Likewise.
22876         (REGTYPE): Likewise.
22877         (AREGTYPE): Likewise.
22878         (LNKTYPE): Likewise.
22879         (SYMTYPE): Likewise.
22880         (CHRTYPE): Likewise.
22881         (BLKTYPE): Likewise.
22882         (DIRTYPE): Likewise.
22883         (FIFOTYPE): Likewise.
22884         (CONTTYPE): Likewise.
22885         (TSUID): Likewise.
22886         (TSGID): Likewise.
22887         (TSVTX): Likewise.
22888         (TUREAD): Likewise.
22889         (TUWRITE): Likewise.
22890         (TUEXEC): Likewise.
22891         (TGREAD): Likewise.
22892         (TGWRITE): Likewise.
22893         (TGEXEC): Likewise.
22894         (TOREAD): Likewise.
22895         (TOWRITE): Likewise.
22896         (TOEXEC): Likewise.
22897         [POSIX] (TSVTX): Expect constant.
22899 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
22901         * Makefile (tests): Change dependencies to ....
22902         (tests-special): ... additions to this variable.
22903         (tests): Depend on $(tests-special).
22904         * Makerules (check-abi-list): New variable.
22905         (check-abi): Depend on $(check-abi-list).
22906         [$(subdir) = elf] (tests-special): Add
22907         $(objpfx)check-abi-libc.out.
22908         [$(build-shared) = yes && subdir] (tests-special): Add
22909         $(check-abi-list).
22910         [$(build-shared) = yes && subdir] (tests): Do not depend on
22911         check-abi.
22912         * Rules (tests): Depend on $(tests-special).
22913         (xtests): Depend on $(xtests-special).
22914         * catgets/Makefile (tests): Change dependencies to ....
22915         (tests-special): ... additions to this variable.
22916         * conform/Makefile (tests): Change dependencies to ....
22917         (tests-special): ... additions to this variable.
22918         * elf/Makefile (tests): Change dependencies to ....
22919         (tests-special): ... additions to this variable.
22920         * grp/Makefile (tests): Change dependencies to ....
22921         (tests-special): ... additions to this variable.
22922         * iconv/Makefile (xtests): Change dependencies to ....
22923         (xtests-special): ... additions to this variable.
22924         * iconvdata/Makefile (tests): Change dependencies to ....
22925         (tests-special): ... additions to this variable.
22926         * intl/Makefile (tests): Change dependencies to ....
22927         (tests-special): ... additions to this variable.  Also add
22928         $(objpfx)tst-gettext.out.
22929         * io/Makefile (tests): Change dependencies to ....
22930         (tests-special): ... additions to this variable.
22931         * libio/Makefile (tests): Change dependencies to ....
22932         (tests-special): ... additions to this variable.
22933         * malloc/Makefile (tests): Change dependencies to ....
22934         (tests-special): ... additions to this variable.
22935         * misc/Makefile (tests): Change dependencies to ....
22936         (tests-special): ... additions to this variable.
22937         * nptl/Makefile (tests): Change dependencies to ....
22938         (tests-special): ... additions to this variable.
22939         * nptl_db/Makefile (tests): Change dependencies to ....
22940         (tests-special): ... additions to this variable.
22941         * posix/Makefile (tests): Change dependencies to ....
22942         (tests-special): ... additions to this variable.
22943         (xtests): Change dependencies to ....
22944         (xtests-special): ... additions to this variable.
22945         * resolv/Makefile (tests): Change dependencies to ....
22946         (tests-special): ... additions to this variable.
22947         (xtests): Change dependencies to ....
22948         (xtests-special): ... additions to this variable.
22949         * stdio-common/Makefile (tests): Change dependencies to ....
22950         (tests-special): ... additions to this variable.
22951         (do-tst-unbputc): Remove target.
22952         (do-tst-printf): Likewise.
22953         * stdlib/Makefile (tests): Change dependencies to ....
22954         (tests-special): ... additions to this variable.
22955         * string/Makefile (tests): Change dependencies to ....
22956         (tests-special): ... additions to this variable.
22957         * sysdeps/x86/Makefile (tests): Change dependencies to ....
22958         (tests-special): ... additions to this variable.
22960         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
22961         whole file.
22962         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
22963         whole file.
22964         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
22965         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
22967         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
22968         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
22969         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
22970         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
22971         * conform/data/libgen.h-data [XPG3]: Likewise.
22972         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
22973         * conform/data/ndbm.h-data [XPG3]: Likewise.
22974         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
22975         * conform/data/netdb.h-data [XPG3]: Likewise.
22976         * conform/data/netinet/in.h-data [XPG3]: Likewise.
22977         * conform/data/poll.h-data [XPG3]: Likewise.
22978         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
22979         * conform/data/strings.h-data [XPG3]: Likewise.
22980         * conform/data/stropts.h-data [XPG3]: Likewise.
22981         * conform/data/sys/mman.h-data [XPG3]: Likewise.
22982         * conform/data/sys/resource.h-data [XPG3]: Likewise.
22983         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
22984         Likewise.
22985         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
22986         * conform/data/sys/time.h-data [XPG3]: Likewise.
22987         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
22988         * conform/data/sys/uio.h-data [XPG3]: Likewise.
22989         * conform/data/sys/un.h-data [XPG3]: Likewise.
22990         * conform/data/syslog.h-data [XPG3]: Likewise.
22991         * conform/data/ucontext.h-data [XPG3]: Likewise.
22992         * conform/data/utmpx.h-data [XPG3]: Likewise.
22993         * conform/data/varargs.h-data [UNIX98]: Enable file.
22995         * manual/Makefile (INSTALL_INFO): Remove variable setting.
22997         * math/libm-test.inc (struct test_f_f_data): Move expected results
22998         into structure for each rounding mode.
22999         (struct test_ff_f_data): Likewise.
23000         (struct test_ff_f_data_nexttoward): Likewise.
23001         (struct test_fi_f_data): Likewise.
23002         (struct test_fl_f_data): Likewise.
23003         (struct test_if_f_data): Likewise.
23004         (struct test_fff_f_data): Likewise.
23005         (struct test_c_f_data): Likewise.
23006         (struct test_f_f1_data): Likewise.
23007         (struct test_fF_f1_data): Likewise.
23008         (struct test_ffI_f1_data): Likewise.
23009         (struct test_c_c_data): Likewise.
23010         (struct test_cc_c_data): Likewise.
23011         (struct test_f_i_data): Likewise.
23012         (struct test_ff_i_data): Likewise.
23013         (struct test_f_l_data): Likewise.
23014         (struct test_f_L_data): Likewise.
23015         (struct test_fFF_11_data): Likewise.
23016         (RM_): New macro.
23017         (RM_FE_DOWNWARD): Likewise.
23018         (RM_FE_TONEAREST): Likewise.
23019         (RM_FE_TOWARDZERO): Likewise.
23020         (RM_FE_UPWARD): Likewise.
23021         (RUN_TEST_LOOP_f_f): Update references to expected results.
23022         (RUN_TEST_LOOP_2_f): Likewise.
23023         (RUN_TEST_LOOP_fff_f): Likewise.
23024         (RUN_TEST_LOOP_c_f): Likewise.
23025         (RUN_TEST_LOOP_f_f1): Likewise.
23026         (RUN_TEST_LOOP_fF_f1): Likewise.
23027         (RUN_TEST_LOOP_fI_f1): Likewise.
23028         (RUN_TEST_LOOP_ffI_f1): Likewise.
23029         (RUN_TEST_LOOP_c_c): Likewise.
23030         (RUN_TEST_LOOP_cc_c): Likewise.
23031         (RUN_TEST_LOOP_f_i): Likewise.
23032         (RUN_TEST_LOOP_f_i_tg): Likewise.
23033         (RUN_TEST_LOOP_ff_i_tg): Likewise.
23034         (RUN_TEST_LOOP_f_b): Likewise.
23035         (RUN_TEST_LOOP_f_b_tg): Likewise.
23036         (RUN_TEST_LOOP_f_l): Likewise.
23037         (RUN_TEST_LOOP_f_L): Likewise.
23038         (RUN_TEST_LOOP_fFF_11): Likewise.
23039         * math/gen-libm-test.pl (parse_args): Output four copies of
23040         expected results for each test.
23042         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23043         (__ASSUME_UTIMES): Remove.
23044         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23045         (__ASSUME_UTIMES): Likewise.
23047         * math/gen-auto-libm-tests.c: Update comment on output format.
23048         (output_for_one_input_case): Generate before-rounding and
23049         after-rounding information as conditions on output flags not
23050         floating-point format.
23051         * math/auto-libm-test-out: Regenerated.
23052         * math/gen-libm-test.pl (cond_value): New function.
23053         (or_cond_value): Use cond_value.
23054         (generate_testfile): Handle conditional exceptions.
23056 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
23058         * math/libm-test.inc (max_valid_error): New variable.
23059         (init_max_error): Take new argument specifying whether function
23060         results are exactly determined.  Set max_valid_error and bound
23061         other variables for errors based on this argument.
23062         (set_max_error): Do not record results above max_valid_error.
23063         (check_float_internal): Only accept errors of up to 0.5ulps if
23064         also at most max_valid_error.
23065         (START): Take new argument EXACT and pass it to init_max_error.
23066         (acos_test): Update call to START.
23067         (acos_test_tonearest): Likewise.
23068         (acos_test_towardzero): Likewise.
23069         (acos_test_downward): Likewise.
23070         (acos_test_upward): Likewise.
23071         (acosh_test): Likewise.
23072         (asin_test): Likewise.
23073         (asin_test_tonearest): Likewise.
23074         (asin_test_towardzero): Likewise.
23075         (asin_test_downward): Likewise.
23076         (asin_test_upward): Likewise.
23077         (asinh_test): Likewise.
23078         (atan_test): Likewise.
23079         (atanh_test): Likewise.
23080         (atan2_test): Likewise.
23081         (cabs_test): Likewise.
23082         (cacos_test): Likewise.
23083         (cacosh_test): Likewise.
23084         (carg_test): Likewise.
23085         (casin_test): Likewise.
23086         (casinh_test): Likewise.
23087         (catan_test): Likewise.
23088         (catanh_test): Likewise.
23089         (cbrt_test): Likewise.
23090         (ccos_test): Likewise.
23091         (ccosh_test): Likewise.
23092         (ceil_test): Likewise.
23093         (cexp_test): Likewise.
23094         (cimag_test): Likewise.
23095         (clog_test): Likewise.
23096         (clog10_test): Likewise.
23097         (conj_test): Likewise.
23098         (copysign_test): Likewise.
23099         (cos_test): Likewise.
23100         (cos_test_tonearest): Likewise.
23101         (cos_test_towardzero): Likewise.
23102         (cos_test_downward): Likewise.
23103         (cos_test_upward): Likewise.
23104         (cosh_test): Likewise.
23105         (cosh_test_tonearest): Likewise.
23106         (cosh_test_towardzero): Likewise.
23107         (cosh_test_downward): Likewise.
23108         (cosh_test_upward): Likewise.
23109         (cpow_test): Likewise.
23110         (cproj_test): Likewise.
23111         (creal_test): Likewise.
23112         (csin_test): Likewise.
23113         (csinh_test): Likewise.
23114         (csqrt_test): Likewise.
23115         (ctan_test): Likewise.
23116         (ctan_test_tonearest): Likewise.
23117         (ctan_test_towardzero): Likewise.
23118         (ctan_test_downward): Likewise.
23119         (ctan_test_upward): Likewise.
23120         (ctanh_test): Likewise.
23121         (ctanh_test_tonearest): Likewise.
23122         (ctanh_test_towardzero): Likewise.
23123         (ctanh_test_downward): Likewise.
23124         (ctanh_test_upward): Likewise.
23125         (erf_test): Likewise.
23126         (erfc_test): Likewise.
23127         (exp_test): Likewise.
23128         (exp_test_tonearest): Likewise.
23129         (exp_test_towardzero): Likewise.
23130         (exp_test_downward): Likewise.
23131         (exp_test_upward): Likewise.
23132         (exp10_test): Likewise.
23133         (exp10_test_tonearest): Likewise.
23134         (exp10_test_towardzero): Likewise.
23135         (exp10_test_downward): Likewise.
23136         (exp10_test_upward): Likewise.
23137         (pow10_test): Likewise.
23138         (exp2_test): Likewise.
23139         (expm1_test): Likewise.
23140         (expm1_test_tonearest): Likewise.
23141         (expm1_test_towardzero): Likewise.
23142         (expm1_test_downward): Likewise.
23143         (expm1_test_upward): Likewise.
23144         (fabs_test): Likewise.
23145         (fdim_test): Likewise.
23146         (floor_test): Likewise.
23147         (fma_test): Likewise.
23148         (fma_test_towardzero): Likewise.
23149         (fma_test_downward): Likewise.
23150         (fma_test_upward): Likewise.
23151         (fmax_test): Likewise.
23152         (fmin_test): Likewise.
23153         (fmod_test): Likewise.
23154         (fpclassify_test): Likewise.
23155         (frexp_test): Likewise.
23156         (hypot_test): Likewise.
23157         (ilogb_test): Likewise.
23158         (isfinite_test): Likewise.
23159         (finite_test): Likewise.
23160         (isgreater_test): Likewise.
23161         (isgreaterequal_test): Likewise.
23162         (isinf_test): Likewise.
23163         (isless_test): Likewise.
23164         (islessequal_test): Likewise.
23165         (islessgreater_test): Likewise.
23166         (isnan_test): Likewise.
23167         (isnormal_test): Likewise.
23168         (issignaling_test): Likewise.
23169         (isunordered_test): Likewise.
23170         (j0_test): Likewise.
23171         (j1_test): Likewise.
23172         (jn_test): Likewise.
23173         (ldexp_test): Likewise.
23174         (lgamma_test): Likewise.
23175         (gamma_test): Likewise.
23176         (lrint_test): Likewise.
23177         (lrint_test_tonearest): Likewise.
23178         (lrint_test_towardzero): Likewise.
23179         (lrint_test_downward): Likewise.
23180         (lrint_test_upward): Likewise.
23181         (llrint_test): Likewise.
23182         (llrint_test_tonearest): Likewise.
23183         (llrint_test_towardzero): Likewise.
23184         (llrint_test_downward): Likewise.
23185         (llrint_test_upward): Likewise.
23186         (log_test): Likewise.
23187         (log10_test): Likewise.
23188         (log1p_test): Likewise.
23189         (log2_test): Likewise.
23190         (logb_test): Likewise.
23191         (logb_test_downward): Likewise.
23192         (lround_test): Likewise.
23193         (llround_test): Likewise.
23194         (modf_test): Likewise.
23195         (nearbyint_test): Likewise.
23196         (nextafter_test): Likewise.
23197         (nexttoward_test): Likewise.
23198         (pow_test): Likewise.
23199         (pow_test_tonearest): Likewise.
23200         (pow_test_towardzero): Likewise.
23201         (pow_test_downward): Likewise.
23202         (pow_test_upward): Likewise.
23203         (remainder_test): Likewise.
23204         (drem_test): Likewise.
23205         (remainder_test_tonearest): Likewise.
23206         (drem_test_tonearest): Likewise.
23207         (remainder_test_towardzero): Likewise.
23208         (drem_test_towardzero): Likewise.
23209         (remainder_test_downward): Likewise.
23210         (drem_test_downward): Likewise.
23211         (remainder_test_upward): Likewise.
23212         (drem_test_upward): Likewise.
23213         (remquo_test): Likewise.
23214         (rint_test): Likewise.
23215         (rint_test_tonearest): Likewise.
23216         (rint_test_towardzero): Likewise.
23217         (rint_test_downward): Likewise.
23218         (rint_test_upward): Likewise.
23219         (round_test): Likewise.
23220         (scalb_test): Likewise.
23221         (scalbn_test): Likewise.
23222         (scalbln_test): Likewise.
23223         (signbit_test): Likewise.
23224         (sin_test): Likewise.
23225         (sin_test_tonearest): Likewise.
23226         (sin_test_towardzero): Likewise.
23227         (sin_test_downward): Likewise.
23228         (sin_test_upward): Likewise.
23229         (sincos_test): Likewise.
23230         (sinh_test): Likewise.
23231         (sinh_test_tonearest): Likewise.
23232         (sinh_test_towardzero): Likewise.
23233         (sinh_test_downward): Likewise.
23234         (sinh_test_upward): Likewise.
23235         (sqrt_test): Likewise.
23236         (sqrt_test_tonearest): Likewise.
23237         (sqrt_test_towardzero): Likewise.
23238         (sqrt_test_downward): Likewise.
23239         (sqrt_test_upward): Likewise.
23240         (tan_test): Likewise.
23241         (tan_test_tonearest): Likewise.
23242         (tan_test_towardzero): Likewise.
23243         (tan_test_downward): Likewise.
23244         (tan_test_upward): Likewise.
23245         (tanh_test): Likewise.
23246         (tgamma_test): Likewise.
23247         (trunc_test): Likewise.
23248         (y0_test): Likewise.
23249         (y1_test): Likewise.
23250         (yn_test): Likewise.
23251         (significand_test): Likewise.
23253         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
23254         individual tests in comment.
23255         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
23256         (prev_max_error): New variable.
23257         (prev_real_max_error): Likewise.
23258         (prev_imag_max_error): Likewise.
23259         (compare_ulp_data): Don't refer to test names in comment.
23260         (find_test_ulps): Remove function.
23261         (find_function_ulps): Likewise.
23262         (find_complex_function_ulps): Likewise.
23263         (init_max_error): Take function name as argument.  Look up ulps
23264         for that function.
23265         (print_ulps): Remove function.
23266         (print_max_error): Use prev_max_error instead of calling
23267         find_function_ulps.
23268         (print_complex_max_error): Use prev_real_max_error and
23269         prev_imag_max_error instead of calling find_complex_function_ulps.
23270         (check_float_internal): Take max_ulp parameter instead of calling
23271         find_test_ulps.  Don't call print_ulps.
23272         (check_float): Update call to check_float_internal.
23273         (check_complex): Update calls to check_float_internal.
23274         (START): Pass argument to init_max_error.
23275         * math/gen-libm-test.pl (%results): Don't include "kind"
23276         information.
23277         (parse_ulps): Don't handle ulps of individual tests.
23278         (print_ulps_file): Likewise.
23279         (output_ulps): Likewise.
23280         * math/README.libm-test: Update.
23281         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
23282         individual tests.
23283         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
23284         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
23285         * sysdeps/arm/libm-test-ulps: Likewise.
23286         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23287         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
23288         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
23289         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
23290         * sysdeps/microblaze/libm-test-ulps: Likewise.
23291         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
23292         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23293         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23294         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
23295         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23296         * sysdeps/sh/libm-test-ulps: Likewise.
23297         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23298         * sysdeps/tile/libm-test-ulps: Likewise.
23299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23301 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
23303         * math/libm-test.inc (print_complex_max_error): Check separately
23304         whether real and imaginary errors are within allowed range and
23305         pass 0 to print_complex_function_ulps instead of value within
23306         allowed range.
23308 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23310         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
23311         formatting.
23312         (get_handles_fopen): Likewise.
23313         (do_write_test): Likewise.
23315         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
23317         * libio/fileops.c (do_ftell): Use cached offset when
23318         available.
23319         * libio/iofwide.c (do_ftell_wide): Likewise.
23320         * libio/iofdopen.c (_IO_new_fdopen): Don't use
23321         _IO_file_attach.
23322         * libio/wfileops.c (_IO_fwide): Don't cache offset.
23324         [BZ #16532]
23325         * libio/libioP.h (get_file_offset): New function.
23326         * libio/fileops.c (get_file_offset): Likewise.
23327         (do_ftell): Likewise.
23328         (_IO_new_file_seekoff): Split out ftell logic.
23329         * libio/wfileops.c (do_ftell_wide): Likewise.
23330         (_IO_wfile_seekoff): Split out ftell logic.
23331         * libio/tst-ftell-active-handler.c: New test case.
23332         * libio/Makefile (tests): Add it.
23334 2014-03-03  Roland McGrath  <roland@hack.frob.com>
23336         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
23337         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
23339 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23341         [BZ #16639]
23342         * nscd/connections.c (nscd_init): Call do_exit.
23343         (start_threads): Call do_exit and notify_parent.
23344         (begin_drop_privileges): Call do_exit.
23345         (finish_drop_privileges): Likewise.
23346         * nscd/selinux.c (preserve_capabilities): Likewise.
23347         (install_real_capabilities): Likewise.
23348         (nscd_selinux_enabled): Likewise.
23349         (avc_create_thread): Likewise.
23350         (avc_alloc_lock): Likewise.
23351         (nscd_avc_init): Likewise.
23352         * nscd/nscd.c (parent_fd): New static variable.
23353         (main): Create a pipe between parent and child processes.
23354         Skip closing parent_fd.
23355         (monitor_child): New function.
23356         (do_exit): Likewise.
23357         (notify_parent): Likewise.
23358         * nscd/nscd.h (notify_parent): Likewise.
23359         (do_exit): Likewise.
23361 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
23363         * malloc/malloc.c (__libc_calloc): Revert last change.
23365 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23367         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23369 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23371         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
23372         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
23373         implementation.
23374         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23375         (__libc_ifunc_impl_list): Likewise.
23376         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
23377         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
23378         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
23379         * string/strrchr.c: Define STRRCHR.
23381 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
23383         * benchtest/bench-strtok.c (simple_strtok): Delete.
23384         (strtok_string): Use as benchmark.
23385         * string/strtok (STRTOK): New macro.
23387 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
23389         * manual/threads.texi: Add header and standard comments to all
23390         functions.
23392         * elf/dl-lookup.c (check_match): New function.
23393         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
23394         (do_lookup_x): Remove nested function check_match. Use non-nested
23395         function check_match.
23397 2014-02-28  Roland McGrath  <roland@hack.frob.com>
23399         * csu/Makefile (generated, before-compile): Use += rather than =.
23400         * catgets/Makefile (generated, generated-dirs): Likewise.
23401         * debug/Makefile (generated): Likewise.
23402         * dlfcn/Makefile (generated): Likewise.
23403         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
23404         * iconvdata/Makefile (before-compile, generated): Likewise.
23405         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
23406         * libio/Makefile (generated): Likewise.
23407         * malloc/Makefile (generated): Likewise.
23408         * manual/Makefile (generated, generated-dirs): Likewise.
23409         * misc/Makefile (generated): Likewise.
23410         * posix/Makefile (generated): Likewise.
23411         * resolv/Makefile (generated): Likewise.
23412         * sunrpc/Makefile (generated, generated-dirs): Likewise.
23413         * timezone/Makefile (generated, generated-dirs): Likewise.
23415         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
23417 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23419         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
23420         power8 implementation.
23421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
23422         file: POWER8 llround ifunc implementation.
23423         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
23424         (__lllround): Add POWER8 implementation.
23425         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
23426         POWER8 llround implementation.
23428         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
23429         power8 implementation.
23430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
23431         file: POWER8 llrint ifunc implementation.
23432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
23433         Add POWER8 implementation.
23434         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
23435         POWER8 llrint implementation.
23437         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
23438         power8 implementation.
23439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
23440         file: POWER8 finite ifunc implementation.
23441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
23442         Add POWER8 implementation.
23443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
23444         Likewise.
23445         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
23446         POWER8 finite implementation.
23447         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
23449         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
23450         power8 implementation.
23451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
23452         file: POWER8 isinf ifunc implementation.
23453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
23454         POWER8 implementation.
23455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
23456         Likewise.
23457         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
23458         isinf implementation.
23459         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
23461         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
23462         (INIT_ARCH): Add hwcap2 initialization.
23463         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
23464         power8 implementation.
23465         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
23466         file: POWER8 isnan ifunc implementation.
23467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
23468         POWER8 implementation.
23469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
23470         Likewise.
23471         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
23472         isnan implementation.
23473         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
23475 2014-02-27  Joey Ye  <joey.ye@arm.com>
23477         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
23478         (_FP_NANFRAC_Q): Set to zero.
23480 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23482         [BZ #16623]
23483         * math/auto-libm-test-in: New test inputs.
23484         * math/auto-libm-test-out: Regenerate.
23485         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
23486         and DA.
23487         (__cos): Likewise.
23488         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
23490 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
23492         * scripts/evaluate-test.sh: Take new argument indicating whether
23493         failure is expected.
23494         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
23495         indicating whether failure is expected.
23496         * conform/Makefile (test-xfail-run-conformtest): New variable.
23497         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
23498         level.
23499         * posix/Makefile (test-xfail-annexc): New variable.
23500         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
23502 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
23504         * argp/Makefile: Include Makeconfig immediately after defining
23505         subdir.
23506         * assert/Makefile: Likewise.
23507         * benchtests/Makefile: Likewise.
23508         * catgets/Makefile: Likewise.
23509         * conform/Makefile: Likewise.
23510         * crypt/Makefile: Likewise.
23511         * csu/Makefile: Likewise.
23512         (all): Remove target.
23513         * ctype/Makefile: Include Makeconfig immediately after defining
23514         subdir.
23515         * debug/Makefile: Likewise.
23516         * dirent/Makefile: Likewise.
23517         * dlfcn/Makefile: Likewise.
23518         * gmon/Makefile: Likewise.
23519         * gnulib/Makefile: Likewise.
23520         * grp/Makefile: Likewise.
23521         * gshadow/Makefile: Likewise.
23522         * hesiod/Makefile: Likewise.
23523         * hurd/Makefile: Likewise.
23524         (all): Remove target.
23525         * iconvdata/Makefile: Include Makeconfig immediately after
23526         defining subdir.
23527         * inet/Makefile: Likewise.
23528         * intl/Makefile: Likewise.
23529         * io/Makefile: Likewise.
23530         * libio/Makefile: Likewise.
23531         (all): Remove target.
23532         * locale/Makefile: Include Makeconfig immediately after defining
23533         subdir.
23534         * login/Makefile: Likewise.
23535         * mach/Makefile: Likewise.
23536         (all): Remove target.
23537         * malloc/Makefile: Include Makeconfig immediately after defining
23538         subdir.
23539         (all): Remove target.
23540         * manual/Makefile: Include Makeconfig immediately after defining
23541         subdir.
23542         * math/Makefile: Likewise.
23543         * misc/Makefile: Likewise.
23544         * nis/Makefile: Likewise.
23545         * nss/Makefile: Likewise.
23546         * po/Makefile: Likewise.
23547         (all): Remove target.
23548         * posix/Makefile: Include Makeconfig immediately after defining
23549         subdir.
23550         * pwd/Makefile: Likewise.
23551         * resolv/Makefile: Likewise.
23552         * resource/Makefile: Likewise.
23553         * rt/Makefile: Likewise.
23554         * setjmp/Makefile: Likewise.
23555         * shadow/Makefile: Likewise.
23556         * signal/Makefile: Likewise.
23557         * socket/Makefile: Likewise.
23558         * soft-fp/Makefile: Likewise.
23559         * stdio-common/Makefile: Likewise.
23560         * stdlib/Makefile: Likewise.
23561         * streams/Makefile: Likewise.
23562         * string/Makefile: Likewise.
23563         * sunrpc/Makefile: Likewise.
23564         (all): Remove target.
23565         * sysvipc/Makefile: Include Makeconfig immediately after defining
23566         subdir.
23567         * termios/Makefile: Likewise.
23568         * time/Makefile: Likewise.
23569         * timezone/Makefile: Likewise.
23570         (all): Remove target.
23571         * wcsmbs/Makefile: Include Makeconfig immediately after defining
23572         subdir.
23573         * wctype/Makefile: Likewise.
23575 2014-02-26  Steve Ellcey  <sellcey@mips.com>
23577         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
23578         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
23579         (libc_feholdexcept_setround_mips): Ditto.
23580         (libc_feholdsetround): New.
23581         (libc_feholdsetroundf): New.
23582         (libc_feholdsetroundl): New.
23583         (libc_feupdateenv_test_mips): New.
23584         (libc_feupdateenv_test): New.
23585         (libc_feupdateenv_testf): New.
23586         (libc_feupdateenv_testl): New.
23587         (libc_feresetround): New.
23588         (libc_feresetroundf): New.
23589         (libc_feresetroundl): New.
23590         (libc_fetestexcept_mips): New.
23591         (libc_fetestexcept): New.
23592         (libc_fetestexceptf): New.
23593         (libc_fetestexceptl): New.
23594         (HAVE_RM_CTX): New.
23595         (libc_feholdexcept_setround_mips_ctx): New.
23596         (libc_feholdexcept_setround_ctx): New.
23597         (libc_feholdexcept_setroundf_ctx): New.
23598         (libc_feholdexcept_setroundl_ctx): New.
23599         (libc_fesetenv_mips_ctx): New.
23600         (libc_fesetenv_ctx): New.
23601         (libc_fesetenv_ctxf): New.
23602         (libc_fesetenv_ctxl): New.
23603         (libc_feupdateenv_mips_ctx): New.
23604         (libc_feupdateenv_ctx): New.
23605         (libc_feupdateenvf_ctx): New.
23606         (libc_feupdateenvl_ctx): New.
23607         (libc_feholdsetround_mips_ctx): New.
23608         (libc_feholdsetround_ctx): New.
23609         (libc_feholdsetroundf_ctx): New.
23610         (libc_feholdsetroundl_ctx): New.
23611         (libc_feresetround_mips_ctx): New.
23612         (libc_feresetround_ctx): New.
23613         (libc_feresetroundf_ctx): New.
23614         (libc_feresetroundl_ctx): New.
23616 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
23618         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
23620         * manual/ipc.texi: New file.
23621         * manual/Makefile (chapters): Add ipc.
23622         * manual/job.texi: Add "Inter-Process Communication" to next.
23623         * manual/process.texi: Add "Inter-Process Communication" to prev.
23625 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23627         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23629 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
23631         * malloc/malloc.c (__libc_calloc): Simplify implementation.
23633         * manual/arith.texi: Fix spaces after sentences.
23634         * manual/charset.texi: Likewise.
23635         * manual/errno.texi: Likewise.
23636         * manual/install.texi: Likewise.
23637         * manual/llio.texi: Likewise.
23638         * manual/locale.texi: Likewise.
23639         * manual/maint.texi: Likewise.
23640         * manual/math.texi: Likewise.
23641         * manual/memory.texi: Likewise.
23642         * manual/message.texi: Likewise.
23643         * manual/probes.texi: Likewise.
23644         * manual/resource.texi: Likewise.
23645         * manual/signal.texi: Likewise.
23646         * manual/socket.texi: Likewise.
23647         * manual/stdio.texi: Likewise.
23648         * manual/string.texi: Likewise.
23649         * manual/time.texi: Likewise.
23650         * manual/users.texi: Likewise.
23652 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
23654         [BZ #16632]
23655         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
23656         _DEFAULT_SOURCE is defined.
23658 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
23659             Carlos O'Donell  <carlos@redhat.com>
23661         [BZ #16613]
23662         * elf/dl-tls.c (_dl_count_modids): New function.
23663         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
23664         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
23665         audit library and increment generation counter.
23666         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
23667         * elf/tst-audit9.c: New file.
23668         * elf/tst-auditmod9a.c: New file.
23669         * elf/tst-auditmod9b.c: New file.
23670         * elf/Makefile: Add rules to build and run tst-audit9.
23672 2014-02-25  Florian Weimer  <fweimer@redhat.com>
23674         [BZ #15347]
23675         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
23677 2014-02-25  Will Newton  <will.newton@linaro.org>
23679         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
23680         (__longjmp): Restore sp and lr before restoring callee
23681         saved registers.  Add longjmp and longjmp_target
23682         SystemTap probe point.
23683         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
23684         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
23685         Define to zero to match jmpbuf layout.
23686         * sysdeps/arm/setjmp.S: Include stap-probe.h.
23687         (__sigsetjmp): Save sp and lr before saving callee
23688         saved registers.  Add setjmp SystemTap probe point.
23690 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
23692         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23694 2014-02-24  Andreas Schwab  <schwab@suse.de>
23696         [BZ #15804]
23697         * elf/pldd.c (wait_for_ptrace_stop): New function.
23698         (main): Call it after attaching.
23700 2014-02-22  Roland McGrath  <roland@hack.frob.com>
23702         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
23703         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
23704         Versions files is now verboten.
23705         * hurd/Versions (libc: GLIBC_2.0):
23706         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
23707         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
23708         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
23709         * mach/Versions: Likewise.
23711         * csu/Versions: Remove unused %include.
23712         * resolv/Versions: Likewise.
23714 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
23716         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
23717         ($(objpfx)check-local-headers.out): Likewise.
23718         ($(objpfx)begin-end-check.out): Likewise.
23719         * Makerules (check-abi-%.out): Likewise.
23720         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
23721         ($(objpfx)test2.cat): Likewise.
23722         ($(objpfx)de/libc.cat): Likewise.
23723         ($(objpfx)test-gencat.out): Likewise.
23724         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
23725         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
23726         ($(objpfx)noload-mem): Likewise.
23727         ($(objpfx)tst-pathopt.out): Likewise.
23728         ($(objpfx)tst-rtld-load-self.out): Likewise.
23729         ($(objpfx)tst-array1-cmp.out): Likewise.
23730         ($(objpfx)tst-array1-static-cmp.out): Likewise.
23731         ($(objpfx)tst-array2-cmp.out): Likewise.
23732         ($(objpfx)tst-array3-cmp.out): Likewise.
23733         ($(objpfx)tst-array4-cmp.out): Likewise.
23734         ($(objpfx)tst-array5-cmp.out): Likewise.
23735         ($(objpfx)tst-array5-static-cmp.out): Likewise.
23736         ($(objpfx)check-textrel.out): Likewise.
23737         ($(objpfx)check-execstack.out): Likewise.
23738         ($(objpfx)check-localplt.out): Likewise.
23739         ($(objpfx)order2-cmp.out): Likewise.
23740         ($(objpfx)tst-leaks1-mem): Likewise.
23741         ($(objpfx)tst-leaks1-static-mem): Likewise.
23742         ($(objpfx)tst-initorder-cmp.out): Likewise.
23743         ($(objpfx)tst-initorder2-cmp.out): Likewise.
23744         ($(objpfx)tst-unused-dep.out): Likewise.
23745         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
23746         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
23747         * iconv/Makefile (test-iconvconfig): Likewise.
23748         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
23749         ($(objpfx)iconv-test.out): Likewise.
23750         ($(objpfx)tst-tables.out): Likewise.
23751         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
23752         ($(objpfx)tst-gettext.out): Likewise.
23753         ($(objpfx)tst-translit.out): Likewise.
23754         ($(objpfx)tst-gettext2.out): Likewise.
23755         ($(objpfx)tst-gettext4.out): Likewise.
23756         ($(objpfx)tst-gettext6.out): Likewise.
23757         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
23758         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
23759         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
23760         ($(objpfx)tst-fopenloc-mem.out): Likewise.
23761         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
23762         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
23763         * posix/Makefile ($(objpfx)globtest.out): Likewise.
23764         ($(objpfx)wordexp-tst.out): Likewise.
23765         ($(objpfx)annexc.out): Likewise.
23766         ($(objpfx)tst-fnmatch-mem): Likewise.
23767         ($(objpfx)bug-regex2-mem): Likewise.
23768         ($(objpfx)bug-regex14-mem): Likewise.
23769         ($(objpfx)bug-regex21-mem): Likewise.
23770         ($(objpfx)bug-regex31-mem): Likewise.
23771         ($(objpfx)tst-vfork3-mem): Likewise.
23772         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
23773         ($(objpfx)tst-pcre-mem): Likewise.
23774         ($(objpfx)tst-boost-mem): Likewise.
23775         ($(objpfx)tst-getconf.out): Likewise.
23776         ($(objpfx)bug-ga2-mem): Likewise.
23777         ($(objpfx)bug-glob2-mem): Likewise.
23778         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
23779         ($(objpfx)mtrace-tst-leaks2): Likewise.
23780         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
23781         ($(objpfx)tst-printf.out): Likewise.
23782         ($(objpfx)tst-setvbuf1.out): Likewise.
23783         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
23784         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
23785         ($(objpfx)tst-fmtmsg.out): Likewise.
23786         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
23787         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
23789         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
23790         * bits/sigaction.h [__USE_MISC]: Likewise.
23791         * bits/waitstatus.h: Update #endif comments.
23792         * ctype/ctype.h: Likewise.
23793         * dirent/dirent.h: Likewise.
23794         [__USE_MISC]: Remove redundant conditionals.
23795         * grp/grp.h: Update #endif comments.
23796         [__USE_GNU]: Remove redundant conditionals.
23797         [__USE_MISC]: Likewise.
23798         * inet/netinet/in.h [__USE_GNU]: Likewise.
23799         * io/sys/stat.h [__USE_MISC]: Likewise.
23800         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
23801         * libio/bits/stdio.h: Update #endif comments.
23802         [__USE_MISC]: Remove redundant conditionals.
23803         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
23804         * libio/stdio.h: Update #endif comments.
23805         [__USE_MISC]: Remove redundant conditionals.
23806         * math/bits/math-finite.h [__USE_MISC]: Likewise.
23807         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
23808         * math/math.h: Update #else and #endif comments.
23809         [__USE_MISC]: Remove redundant conditionals.
23810         * misc/sys/uio.h: Update #endif comments.
23811         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
23812         * posix/glob.h [__USE_MISC]: Likewise.
23813         * posix/sys/types.h: Update #endif comments.
23814         [__USE_MISC]: Remove redundant conditionals.
23815         * posix/sys/wait.h: Update #endif comments.
23816         [__USE_MISC]: Remove redundant conditionals.
23817         * posix/unistd.h: Update #endif comments.
23818         [__USE_MISC]: Remove redundant conditionals.
23819         * pwd/pwd.h [__USE_GNU]: Likewise.
23820         [__USE_MISC]: Likewise.
23821         * resolv/netdb.h [__USE_GNU]: Likewise.
23822         * signal/signal.h: Update #endif comments.
23823         [__USE_MISC]: Remove redundant conditionals.
23824         * stdlib/stdlib.h: Update #else and #endif comments.
23825         [__USE_MISC]: Remove redundant conditionals.
23826         [__USE_GNU]: Likewise.
23827         * string/bits/string2.h [__USE_MISC]: Likewise.
23828         * string/string.h: Update #endif comments.
23829         [__USE_MISC]: Remove redundant conditionals.
23830         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
23831         Likewise.
23832         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
23833         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
23834         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
23835         Likewise.
23836         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
23837         Likewise.
23838         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
23839         comments.
23840         [__USE_MISC]: Remove redundant conditionals.
23841         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
23842         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
23843         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
23844         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
23845         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
23846         Likewise.
23847         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
23848         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
23849         Likewise.
23850         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
23851         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
23852         Likewise.
23853         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
23854         Likewise.
23855         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
23856         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
23857         Likewise.
23858         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
23859         Likewise.
23860         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
23861         * sysdeps/x86/bits/string.h: Update #endif comments.
23862         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
23863         conditionals.
23864         * time/sys/time.h: Update #endif comments.
23865         * time/time.h: Likewise.
23866         [__USE_MISC]: Remove redundant conditionals.
23868 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
23870         [BZ #16600]
23871         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
23873 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
23875         * Versions.def (librt): Add GLIBC_2.17.
23877 2014-02-21  Adam Conrad  <adconrad@0c3.net>
23879         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
23880         synonym for _SYS_AUXV_H to allow direct inclusion.
23881         * sysdeps/sparc/bits/hwcap.h: Likewise.
23882         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
23883         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
23884         * sysdeps/sparc/sysdep.h: Likewise.
23886 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23888         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
23890 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23892         * benchtests/bench-strrchr.c: Print length instead of position.
23894 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
23896         [BZ #16611]
23897         * sysdeps/unix/sysv/linux/kernel-features.h
23898         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
23899         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
23900         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
23901         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
23902         Likewise.
23903         [__i386__ || __powerpc__ || __sh__ || __sparc__]
23904         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23905         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
23906         (__ASSUME_SENDMMSG): Define instead of using previous
23907         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
23908         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23909         (__ASSUME_SENDMMSG_SYSCALL): Define.
23910         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23911         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
23912         Likewise.
23913         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23914         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23915         Likewise.
23916         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23917         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23918         Likewise.
23919         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
23920         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
23921         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
23922         [__ASSUME_SENDMMSG]: Change conditionals to
23923         [__ASSUME_SENDMMSG_SOCKETCALL].
23924         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23925         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
23926         Define.
23927         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23928         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
23929         Likewise.
23930         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
23931         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
23932         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
23933         [!__ASSUME_SENDMMSG]: Change conditional to
23934         [!__ASSUME_SENDMMSG_SOCKETCALL].
23935         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23936         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23937         Define.
23939         [BZ #16610]
23940         * sysdeps/unix/sysv/linux/kernel-features.h
23941         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
23942         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
23943         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
23944         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
23945         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23946         [__i386__ || __sparc__]
23947         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23948         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
23949         (__ASSUME_RECVMMSG): Define instead of using previous
23950         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
23951         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23952         (__ASSUME_RECVMMSG_SYSCALL): Define.
23953         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23954         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23955         Likewise.
23956         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23957         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23958         Likewise.
23959         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23960         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23961         Likewise.
23962         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
23963         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
23964         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
23965         [__ASSUME_RECVMMSG]: Change condition to
23966         [__ASSUME_RECVMMSG_SOCKETCALL].
23967         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23968         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23969         Define.
23970         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23971         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23972         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23973         Likewise.
23974         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
23975         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
23976         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
23977         [!__ASSUME_RECVMMSG]: Change condition to
23978         [!__ASSUME_RECVMMSG_SOCKETCALL].
23979         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23980         (__ASSUME_RECVMMSG_SYSCALL): Define.
23982         [BZ #16609]
23983         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
23984         __powerpc__ || __s390__ || __sh__ || __sparc__]
23985         (__ASSUME_SOCKETCALL): Define.
23986         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
23987         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
23988         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
23989         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
23990         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23991         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
23992         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
23993         (__ASSUME_ACCEPT4): Define instead of using previous
23994         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
23995         __powerpc__ || __sparc__ || __s390__)] condition.
23996         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23997         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
23998         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
23999         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24000         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24001         [!__ASSUME_ACCEPT4]: Change condition to
24002         [!__ASSUME_ACCEPT4_SOCKETCALL].
24003         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24004         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
24005         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
24006         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24007         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
24008         __ASSUME_ACCEPT4_SYSCALL.
24009         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
24010         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
24011         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24012         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
24013         __ASSUME_ACCEPT4_SYSCALL.
24014         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
24015         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24016         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24017         [__ASSUME_ACCEPT4]: Change condition to
24018         [__ASSUME_ACCEPT4_SOCKETCALL].
24019         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24020         (__ASSUME_SOCKETCALL): Define.
24021         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
24022         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24023         (__ASSUME_SOCKETCALL): Define.
24024         (__ASSUME_ACCEPT4): Remove.
24025         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
24026         Define.
24027         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24028         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
24029         Likewise.
24030         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24031         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24033         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
24034         macro.
24035         (HWCAP_ARM_LPAE): Likewise.
24036         (HWCAP_ARM_EVTSTRM): Likewise.
24037         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
24038         Add vpfd32, lpae and evtstrm.
24039         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
24040         Increase to 22.
24042 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
24044         * math/auto-libm-test-in: Add tests of clog10.
24045         * math/auto-libm-test-out: Regenerated.
24046         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
24047         * sysdeps/i386/fpu/libm-test-ulps: Update.
24048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24050 2014-02-18  Andreas Schwab  <schwab@suse.de>
24052         [BZ #16574]
24053         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
24054         Store non-zero if the second buffer was newly allocated.
24055         (send_dg): Likewise.
24056         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
24057         to send_vc and send_dg.
24058         (res_nsend): Pass NULL for ansp2_malloced.
24059         * resolv/res_query.c (__libc_res_nquery): Add parameter
24060         answerp2_malloced and pass it down to __libc_res_nsend.
24061         (res_nquery): Pass additional NULL to __libc_res_nquery.
24062         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
24063         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
24064         second answer buffer if answerp2_malloced was set.
24065         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
24066         (__libc_res_nquerydomain): Add parameter
24067         answerp2_malloced and pass it down to __libc_res_nquery.
24068         (res_nquerydomain): Pass additional NULL to
24069         __libc_res_nquerydomain.
24070         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
24071         additional NULL to __libc_res_nsend and __libc_res_nquery.
24072         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
24073         additional NULL to __libc_res_nsearch.
24074         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
24075         parameter of __libc_res_nsearch to check for separately allocated
24076         second buffer.
24077         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
24078         __libc_res_nquery.
24079         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
24080         additional NULL to __libc_res_nquery.
24081         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
24082         __libc_res_nsearch.
24083         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
24084         * include/resolv.h: Update prototypes of __libc_res_nquery,
24085         __libc_res_nsearch, __libc_res_nsend.
24087 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
24089         * math/auto-libm-test-in: Add tests of fma.
24090         * math/auto-libm-test-out: Regenerated.
24091         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
24092         (fma_towardzero_test_data): Likewise.
24093         (fma_downward_test_data): Likewise.
24094         (fma_upward_test_data): Likewise.
24095         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
24096         mpc_mode.
24097         (rounding_modes): Add values for new field.
24098         (func_calc_method): Add value mpfr_fff_f.
24099         (func_calc_desc): Add mpfr_fff_f union field.
24100         (test_function): Add field exact_args.
24101         (FUNC): Add macro argument EXACT_ARGS.
24102         (FUNC_mpfr_f_f): Update call to FUNC.
24103         (FUNC_mpfr_f_f): Likewise.
24104         (FUNC_mpfr_ff_f): Likewise.
24105         (FUNC_mpfr_if_f): Likewise.
24106         (FUNC_mpc_c_f): Likewise.
24107         (FUNC_mpc_c_c): Likewise.
24108         (test_functions): Add fma.  Update calls to FUNC.
24109         (handle_input_arg): Add argument exact_args.
24110         (add_test): Update call to handle_input_arg.
24111         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
24112         (output_for_one_input_case): Update call to calc_generic_results.
24113         Recalculate exact zero results in each rounding mode.
24115         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
24116         non-negative before setting low bit.
24117         * math/auto-libm-test-in: Mark one asin test possibly having
24118         spurious underflow.
24119         * math/auto-libm-test-out: Regenerated.
24120         * sysdeps/i386/fpu/libm-test-ulps: Update.
24121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24123 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
24125         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
24126         * sysdeps/unix/sysv/linux/microblaze: Move directory from
24127         ports/sysdeps/unix/sysv/linux/microblaze.
24128         * README: Add missing listing for microblaze*-*-linux-gnu.
24130 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
24132         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
24133         duplicate code
24135 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
24137         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
24138         * sysdeps/unix/sysv/linux/ia64: Move directory from
24139         ports/sysdeps/unix/sysv/linux/ia64.
24140         * README: Update listing for ia64-*-linux-gnu.
24142 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
24143             Joseph Myers  <joseph@codesourcery.com>
24145         * Makeconfig (test-name): New variable.
24146         (evaluate-test): Likewise.
24147         * Makerules (do-test-clean): Remove .test-result files.
24148         (common-mostlyclean): Likewise.
24149         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
24150         * scripts/evaluate-test.sh: New file.
24152 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
24154         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
24155         separate $(objpfx)tst-fopenloc-cmp.out and
24156         $(objpfx)tst-fopenloc-mem.out targets.
24157         (tests): Update dependencies.
24158         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
24159         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
24160         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
24161         (tst-rxspencer-no-utf8-ARGS): New variable.
24162         (tst-rxspencer-no-utf8-ENV): Likewise.
24163         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
24164         instead of $(objpfx)tst-rxspencer-mem.
24165         ($(objpfx)tst-rxspencer-mem): Change target to
24166         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
24167         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
24168         * posix/tst-rxspencer-no-utf8.c: New file.
24170         * elf/Makefile ($(objpfx)order.out): Remove rule.
24171         [$(run-built-tests) = yes] (tests): Depend on
24172         $(objpfx)order-cmp.out.
24173         ($(objpfx)order-cmp.out): New rule.
24174         [$(run-built-tests) = yes] (tests): Depend on
24175         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
24176         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
24177         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
24178         $(objpfx)tst-array5-static-cmp.out.
24179         ($(objpfx)tst-array1.out): Remove rule.
24180         ($(objpfx)tst-array1-cmp.out): New rule.
24181         ($(objpfx)tst-array1-static.out): Remove rule.
24182         ($(objpfx)tst-array1-static-cmp.out): New rule.
24183         ($(objpfx)tst-array2.out): Remove rule.
24184         ($(objpfx)tst-array2-cmp.out): New rule.
24185         ($(objpfx)tst-array3.out): Remove rule.
24186         ($(objpfx)tst-array3-cmp.out): New rule.
24187         ($(objpfx)tst-array4.out): Remove rule.
24188         ($(objpfx)tst-array4-cmp.out): New rule.
24189         ($(objpfx)tst-array5.out): Remove rule.
24190         ($(objpfx)tst-array5-cmp.out): New rule.
24191         ($(objpfx)tst-array5-static.out): Remove rule.
24192         ($(objpfx)tst-array5-static-cmp.out): New rule.
24193         [$(run-built-tests) = yes] (tests): Depend on
24194         $(objpfx)order2-cmp.out.
24195         ($(objpfx)order2.out): Remove rule.
24196         ($(objpfx)order2-cmp.out): New rule.
24197         ($(objpfx)tst-initorder.out): Remove rule.
24198         [$(run-built-tests) = yes] (tests): Depend on
24199         $(objpfx)tst-initorder-cmp.out.
24200         ($(objpfx)tst-initorder-cmp.out): New rule.
24201         ($(objpfx)tst-initorder2.out): Remove rule.
24202         [$(run-built-tests) = yes] (tests): Depend on
24203         $(objpfx)tst-initorder2-cmp.out.
24204         ($(objpfx)tst-initorder2-cmp.out): New rule.
24205         [$(run-built-tests) = yes] (tests): Depend on
24206         $(objpfx)tst-unused-dep-cmp.out.
24207         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
24208         ($(objpfx)tst-unused-dep-cmp.out): New rule.
24209         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
24210         on $(objpfx)tst-setvbuf1-cmp.out.
24211         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
24212         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
24213         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
24214         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
24215         ($(objpfx)tst-svc.out): Remove rule.
24216         ($(objpfx)tst-svc-cmp.out): New rule.
24218 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
24220         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
24221         * ctype/ctype.h [__USE_MISC]: Likewise.
24222         * dirent/dirent.h [__USE_MISC]: Likewise.
24223         * grp/grp.h [__USE_MISC]: Likewise.
24224         * io/fcntl.h [__USE_MISC]: Likewise.
24225         * io/sys/stat.h [__USE_MISC]: Likewise.
24226         * libio/stdio.h [__USE_MISC]: Likewise.
24227         * posix/unistd.h [__USE_MISC]: Likewise.
24228         * pwd/pwd.h [__USE_MISC]: Likewise.
24229         * stdlib.h [__USE_MISC]: Likewise.
24230         * string/bits/string2.h [__USE_MISC]: Likewise.
24231         * string/string.h [__USE_MISC]: Likewise.
24232         * time/time.h [__USE_MISC]: Likewise.
24234 2014-02-13  Andreas Schwab  <schwab@suse.de>
24236         [BZ #16574]
24237         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
24238         second answer buffer if it was separately allocated.
24240 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
24242         * sysdeps/mips/math-tests.h: Include <features.h>.
24243         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24244         (ROUNDING_TESTS_long_double): Do not define.
24245         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24246         (EXCEPTION_TESTS_long_double): Likewise.
24247         * sysdeps/mips/mips64/libm-test-ulps: Update.
24249         * include/features.h (__USE_BSD): Remove macro definitions.
24250         (__USE_SVID): Likewise.
24251         (_BSD_SOURCE): Likewise.
24252         (_SVID_SOURCE): Likewise.
24253         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
24254         from definition of _DEFAULT_SOURCE.
24255         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
24256         [_DEFAULT_SOURCE].
24257         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
24258         * bits/mman.h [__USE_BSD]: Likewise.
24259         * bits/termios.h [__USE_BSD]: Likewise.
24260         * bits/waitstatus.h [__USE_BSD]: Likewise.
24261         * ctype/ctype.h [__USE_SVID]: Likewise.
24262         * dirent/dirent.h [__USE_BSD]: Likewise.
24263         * grp/grp.h [__USE_SVID]: Likewise.
24264         [__USE_BSD]: Likewise.
24265         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
24266         * io/fcntl.h [__USE_BSD]: Likewise.
24267         * io/ftw.h [__USE_BSD]: Likewise.
24268         * io/sys/stat.h [__USE_BSD]: Likewise.
24269         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
24270         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
24271         * libio/stdio.h [__USE_SVID]: Likewise.
24272         [__USE_BSD]: Likewise.
24273         * math/math.h [__USE_SVID]: Likewise.
24274         [__USE_BSD]: Likewise.
24275         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
24276         * misc/bits/syslog.h [__USE_BSD]: Likewise.
24277         * misc/search.h [__USE_SVID]: Likewise.
24278         * misc/sys/mman.h [__USE_BSD]: Likewise.
24279         * misc/sys/syslog.h [__USE_BSD]: Likewise.
24280         * misc/sys/uio.h [__USE_BSD]: Likewise.
24281         * posix/bits/unistd.h [__USE_BSD]: Likewise.
24282         * posix/glob.h [__USE_BSD]: Likewise.
24283         * posix/regex.h [__USE_BSD]: Likewise.
24284         * posix/sys/types.h [__USE_BSD]: Likewise.
24285         [__USE_SVID]: Likewise.
24286         * posix/sys/utsname.h [__USE_SVID]: Likewise.
24287         * posix/sys/wait.h [__USE_BSD]: Likewise.
24288         [__USE_SVID]: Likewise.
24289         * posix/unistd.h [__USE_BSD]: Likewise.
24290         [__USE_SVID]: Likewise.
24291         * pwd/pwd.h [__USE_SVID]: Likewise.
24292         * resolv/netdb.h [__USE_BSD]: Likewise.
24293         * setjmp/setjmp.h [__USE_BSD]: Likewise.
24294         * signal/signal.h [__USE_BSD]: Likewise.
24295         [__USE_SVID]: Likewise.
24296         * socket/sys/socket.h [__USE_BSD]: Likewise.
24297         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
24298         * stdlib/stdlib.h [__USE_BSD]: Likewise.
24299         [__USE_SVID]: Likewise.
24300         * string/bits/string2.h [__USE_BSD]: Likewise.
24301         [__USE_SVID]: Likewise.
24302         * string/bits/string3.h [__USE_BSD]: Likewise.
24303         * string/endian.h [__USE_BSD]: Likewise.
24304         * string/string.h [__USE_SVID]: Likewise.
24305         [__USE_BSD]: Likewise.
24306         * string/strings.h [__USE_BSD]: Likewise.
24307         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
24308         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
24309         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
24310         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
24311         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
24312         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
24313         Likewise.
24314         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
24315         Likewise.
24316         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
24317         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
24318         Likewise.
24319         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
24320         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
24321         Likewise.
24322         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
24323         Likewise.
24324         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
24325         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
24326         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
24327         Likewise.
24328         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
24329         Likewise.
24330         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
24331         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
24332         * termios/termios.h [__USE_BSD]: Likewise.
24333         * time/sys/time.h [__USE_BSD]: Likewise.
24334         * time/time.h [__USE_BSD]: Likewise.
24335         [__USE_SVID]: Likewise.
24337         * Makefile (subdir_targets): Remove subdir_lint.out.
24339         * stdio-common/Makefile (do-tst-unbputc): Remove target.
24340         (do-tst-printf): Likewise.
24341         (tests): Depend directly on $(objpfx)tst-unbputc.out and
24342         $(objpfx)tst-printf.out.
24344         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
24346         * Makerules (check-abi-%): Change target to
24347         $(objpfx)check-abi-%.out.
24348         (check-abi target): Update dependencies.
24349         (check-abi-pattern variable): Redirect output of diff to $@.
24350         (check-abi variable): Likewise.
24351         * elf/Makefile (check-abi): Update dependencies.
24353         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
24354         unused.
24355         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
24356         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
24357         subnormal range.
24358         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
24359         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
24360         value has largest subnormal exponent.
24361         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
24362         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
24363         * sysdeps/aarch64/soft-fp/sfp-machine.h
24364         (_FP_TININESS_AFTER_ROUNDING): New macro.
24365         * sysdeps/alpha/soft-fp/sfp-machine.h
24366         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24367         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24368         Likewise.
24369         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
24370         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24371         * sysdeps/mips/soft-fp/sfp-machine.h
24372         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24373         * sysdeps/powerpc/soft-fp/sfp-machine.h
24374         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24375         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24376         Likewise.
24377         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
24378         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24379         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24380         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24381         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24382         Likewise.
24384 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
24386         [BZ #16545]
24387         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
24388         model 1.
24390 2014-02-12  Richard Henderson  <rth@redhat.com>
24392         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
24393         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
24394         * sysdeps/unix/sysv/linux/alpha: Move directory from
24395         ports/sysdeps/unix/sysv/linux/alpha.
24396         * README: Update listing for alpha-*-linux-gnu.
24398 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
24400         * include/features.h: Update comment documenting feature test
24401         macros.
24402         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
24403         _DEFAULT_SOURCE.
24404         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
24405         (_SVID_SOURCE): Likewise.
24406         (_DEFAULT_SOURCE): Update description of default features.
24407         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
24408         with _GNU_SOURCE.
24409         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
24410         (S_ISVTX): Likewise.
24411         * manual/math.texi (Mathematical Constants): Likewise.
24412         * manual/signal.texi (Interrupted Primitives): Likewise.
24413         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
24414         * math/test-matherr.c (_SVID_SOURCE): Do not define.
24415         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
24416         Don't refer to _SVID_SOURCE in warning text.
24418         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24420         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
24421         already defined.
24422         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
24423         * sysdeps/mips/dl-lookup.c: Remove.
24424         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
24426 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24428         [BZ #16447]
24429         * math/auto-libm-test-in: Add testcase for expl.
24430         * math/auto-libm-test-out: Regenerate.
24431         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
24432         calculation of unsafe.
24433         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
24435 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
24437         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
24438         * sysdeps/unix/sysv/linux/aarch64: Move directory from
24439         ports/sysdeps/unix/sysv/linux/aarch64.
24440         * README: Update listing for aarch64*-*-linux-gnu.
24442 2014-02-11  Will Newton  <will.newton@linaro.org>
24444         * manual/probes.texi (Mathematical Function Probes): Use
24445         "triggered" instead of "hit".
24447         * manual/probes.texi (Internal Probes): Add documentation
24448         of setjmp, longjmp and longjmp_target probes.
24450         * include/stap-probe.h: Add comment about probe argument
24451         format.
24453         * malloc/mtrace.c (attribute_hidden): Remove unused macro
24454         definition.  (tr_where, tr_freehook, tr_mallochook,
24455         tr_reallochook, tr_memalignhook): Use ANSI protoype.
24457 2014-02-11  David S. Miller  <davem@davemloft.net>
24459         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
24460         processing int_tests.
24462 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
24464         * sysdeps/mips: Move directory from ports/sysdeps/mips.
24465         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
24466         * sysdeps/unix/sysv/linux/mips: Move directory from
24467         ports/sysdeps/unix/sysv/linux/mips.
24468         * README: Update listing for mips-*-linux-gnu and
24469         mips64-*-linux-gnu.
24471 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
24473         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
24474         * sysdeps/unix/sysv/linux/m68k: Move directory from
24475         ports/sysdeps/unix/sysv/linux/m68k.
24476         * README: Update listing for m68k-*-linux-gnu.
24478 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
24480         * sysdeps/tile: Move directory from ports/sysdeps/tile.
24481         * sysdeps/unix/sysv/linux/generic: Move directory from
24482         ports/sysdeps/unix/sysv/linux/generic.
24483         * sysdeps/unix/sysv/linux/tile: Move directory from
24484         ports/sysdeps/unix/sysv/linux/tile.
24485         * README: Update listing for tile*-*-linux-gnu.
24487 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
24489         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
24490         __builtin_expect.
24491         * benchtests/bench-memmem.c (simple_memmem): Likewise.
24492         * catgets/open_catalog.c (__open_catalog): Likewise.
24493         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
24494         * debug/confstr_chk.c: Likewise.
24495         * debug/fread_chk.c (__fread_chk): Likewise.
24496         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
24497         * debug/getgroups_chk.c: Likewise.
24498         * debug/mbsnrtowcs_chk.c: Likewise.
24499         * debug/mbsrtowcs_chk.c: Likewise.
24500         * debug/mbstowcs_chk.c: Likewise.
24501         * debug/memcpy_chk.c: Likewise.
24502         * debug/memmove_chk.c: Likewise.
24503         * debug/mempcpy_chk.c: Likewise.
24504         * debug/memset_chk.c: Likewise.
24505         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24506         * debug/strcat_chk.c (__strcat_chk): Likewise.
24507         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
24508         * debug/strncat_chk.c (__strncat_chk): Likewise.
24509         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
24510         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
24511         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
24512         * debug/wcpncpy_chk.c: Likewise.
24513         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24514         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
24515         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
24516         * debug/wcsncpy_chk.c: Likewise.
24517         * debug/wcsnrtombs_chk.c: Likewise.
24518         * debug/wcsrtombs_chk.c: Likewise.
24519         * debug/wcstombs_chk.c: Likewise.
24520         * debug/wmemcpy_chk.c: Likewise.
24521         * debug/wmemmove_chk.c: Likewise.
24522         * debug/wmempcpy_chk.c: Likewise.
24523         * debug/wmemset_chk.c: Likewise.
24524         * dirent/scandirat.c (SCANDIRAT): Likewise.
24525         * dlfcn/dladdr1.c (dladdr1): Likewise.
24526         * dlfcn/dladdr.c (dladdr): Likewise.
24527         * dlfcn/dlclose.c (dlclose_doit): Likewise.
24528         * dlfcn/dlerror.c (__dlerror): Likewise.
24529         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
24530         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
24531         * dlfcn/dlopen.c (dlopen_doit): Likewise.
24532         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
24533         * dlfcn/dlsym.c (dlsym_doit): Likewise.
24534         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
24535         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
24536         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
24537         Likewise.
24538         * elf/dl-conflict.c: Likewise.
24539         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
24540         * elf/dl-dst.h: Likewise.
24541         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
24542         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
24543         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
24544         * elf/dl-init.c (call_init, _dl_init): Likewise.
24545         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
24546         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
24547         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
24548         Likewise.
24549         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
24550         Likewise.
24551         * elf/dl-minimal.c (__libc_memalign): Likewise.
24552         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
24553         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24554         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
24555         * elf/dl-sym.c (do_sym): Likewise.
24556         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
24557         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
24558         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
24559         * elf/dl-writev.h (_dl_writev): Likewise.
24560         * elf/ldconfig.c (search_dir): Likewise.
24561         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
24562         (dl_main): Likewise.
24563         * elf/setup-vdso.h (setup_vdso): Likewise.
24564         * grp/compat-initgroups.c (compat_call): Likewise.
24565         * grp/fgetgrent.c (fgetgrent): Likewise.
24566         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
24567         * grp/putgrent.c (putgrent): Likewise.
24568         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24569         Likewise.
24570         * hurd/hurdinit.c: Likewise.
24571         * iconvdata/8bit-gap.c (struct): Likewise.
24572         * iconvdata/ansi_x3.110.c : Likewise.
24573         * iconvdata/big5.c : Likewise.
24574         * iconvdata/big5hkscs.c : Likewise.
24575         * iconvdata/cp1255.c: Likewise.
24576         * iconvdata/cp1258.c : Likewise.
24577         * iconvdata/cp932.c : Likewise.
24578         * iconvdata/euc-cn.c: Likewise.
24579         * iconvdata/euc-jisx0213.c : Likewise.
24580         * iconvdata/euc-jp.c: Likewise.
24581         * iconvdata/euc-jp-ms.c : Likewise.
24582         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
24583         * iconvdata/gb18030.c : Likewise.
24584         * iconvdata/gbbig5.c (const): Likewise.
24585         * iconvdata/gbgbk.c: Likewise.
24586         * iconvdata/gbk.c : Likewise.
24587         * iconvdata/ibm1364.c : Likewise.
24588         * iconvdata/ibm930.c : Likewise.
24589         * iconvdata/ibm932.c: Likewise.
24590         * iconvdata/ibm933.c : Likewise.
24591         * iconvdata/ibm935.c : Likewise.
24592         * iconvdata/ibm937.c : Likewise.
24593         * iconvdata/ibm939.c : Likewise.
24594         * iconvdata/ibm943.c: Likewise.
24595         * iconvdata/iso_11548-1.c: Likewise.
24596         * iconvdata/iso-2022-cn.c : Likewise.
24597         * iconvdata/iso-2022-cn-ext.c : Likewise.
24598         * iconvdata/iso-2022-jp-3.c: Likewise.
24599         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
24600         * iconvdata/iso-2022-kr.c : Likewise.
24601         * iconvdata/iso646.c (gconv_end): Likewise.
24602         * iconvdata/iso_6937-2.c : Likewise.
24603         * iconvdata/iso_6937.c : Likewise.
24604         * iconvdata/iso8859-1.c: Likewise.
24605         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
24606         * iconvdata/shift_jisx0213.c : Likewise.
24607         * iconvdata/sjis.c : Likewise.
24608         * iconvdata/t.61.c : Likewise.
24609         * iconvdata/tcvn5712-1.c : Likewise.
24610         * iconvdata/tscii.c: Likewise.
24611         * iconvdata/uhc.c : Likewise.
24612         * iconvdata/unicode.c (gconv_end): Likewise.
24613         * iconvdata/utf-16.c (gconv_end): Likewise.
24614         * iconvdata/utf-32.c (gconv_end): Likewise.
24615         * iconvdata/utf-7.c (base64): Likewise.
24616         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
24617         * iconv/gconv_close.c (__gconv_close): Likewise.
24618         * iconv/gconv_open.c (__gconv_open): Likewise.
24619         * iconv/gconv_simple.c (internal_ucs4_loop_single)
24620         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
24621         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
24622         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
24623         (ucs4le_internal_loop_single): Likewise.
24624         * iconv/iconv.c (iconv): Likewise.
24625         * iconv/iconv_close.c: Likewise.
24626         * iconv/loop.c (SINGLE): Likewise.
24627         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
24628         * include/atomic.h: Likewise.
24629         * inet/inet6_option.c (option_alloc): Likewise.
24630         * intl/bindtextdom.c (set_binding_values): Likewise.
24631         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
24632         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
24633         * intl/localealias.c (read_alias_file): Likewise.
24634         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
24635         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
24636         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
24637         * libio/fmemopen.c (fmemopen): Likewise.
24638         * libio/iofgets.c (_IO_fgets): Likewise.
24639         * libio/iofgets_u.c (fgets_unlocked): Likewise.
24640         * libio/iofgetws.c (fgetws): Likewise.
24641         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
24642         * libio/iogetdelim.c (_IO_getdelim): Likewise.
24643         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
24644         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
24645         * locale/findlocale.c (_nl_find_locale): Likewise.
24646         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
24647         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
24648         Likewise.
24649         * locale/setlocale.c (setlocale): Likewise.
24650         * login/programs/pt_chown.c (main): Likewise.
24651         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
24652         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
24653         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
24654         (mmap, mmap64, mremap, munmap): Likewise.
24655         * math/e_exp2l.c: Likewise.
24656         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
24657         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
24658         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
24659         * math/s_catan.c (__catan): Likewise.
24660         * math/s_catanf.c (__catanf): Likewise.
24661         * math/s_catanh.c (__catanh): Likewise.
24662         * math/s_catanhf.c (__catanhf): Likewise.
24663         * math/s_catanhl.c (__catanhl): Likewise.
24664         * math/s_catanl.c (__catanl): Likewise.
24665         * math/s_ccosh.c (__ccosh): Likewise.
24666         * math/s_ccoshf.c (__ccoshf): Likewise.
24667         * math/s_ccoshl.c (__ccoshl): Likewise.
24668         * math/s_cexp.c (__cexp): Likewise.
24669         * math/s_cexpf.c (__cexpf): Likewise.
24670         * math/s_cexpl.c (__cexpl): Likewise.
24671         * math/s_clog10.c (__clog10): Likewise.
24672         * math/s_clog10f.c (__clog10f): Likewise.
24673         * math/s_clog10l.c (__clog10l): Likewise.
24674         * math/s_clog.c (__clog): Likewise.
24675         * math/s_clogf.c (__clogf): Likewise.
24676         * math/s_clogl.c (__clogl): Likewise.
24677         * math/s_csin.c (__csin): Likewise.
24678         * math/s_csinf.c (__csinf): Likewise.
24679         * math/s_csinh.c (__csinh): Likewise.
24680         * math/s_csinhf.c (__csinhf): Likewise.
24681         * math/s_csinhl.c (__csinhl): Likewise.
24682         * math/s_csinl.c (__csinl): Likewise.
24683         * math/s_csqrt.c (__csqrt): Likewise.
24684         * math/s_csqrtf.c (__csqrtf): Likewise.
24685         * math/s_csqrtl.c (__csqrtl): Likewise.
24686         * math/s_ctan.c (__ctan): Likewise.
24687         * math/s_ctanf.c (__ctanf): Likewise.
24688         * math/s_ctanh.c (__ctanh): Likewise.
24689         * math/s_ctanhf.c (__ctanhf): Likewise.
24690         * math/s_ctanhl.c (__ctanhl): Likewise.
24691         * math/s_ctanl.c (__ctanl): Likewise.
24692         * math/w_pow.c: Likewise.
24693         * math/w_powf.c: Likewise.
24694         * math/w_powl.c: Likewise.
24695         * math/w_scalb.c (sysv_scalb): Likewise.
24696         * math/w_scalbf.c (sysv_scalbf): Likewise.
24697         * math/w_scalbl.c (sysv_scalbl): Likewise.
24698         * misc/error.c (error_tail): Likewise.
24699         * misc/pselect.c (__pselect): Likewise.
24700         * nis/nis_callback.c (__nis_create_callback): Likewise.
24701         * nis/nis_call.c (__nisfind_server): Likewise.
24702         * nis/nis_creategroup.c (nis_creategroup): Likewise.
24703         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
24704         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
24705         * nis/nis_getservlist.c (nis_getservlist): Likewise.
24706         * nis/nis_lookup.c (nis_lookup): Likewise.
24707         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
24708         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
24709         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
24710         * nis/nis_xdr.c (xdr_endpoint): Likewise.
24711         * nis/nss_compat/compat-grp.c (getgrent_next_file)
24712         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
24713         * nis/nss_compat/compat-initgroups.c (add_group)
24714         (internal_getgrent_r): Likewise.
24715         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
24716         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
24717         * nis/nss_compat/compat-spwd.c (getspent_next_file)
24718         (internal_getspnam_r): Likewise.
24719         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
24720         (_nss_nis_getaliasbyname_r): Likewise.
24721         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
24722         (_nss_nis_getntohost_r): Likewise.
24723         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
24724         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
24725         (_nss_nis_getgrgid_r): Likewise.
24726         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
24727         (internal_nis_gethostent_r, internal_gethostbyname2_r)
24728         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
24729         (_nss_nis_gethostbyname4_r): Likewise.
24730         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
24731         (initgroups_netid): Likewise.
24732         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
24733         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
24734         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
24735         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
24736         (_nss_nis_getprotobynumber_r): Likewise.
24737         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
24738         (_nss_nis_getsecretkey): Likewise.
24739         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
24740         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
24741         (_nss_nis_getpwuid_r): Likewise.
24742         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
24743         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
24744         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
24745         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
24746         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
24747         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
24748         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
24749         Likewise.
24750         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
24751         (_nss_nisplus_getntohost_r): Likewise.
24752         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
24753         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
24754         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
24755         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
24756         Likewise.
24757         * nis/nss_nisplus/nisplus-initgroups.c
24758         (_nss_nisplus_initgroups_dyn): Likewise.
24759         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
24760         (_nss_nisplus_getnetbyaddr_r): Likewise.
24761         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
24762         (_nss_nisplus_getprotobynumber_r): Likewise.
24763         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
24764         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
24765         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
24766         Likewise.
24767         * nis/nss_nisplus/nisplus-service.c
24768         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
24769         (_nss_nisplus_getservbyport_r): Likewise.
24770         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
24771         (_nss_nisplus_getspnam_r): Likewise.
24772         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
24773         Likewise.
24774         * nscd/aicache.c (addhstaiX): Likewise.
24775         * nscd/cache.c (cache_search, prune_cache): Likewise.
24776         * nscd/connections.c (register_traced_file, send_ro_fd)
24777         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
24778         (main_loop_epoll): Likewise.
24779         * nscd/grpcache.c (addgrbyX): Likewise.
24780         * nscd/hstcache.c (addhstbyX): Likewise.
24781         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24782         * nscd/mem.c (gc, mempool_alloc): Likewise.
24783         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
24784         (addinnetgrX): Likewise.
24785         * nscd/nscd-client.h (__nscd_acquire_maplock)
24786         (__nscd_drop_map_ref): Likewise.
24787         * nscd/nscd_getai.c (__nscd_getai): Likewise.
24788         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
24789         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
24790         Likewise.
24791         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
24792         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24793         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
24794         (__nscd_get_map_ref): Likewise.
24795         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
24796         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
24797         Likewise.
24798         * nscd/pwdcache.c (addpwbyX): Likewise.
24799         * nscd/selinux.c (preserve_capabilities): Likewise.
24800         * nscd/servicescache.c (addservbyX): Likewise.
24801         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
24802         * posix/fnmatch.c (fnmatch): Likewise.
24803         * posix/getopt.c (_getopt_internal_r): Likewise.
24804         * posix/glob.c (glob, glob_in_dir): Likewise.
24805         * posix/wordexp.c (exec_comm_child): Likewise.
24806         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
24807         (getanswer_r, gaih_getanswer_slice): Likewise.
24808         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
24809         * resolv/res_init.c: Likewise.
24810         * resolv/res_mkquery.c (res_nmkquery): Likewise.
24811         * resolv/res_query.c (__libc_res_nquery): Likewise.
24812         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
24813         Likewise.
24814         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
24815         * stdio-common/perror.c (perror): Likewise.
24816         * stdio-common/printf_fp.c (___printf_fp): Likewise.
24817         * stdio-common/tmpnam.c (tmpnam): Likewise.
24818         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24819         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
24820         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
24821         Likewise.
24822         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
24823         * stdlib/putenv.c (putenv): Likewise.
24824         * stdlib/setenv.c (__add_to_environ): Likewise.
24825         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24826         * stdlib/strtol_l.c (INTERNAL): Likewise.
24827         * string/memmem.c (memmem): Likewise.
24828         * string/strerror.c (strerror): Likewise.
24829         * string/strnlen.c (__strnlen): Likewise.
24830         * string/test-memmem.c (simple_memmem): Likewise.
24831         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
24832         * sunrpc/pm_getport.c (__get_socket): Likewise.
24833         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
24834         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
24835         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
24836         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
24837         Likewise.
24838         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
24839         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24840         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
24841         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
24842         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
24843         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
24844         Likewise.
24845         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
24846         Likewise.
24847         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
24848         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
24849         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24850         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24851         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
24852         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
24853         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
24854         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
24855         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
24856         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
24857         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24858         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
24859         Likewise.
24860         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
24861         Likewise.
24862         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
24863         Likewise.
24864         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
24865         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24866         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
24867         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
24868         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
24869         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
24870         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24871         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
24872         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
24873         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
24874         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
24875         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24876         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
24877         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
24878         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24879         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
24880         Likewise.
24881         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
24882         Likewise.
24883         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
24884         Likewise.
24885         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
24886         Likewise.
24887         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24888         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24889         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
24890         Likewise.
24891         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
24892         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
24893         * sysdeps/posix/opendir.c (__opendirat): Likewise.
24894         * sysdeps/posix/sleep.c: Likewise.
24895         * sysdeps/posix/tempname.c: Likewise.
24896         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
24897         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24898         Likewise.
24899         * sysdeps/powerpc/powerpc32/dl-machine.h
24900         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
24901         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
24902         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24903         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
24904         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
24905         Likewise.
24906         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
24907         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
24908         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
24909         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
24910         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
24911         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
24912         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
24913         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
24914         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24915         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
24916         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
24917         (elf_machine_lazy_rel): Likewise.
24918         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24919         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
24920         (elf_machine_lazy_rel): Likewise.
24921         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
24922         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
24923         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
24924         * sysdeps/unix/grantpt.c (grantpt): Likewise.
24925         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
24926         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
24927         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
24928         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24929         Likewise.
24930         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
24931         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
24932         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
24933         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
24934         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24935         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24936         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
24937         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
24938         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
24939         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24940         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24941         Likewise.
24942         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
24943         (__posix_fallocate64_l64): Likewise.
24944         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
24945         (posix_fallocate): Likewise.
24946         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
24947         Likewise.
24948         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24949         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
24950         (getifaddrs_internal): Likewise.
24951         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
24952         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
24953         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
24954         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
24955         * sysdeps/unix/sysv/linux/posix_fallocate64.c
24956         (__posix_fallocate64_l64): Likewise.
24957         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
24958         Likewise.
24959         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
24960         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
24961         (__get_clockfreq): Likewise.
24962         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
24963         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
24964         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
24965         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24966         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24967         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
24968         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
24969         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
24970         Likewise.
24971         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
24972         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
24973         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
24974         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
24975         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24976         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
24977         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
24978         Likewise.
24979         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24980         (posix_fallocate): Likewise.
24981         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24982         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
24983         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
24984         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
24985         (elf_machine_rela, elf_machine_rela_relative)
24986         (elf_machine_lazy_rel): Likewise.
24987         * time/asctime.c (asctime_internal): Likewise.
24988         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
24989         * time/tzset.c (__tzset_parse_tz): Likewise.
24990         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
24991         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
24992         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
24993         * wcsmbs/wcsmbsload.h: Likewise.
24995         [BZ #15894]
24996         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
24998         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
24999         (arena_get2): Remove THREAD_STATS conditionals.
25000         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
25001         (__malloc_stats, int): Likewise.
25003 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
25005         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
25006         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
25008         * manual/setjmp.texi: Fix typos/grammar errors.
25010         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
25011         Only return early when n is <= 0.  Delete unused return statement.
25013         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
25014         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
25015         * debug/tst-longjmp_chk3.c: New file.
25017         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
25018         (test_main): Replace code with set_fortify_handler call.
25019         * debug/test-strcpy_chk.c: Likewise.
25020         * debug/tst-chk1.c: Likewise.
25021         * debug/tst-longjmp_chk.c: Likewise.
25022         * test-skeleton.c: Include fcntl.h & paths.h
25023         (set_fortify_handler): Define.
25025         * debug/tst-longjmp_chk.c: Add header comment and include
25026         ../test-skeleton.c.
25027         (do_test): Mark static.
25028         (TEST_FUNCTION): Define.
25030         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
25031         (IP_PMTUDISC_INTERFACE): Likewise.
25032         (IP_MULTICAST_IF): Likewise.
25033         (IP_MULTICAST_TTL): Likewise.
25034         (IP_MULTICAST_LOOP): Likewise.
25035         (IP_ADD_MEMBERSHIP): Likewise.
25036         (IP_DROP_MEMBERSHIP): Likewise.
25037         (IP_UNBLOCK_SOURCE): Likewise.
25038         (IP_BLOCK_SOURCE): Likewise.
25039         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
25040         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
25041         (IP_MSFILTER): Likewise.
25042         (MCAST_JOIN_GROUP): Likewise.
25043         (MCAST_BLOCK_SOURCE): Likewise.
25044         (MCAST_UNBLOCK_SOURCE): Likewise.
25045         (MCAST_LEAVE_GROUP): Likewise.
25046         (MCAST_JOIN_SOURCE_GROUP): Likewise.
25047         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
25048         (MCAST_MSFILTER): Likewise.
25049         (IP_MULTICAST_ALL): Likewise.
25050         (IP_UNICAST_IF): Likewise.
25052         * timezone/Makefile: Delete $(have-ksh) check.
25053         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
25054         * timezone/tzselect.ksh: Add +x mode bits.
25056         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
25057         (ANON_INODE_FS_MAGIC): Likewise.
25058         (BDEVFS_MAGIC): Likewise.
25059         (BINFMTFS_MAGIC): Likewise.
25060         (BTRFS_TEST_MAGIC): Likewise.
25061         (CRAMFS_MAGIC_WEND): Likewise.
25062         (DEBUGFS_MAGIC): Likewise.
25063         (ECRYPTFS_SUPER_MAGIC): Likewise.
25064         (EXT3_SUPER_MAGIC): Likewise.
25065         (EXT4_SUPER_MAGIC): Likewise.
25066         (FUTEXFS_SUPER_MAGIC): Likewise.
25067         (HOSTFS_SUPER_MAGIC): Likewise.
25068         (HUGETLBFS_MAGIC): Likewise.
25069         (MINIX3_SUPER_MAGIC): Likewise.
25070         (MTD_INODE_FS_MAGIC): Likewise.
25071         (NILFS_SUPER_MAGIC): Likewise.
25072         (OPENPROM_SUPER_MAGIC): Likewise.
25073         (PIPEFS_MAGIC): Likewise.
25074         (PSTOREFS_MAGIC): Likewise.
25075         (QNX6_SUPER_MAGIC): Likewise.
25076         (RAMFS_MAGIC): Likewise.
25077         (REISERFS_SUPER_MAGIC_STRING): Likewise.
25078         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
25079         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
25080         (SECURITYFS_MAGIC): Likewise.
25081         (SELINUX_MAGIC): Likewise.
25082         (SMACK_MAGIC): Likewise.
25083         (SOCKFS_MAGIC): Likewise.
25084         (SQUASHFS_MAGIC): Likewise.
25085         (STACK_END_MAGIC): Likewise.
25086         (TMPFS_MAGIC): Likewise.
25087         (USBDEVICE_SUPER_MAGIC): Likewise.
25088         (V9FS_MAGIC): Likewise.
25089         (XENFS_SUPER_MAGIC): Likewise.
25090         (CRAMFS_MAGIC): Fix typo in comment.
25091         (EXT2_SUPER_MAGIC): Update comment.
25092         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
25094 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
25096         * sysdeps/arm: Move directory from ports/sysdeps/arm.
25097         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
25098         * sysdeps/unix/sysv/linux/arm: Move directory from
25099         ports/sysdeps/unix/sysv/linux/arm.
25100         * README: Update listing for arm-*-linux-gnueabi.
25102         * README: Remove mention of am33.
25104 2014-02-07  Roland McGrath  <roland@hack.frob.com>
25106         * bits/sigset.h (__sigemptyset): Use a statement expression rather
25107         than the comma operator, to avoid "rhs of comma has no effect"
25108         compiler warnings.
25109         (__sigfillset, __sigandset, __sigorset): Likewise.
25110         * include/signal.h (__sigemptyset): Likewise.
25111         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
25113 2014-02-07  Allan McRae  <allan@archlinux.org>
25115         * version.h (RELEASE): Set to "development".
25116         (VERSION): Set to "2.19.90"
25117         * NEWS: Add 2.20 section.
25119 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
25121         [BZ #16529]
25122         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
25124 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25126         * manual/contrib.texi: Update entry for Carlos O'Donell,
25127         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
25129 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
25131         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
25133         * sysdeps/unix/sysv/linux/kernel-features.h
25134         [__LINUX_KERNEL_VERSION >= 0x020621]
25135         (__ASSUME_PROC_PID_TASK_COMM): Define.
25137 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25139         [BZ #16398]
25140         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
25141         conversion when destination buffer does not have enough space.
25142         * libio/tst-ftell-partial-wide.c: New test case.
25143         * libio/Makefile (tests): Add tst-ftell-partial-wide.
25145         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
25146         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
25147         Leonard and Allan McRae.
25149 2014-02-04  David S. Miller  <davem@davemloft.net>
25151         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
25152         32-bit.
25154 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
25157         New file
25158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
25159         New file
25160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
25161         New file.
25162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
25163         New file.
25164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
25165         New file.
25166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
25167         New file.
25168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
25169         New file.
25170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
25171         New file.
25172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
25173         New file.
25174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
25175         New file.
25176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
25177         New file.
25178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
25179         New file.
25180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
25181         New file.
25183 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25185         * nptl/shlib-versions: Change powerpc*le start to 2.17.
25186         * shlib-versions: Likewise.
25188 2014-02-04  Roland McGrath  <roland@hack.frob.com>
25189             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25191         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
25192         (abilist-pattern): New variable, set to %-le.abilist.
25194         * Makerules (abilist-pattern): New variable.
25195         (vpath): Use $(abilist-pattern) in place of %.abilist.
25196         (check-abi-% pattern rule): Likewise.
25197         (check-abi, update-abi): Likewise.
25199 2014-02-04  Eric Wong  <normalperson@yhbt.net>
25201         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25203 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
25205         * manual/startup.texi: Add next, previous, and top entries for
25206         the `Program Arguments' and `Environment Variables' nodes.
25208 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
25210         * manual/macros.texi: Add comments before MTASC-safety macros.
25212         * manual/users.texi: Document MTASC-safety properties.
25214         * manual/threads.texi (pthread_key_create, pthread_key_delete)
25215         (pthread_getspecific, pthread_setspecific): Format with
25216         @deftypefun, and add @safety note.
25217         * manual/signal.texi: Move comments that analyze the above
25218         functions to their home place.
25220 2014-02-03  Allan McRae  <allan@archlinux.org>
25222         * po/sl.po: Update Slovenian translation from translation project.
25224 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
25226         * manual/time.texi (timegm): Add missing blank after @c.
25227         Reported by Joseph Myers <joseph@codesourcery.com>.
25229 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
25231         * manual/check-safety.sh: New.
25232         * manual/Makefile ($(objpfx)stamp-summary): Run it.
25234         * manual/terminal.texi: Document MTASC-safety properties.
25236         * manual/filesys.texi: Document MTASC-safety properties.
25238         * manual/errno.texi: Document MTASC-safety properties.
25240         * manual/intro.texi: Document safety identifiers and
25241         conditionals.
25243         * manual/string.texi (wcstok): Fix prototype.
25244         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
25246         * manual/time.texi: Document MTASC-safety properties.
25248         * manual/string.texi: Document MTASC-safety properties.
25250         * manual/threads.texi: Document MTASC-safety properties.
25252         * manual/stdio.texi: Document MTASC-safety properties.
25254         * manual/syslog.texi: Document MTASC-safety properties.
25256         * manual/sysinfo.texi: Document MTASC-safety properties.
25258         * manual/startup.texi: Document MTASC-safety properties.
25260         * manual/socket.texi: Document MTASC-safety properties.
25262         * manual/signal.texi: Document MTASC-safety properties.
25264 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
25266         * manual/setjmp.texi: Document MTASC-safety properties.
25268         * manual/search.texi: Document MTASC-safety properties.
25270         * manual/resource.texi: Document MTASC-safety properties.
25272         * manual/process.texi: Document MTASC-safety properties.
25274         * manual/platform.texi: Document MTASC-safety properties.
25276         * manual/pipe.texi: Document MTASC-safety properties.
25278         * manual/pattern.texi: Document MTASC-safety properties.
25280         * manual/message.texi: Document MTASC-safety properties.
25282         [BZ #12751]
25283         * manual/memory.texi: Document MTASC-safety properties.
25285         * manual/math.texi: Document MTASC-safety properties.
25287         * manual/locale.texi: Document MTASC-safety properties.
25289         * manual/llio.texi: Document MTASC-safety properties.
25291         * manual/libdl.texi: New.
25293         * manual/lang.texi: Document MTASC-safety properties.
25295         * manual/job.texi: Document MTASC-safety properties.
25297         * manual/getopt.texi: Document MTASC-safety properties.
25299         * manual/ctype.texi: Document MTASC-safety properties.
25301 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
25303         [BZ #16046]
25304         * csu/libc-tls.c (static_map): Remove variable.
25305         (__libc_setup_tls): Use main executable's link map for TLS data.
25306         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
25307         casing for LM_ID_BASE and GL(dl_nns).
25308         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
25309         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
25310         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
25311         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
25312         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
25313         member.
25314         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
25315         l_phnum members.
25317 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
25319         * manual/debug.texi: Document MTASC-safety properties.
25321 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
25323         [BZ #16510]
25324         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
25325         of __x86_64__ when disabling x87 inline functions.
25327 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
25329         * manual/charset.texi: Document MTASC-safety properties.
25331         * manual/crypt.texi: Document MTASC-safety properties.
25333         * manual/conf.texi: Document MTASC-safety properties.
25335         * manual/arith.texi: Document MTASC-safety properties.
25337         * manual/argp.texi: Document MTASC-safety properties.
25339         * manual/macros.texi: Introduce macros to document multi
25340         thread, asynchronous signal and asynchronous cancellation
25341         safety properties.
25342         * manual/intro.texi: Introduce the properties themselves.
25344 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25346         * sysdeps/sh/sh4/Makefile: New file.
25348 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
25350         * math/gen-libm-test.pl ($srcdir): New variable.
25351         ($auto_input): Use it.
25353 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25355         [BZ #16506]
25356         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
25357         access beyond array bounds when parsing netgroups file.
25359         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
25360         the old buffer before realloc.
25362 2014-01-27  Allan McRae  <allan@archlinux.org>
25364         * po/fr.po: Update French translation from translation project.
25366 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25368         * sysdeps/sh/libm-test-ulps: Regenerate.
25370 2014-01-24  David S. Miller  <davem@davemloft.net>
25372         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
25374 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25376         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
25377         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
25379 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25381         [BZ #16474]
25382         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
25383         string pointers after reallocation.
25385 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25387         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
25388         __SH4A__ instead of __SH_FPU_ANY__.
25390 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25392         * sysdeps/sh/fpu_control.h: New file.
25393         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
25394         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
25395         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
25396         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
25397         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
25398         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
25399         * sysdeps/sh/sys/ucontext.h: Remove.
25400         * sysdeps/sh/sys: Remove directory.
25402 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25404         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
25405         s390/sys/ucontext.h.
25406         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
25407         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
25409 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
25411         [BZ #15605]
25412         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
25414 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25416         [BZ#16431]
25417         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25418         Adjust the vDSO correctly for internal calls.
25419         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
25421 2014-01-20  Allan McRae  <allan@archlinux.org>
25423         * po/ca.po: Update Catalan translation from translation project.
25425 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
25427         * sysdeps/s390/sotruss-lib.c: New file.
25429 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25431         [BZ#16430]
25432         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
25433         (__GI___gettimeofday): Alias for a different internal symbol to avoid
25434         local calls issues by not having a PLT stub required for IFUNC calls.
25435         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
25437 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
25439         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
25440         * math/test-fpucw-static.c: Likewise.
25442 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25444         [BZ #16453]
25445         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
25447 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25449         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
25450         implementation for powerpc.
25452 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
25454         [BZ #14782]
25455         * sysdeps/posix/system.c (__libc_system): Do not enable
25456         asynchronous cancellation.
25458 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25460         [BZ #16427]
25461         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
25462         handling only for numbers special also in the IEEE case.
25464 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25466         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25468 2014-01-11  Allan McRae  <allan@archlinux.org>
25470         * po/bg.po: Update Bulgarian translation from translation project.
25472         * po/de.po: Update German translation from translation project.
25474 2014-01-10  Roland McGrath  <roland@hack.frob.com>
25476         * sysdeps/generic/gcc-compat.h: New file.
25478 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25480         * benchtests/asin-inputs: Correct slow inputs.
25481         * benchtests/acos-inputs: Likewise.
25483 2014-01-10  Allan McRae  <allan@archlinux.org>
25485         * po:sv.po: Update Swedish translation from translation project.
25487         * po/vi.po: Update Vietnamese translation from translation project.
25489         * po/eo.po: Update Esperanto translation from translation project.
25491         * po/cs.po: Update Czech translation from translation project.
25493         * po/nl.po: Update Dutch translation from translation project.
25495         * po/pl.po: Update Polish translation from translation project.
25497         * po/ru.po: Update Russian translation from translation project.
25499         * po/uk.po: Update Ukrainian translation from translation project.
25501 2014-01-08  Brooks Moses  <bmoses@google.com>
25503         * elf/dl-load.c: Fix comment typo.
25505 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
25507         * po/header.pot: Rename to...
25508         * po/pot.header: ... this.
25509         * po/Makefile: Use pot.header.
25511 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
25512             Maxim Kuvyrkov  <maxim@kugelworks.com>
25514         [BZ #16394]
25515         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
25516         SRC and DEST against LEN.
25518 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25520         [BZ #16414]
25521         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
25522         implementation.
25523         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
25525 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25527         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25529 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
25531         [BZ #16408]
25532         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
25533         for large positive arguments.
25535 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
25537         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25539         * math/auto-libm-test-in: Mark various tests with
25540         xfail-rounding:ldbl-128ibm.
25541         * math/auto-libm-test-out: Regenerated.
25543         [BZ #16407]
25544         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
25545         Increase overflow threshold.
25547 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
25549         [BZ #14286]
25550         * stdio-common/vfprintf.c: Check for integer overflow.
25552 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25554         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
25555         the first argument and return value of __tls_get_addr_internal.
25557 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25559         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
25560         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
25562 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25564         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
25565         * sysdeps/s390/rtld-global-offsets.sym: New file.
25566         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
25567         GLIBC_2.19 symbol.
25568         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
25569         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
25570         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
25571         ... this.
25572         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
25573         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
25574         ... this.
25575         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25576         Regenerate.
25577         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25578         Regenerate.
25579         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
25580         halfs of GPRs for high_gprs contexts.
25581         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
25582         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
25583         field.
25584         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
25585         uc_flags field.
25586         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
25587         64 bit versions:
25588         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
25589         for high GPRs (uc_high_gprs) and for future extensions
25590         (__reserved).
25591         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
25592         for future extensions (__reserved).
25593         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
25594         64 bit versions:
25595         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
25596         SC_HIGHGPRS offset definition.
25597         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
25598         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
25600         * Versions.def: Add GLIBC_2.19 for libpthread.
25601         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
25602         siglongjmp for libpthread with GLIBC_2.19 symver.
25603         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
25604         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
25605         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
25606         * sysdeps/s390/__longjmp.c: New file.
25607         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
25608         * sysdeps/s390/longjmp.c: New file.
25609         * sysdeps/s390/setjmp.S: New file.
25610         * sysdeps/s390/sigjmp.S: New file.
25611         * sysdeps/s390/v1-longjmp.c: New file.
25612         * sysdeps/s390/v1-setjmp.h: New file.
25613         * sysdeps/s390/v1-sigjmp.c: New file.
25614         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
25615         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
25616         GLIBC_2.19 version.
25617         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
25618         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
25619         versioned symbols for ____longjmp_chk.
25620         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
25621         Likewise.
25622         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25623         Regenerate.
25624         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25625         Regenerate.
25626         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25627         Regenerate.
25628         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25629         Regenerate.
25630         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
25631         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
25632         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
25633         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
25634         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
25635         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
25636         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
25637         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
25638         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
25639         * sysdeps/s390/rtld-__longjmp.c: New file.
25640         * sysdeps/s390/rtld-setjmp.S: New file.
25642 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
25644         [BZ #16400]
25645         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25646         Return -__logl (x) for small positive arguments without evaluating
25647         a polynomial.
25649 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
25651         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
25652         Rename to ...
25653         (__ptrace_peeksiginfo_args): ... this.
25654         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25655         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25656         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25658 2014-01-06  Allan McRae  <allan@archlinux.org>
25660         * inet/netinet/in.h: Fix typo in comment.
25662 2014-01-05  Andreas Jaeger  <aj@suse.de>
25664         * sysdeps/i386/fpu/libm-test-ulps: Update.
25666 2014-01-05  Allan McRae  <allan@archlinux.org>
25668         * po/libc.pot: Regenerated.
25670         * malloc/memusagestat.c: Fix gettext call formatting.
25672 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
25674         * nscd/nscd.c: Improve usage() output.
25676 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
25678         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
25679         * sysdeps/unix/sysv/linux/configure: Regenerated.
25680         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
25681         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
25683 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
25685         [BZ #16390]
25686         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
25687         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
25689 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25691         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
25692         extra tokens at end of #undef directive.
25693         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25694         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25695         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
25697 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
25699         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25701         * math/auto-libm-test-in: Mark various tests with
25702         xfail-rounding:ldbl-128ibm.
25703         * math/auto-libm-test-out: Regenerated.
25705 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
25707         [BZ #16386]
25708         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
25709         numbers with subnormal high part when calculating exponent.
25711         [BZ #16385]
25712         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
25713         fabs.
25715         [BZ #16384]
25716         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
25717         M_LN2l.
25718         (__ieee754_acoshl): Use __log1pl not __log1p.
25720 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
25722         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
25723         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
25724         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
25725         (grow_heap, heap_trim, _int_new_arena, get_free_list)
25726         (reused_arena, arena_get2): Convert to GNU style.
25727         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
25728         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
25729         (memalign_check, __malloc_set_state): Likewise.
25730         * malloc/mallocbug.c (main): Likewise.
25731         * malloc/malloc.c (__malloc_assert, malloc_init_state)
25732         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
25733         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
25734         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
25735         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
25736         (__posix_memalign, malloc_info): Likewise.
25737         * malloc/malloc.h: Likewise.
25738         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
25739         (mallochook, memalignhook, reallochook, mabort): Likewise.
25740         * malloc/mcheck.h: Likewise.
25741         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
25742         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
25743         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
25744         * malloc/morecore.c (__default_morecore): Likewise.
25745         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
25746         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
25747         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
25748         (print_and_abort): Likewise.
25749         * malloc/obstack.h: Likewise.
25750         * malloc/set-freeres.c (__libc_freeres): Likewise.
25751         * malloc/tst-mallocstate.c (main): Likewise.
25752         * malloc/tst-mtrace.c (main): Likewise.
25753         * malloc/tst-realloc.c (do_test): Likewise.
25755 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25757         [BZ #16366]
25758         * nscd/netgroupcache.c (do_notfound): New function.
25759         (addgetnetgrentX): Use it.
25761         [BZ # 16365]
25762         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
25763         NSS_STATUS_NOTFOUND.
25765 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
25767         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25770 2014-01-01  Allan McRae  <allan@archlinux.org>
25772         * scripts/update-copyrights: Update configure input file suffix.
25774         * NEWS: Update copyright year.
25775         * catgets/gencat.c: Likewise.
25776         * csu/version.c: Likewise.
25777         * debug/catchsegv.sh: Likewise.
25778         * debug/pcprofiledump.c: Likewise.
25779         * debug/xtrace.sh: Likewise.
25780         * elf/ldconfig.c: Likewise.
25781         * elf/ldd.bash.in: Likewise.
25782         * elf/pldd.c: Likewise.
25783         * elf/sotruss.ksh: Likewise.
25784         * elf/sprof.c: Likewise.
25785         * iconv/iconv_prog.c: Likewise.
25786         * iconv/iconvconfig.c: Likewise.
25787         * locale/programs/locale.c: Likewise.
25788         * locale/programs/localedef.c: Likewise.
25789         * login/programs/pt_chown.c: Likewise.
25790         * malloc/memusage.sh: Likewise.
25791         * malloc/memusagestat.c: Likewise.
25792         * malloc/mtrace.pl: Likewise.
25793         * manual/libc.texinfo: Likewise.
25794         * nscd/nscd.c: Likewise.
25795         * nss/getent.c: Likewise.
25796         * nss/makedb.c: Likewise.
25797         * posix/getconf.c: Likewise.
25798         * scripts/test-installation.pl: Likewise.
25800         * All files with FSF copyright notices: Update copyright dates
25801         using scripts/update-copyrights.
25802         * intl/plural.c: Regenerated.
25803         * locale/programs/charmap-kw.h: Likewise.
25804         * locale/programs/locfile-kw.h: Likewise.
25806 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
25808         * sysdeps/unix/sysv/linux/configure: Regenerated.
25809         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
25810         the linux/fanotify.h header.
25811         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
25812         HAVE_LINUX_FANOTIFY_H is defined.
25814 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25816         * benchtests/cos-inputs: New inputs.
25817         * benchtests/sin-inputs: Likewise.
25819         * benchtests/atan-inputs: New inputs. Fix name of multiple
25820         precision fallback inputs.
25822         * benchtests/atanh-inputs: New inputs.
25823         * benchtests/tanh-inputs: Likewise.
25825         * benchtests/acosh-inputs: New inputs.
25826         * benchtests/asinh-inputs: Likewise.
25828         * benchtests/cosh-inputs: New inputs.
25829         * benchtests/sinh-inputs: Likewise.
25831         * benchtests/acos-inputs: Add more inputs.
25832         * benchtests/asin-inputs: Likewise.
25834 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
25836         [BZ #16375]
25837         * manual/arith.texi: Fix spelling.
25838         * manual/charset.texi: Likewise.
25839         * manual/errno.texi: Likewise.
25840         * manual/filesys.texi: Likewise.
25841         * manual/lang.texi: Likewise.
25842         * manual/llio.texi: Likewise.
25843         * manual/locale.texi: Likewise.
25844         * manual/message.texi: Likewise.
25845         * manual/resource.texi: Likewise.
25846         * manual/search.texi: Likewise.
25847         * manual/setjmp.texi: Likewise.
25848         * manual/stdio.texi: Likewise.
25849         * manual/string.texi: Likewise.
25850         * manual/sysinfo.texi: Likewise.
25851         * manual/time.texi: Likewise.
25853 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
25855         * po/sl.po: New file.
25857 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
25859         * .gitignore: Add core/.gdbinit/.gdb_history.
25861 2013-12-27  Allan McRae  <allan@archlinux.org>
25863         [BZ #16369]
25864         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
25865         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
25867 2013-12-24  Brooks Moses  <bmoses@google.com>
25869         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
25870         all compilers that claim C++98 compliance, not just GCC.
25871         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
25872         Likewise.
25874 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
25876         * NEWS: Restore accidentally deleted bug-fix entries.
25878 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
25879             Ondřej Bílka  <neleai@seznam.cz>
25881         [BZ #15073]
25882         * malloc/malloc.c (_int_free): Perform sanity check only if we
25883         have_lock.
25885 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
25887         [BZ #12986]
25888         * manual/stdio.texi (String Input Conversions): Clarify that character
25889         classes are not supported.
25891 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25893         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25895 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
25897         [BZ #16337]
25898         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25899         Calculate results for small negative arguments directly rather
25900         than using reflection formula with special underflow handling.
25902         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
25903         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
25904         sysdeps/unix/bsd/bsd4.4/syscalls.list.
25905         (fchflags): Likewise.
25906         (revoke): Likewise.
25907         (setlogin): Likewise.
25908         (sigaltstack): Likewise.
25909         (wait4): Likewise.
25910         (sigblock): Remove.
25911         (sigsetmask): Likewise.
25912         (wait3): Likewise.
25913         (waitpid): Likewise.
25914         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
25915         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
25916         file.
25917         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
25918         * sysdeps/unix/bsd/Makefile: ... here.
25919         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
25920         * sysdeps/unix/bsd/Versions: ... here.
25921         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
25922         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
25923         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
25924         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
25925         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
25926         * sysdeps/unix/bsd/sigblock.c: ... here.
25927         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
25928         * sysdeps/unix/bsd/sigsetmask.c: ... here.
25929         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
25930         * sysdeps/unix/bsd/sigvec.c: ... here.
25931         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
25932         * sysdeps/unix/bsd/tcdrain.c: ... here.
25933         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
25934         * sysdeps/unix/bsd/tcgetattr.c: ... here.
25935         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
25936         * sysdeps/unix/bsd/tcsetattr.c: ... here.
25937         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
25938         * sysdeps/unix/bsd/wait.c: ... here.
25939         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
25940         * sysdeps/unix/bsd/wait3.c: ... here.
25941         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
25942         * sysdeps/unix/bsd/waitpid.c: ... here.
25944 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
25946         [BZ #16356]
25947         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
25948         round-to-nearest for [!USE_AS_EXPM1L].
25949         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
25950         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
25951         more tests of exp and exp10.  Expect some exp10 tests to miss
25952         exceptions or fail in directed rounding modes.
25953         * math/auto-libm-test-out: Regenerated.
25954         * math/libm-test.inc (exp10_tonearest_test_data): New array.
25955         (exp10_test_tonearest): New function.
25956         (exp10_towardzero_test_data): New array.
25957         (exp10_test_towardzero): New function.
25958         (exp10_downward_test_data): New array.
25959         (exp10_test_downward): New function.
25960         (exp10_upward_test_data): New array.
25961         (exp10_test_upward): New function.
25962         (main): Call the new functions.
25963         * sysdeps/i386/fpu/libm-test-ulps: Update.
25964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25966 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
25968         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25969         asinh, atan, atan2, atanh, cbrt, cos and cosh.
25970         * math/auto-libm-test-out: Regenerated.
25971         * math/libm-test.inc (acosh_test_data): Add more tests.
25972         (atanh_test_data): Likewise.
25973         (ceil_test_data): Likewise.
25974         (copysign_test_data): Likewise.
25975         * sysdeps/i386/fpu/libm-test-ulps: Update.
25976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25978         * timezone/checktab.awk: Update from tzcode 2013i.
25979         * timezone/private.h: Likewise.
25980         * timezone/scheck.c: Likewise.
25981         * timezone/tzfile.h: Likewise.
25982         * timezone/tzselect.ksh: Likewise.
25983         * timezone/zdump.c: Likewise.
25984         * timezone/zic.c: Likewise.
25986         * math/auto-libm-test-in: Add tests of cpow.
25987         * math/auto-libm-test-out: Regenerated.
25988         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
25989         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25990         mpc_cc_c.
25991         (func_calc_desc): Add mpc_cc_c union field.
25992         (test_functions): Add cpow.
25993         (special_fill_2pi): New function.
25994         (special_real_inputs): Add 2pi.
25995         (calc_generic_results): Handle mpc_cc_c.
25996         * sysdeps/i386/fpu/libm-test-ulps: Update.
25997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25999         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
26000         csqrt, ctan and ctanh.
26001         * math/auto-libm-test-out: Regenerated.
26002         * math/libm-test.inc (TEST_COND_x86_64): New macro.
26003         (TEST_COND_x86): Likewise.
26004         (ccos_test_data): Use AUTO_TESTS_c_c.
26005         (ccosh_test_data): Likewise.
26006         (cexp_test_data): Likewise.
26007         (clog_test_data): Likewise.
26008         (csqrt_test_data): Likewise.
26009         (ctan_test_data): Likewise.
26010         (ctan_tonearest_test_data): Likewise.
26011         (ctan_towardzero_test_data): Likewise.
26012         (ctan_downward_test_data): Likewise.
26013         (ctan_upward_test_data): Likewise.
26014         (ctanh_test_data): Likewise.
26015         (ctanh_tonearest_test_data): Likewise.
26016         (ctanh_towardzero_test_data): Likewise.
26017         (ctanh_downward_test_data): Likewise.
26018         (ctanh_upward_test_data): Likewise.
26019         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26020         mpc_c_c.
26021         (func_calc_desc): Add mpc_c_c union field.
26022         (FUNC_mpc_c_c): New macro.
26023         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
26024         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
26025         ctanh.
26026         (special_fill_min_subnorm_p120): New function.
26027         (special_real_inputs): Add min_subnorm_p120.
26028         (calc_generic_results): Handle mpc_c_c.
26029         * sysdeps/i386/fpu/libm-test-ulps: Update.
26030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26032 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26034         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
26035         (do_sin_slow): New functions.
26036         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
26037         (cslow2, csloww1, csloww2): Use the new functions.
26039         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
26040         Use M to change sign of result instead of X.  Assume X is
26041         positive.
26042         (csloww1): Likewise.
26043         (__sin): Adjust.
26044         (__cos): Adjust.
26046         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
26047         arguments A and DA.
26048         (__sin): Adjust.
26049         (__cos): Likewise.
26051         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
26052         (__cos): Likewise.
26053         (sloww1): Don't adjust sign of DX.
26054         (csloww1): Likewise.
26055         (sloww2): Use X directly and don't adjust sign of DX.
26056         (csloww2): Likewise.
26058 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26060         * math/auto-libm-test-in: Add tests of cabs and carg.
26061         * math/auto-libm-test-out: Regenerated.
26062         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
26063         (carg_test_data): Likewise.
26064         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26065         mpc_c_f.
26066         (func_calc_desc): Add mpc_c_f union field.
26067         (test_functions): Add cabs and carg.
26068         (calc_generic_results): Handle mpc_c_f.
26070         * sysdeps/powerpc/powerpc32/libgcc-compat.S
26071         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
26072         as a macro and a compat symbol.
26073         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26074         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26075         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26076         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26077         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
26078         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
26079         not use .hidden.
26080         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
26081         Likewise.
26082         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
26083         Likewise.
26084         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
26085         Likewise.
26086         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
26087         Likewise.
26088         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
26089         Likewise.
26090         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
26091         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
26092         from GLIBC_2.3.2.
26094 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26096         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26098 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26100         * manual/texinfo.tex: Update to version 2013-11-26.10 with
26101         trailing whitespace removed.
26102         * scripts/config.guess: Update to version 2013-11-29.
26103         * scripts/config.sub: Update to version 2013-10-01.
26105         * math/auto-libm-test-in: Add tests of sincos.
26106         * math/auto-libm-test-out: Regenerated.
26107         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
26108         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26109         mpfr_f_11.
26110         (func_calc_desc): Add mpfr_f_11 union field.
26111         (test_functions): Add sincos.
26112         (calc_generic_results): Handle mpfr_f_11.
26113         * sysdeps/i386/fpu/libm-test-ulps: Update.
26114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26116 2013-12-19  Andreas Schwab  <schwab@suse.de>
26118         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
26119         CALL_MCOUNT.
26120         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26121         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
26122         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
26124 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26126         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
26127         * sysdeps/i386/fpu/libm-test-ulps: Update.
26128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26130         [BZ #16293]
26131         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
26132         round-to-nearest mode when using frndint.
26133         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
26134         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26135         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26136         Likewise.
26137         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
26138         sinh test to fail.
26139         * math/auto-libm-test-out: Regenerated.
26140         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
26141         (TEST_COND_x86): Likewise.
26142         (expm1_tonearest_test_data): New array.
26143         (expm1_test_tonearest): New function.
26144         (expm1_towardzero_test_data): New array.
26145         (expm1_test_towardzero): New function.
26146         (expm1_downward_test_data): New array.
26147         (expm1_test_downward): New function.
26148         (expm1_upward_test_data): New array.
26149         (expm1_test_upward): New function.
26150         (main): Run the new test functions.
26151         * sysdeps/i386/fpu/libm-test-ulps: Update.
26152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26154         * include/features.h: Update comment documenting feature test
26155         macros.  Mention _DEFAULT_SOURCE in comment.
26156         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
26157         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
26158         _BSD_SOURCE and _SVID_SOURCE.
26159         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
26160         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
26161         !_SVID_SOURCE]: Likewise.
26162         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26163         (__USE_POSIX_IMPLICITLY): Define.
26164         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26165         (_POSIX_SOURCE): Undefine and redefine.
26166         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26167         (_POSIX_C_SOURCE): Likewise.
26168         * manual/creature.texi (_DEFAULT_SOURCE): Document.
26169         (Feature Test Macros): Update documentation of default features.
26171 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26173         * benchtests/Makefile: Add bench-strtok.
26174         * benchtests/bench-strtok.c: New file: strtok benchtest.
26176 2013-12-19  Allan McRae  <allan@archlinux.org>
26178         * manual/install.texi: Suppress menu for plain text output.
26179         * INSTALL: Regenerated.
26181 2013-12-18  Brooks Moses  <bmoses@google.com>
26183         [BZ #15846]
26184         * misc/getauxval.c: Include errno.h.
26185         (__getauxval): Set errno to ENOENT if the requested type is not
26186         found.
26187         * misc/sys/auxv.h (getauxval): Document that it may set errno;
26188         don't declare with __attribute_const__.
26189         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
26190         * manual/startup.texi: Document that getauxval sets errno.
26192 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26194         * math/auto-libm-test-in: Add tests of jn and yn.
26195         * math/auto-libm-test-out: Regenerated.
26196         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
26197         (yn_test_data): Likewise.
26198         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26199         mpfr_if_f.
26200         (func_calc_desc): Add mpfr_if_f union field.
26201         (FUNC_mpfr_if_f): New macro.
26202         (test_functions): Add jn and yn.
26203         (calc_generic_results): Assert type of second input for
26204         mpfr_ff_f.  Handle mpfr_if_f.
26205         (output_for_one_input_case): Disable all checking for arguments
26206         fitting floating-point types in case of an integer argument.
26207         * sysdeps/i386/fpu/libm-test-ulps: Update.
26208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26211         Don't expect fegetround reference in libm.so.
26213 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26215         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
26216         $(config-cflags-nofma).
26218 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26220         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
26221         * math/auto-libm-test-out: Regenerated.
26223         [BZ #16338]
26224         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
26225         to determine exponent and adjust argument to have exponent of -1.
26226         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
26227         log2.
26228         * math/auto-libm-test-out: Regenerated.
26229         * sysdeps/i386/fpu/libm-test-ulps: Update.
26230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26232 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
26234         * manual/probes.texi: Remove cases when per-thread arenas are
26235         disabled.
26237 2013-12-18  Andreas Schwab  <schwab@suse.de>
26239         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
26240         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
26241         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
26242         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
26243         * sysdeps/i386/i686/multiarch/Makefile: Update.
26244         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
26246 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26248         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
26249         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
26251 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
26253         [BZ #15968]
26254         Support TZ transition times < 00:00:00.
26255         This is needed for version-3 tz-format files; it supports time
26256         stamps past 2037 for America/Godthab (the only entry in the tz
26257         database for which this change is relevant).
26258         * manual/time.texi (TZ Variable): Document transition times
26259         from -167:59:59 through -00:00:01.
26260         * time/tzset.c (tz_rule): Time of day is now signed.
26261         (__tzset_parse_tz): Parse negative time of day.
26263         Document TZ transition times >= 25:00:00.
26264         * manual/time.texi (TZ Variable): Document transition times from
26265         25:00:00 through 167:59:59.  These are already supported, and this
26266         support will help with version-3 tz-format files.
26268         * manual/time.texi (TZ Variable): Modernize North America example
26269         to reflect current (i.e., 2007-and-later) daylight saving rules.
26271         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
26273 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26275         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
26276         * sysdeps/unix/bsd/bits/stat.h: Likewise.
26277         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
26278         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
26279         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
26280         * sysdeps/unix/bsd/bsdstat.h: Likewise.
26281         * sysdeps/unix/bsd/clock.c: Likewise.
26282         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
26283         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
26284         * sysdeps/unix/bsd/init-posix.c: Likewise.
26285         * sysdeps/unix/bsd/poll.c: Likewise.
26286         * sysdeps/unix/bsd/ptsname.c: Likewise.
26287         * sysdeps/unix/bsd/seekdir.c: Likewise.
26288         * sysdeps/unix/bsd/setegid.c: Likewise.
26289         * sysdeps/unix/bsd/seteuid.c: Likewise.
26290         * sysdeps/unix/bsd/setgid.c: Likewise.
26291         * sysdeps/unix/bsd/setrgid.c: Likewise.
26292         * sysdeps/unix/bsd/setruid.c: Likewise.
26293         * sysdeps/unix/bsd/setsid.c: Likewise.
26294         * sysdeps/unix/bsd/setuid.c: Likewise.
26295         * sysdeps/unix/bsd/sigaction.c: Likewise.
26296         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
26297         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
26298         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
26299         * sysdeps/unix/bsd/telldir.c: Likewise.
26300         * sysdeps/unix/bsd/times.c: Likewise.
26301         * sysdeps/unix/bsd/usleep.c: Likewise.
26303         * misc/Makefile (install-lib): Remove libbsd-compat.a.
26304         ($(objpfx)libbsd-compat.a): Remove rule.
26306         * include/features.h (__FAVOR_BSD): Do not define.
26307         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
26308         features conflicting with POSIX.
26309         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
26310         (_BSD_SOURCE): Remove description of not being a subset of other
26311         feature test macros.
26312         * manual/job.texi (getpgrp): Do not document BSD version.
26313         (getpgid): Do not document by reference to BSD getpgrp.
26314         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
26315         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
26316         * signal/signal.h [__FAVOR_BSD]: Likewise.
26317         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
26318         instead of making contents conditional on [__FAVOR_BSD].
26319         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
26321 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26323         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26325 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26327         [BZ #16314]
26328         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
26329         values below 2**-450, not 2**-500.
26330         * math/auto-libm-test-in: Don't allow spurious underflow from
26331         hypot.
26332         * math/auto-libm-test-out: Regenerated.
26334         [BZ #16316]
26335         [BZ #16330]
26336         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
26337         values of ha and hb and sort them after adjusting subnormal
26338         arguments.
26339         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
26340         Likewise.
26341         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
26342         values of ea and eb and sort them after adjusting subnormal
26343         arguments.
26344         * math/auto-libm-test-in: Do not expect some hypot tests of
26345         subnormals to fail.  Add more hypot tests.
26346         * math/auto-libm-test-out: Regenerated.
26348 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26350         [BZ #13304]
26351         * sysdeps/sh/s_fma.c: New file.
26352         * sysdeps/sh/s_fmaf.c: New file.
26353         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
26354         version.
26355         * sysdeps/sh/Implies: Add sh/soft-fp.
26357 2013-12-16  Roland McGrath  <roland@hack.frob.com>
26359         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
26360         level of indirection to members `objname', `errstring', `malloced'.
26361         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
26362         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
26363         it as the __longjmp argument (just pass 1 instead).
26364         (_dl_catch_error): Initialize C with argument pointers and address of
26365         volatile local ERRCODE rather than copying values out of C at return.
26367 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
26369         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
26370         * math/auto-libm-test-out: Regenerated.
26371         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
26372         (hypot_test_data): Likewise.
26373         (pow_test_data): Likewise.
26374         (pow_tonearest_test_data): Likewise.
26375         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26376         mpfr_ff_f.
26377         (func_calc_desc): Add mpfr_ff_f union field.
26378         (FUNC_mpfr_ff_f): New macro.
26379         (test_functions): Add atan2, hypot and pow.
26380         (special_fill_min): New function.
26381         (special_fill_minus_min): Likewise.
26382         (special_fill_min_subnorm): Likewise.
26383         (special_fill_minus_min_subnorm): Likewise.
26384         (special_real_inputs): Add min, -min, min_subnorm and
26385         -min_subnorm.
26386         (calc_generic_results): Handle mpfr_ff_f.
26387         * sysdeps/i386/fpu/libm-test-ulps: Update.
26388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26390 2013-12-16  Will Newton  <will.newton@linaro.org>
26392         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
26393         (Aligned Memory Blocks): Add documentation for aligned_alloc
26394         and suggest it as an alternative to posix_memalign.
26395         (Hooks for Malloc): Document __memalign_hook is also called
26396         for aligned_alloc.  (Summary of Malloc): Add summary for
26397         aligned alloc.  Document __memalign_hook is also called
26398         for aligned_alloc.
26400 2013-12-16  Will Newton  <will.newton@linaro.org>
26402         * manual/memory.texi (Malloc Examples): Clarify default
26403         alignment documentation.  Suggest posix_memalign rather
26404         than memalign or valloc.
26405         (Aligned Memory Blocks): Remove suggestion to use memalign
26406         or valloc.  Remove obsolete comment about BSD.
26407         Document memalign errno values and mark the function obsolete.
26408         Document posix_memalign returned error codes.  Mark valloc
26409         as obsolete.  (Hooks for Malloc): __memalign_hook is also
26410         called for posix_memalign and valloc.
26411         (Summary of Malloc): Add posix_memalign to function summary.
26412         __memalign_hook is also called for posix_memalign and valloc.
26414 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26416         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
26417         TAYLOR_SIN.
26418         (__sin): Adjust.
26419         (__cos): Likewise.
26420         (sloww): Use mynumber union.  Expand ternary operator into
26421         if-else statements.
26422         (cslow): use mynumber union.
26424 2013-12-16  Allan McRae  <allan@archlinux.org>
26426         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
26427         * configure: Regenerated.
26429         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
26431         [BZ #14120]
26432         * configure.ac: Added --enable-maintainer-mode. Check for
26433         autoconf when enabled.
26434         * configure: Regenerated.
26436         * nscd/nscd.service: New file.
26437         * nscd/nscd.tmpfiles: New file.
26439 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
26441         [BZ #12100]
26442         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
26443         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
26444         * sysdeps/x86_64/multiarch/strstr.c: ... here.
26445         (strstr): Add __strstr_sse2_unaligned ifunc.
26446         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
26447         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
26448         (strcasestr): Remove __strcasestr_sse42 ifunc.
26449         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
26450         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26451         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
26453 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26455         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
26456         * sysdeps/sh/bits/fenv.h: ... here.
26457         * sysdeps/sh/sh4/fpu/bits: Remove directory.
26459 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26461         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
26463         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
26464         hypotf multiarch implementations.
26465         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
26466         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
26467         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
26468         multiarch hypot for PPC64.
26469         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
26470         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
26471         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
26472         multiarch hypotf for PPC64.
26474         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
26475         modff multiarch implementations.
26476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
26477         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
26478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
26479         multiarch modf for PPC64.
26480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
26481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
26482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
26483         multiarch modff for PPC64.
26485         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
26486         and logl multiarch implementations.
26487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
26488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
26489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
26490         multiarch logb for PPC64.
26491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
26492         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
26493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
26494         multiarch logb for PPC64.
26495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
26496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
26497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
26498         multiarch logb for PPC64.
26500         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
26501         isinff multiarch implementation.
26502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
26503         file.
26504         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
26505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
26506         multiarch isinf for PPC64.
26507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
26508         file.
26509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
26510         multiarch isinff for PPC64.
26512         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
26513         finitef multiarch implementation.
26514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
26515         file.
26516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
26517         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
26518         multiarch finite for PPC64.
26519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
26520         file.
26521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
26522         multiarch finitef for PPC64.
26524         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
26525         lrint multiarch implementation.
26526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
26527         file.
26528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
26529         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
26530         multiarch llrint for PPC64.
26531         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
26532         multiarch lrint for PPC64.
26534         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
26535         copysignf multiarch implementation.
26536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
26537         file.
26538         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
26539         file.
26540         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
26541         multiarch copysign for PPC64.
26542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
26543         multiarch copysignf for PPC64.
26545         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
26546         multiarch implementation.
26547         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
26548         file.
26549         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
26550         file.
26551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
26552         file.
26553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
26554         file.
26555         multiarch llround for PPC64.
26556         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
26557         multiarch trunc for PPC64.
26558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
26559         multiarch truncf for PPC64.
26561         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
26562         multiarch implementation.
26563         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
26564         file.
26565         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
26566         file.
26567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
26568         file.
26569         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
26570         file.
26571         multiarch llround for PPC64.
26572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
26573         multiarch round for PPC64.
26574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
26575         multiarch roundf for PPC64.
26577         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
26578         multiarch implementation.
26579         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
26580         file.
26581         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
26582         file.
26583         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
26584         file.
26585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
26586         file.
26587         multiarch llround for PPC64.
26588         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
26589         multiarch floor for PPC64.
26590         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
26591         multiarch floorf for PPC64.
26593         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
26594         multiarch implementation.
26595         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
26596         file.
26597         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
26598         file.
26599         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
26600         file.
26601         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
26602         file.
26603         multiarch llround for PPC64.
26604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
26605         multiarch ceil for PPC64.
26606         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
26607         multiarch ceilf for PPC64.
26609         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
26610         multiarch implementation.
26611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
26612         file.
26613         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
26614         file.
26615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
26616         file.
26617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
26618         multiarch llround for PPC64.
26619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
26620         multiarch lround for PPC64.
26622         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
26623         multiarch implementation.
26624         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
26625         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
26626         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
26627         file.
26628         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
26629         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
26630         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
26631         multiarch isnan for PPC64.
26632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
26633         multiarch isnanf for PPC64.
26635         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
26636         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
26637         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
26638         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
26639         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
26640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
26642         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
26643         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26644         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26645         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26647         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
26648         multiarch implementations.
26649         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26650         (__libc_ifunc_impl_list): Likewise.
26651         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
26652         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
26653         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
26654         multiarch stpcpy for PPC64.
26656         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
26657         multiarch implementations.
26658         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26659         (__libc_ifunc_impl_list): Likewise.
26660         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
26661         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
26662         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
26663         multiarch strcpy for PPC64.
26665         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
26666         redefine function name.
26667         (_wordcopy_fwd_dest_aligned): Likewise.
26668         (_wordcopy_bwd_aligned): Likewise.
26669         (_wordcopy_bwd_dest_aligned): Likewise.
26670         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
26671         multiarch implementations.
26672         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26673         (__libc_ifunc_impl_list): Likewise.
26674         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
26675         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
26676         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
26677         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
26678         multiarch wcscpy for PPC64.
26680         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
26681         multiarch implementations.
26682         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26683         (__libc_ifunc_impl_list): Likewise.
26684         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
26685         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
26686         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
26687         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
26688         multiarch wcscpy for PPC64.
26690         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
26691         multiarch implementations.
26692         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26693         (__libc_ifunc_impl_list): Likewise.
26694         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
26695         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
26696         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
26697         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
26698         multiarch wcsrchr for PPC64.
26700         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
26701         multiarch implementations.
26702         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26703         (__libc_ifunc_impl_list): Likewise.
26704         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
26705         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
26706         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
26707         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
26708         multiarch wcschr for PPC64.
26710         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
26711         multiarch implementations.
26712         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26713         (__libc_ifunc_impl_list): Likewise.
26714         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
26715         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
26716         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
26717         multiarch strchrnul for PPC64.
26719         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
26720         implementations.
26721         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26722         (__libc_ifunc_impl_list): Likewise.
26723         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
26724         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
26725         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
26726         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
26727         strchr for PPC64.
26729         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
26730         implementations.
26731         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26732         (__libc_ifunc_impl_list): Likewise.
26733         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
26734         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
26735         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
26736         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
26737         strncmp for PPC64.
26739         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
26740         multiarch implementations.
26741         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26742         (__libc_ifunc_impl_list): Likewise.
26743         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
26744         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
26745         strncasecmp for PPC64.
26746         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
26747         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
26748         multiarch strncasecmp_l for PPC64.
26750         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
26751         multiarch implementations.
26752         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26753         (__libc_ifunc_impl_list): Likewise.
26754         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
26755         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
26756         multiarch strcasecmp for PPC64.
26757         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
26758         file.
26759         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
26760         multiarch strcasecmp_l for PPC64.
26762         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
26763         implementations.
26764         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26765         (__libc_ifunc_impl_list): Likewise.
26766         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
26767         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
26768         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
26769         strnlen for PPC64.
26771         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
26772         implementations.
26773         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26774         (__libc_ifunc_impl_list): Likewise.
26775         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
26776         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
26777         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
26778         strlen for PPC64.
26780         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
26781         implementations.
26782         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26783         (__libc_ifunc_impl_list): Likewise.
26784         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
26785         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
26786         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
26787         rawmemrchr for PPC64.
26789         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
26790         implementation.
26791         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26792         (__libc_ifunc_impl_list): Likewise.
26793         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
26794         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
26795         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
26796         memrchr for PPC64.
26798         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
26799         implementation.
26800         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26801         (__libc_ifunc_impl_list): Likewise.
26802         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
26803         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
26804         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
26805         memchr for PPC64.
26807         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
26808         implementation.
26809         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26810         (__libc_ifunc_impl_list): Likewise.
26811         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
26812         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
26813         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
26814         mempcpy for PPC64.
26816         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
26817         avoid cretion of __bzero symbol.
26818         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
26819         Likewise.
26820         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
26821         Likewise.
26822         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
26823         Likewise.
26824         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
26825         multiarch implementations.
26826         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26827         (__libc_ifunc_impl_list): Likewise.
26828         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
26829         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
26830         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
26831         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
26832         bzero for PPC32.
26833         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
26834         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
26835         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
26836         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
26837         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
26838         memset for PPC64.
26839         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
26841         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
26842         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
26843         implementations.
26844         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26845         (__libc_ifunc_impl_list): Likewise.
26846         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
26847         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
26848         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
26849         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
26850         memcmp for PPC64.
26852         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
26853         multiarch for POWER/PPC64.
26854         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
26855         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
26856         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
26857         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
26858         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
26859         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
26860         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
26861         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
26862         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
26863         memcpy for PPC64.
26865         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
26866         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
26867         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
26868         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
26869         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
26870         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
26871         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
26872         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
26873         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
26874         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
26875         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
26876         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
26877         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
26878         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
26879         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
26880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
26881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
26882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
26883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
26884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
26885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
26886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
26888 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26890         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
26892 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26894         * benchtests/Makefile (bench): Add exp2 and log2.
26895         (LDLIBS-bench-exp2): Add -lm.
26896         (LDLIBS-bench-log2): Likewise.
26897         * benchtests/exp2-inputs: New inputs file.
26898         * benchtests/log2-inputs: New inputs file.
26899         * benchtests/log-inputs: Add new inputs.
26900         * benchtests/tan-inputs: Likewise.
26902 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26904         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
26905         definition...
26906         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
26907         (csloww2): ... from here.
26909         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
26910         instead of structures.
26911         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
26912         (POLYNOMIAL): Likewise.
26913         (TAYLOR_SLOW): Likewise.
26914         (__sin): Likewise.
26915         (__cos): Likewise.
26916         (slow1): Likewise.
26917         (slow2): Likewise.
26918         (sloww): Likewise.
26919         (sloww1); Likewise.
26920         (sloww2): Likewise.
26921         (bsloww1): Likewise.
26922         (bsloww2): Likewise.
26923         (cslow2): Likewise.
26924         (csloww): Likewise.
26925         (csloww1): Likewise.
26926         (csloww2): Likewise.
26928 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
26930         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
26931         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
26932         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
26933         * malloc/hooks.c (realloc_check): Likewise.
26935         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
26936         * malloc/arena.c: Remove PER_THREAD conditional.
26937         [!PER_THREAD]: Remove code.
26938         (ptmalloc_unlock_all2): Likewise.
26939         (ptmalloc_init): Likewise.
26940         (_int_new_arena): Likewise.
26941         (arena_get2): Likewise.
26942         * malloc/hooks.c (__malloc_get_state): Likewise.
26943         (__malloc_set_state): Likewise.
26944         * malloc/malloc.c: Likewise.
26945         (struct malloc_state): Likewise.
26946         (struct malloc_par): Likewise.
26947         (__libc_realloc): Likewise.
26948         (__libc_mallopt): Likewise.
26950 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26952         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
26954 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
26956         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
26957         macro to a function.  Check for zero perturb_byte.
26958         (_int_malloc, _int_free): Remove zero perturb_byte checks.
26960         * malloc/malloc.c: (force_reg): Remove.
26961         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
26962         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
26963         force_reg by atomic_forced_read.
26964         * malloc/arena.c (ptmalloc_init): Likewise.
26965         * malloc/hooks.c (top_check): Likewise.
26967 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26969         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26971 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
26973         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26975 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
26977         * math/auto-libm-test-in: Add tests of lgamma.
26978         * math/auto-libm-test-out: Regenerated.
26979         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
26980         (M_LOG_2_SQRT_PIl): Likewise.
26981         (lgamma_test_data): Use AUTO_TESTS_f_f1.
26982         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26983         mpfr_f_f1.
26984         (func_calc_desc): Add mpfr_f_f1 union field.
26985         (ARGS1): New macro.
26986         (ARGS2): Likewise.
26987         (ARGS3): Likewise.
26988         (ARGS4): Likewise.
26989         (RET1): Likewise.
26990         (RET2): Likewise.
26991         (CALC): Likewise.
26992         (FUNC): Likewise.
26993         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
26994         (test_functions): Add lgamma.
26995         (calc_generic_results): Handle mpfr_f_f1.
26996         * sysdeps/i386/fpu/libm-test-ulps: Update.
26997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26999 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27001         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
27002         __mpn_add_n for PowerPC64/POWER7.
27003         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
27004         __mpn_sub_n for PowerPC64/POWER7.
27006         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
27007         __mpn_addmul_1 for PowerPC64.
27008         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
27009         __mpn_submul_1 for PowerPC64.
27010         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
27011         for PowerPC64.
27012         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
27013         for PowerPC64.
27015 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
27017         [BZ #15089]
27018         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
27020 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27022         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
27024         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
27025         add multiarch folders.
27026         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
27027         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
27028         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
27029         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
27030         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
27031         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
27032         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
27033         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
27034         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
27035         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
27036         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
27037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
27038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
27039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
27040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
27041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
27042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
27044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27045         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
27046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
27047         New file.
27048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
27049         New file.
27050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
27051         multiarch __ieee754_hypot for PowerPC32.
27052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
27053         New file.
27054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
27055         New file.
27056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
27057         multiarch __ieee754_hypotf for PowerPC32.
27059         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
27060         long_double_symbol only if __logbl is defined.
27061         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
27062         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
27063         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
27064         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
27065         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
27066         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
27067         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
27068         path for implementation.
27069         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
27070         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
27071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
27072         logb, and logbl multiarch implementations for PowerPC32.
27073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
27074         file.
27075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
27076         file.
27077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
27078         multiarch logb for PowerPC32.
27079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
27080         file.
27081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
27082         file.
27083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
27084         multiarch logbf for PowerPC32.
27085         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
27086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
27087         file.
27088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
27089         multiarch logbl implementation for PowerPC32.
27091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
27092         and modff multiarch implementations.
27093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
27094         New file.
27095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
27096         New file.
27097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
27098         multiarch modf for PowerPC32.
27099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
27100         New file.
27101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
27102         New file.
27103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
27104         multiarch modff for PowerPC32.
27106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
27107         and lrintf multiarch implementations.
27108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
27109         New file.
27110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
27111         New file.
27112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
27113         multiarch lrint for PowerPC32.
27114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
27115         file: multiarch lrintf for PowerPC32.
27117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
27118         and lroundf multiarch implementations.
27119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
27120         New file.
27121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
27122         New file.
27123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
27124         New file.
27125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
27126         multiarch lround for PowerPC32.
27127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
27128         file: multiarch lroundf for PowerPC32.
27130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27131         copysign and copysignf multiarch implementations.
27132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
27133         New file.
27134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
27135         New file.
27136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
27137         file: multiarch copysign for PowerPC32.
27138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
27139         file: multiarch copysignf for PowerPC32.
27141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
27142         and truncf multiarch implementations.
27143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
27144         New file.
27145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
27146         file.
27147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
27148         multiarch trunc for PowerPC32.
27149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
27150         New file.
27151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
27152         New file.
27153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
27154         multiarch truncf for PowerPC32.
27156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
27157         and roundf multiarch implementations.
27158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
27159         New file.
27160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
27161         file.
27162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
27163         multiarch round for PowerPC32.
27164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
27165         New file.
27166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
27167         New file.
27168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
27169         multiarch roundf for PowerPC32.
27171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
27172         and floorf multiarch implementations.
27173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
27174         New file.
27175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
27176         file.
27177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
27178         multiarch floor for PowerPC32.
27179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
27180         New file.
27181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
27182         New file.
27183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
27184         multiarch floorf for PowerPC32.
27186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
27187         and ceilf multiarch implementations.
27188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
27189         New file.
27190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
27191         file.
27192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
27193         multiarch ceil for PowerPC32.
27194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
27195         New file.
27196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
27197         file.
27198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
27199         multiarch ceilf for PowerPC32.
27201         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
27202         is defined.
27203         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
27204         FINITEF is defined.
27205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
27206         and finitef multiarch implementations.
27207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
27208         New file.
27209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
27210         file.
27211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
27212         multiarch finite for PowerPC32.
27213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
27214         New file.
27215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
27216         file: multiarch finitef for PowerPC32.
27218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
27219         and isinff multiarch implementations.
27220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
27221         file.
27222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
27223         file.
27224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
27225         multiarch isinf for PowerPC32.
27226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
27227         New file.
27228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
27229         multiarch isinff for PowerPC32.
27231         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
27232         alias when __isnan is defined.
27233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
27234         and isnanf multiarch implementations.
27235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
27236         file.
27237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
27238         file.
27239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
27240         file.
27241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
27242         file.
27243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
27244         multiarch isnan for PowerPC32.
27245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
27246         New file.
27247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
27248         New file.
27249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
27250         multiarch isnanf for PowerPC32.
27252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
27253         and sqrtf multiarch implementations.
27254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
27255         file.
27256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
27257         file.
27258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
27259         multiarch sqrt for PowerPC32.
27260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
27261         file.
27262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
27263         file.
27264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
27265         multiarch sqrtf for PowerPC32.
27267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
27268         and llroundf multiarch implementations.
27269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
27270         New file.
27271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
27272         New file.
27273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
27274         New file.
27275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
27276         file: multiarch llround for PowerPC32.
27277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
27278         file: multiarch llroundf for PowerPC32.
27280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
27281         multiarch PowerPC32 fpu implementations.
27282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
27283         New file.
27284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
27285         New file.
27286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
27287         multiarch llrint for PowerPC32.
27288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
27289         New file.
27290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
27291         New file.
27292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
27293         file.
27295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
27297         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
27298         file.
27299         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
27300         file.
27301         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
27302         file.
27303         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
27304         multiarch wordcopy for PPC32.
27305         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27306         wordcopy objects.
27307         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27308         (__libc_ifunc_impl_list): Likewise.
27309         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
27310         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
27311         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
27312         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
27313         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
27314         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
27316         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
27317         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
27318         file.
27319         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
27320         file.
27321         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
27322         file.
27323         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
27324         multiarch wcscpy for PPC32.
27325         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27326         multiarch objects.
27327         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27328         (__libc_ifunc_impl_list): Likewise.
27329         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27330         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27331         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
27332         sysdeps/powerpc/power6/wcscpy.c.
27334         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
27335         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
27336         file.
27337         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
27338         file.
27339         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
27340         file.
27341         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
27342         multiarch wcsrchr for PPC32.
27343         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27344         multiarch objects.
27345         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27346         (__libc_ifunc_impl_list): Likewise.
27347         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27348         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27349         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
27350         sysdeps/powerpc/power6/wcsrchr.c.
27352         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
27353         file.
27354         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
27355         file.
27356         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
27357         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
27358         multiarch wcschr for PPc32.
27359         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27360         multiarch objects.
27361         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27362         (__libc_ifunc_impl_list): Likewise.
27363         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
27364         * sysdeps/powerpc/power6/wcschr.c: ... to here.
27365         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
27366         sysdeps/powerpc/power6/wcschr.c.
27368         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
27369         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
27370         file.
27371         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
27372         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
27373         file: multiarch strchr for PPC32.
27374         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
27375         multiarch objects.
27376         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27377         (__libc_ifunc_impl_list): Likewise.
27379         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
27380         name.
27381         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
27382         file.
27383         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
27384         file.
27385         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
27386         multiarch strchrnul for PPC32.
27387         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
27388         multiarch objects.
27389         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27390         (__libc_ifunc_impl_list): Likewise.
27392         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
27393         file.
27394         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
27395         multiarch strncasecmp for PPC32.
27396         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
27397         file.
27398         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
27399         multiarch strncasecmp_l for PPC32.
27400         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
27401         strncasecmp multiarch objects.
27402         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27403         (__libc_ifunc_impl_list): Likewise.
27405         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
27406         file.
27407         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
27408         multiarch strncasecmp for PPC32.
27409         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
27410         New file.
27411         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
27412         multiarch strcasecmp_l for PPC32.
27413         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
27414         multiarch objects.
27415         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27416         (__libc_ifunc_impl_list): Likewise.
27418         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
27419         file.
27420         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
27421         file.
27422         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
27423         multiarch strncmp for PPC32.
27424         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
27425         multiarch objects.
27426         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27427         (__libc_ifunc_impl_list): Likewise.
27429         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
27430         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
27431         file.
27432         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
27433         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
27434         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
27435         multiarch objects.
27436         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27437         (__libc_ifunc_impl_list): Likewise.
27439         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
27440         file.
27441         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
27442         file.
27443         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
27444         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
27445         multiarch objects.
27446         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27447         (__libc_ifunc_impl_list): Likewise.
27449         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
27450         file.
27451         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
27452         file.
27453         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
27454         multiarch rawmemchr for PPC32.
27455         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
27456         multiarch objects.
27457         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27458         (__libc_ifunc_impl_list): Likewise.
27460         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
27461         file.
27462         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
27463         file.
27464         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
27465         file: memrchr multiarch for PPC32.
27466         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
27467         multiarch objects.
27468         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27469         (__libc_ifunc_impl_list): Likewise.
27471         * string/memchr.c (__memchr): Using macro to redefine symbol name.
27472         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
27473         file.
27474         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
27475         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
27476         multiarch memchr for PPC32.
27477         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
27478         multiarch objects.
27479         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27480         (__libc_ifunc_impl_list): Likewise.
27482         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
27483         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
27484         file.
27485         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
27486         file.
27487         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
27488         file: multiarch mempcpy for PPC32.
27489         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
27490         multiarch objects.
27491         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27492         (__libc_ifunc_impl_list): Likewise.
27494         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
27495         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
27496         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
27497         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
27498         multiarch bzero for PPC32.
27499         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
27500         file.
27501         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
27502         file.
27503         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
27504         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
27505         file: multiarch memset for PPC32.
27506         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
27507         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
27508         memset multiarch objects.
27509         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27510         (__libc_ifunc_impl_list): Likewise.
27512         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
27513         file.
27514         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
27515         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
27516         memcmp for PPC32.
27517         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
27518         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
27519         multiarch objects.
27520         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27521         (__libc_ifunc_impl_list): Likewise.
27523         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
27524         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
27525         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
27526         file.
27527         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
27528         file.
27529         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
27530         file.
27531         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
27532         multiarch memcpy for PPC32.
27533         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
27534         multiarch objects.
27535         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27536         (__libc_ifunc_impl_list): Likewise.
27538         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
27539         support multiarch for POWER/PPC32.
27540         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
27541         Likewise.
27542         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
27543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
27544         Implies file to make multiarch folder appers before the fpu and
27545         default folder for power4 configuration.
27547 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
27549         * scripts/bench.pl: Append volatile keyword to type.
27551 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27553         * sysdeps/sh/sotruss-lib.c: New file.
27554         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
27556 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27558         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27560 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
27562         [BZ #6810]
27563         * math/w_tgamma.c: Include <errno.h>.
27564         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
27565         * math/w_tgammaf.c: Include <errno.h>.
27566         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
27567         * math/w_tgammal.c: Include <errno.h>.
27568         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
27569         * math/auto-libm-test-in: Do not allow missing errno on tgamma
27570         underflow.  Add more tgamma tests.
27571         * math/auto-libm-test-out: Regenerated.
27572         * sysdeps/i386/fpu/libm-test-ulps: Update.
27573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27575         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
27576         sin, sinh, tan, tanh, tgamma, y0 and y1.
27577         * math/auto-libm-test-out: Regenerated.
27578         * math/libm-test.inc (TEST_COND_x86_64): New macro.
27579         (TEST_COND_x86): Likewise.
27580         (M_E2l): Remove macro.
27581         (M_E3l): Likewise.
27582         (M_2_SQRT_PIl): Likewise.
27583         (M_SQRT_PIl): Likewise.
27584         (M_1_DIV_El): Likewise.
27585         (log_test_data): Use AUTO_TESTS_f_f.
27586         (log10_test_data): Likewise.
27587         (log1p_test_data): Likewise.
27588         (log2_test_data): Likewise.
27589         (sin_test_data): Likewise.
27590         (sin_tonearest_test_data): Likewise.
27591         (sin_towardzero_test_data): Likewise.
27592         (sin_downward_test_data): Likewise.
27593         (sin_upward_test_data): Likewise.
27594         (sinh_test_data): Likewise.
27595         (sinh_tonearest_test_data): Likewise.
27596         (sinh_towardzero_test_data): Likewise.
27597         (sinh_downward_test_data): Likewise.
27598         (sinh_upward_test_data): Likewise.
27599         (tan_test_data): Likewise.
27600         (tan_tonearest_test_data): Likewise.
27601         (tan_towardzero_test_data): Likewise.
27602         (tan_downward_test_data): Likewise.
27603         (tan_upward_test_data): Likewise.
27604         (tanh_test_data): Likewise.
27605         (tgamma_test_data): Likewise.
27606         (y0_test_data): Likewise.
27607         (y1_test_data): Likewise.
27608         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
27609         (special_real_inputs): Add pi/4.
27610         * sysdeps/i386/fpu/libm-test-ulps: Update.
27611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27613 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27615         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
27616         "longjmp_target" static probes.
27617         (__longjmp): Rename to __longjmp_symbol.
27618         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27619         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
27620         on which longjmp to generate.
27621         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27622         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
27623         probe.
27624         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27625         (__sigjmp_save): Rename to __sigjmp_save_symbol.
27626         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27627         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
27628         and __sigjmp_save_symbol based on which sigsetjmp to generated.
27629         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
27630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
27631         __longjmp_symbol based on which __longjmp to generate.
27632         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
27633         probe.
27634         (setjmp): Rename to setjmp_symbol.
27635         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27636         (_setjmp): Rename to _setjmp_symbol.
27637         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27638         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
27639         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
27640         which setjmp to generate.
27641         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
27642         "longjmp_target" static probes.
27644 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27646         * benchtests/README: Add note about output arguments.
27647         * benchtests/bench-sincos.c: Remove file.
27648         * benchtests/sincos-inputs: New file.
27649         * scripts/bench.pl: Identify output arguments and define
27650         static variables for them.
27652         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
27654         [BZ #15941]
27655         * Makefile (INSTALL): Add install-plain.texi as the primary
27656         dependency.
27657         * manual/install-plain.texi: New file.
27658         * manual/install.texi: Include node directive only for
27659         non-plaintext output.
27661 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
27663         * stdlib/longlong.h: Update from GCC.
27665         [BZ #6807]
27666         [BZ #15901]
27667         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
27668         * math/w_j0f.c (y0f): Likewise.
27669         * math/w_j0l.c (__y0l): Likewise.
27670         * math/w_j1.c (y1): Likewise.
27671         * math/w_j1f.c (y1f): Likewise.
27672         * math/w_j1l.c (__y1l): Likewise
27673         * math/w_jn.c (yn): Likewise.
27674         * math/w_jnf.c (ynf): Likewise.
27675         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
27676         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
27677         value for Bessel function domain errors outside _SVID_ mode.
27678         Adjust sign of return value for yn (negative integer, 0).
27679         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
27680         by zero in return for negative x and set sign appropriately for
27681         negative n.
27682         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
27683         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27684         * math/libm-test.inc (y0_test_data): Add more tests and adjust
27685         expectations in error cases.
27686         (y1_test_data): Likewise.
27687         (yn_test_data): Likewise.
27688         * sysdeps/i386/fpu/libm-test-ulps: Update.
27689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27691 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27693         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
27694         "64" to "64-v1".  Add "64-v2".
27695         (abi-64-options): Rename to ...
27696         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
27697         (abi-64-condition): Rename to ...
27698         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
27699         (abi-64-ld-soname): Rename to ...
27700         (abi-64-v1-ld-soname): ... this.
27701         (abi-64-v2-options): Define.
27702         (abi-64-v2-condition): Likewise.
27703         (abi-64-v2-ld-soname): Likewise.
27704         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
27705         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
27706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
27707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
27708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
27710 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27711             Alan Modra  <amodra@gmail.com>
27713         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
27714         New versions for use with the ELFv2 ABI.
27715         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
27716         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
27717         declaration.
27718         (struct La_ppc64v2_retval): Likewise.
27719         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
27720         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
27721         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
27722         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
27723         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
27724         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27725         Do not save or restore CR.
27726         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
27727         (_dl_profile_resolve): Do no save or restore CR.  Support extended
27728         return values for ELFv2 ABI.  Fix location of FPR return registers.
27729         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
27730         updated values for _CALL_ELF == 2.
27731         (La_regs, La_retval, int_retval): Likewise.
27733 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27735         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
27736         (FRAME_MIN_SIZE_PARM): Likewise.
27737         (FRAME_BACKCHAIN): Likewise.
27738         (FRAME_CR_SAVE): Likewise.
27739         (FRAME_LR_SAVE): Likewise.
27740         (FRAME_TOC_SAVE): Likewise.
27741         (FRAME_PARM_SAVE): Likewise.
27742         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
27743         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
27744         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27745         (call_mcount_parm_offset): New macro.
27746         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
27747         (PROF): Use symbolic stack frame offsets.
27748         (TAIL_CALL_SYSCALL_ERROR): Likewise.
27749         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
27750         Redefine in terms of FRAME_MIN_SIZE.
27751         (_dl_runtime_resolve): Use symbolic stack frame offsets.
27752         (_dl_profile_resolve): Likewise.  Update comment.
27753         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
27754         symbols stack frame offsets.
27755         (__sigsetjmp): Likewise.
27756         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
27757         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
27758         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
27759         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
27761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
27762         (FRAME_BACKCHAIN): Remove.
27763         (FRAME_CR_SAVE): Likewise.
27764         (FRAME_LR_SAVE): Likewise.
27765         (FRAME_COMPILER_DW): Likewise.
27766         (FRAME_LINKER_DW): Likewise.
27767         (FRAME_TOC_SAVE): Likewise.
27768         (FRAME_PARM_SAVE): Likewise.
27769         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
27770         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
27771         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
27773         (CHECK_SP): Use symbolic stack frame offsets.
27774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
27775         zone" instead of caller's parameter save area for temp storage.
27776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27777         Likewise.  Also, use symbolic stack frame offsets.
27778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
27779         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
27780         our own stack frame instead of the caller's.
27781         (__socket): Use symbolic stack frame offsets.
27783 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27784             Alan Modra  <amodra@gmail.com>
27786         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
27787         Define.
27788         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
27789         (PPC64_LOCAL_ENTRY_OFFSET): Define.
27790         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
27791         New function.
27792         (elf_machine_fixup_plt): Call it.
27793         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
27794         reloc arguments.
27795         (elf_machine_rela): Update call to elf_machine_plt_conflict.
27796         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27797         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
27798         r2 before calling target.
27800 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27801             Alan Modra  <amodra@gmail.com>
27803         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
27804         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
27805         versions of macros to support ELFv2 ABI.
27806         (LOCALENTRY): New macro.
27807         (ENTRY, EALIGN): Use it.
27808         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
27809         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
27810         fall through into ENTRY entry point.
27811         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
27812         Only define if _CALL_ELF != 2.
27814         (elf_machine_matches_host): Verify ABI version matches.
27815         (RTLD_START): Use LOCALENTRY.
27816         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
27817         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
27818         (PLT_ENTRY_WORDS): New macro.
27819         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
27820         (elf_machine_runtime_setup): Support ELFv2 ABI.
27821         (elf_machine_fixup_plt): Likewise.
27822         (elf_machine_plt_conflict): Likewise.
27823         (resolve_ifunc): Likewise.
27824         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
27825         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27826         Likewise.
27827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
27828         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
27829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27830         (makecontext): Support ELFv2 ABI.
27831         * elf/elf.h (EF_PPC64_ABI): Define.
27833 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27835         * sysdeps/powerpc/powerpc64/sysdep.h
27836         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
27837         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
27838         (ENTRY) [ASSEMBLER]: ... but instead here ...
27839         (EALIGN) [ASSEMBLER]: ... and here.
27840         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
27841         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
27842         (ENTRY_2) [!ASSEMBLER]: Use it.
27843         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
27844         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
27845         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27846         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
27847         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
27848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
27849         Use PPC64_LOAD_FUNCPTR.
27851         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
27853 2013-12-04  Alan Modra  <amodra@gmail.com>
27855         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
27856         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
27857         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
27858         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
27860         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
27861         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
27862         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
27863         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
27864         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
27865         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
27867 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27870         (__makecontext): Fix incorrect CFI when backtracing out of
27871         context created via makecontext.
27872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
27873         (__setcontext): Fix incorrect CFI during switch to new context.
27874         (__novec_setcontext): Likewise.
27876 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
27878         [BZ #4772]
27879         * time/strptime_l.c (__strptime_internal): Allow modifiers
27880         in strptime.
27881         * time/tst-strptime.c (day_tests): Add testcase.
27883 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27885         * scripts/bench.pl: Skip over blank lines.
27887 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
27889         [BZ #926]
27890         * manual/time.texi (Calendar Time): Clarify what timezone functions
27891         use.
27893 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27895         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27897 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
27899         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
27900         implementation.
27901         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
27902         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
27903         * debug/memset_chk.c (__memset_chk): Likewise.
27904         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
27905         * debug/strncpy_chk.c: Likewise.
27907 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
27909         [BZ #15268]
27910         [BZ #15425]
27911         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
27912         (__ieee754_exp): For possibly underflowing results, check size of
27913         result and force underflow exception if required.
27914         * math/auto-libm-test-in: Add more tests of exp.
27915         * math/auto-libm-test-out: Regenerated.
27916         * sysdeps/i386/fpu/libm-test-ulps: Update.
27917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27919         [BZ #16283]
27920         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
27921         * math/w_exp2f.c (__exp2f): Likewise.
27922         * math/w_exp2l.c (__exp2l): Likewise.
27923         * math/auto-libm-test-in: Do not allow missing errno on exp2
27924         underflow.
27925         * math/auto-libm-test-out: Regenerated.
27927 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
27929         [BZ #16274]
27930         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
27931         handle filename validation.
27932         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
27933         (do_open): Delete.
27935 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
27937         [BZ #6786]
27938         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
27939         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
27940         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
27941         <float.h>.
27942         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
27943         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
27944         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27945         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
27946         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27947         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
27948         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27949         * math/auto-libm-test-in: Don't allow missing errno from erfc.
27950         Add more erfc tests.
27951         * math/auto-libm-test-out: Regenerated.
27952         * sysdeps/i386/fpu/libm-test-ulps: Update.
27953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27955         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
27956         exp2, expm1, j0 and j1.
27957         * math/auto-libm-test-out: Regenerated.
27958         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
27959         (erfc_test_data): Likewise.
27960         (exp_test_data): Likewise.
27961         (exp_tonearest_test_data): Likewise.
27962         (exp_towardzero_test_data): Likewise.
27963         (exp_downward_test_data): Likewise.
27964         (exp_upward_test_data): Likewise.
27965         (exp10_test_data): Likewise.
27966         (exp2_test_data): Likewise.
27967         (expm1_test_data): Likewise.
27968         (j0_test_data): Likewise.
27969         (j1_test_data): Likewise.
27970         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
27971         (input_flag_type): Add flag_xfail_rounding.
27972         (input_flags): Add xfail-rounding.
27973         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
27974         (output_for_one_input_case): Handle flag_xfail_rounding.
27975         * sysdeps/i386/fpu/libm-test-ulps: Update.
27976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27978 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
27980         [BZ #16289]
27981         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
27982         division by 0.
27984 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
27986         [BZ #16195]
27987         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
27988         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
27989         (STAP_PROBE0): New macro.
27990         (STAP_PROBE1): Likewise.
27991         (STAP_PROBE2): Likewise.
27992         (STAP_PROBE3): Likewise.
27993         (STAP_PROBE4): Likewise.
27995 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
27997         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
27999 2013-12-02  Steve Ellcey  <sellcey@mips.com>
28001         * benchtests/Makefile (bench): Add sqrt.
28002         (LDLIBS-bench-sqrt): New.
28003         * benchtests/sqrt-input: New.
28005 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
28007         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
28008         (GAIH_EAI): Likewise.
28009         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
28010         (gaih_inet): Likewise.
28011         (getaddrinfo): Don't use GAIH_EAI.
28013         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
28014         (struct gaih): Remove definition.
28016 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28018         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
28019         Use HERRNOP directly.
28021 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28023         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28025 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
28027         * math/gen-auto-libm-tests.c (test_functions): Add more
28028         single-argument functions.
28029         (special_fill_pi_2): New function.
28030         (special_fill_minus_pi_2): Likewise.
28031         (special_fill_pi_6): Likewise.
28032         (special_fill_minus_pi_6): Likewise.
28033         (special_fill_pi_3): Likewise.
28034         (special_fill_2pi_3): Likewise.
28035         (special_fill_e): Likewise.
28036         (special_fill_1_e): Likewise.
28037         (special_fill_e_minus_1): Likewise.
28038         (special_real_inputs): Add more special inputs.
28039         (output_for_one_input_case): Do not require ERANGE on underflow to
28040         zero if round-to-nearest result does not underflow to zero, unless
28041         exact results required.
28042         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
28043         atan, atanh, cbrt, cos and cosh.
28044         * math/auto-libm-test-out: Regenerated.
28045         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
28046         (acos_tonearest_test_data): Likewise.
28047         (acos_towardzero_test_data): Likewise.
28048         (acos_downward_test_data): Likewise.
28049         (acos_upward_test_data): Likewise.
28050         (acosh_test_data): Likewise.
28051         (asin_test_data): Likewise.
28052         (asin_tonearest_test_data): Likewise.
28053         (asin_towardzero_test_data): Likewise.
28054         (asin_upward_test_data): Likewise.
28055         (asinh_test_data): Likewise.
28056         (atan_test_data): Likewise.
28057         (atanh_test_data): Likewise.
28058         (cbrt_test_data): Likewise.
28059         (cos_test_data): Likewise.
28060         (cos_tonearest_test_data): Likewise.
28061         (cos_towardzero_test_data): Likewise.
28062         (cos_downward_test_data): Likewise.
28063         (cos_upward_test_data): Likewise.
28064         (cosh_test_data): Likewise.
28065         (cosh_tonearest_test_data): Likewise.
28066         (cosh_towardzero_test_data): Likewise.
28067         (cosh_downward_test_data): Likewise.
28068         (cosh_upward_test_data): Likewise.
28069         * sysdeps/i386/fpu/libm-test-ulps: Update.
28070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28072 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
28074         [BZ #6787]
28075         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
28076         * math/w_exp10f.c (__exp10f): Likewise.
28077         * math/w_exp10l.c (__exp10l): Likewise.
28078         * math/libm-test.inc (exp10_test_data): Add more tests and expect
28079         errno settings in existing tests.
28081         [BZ #14032]
28082         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
28083         precision control set to double precision.
28084         * sysdeps/i386/fpu/w_sqrt.c: New file.
28085         * math/auto-libm-test-in: Add more tests.
28086         * math/auto-libm-test-out: Update.
28088         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
28089         (sqrt_test_tonearest): New function.
28090         (sqrt_towardzero_test_data): New variable.
28091         (sqrt_test_towardzero): New function.
28092         (sqrt_downward_test_data): New variable.
28093         (sqrt_test_downward): New function.
28094         (sqrt_upward_test_data): New variable.
28095         (sqrt_test_upward): New function.
28096         (main): Call the new functions.
28098         * math/gen-auto-libm-tests.c: New file.
28099         * math/auto-libm-test-in: Likewise.
28100         * math/auto-libm-test-out: New generated file.
28101         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
28102         variables.
28103         (%beautify): Add generated representations of zero.
28104         (top level): Set $auto_input and call parse_auto_input.
28105         (beautify): Remove trailing "f" from hex float constants.
28106         (parse_args): Handle XFAIL_TEST.
28107         (convert_condition): New function.
28108         (or_value): Likewise.
28109         (or_cond_value): Likewise.
28110         (generate_testfile): Handle AUTO_TESTS_* lines.
28111         (parse_auto_input): New function.
28112         * math/libm-test.inc (XFAIL_TEST): New macro.
28113         (ERRNO_UNCHANGED): Update value.
28114         (ERRNO_EDOM): Likewise.
28115         (ERRNO_ERANGE): Likewise.
28116         (IGNORE_RESULT): Likewise.
28117         (TEST_COND_flt_32): New macro.
28118         (TEST_COND_dbl_64): Likewise.
28119         (TEST_COND_ldbl_96_intel): Likewise.
28120         (TEST_COND_ldbl_96_m68k): Likewise.
28121         (TEST_COND_ldbl_128): Likewise.
28122         (TEST_COND_ldbl_128ibm): Likewise.
28123         (TEST_COND_long32): Likewise.
28124         (TEST_COND_long64): Likewise.
28125         (TEST_COND_before_rounding): Likewise.
28126         (TEST_COND_after_rounding): Likewise.
28127         (enable_test): Handle XFAIL_TEST flag.
28128         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
28129         with finite results.
28130         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
28131         auto-libm-test-out.
28133 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28134             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28136         [BZ #16214]
28137         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
28138         __tls_get_addr_internal instead of __tls_get_offset in order to
28139         avoid GOT pointer dependency.  Make rtld export
28140         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
28141         __tls_get_addr since we are a __tls_get_offset platform.
28142         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
28143         GOT pointer being set up before.
28144         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
28146 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
28148         * manual/math.texi (Errors in Math Functions): Document accuracy
28149         goals.
28151         [BZ #15004]
28152         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
28153         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
28154         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28155         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28156         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28157         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28158         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28159         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28160         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28161         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28162         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28163         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28164         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28165         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28166         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28167         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28169         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
28170         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
28171         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
28172         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
28173         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
28174         Likewise.
28175         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
28176         Likewise.
28177         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
28178         Likewise.
28179         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
28180         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
28181         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
28182         atomic-feupdateenv and flt-rounds.
28183         * sysdeps/powerpc/nofpu/Versions (libc): Add
28184         __atomic_feholdexcept, __atomic_feclearexcept,
28185         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
28186         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
28187         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
28188         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
28189         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
28190         here.
28191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
28192         Update.
28194         * manual/arith.texi (FP Exceptions): Document that exceptions may
28195         not be raised when matherr is used.
28196         (Math Error Reporting): Document overflow in directed rounding
28197         modes.  Document that errno may not be set when finite values are
28198         returned on overflow.  Document intent to set errno on underflow
28199         only for underflow to zero.
28201         [BZ #16271]
28202         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
28203         round-to-nearest then adjust result for other rounding modes.
28204         * include/fenv.h (fegetround): Use libm_hidden_proto.
28205         * math/fegetround.c (fegetround): Use libm_hidden_def.
28206         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
28207         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
28208         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28209         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
28210         Likewise.
28211         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
28212         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28213         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
28214         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
28216 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28218         [BZ #16077]
28219         * nss/Versions (libnss_files): Add
28220         _nss_files_gethostbyname3_r.
28221         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
28222         New function.
28223         (HOST_DB_LOOKUP): Remove macro.
28224         (_nss_files_gethostbyname_r): Implement function without the
28225         HOST_DB_LOOKUP macro.
28226         (_nss_files_gethostbyname2_r): Likewise.
28228 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
28230         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
28232 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
28234         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
28235         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
28236         warning.
28238 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28240         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
28241         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
28242         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
28243         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28244         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
28245         __fe_nomask_env_priv and attribute_hidden.
28246         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
28247         (libc_feupdateenv_test_ppc): Likewise.
28248         (libc_feresetround_ppc): Likewise.
28249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28250         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
28251         compat_symbol macro.
28252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28253         (__fe_nomask_env): Likewise.
28254         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
28256 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28258         * string/Makefile: Remove ifunc tests.
28259         * string/test-string.h: Define TEST_IFUNC.
28260         * string/test-bcopy-ifunc.c: Remove.
28261         * string/test-bzero-ifunc.c: Likewise.
28262         * string/test-memccpy-ifunc.c: Likewise.
28263         * string/test-memchr-ifunc.c: Likewise.
28264         * string/test-memcmp-ifunc.c: Likewise.
28265         * string/test-memcpy-ifunc.c: Likewise.
28266         * string/test-memmem-ifunc.c: Likewise.
28267         * string/test-memmove-ifunc.c: Likewise.
28268         * string/test-mempcpy-ifunc.c: Likewise.
28269         * string/test-memrchr-ifunc.c: Likewise.
28270         * string/test-memset-ifunc.c: Likewise.
28271         * string/test-rawmemchr-ifunc.c: Likewise.
28272         * string/test-stpcpy-ifunc.c: Likewise.
28273         * string/test-stpncpy-ifunc.c: Likewise.
28274         * string/test-strcasecmp-ifunc.c: Likewise.
28275         * string/test-strcasestr-ifunc.c: Likewise.
28276         * string/test-strcat-ifunc.c: Likewise.
28277         * string/test-strchr-ifunc.c: Likewise.
28278         * string/test-strchrnul-ifunc.c: Likewise.
28279         * string/test-strcmp-ifunc.c: Likewise.
28280         * string/test-strcpy-ifunc.c: Likewise.
28281         * string/test-strcspn-ifunc.c: Likewise.
28282         * string/test-strlen-ifunc.c: Likewise.
28283         * string/test-strncasecmp-ifunc.c: Likewise.
28284         * string/test-strncat-ifunc.c: Likewise.
28285         * string/test-strncmp-ifunc.c: Likewise.
28286         * string/test-strncpy-ifunc.c: Likewise.
28287         * string/test-strnlen-ifunc.c: Likewise.
28288         * string/test-strpbrk-ifunc.c: Likewise.
28289         * string/test-strrchr-ifunc.c: Likewise.
28290         * string/test-strspn-ifunc.c: Likewise.
28291         * string/test-strstr-ifunc.c: Likewise.
28293 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28295         * benchtests/Makefile: Remove ifunc tests.
28296         * benchtests/bench-string.h: Define TEST_IFUNC.
28297         * benchtests/bench-bcopy-ifunc.c: Remove.
28298         * benchtests/bench-bzero-ifunc.c: Likewise.
28299         * benchtests/bench-memccpy-ifunc.c: Likewise.
28300         * benchtests/bench-memchr-ifunc.c: Likewise.
28301         * benchtests/bench-memcmp-ifunc.c: Likewise.
28302         * benchtests/bench-memcpy-ifunc.c: Likewise.
28303         * benchtests/bench-memmem-ifunc.c: Likewise.
28304         * benchtests/bench-memmove-ifunc.c: Likewise.
28305         * benchtests/bench-mempcpy-ifunc.c: Likewise.
28306         * benchtests/bench-memrchr-ifunc.c: Likewise.
28307         * benchtests/bench-memset-ifunc.c: Likewise.
28308         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
28309         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
28310         * benchtests/bench-stpcpy-ifunc.c: Likewise.
28311         * benchtests/bench-stpncpy-ifunc.c: Likewise.
28312         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
28313         * benchtests/bench-strcasestr-ifunc.c: Likewise.
28314         * benchtests/bench-strcat-ifunc.c: Likewise.
28315         * benchtests/bench-strchr-ifunc.c: Likewise.
28316         * benchtests/bench-strchrnul-ifunc.c: Likewise.
28317         * benchtests/bench-strcmp-ifunc.c: Likewise.
28318         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
28319         * benchtests/bench-strcpy-ifunc.c: Likewise.
28320         * benchtests/bench-strcspn-ifunc.c: Likewise.
28321         * benchtests/bench-strlen-ifunc.c: Likewise.
28322         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
28323         * benchtests/bench-strncat-ifunc.c: Likewise.
28324         * benchtests/bench-strncmp-ifunc.c: Likewise.
28325         * benchtests/bench-strncpy-ifunc.c: Likewise.
28326         * benchtests/bench-strnlen-ifunc.c: Likewise.
28327         * benchtests/bench-strpbrk-ifunc.c: Likewise.
28328         * benchtests/bench-strrchr-ifunc.c: Likewise.
28329         * benchtests/bench-strsep-ifunc.c: Likewise.
28330         * benchtests/bench-strspn-ifunc.c: Likewise.
28331         * benchtests/bench-strstr-ifunc.c: Likewise.
28333 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28335         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
28337 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28339         * resolv/netdb.h: Use __glibc_reserved instead __unused.
28340         * rt/aio.h: Likewise.
28341         * sysdeps/gnu/bits/utmp.h: Likewise.
28342         * sysdeps/gnu/bits/utmpx.h: Likewise.
28343         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28344         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
28345         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
28346         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
28347         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
28348         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
28349         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
28350         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
28351         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
28352         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
28353         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
28354         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
28355         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
28356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
28357         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
28358         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
28359         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
28360         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
28361         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
28362         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
28363         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
28364         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
28365         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
28366         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28367         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
28368         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28369         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
28370         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
28371         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
28372         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
28373         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
28374         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
28375         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
28376         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
28377         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
28378         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
28379         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
28380         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
28381         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
28382         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
28383         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
28384         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
28386 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
28388         [BZ #16245]
28389         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
28390         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
28392 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
28394         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
28395         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
28396         Likewise.
28398 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28400         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
28401         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
28402         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
28403         (__fesetround): Remove define.
28404         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
28405         rounding and exceptions handling.
28406         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
28407         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
28408         (__fe_nomask_env): Likewise.
28409         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
28410         __fegetround instead of fegetround.
28411         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
28412         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
28414 2013-11-21  Roland McGrath  <roland@hack.frob.com>
28416         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
28417         it's there.
28419         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
28421 2013-11-21  Meador Inge  <meadori@codesourcery.com>
28423         [BZ #11157]
28424         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
28425         (encrypt_r): Likewise.
28426         * malloc/obstack.h (obstack_free): Likewise.
28427         * posix/unistd.h (encrypt): Likewise.
28429 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
28431         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
28432         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
28433         DL_CALL_DT_FINI() that call the functions directly.
28434         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
28435         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
28436         * elf/dl-fini.c: Likewise.
28438 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
28440         * malloc/hooks.c (memalign_check): Add alignment rounding.
28441         * malloc/malloc.c (_mid_memalign): New function.
28442         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
28443         Implement by calling _mid_memalign.
28444         * manual/probes.texi (Memory Allocation Probes): Remove
28445         memory_valloc_retry and memory_pvalloc_retry.
28447 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28449         * locale/programs/locarchive.c (open_archive): Add const
28450         qualifier to ARCHIVEFNAME and copy default fname to
28451         DEFAULT_FNAME.
28453         [BZ #15601]
28454         * libio/tst-widetext.input: Rename Oriya to Odia.
28455         * locale/iso-639.def: Likewise.
28457         * manual/probes.texi (Mathematical Function Probes): Add
28458         documentation for sin, cos, asin and acos probes.
28459         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
28460         (__sin32): Add slowasin probe.
28461         (__cos32): Add slowacos probe.
28462         (__mpsin): Add slowsin probe.
28463         (__mpcos): Add slowcos probe.
28465 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
28467         [BZ #15483]
28468         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
28469         thread-local __sim_exceptions_thread and global
28470         __sim_exceptions_global.
28471         (__sim_disabled_exceptions): Change to thread-local
28472         __sim_disabled_exceptions_thread and global
28473         __sim_disabled_exceptions_global.
28474         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
28475         and global __sim_round_mode_global.
28476         (__simulate_exceptions): Use thread-local floating-point state and
28477         set global state from it as needed.
28478         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
28479         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
28480         __sim_round_mode_thread.
28481         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
28482         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
28483         and global __sim_exceptions_global.
28484         (__sim_disabled_exceptions): Change to thread-local
28485         __sim_disabled_exceptions_thread and global
28486         __sim_disabled_exceptions_global.
28487         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
28488         and global __sim_round_mode_global.
28489         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
28490         (SIM_SET_GLOBAL): Likewise.
28491         * sysdeps/powerpc/soft-fp/sfp-machine.h
28492         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
28493         __sim_round_mode_thread.
28494         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
28495         __sim_disabled_exceptions_thread.
28496         (__sim_exceptions): Change to __sim_exceptions_thread.
28497         (__sim_disabled_exceptions): Change to
28498         __sim_disabled_exceptions_thread.
28499         (__sim_round_mode): Change to __sim_round_mode_thread.
28500         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
28501         thread-local floating-point state and set global state from it as
28502         needed.
28503         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
28504         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
28505         (__sim_disabled_exceptions): Remove extern declaration.
28506         (feenableexcept): Use thread-local floating-point state and set
28507         global state from it as needed.
28508         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
28509         extern declaration.
28510         (__sim_disabled_exceptions): Likewise.
28511         (__sim_round_mode): Likewise.
28512         (__fegetenv): Use thread-local floating-point state.
28513         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
28514         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28515         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
28516         floating-point state and set global state from it as needed.
28517         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
28518         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
28519         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
28520         Likewise.
28521         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
28522         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
28523         Likewise.
28524         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
28525         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
28526         Use __sim_round_mode_thread.
28527         * math/test-fenv-tls.c: New file.
28528         * math/Makefile (tests): Add test-fenv-tls.
28529         ($(objpfx)test-fenv-tls): Depend on
28530         $(common-objpfx)nptl/libpthread.so.
28532 2013-11-19  Andreas Schwab  <schwab@suse.de>
28534         * locale/programs/locale.c (show_info): Decode wordarray elements.
28535         * locale/categories.def (LC_MONETARY): Add element for
28536         _NL_MONETARY_CRNCYSTR.
28537         * locale/C-monetary.c (conversion_rate): New variable.
28538         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
28539         element.
28541 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
28543         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
28544         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
28546 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
28548         * elf/Makefile (tst-auxv): New test.
28549         * elf/tst-auxv.c: New
28550         * elf/rtld.c (dl_main): Adjust AT_EXECFN
28552 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
28554         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
28555         (hidden_proto): Caller changed.
28556         (hidden_tls_proto): New macro.
28557         (libc_hidden_tls_proto): Likewise.
28558         (rtld_hidden_tls_proto): Likewise.
28559         (libm_hidden_tls_proto): Likewise.
28560         (libresolv_hidden_tls_proto): Likewise.
28561         (librt_hidden_tls_proto): Likewise.
28562         (libdl_hidden_tls_proto): Likewise.
28563         (libnss_files_hidden_tls_proto): Likewise.
28564         (libnsl_hidden_tls_proto): Likewise.
28565         (libnss_nisplus_hidden_tls_proto): Likewise.
28566         (libutil_hidden_tls_proto): Likewise.
28568 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
28570         [BZ #10253]
28571         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
28572         (decompose_rpath): Defer expansion to fillin_rpath.
28573         (_dl_init_paths): Pass linkmap to fillin_rpath.
28575 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28577         * benchtests/Makefile: Add strsep.
28578         * benchtests/bench-strsep.c: New file: strsep benchtest.
28579         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
28581 2013-11-18  Andreas Schwab  <schwab@suse.de>
28583         * locale/programs/locale.c (show_info) [case byte]: Check for
28584         '\377' instead of '\177'.
28585         * locale/C-monetary.c (not_available): Always use "\377".
28586         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
28587         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
28588         detect unavailable sign_posn locale elements.
28589         * locale/localeconv.c (__localeconv): For grouping and
28590         mon_grouping handle "\177" and "\377" like no grouping.
28591         (INT_ELEM): New macro.  Use it to set all numeric members.
28592         * locale/programs/ld-monetary.c (monetary_read)
28593         <tok_mon_grouping>: Normalize single -1 to the empty string.
28594         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
28595         Likewise.
28597 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
28599         [BZ #16055]
28600         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
28601         when we match (nil).
28602         * stdio-common/tst-sscanf.c (struct test): Add testcase.
28604 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
28606         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
28607         (NO_TEST_INLINE): Update value.
28608         (ERRNO_UNCHANGED): Likewise.
28609         (ERRNO_EDOM): Likewise.
28610         (ERRNO_ERANGE): Likewise.
28611         (IGNORE_RESULT): Likewise.
28612         (check_float_internal): Check signs of NaN results if
28613         TEST_NAN_SIGN used.
28614         (check_complex): Pass TEST_NAN_SIGN flag through to second
28615         check_float_internal call.
28616         (copysign_test_data): Add tests with quiet NaNs as second
28617         argument.  Use TEST_NAN_SIGN.
28618         (fabs_test_data): Add test of negative quiet NaN argument.  Use
28619         TEST_NAN_SIGN.
28620         (signbit_test_data): Add tests of quiet NaN argument.
28621         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
28623         * math/gen-libm-test.pl (show_exceptions): Take extra argument
28624         $ignore_result.
28625         (parse_args): Handle function results specified as IGNORE.
28626         * math/libm-test.inc (IGNORE_RESULT): New macro.
28627         (check_float_internal): Do not check numerical result if flag
28628         IGNORE_RESULT set.
28629         (check_complex): Pass through IGNORE_RESULT to second
28630         check_float_internal call.
28631         (check_int): Do not check numerical result if flag IGNORE_RESULT
28632         set.
28633         (check_long): Likewise.
28634         (check_bool): Likewise.
28635         (check_longlong): Likewise.
28636         (lrint_test_data): Add tests of infinite and NaN arguments.
28637         (lrint_tonearest_test_data): Likewise.
28638         (lrint_towardzero_test_data): Likewise.
28639         (lrint_downward_test_data): Likewise.
28640         (lrint_upward_test_data): Likewise.
28641         (llrint_test_data): Likewise.
28642         (llrint_tonearest_test_data): Likewise.
28643         (llrint_towardzero_test_data): Likewise.
28644         (llrint_downward_test_data): Likewise.
28645         (llrint_upward_test_data): Likewise.
28646         (lround_test_data): Likewise.
28647         (llround_test_data): Likewise.
28649         * math/libm-test.inc (NO_TEST_INLINE): New macro.
28650         (ERRNO_UNCHANGED): Update value.
28651         (ERRNO_EDOM): Likewise.
28652         (ERRNO_ERANGE): Likewise.
28653         (NO_TEST_INLINE_FLOAT): New macro.
28654         (NO_TEST_INLINE_DOUBLE): Likewise.
28655         (enable_test): New function.
28656         (RUN_TEST_f_f): Check enable_test before running test.
28657         (RUN_TEST_2_f): Likewise.
28658         (RUN_TEST_fff_f): Likewise.
28659         (RUN_TEST_c_f): Likewise.
28660         (RUN_TEST_f_f1): Likewise.
28661         (RUN_TEST_fF_f1): Likewise.
28662         (RUN_TEST_fI_f1): Likewise.
28663         (RUN_TEST_ffI_f1): Likewise.
28664         (RUN_TEST_c_c): Likewise.
28665         (RUN_TEST_cc_c): Likewise.
28666         (RUN_TEST_f_i): Likewise.
28667         (RUN_TEST_f_i_tg): Likewise.
28668         (RUN_TEST_ff_i_tg): Likewise.
28669         (RUN_TEST_f_b): Likewise.
28670         (RUN_TEST_f_b_tg): Likewise.
28671         (RUN_TEST_f_l): Likewise.
28672         (RUN_TEST_f_L): Likewise.
28673         (RUN_TEST_fFF_11): Likewise.
28674         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
28675         conditionals.
28676         (cosh_test_data): Likewise.
28677         (exp_test_data): Likewise.
28678         (expm1_test_data): Likewise.
28679         (hypot_test_data): Likewise.
28680         (pow_test_data): Likewise.
28681         (sinh_test_data): Likewise.
28682         (tanh_test_data): Likewise.
28683         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
28684         flags argument.
28686         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
28687         tests with quiet NaN input and output.
28688         (acosh_test_data): Likewise.
28689         (asin_test_data): Likewise.
28690         (asinh_test_data): Likewise.
28691         (atan_test_data): Likewise.
28692         (atanh_test_data): Likewise.
28693         (atan2_test_data): Likewise.
28694         (cbrt_test_data): Likewise.
28695         (cos_test_data): Likewise.
28696         (cosh_test_data): Likewise.
28697         (erf_test_data): Likewise.
28698         (erfc_test_data): Likewise.
28699         (exp_test_data): Likewise.
28700         (exp10_test_data): Likewise.
28701         (exp2_test_data): Likewise.
28702         (expm1_test_data): Likewise.
28703         (hypot_test_data): Likewise.
28704         (j0_test_data): Likewise.
28705         (j1_test_data): Likewise.
28706         (jn_test_data): Likewise.
28707         (lgamma_test_data): Likewise.
28708         (log_test_data): Likewise.
28709         (log10_test_data): Likewise.
28710         (log1p_test_data): Likewise.
28711         (log2_test_data): Likewise.
28712         (pow_test_data): Likewise.
28713         (scalb_test_data): Likewise.
28714         (sin_test_data): Likewise.
28715         (sincos_test_data): Likewise.
28716         (sinh_test_data): Likewise.
28717         (tan_test_data): Likewise.
28718         (tanh_test_data): Likewise.
28719         (tgamma_test_data): Likewise.
28720         (y0_test_data): Likewise.
28721         (y1_test_data): Likewise.
28722         (yn_test_data): Likewise.
28724         [BZ #16167]
28725         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
28726         argument being NaN and avoid computations with second argument in
28727         that case.
28728         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28729         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
28730         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28732 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
28734         * locale/iso-639.def: Add Chitwani Tharu (the).
28736 2013-11-14  Andreas Schwab  <schwab@suse.de>
28738         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
28739         word instead of empty string.
28741 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28744         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
28745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28746         (__fe_nomask_env): Likewise.
28748 2013-11-13  Steve Ellcey  <sellcey@mips.com>
28750         * benchtests/bench-timing.h: Include time.h.
28752 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
28754         [BZ #15997]
28755         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
28756         to 3.4.0 for x32.
28757         * sysdeps/unix/sysv/linux/configure: Regenerated.
28759 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
28761         [BZ #16151]
28762         * stdlib/strtod_l.c (round_and_return): Do not consider
28763         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
28764         exponent one less than half the least subnormal exponent.
28765         * stdlib/test-strtod-round-data: Add more tests.
28766         * stdlib/tst-strtod-round.c (tests): Regenerated.
28768 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28770         [BZ #14143]
28771         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
28772         (__fe_mask_env): Likewise.
28773         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
28774         libm_hidden_proto and add function prototype.
28775         (__fe_mask_env): Add function prototype.
28776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28777         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
28778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28779         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
28780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28781         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
28783 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28785         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
28786         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
28788 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28790         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
28791         of htab_find_slot().
28793 2013-11-11  David S. Miller  <davem@davemloft.net>
28795         [BZ #16150]
28796         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
28797         symbol in the non-vis3 case in static builds.
28798         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
28799         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
28800         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
28801         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
28803 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
28805         [BZ #387]
28806         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
28807         it is empty.
28809 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28811         * benchtests/Makefile: Add bench-strtod.
28812         * benchtests/bench-strtod.c: New file: strtod benchtest
28814 2013-11-11  Andreas Schwab  <schwab@suse.de>
28816         [BZ #16153]
28817         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
28818         terminating NUL in key length.
28820 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28822         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
28823         Add artificial ODP entry for vDSO symbol for PPC64.
28824         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
28825         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
28827 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
28829         [BZ #15374]
28830         * nss/getent.c (services_keys): Recognize services starting with digit.
28832 2013-11-06  David S. Miller  <davem@davemloft.net>
28834         [BZ #15985]
28835         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
28836         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
28838 2013-11-06  Will Newton  <will.newton@linaro.org>
28840         * manual/memory.texi (Malloc Examples): Remove register
28841         keyword from examples.
28843 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
28845         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
28847 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
28849         [BZ #6981]
28850         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
28851         depending on [__GCC_IEC_559 > 0].
28852         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
28853         depending on [__GCC_IEC_559_COMPLEX > 0].
28855 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
28857         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
28858         to iso-639.def.
28860 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
28862         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
28864 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
28866         [BZ #16112]
28867         * malloc/malloc (malloc_info): Do not handle first bin as
28868         special case.
28870 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
28872         * locale/iso-639.def: Add Central Nahuatl (nhn).
28874 2013-11-01  Bruno Haible  <bruno@clisp.org>
28876         [BZ #7003]
28877         * manual/math.texi (BSD Random): Specify range upper bound as
28878         in POSIX.
28880 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
28882         * locale/iso-639.def: Add Meadow Mari (mhr).
28884 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
28886         [BZ #14752], [BZ #15763]
28887         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
28888         Validate name.
28889         * rt/tst_shm.c: Add test for escaping directory.
28891 2013-10-31  Andreas Schwab  <schwab@suse.de>
28893         [BZ #15917]
28894         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
28895         followed by 'x' as part of digit sequence.
28896         * stdio-common/tst-sscanf.c (double_tests2): New tests.
28898 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
28900         [BZ #16037]
28901         * configure.ac: allow GNU Make 4.0 and greater.
28902         * configure: Regenerated.
28904 2013-10-30  Will Newton  <will.newton@linaro.org>
28906         [BZ #16038]
28907         * malloc/hooks.c (memalign_check): Limit alignment to the
28908         maximum representable power of two.
28909         * malloc/malloc.c (__libc_memalign): Likewise.
28910         * malloc/tst-memalign.c (do_test): Add test for very
28911         large alignment values.
28912         * malloc/tst-posix_memalign.c (do_test): Likewise.
28914 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
28916         [BZ #11087]
28917         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
28918         (munmap_chunk): Likewise.
28919         (mremap_chunk): Likewise.
28921 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
28923         [BZ #15799]
28924         * stdlib/div.c (div): Remove obsolete code.
28925         * stdlib/ldiv.c (ldiv): Likewise.
28926         * stdlib/lldiv.c (lldiv): Likewise.
28928 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28930         [BZ #16071]
28931         * nss/nss_files/files-XXX.c (get_contents_ret): New
28932         enumerator.
28933         (get_contents): New function.
28934         (internal_getent): Use it.  Expand size of LINEBUFLEN.
28936 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
28938         * configure.in: Moved to ...
28939         * configure.ac: ... here. Change reference to configure.in
28940         to configure.ac.
28941         * sysdeps/arm/preconfigure.ac: ... here.
28942         configure.in to configure.ac.
28943         * sysdeps/gnu/configure.in: Moved to ...
28944         * sysdeps/gnu/configure.ac: ... here.
28945         * sysdeps/i386/configure.in: Moved to ...
28946         * sysdeps/i386/configure.ac: ... here.
28947         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
28948         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
28949         * sysdeps/mach/configure.in: Moved to ...
28950         * sysdeps/mach/configure.ac: ... here.
28951         * sysdeps/mach/hurd/configure.in: Moved to ...
28952         * sysdeps/mach/hurd/configure.ac: ... here.
28953         * sysdeps/powerpc/configure.in: Moved to ...
28954         * sysdeps/powerpc/configure.ac: ... here.
28955         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
28956         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
28957         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
28958         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
28959         * sysdeps/s390/s390-32/configure.in: Moved to ...
28960         * sysdeps/s390/s390-32/configure.ac: ... here.
28961         * sysdeps/s390/s390-64/configure.in: Moved to ...
28962         * sysdeps/s390/s390-64/configure.ac: ... here.
28963         * sysdeps/sh/configure.in: Moved to ...
28964         * sysdeps/sh/configure.ac: ... here.
28965         * sysdeps/sparc/configure.in: Moved to ...
28966         * sysdeps/sparc/configure.ac: ... here.
28967         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
28968         * sysdeps/unix/sysv/linux/configure.ac: ... here.
28969         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
28970         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
28971         * sysdeps/x86_64/configure.in: Moved to ...
28972         * sysdeps/x86_64/configure.ac: ... here.
28973         * sysdeps/x86_64/preconfigure.in: Moved to ...
28974         * sysdeps/x86_64/preconfigure.ac: ... here.
28975         * aclocal.m4: Change reference to configure.in to configure.ac.
28976         * config.h.in: Likewise.
28977         * manual/install.texi: Likewise.
28978         * manual/maint.texi: Likewise.
28979         * Makefile: Likewise.
28980         * malloc/Makefile: Likewise.
28981         * nscd/Makefile: Likewise.
28982         * Makeconfig: Change reference to configure.in and
28983         preconfigure.in to configure.ac and preconfigure.ac
28984         respectively.
28985         * INSTALL: Regenerated.
28986         * configure: Likewise.
28987         * sysdeps/gnu/configure: Likewise.
28988         * sysdeps/i386/configure: Likewise.
28989         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
28990         * sysdeps/mach/configure: Likewise.
28991         * sysdeps/mach/hurd/configure: Likewise.
28992         * sysdeps/powerpc/configure: Likewise.
28993         * sysdeps/powerpc/powerpc32/configure: Likewise.
28994         * sysdeps/powerpc/powerpc64/configure: Likewise.
28995         * sysdeps/s390/s390-32/configure: Likewise.
28996         * sysdeps/s390/s390-64/configure: Likewise.
28997         * sysdeps/sh/configure: Likewise.
28998         * sysdeps/sparc/configure: Likewise.
28999         * sysdeps/unix/sysv/linux/configure: Likewise.
29000         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
29001         * sysdeps/x86_64/configure: Likewise.
29002         * sysdeps/x86_64/preconfigure: Likewise.
29004 2013-10-29  Andreas Schwab  <schwab@suse.de>
29006         * stdio-common/Makefile (tst-swscanf-ENV): Define.
29008 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29010         * benchtests/pow-inputs: Add new inputs.
29012         * benchtests/exp-inputs: Add new inputs.
29014         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
29015         conditional check for return value.
29016         (__cos32): Likewise.
29018 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29020         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
29021         to provide a boost for large inputs with word alignment.
29022         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
29023         implementation based on optimized PPC64 strcpy.
29024         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
29025         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
29026         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
29027         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
29029 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29031         [BZ #2801]
29032         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
29034 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29036         [BZ #14876]
29037         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
29038         * time/tst-strptime.c (day_tests): Add testcase.
29040 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29042         [BZ #14029]
29043         * manual/pattern.texi: Acknowledge that fnmatch can fail.
29045 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
29047         [BZ #16074]
29048         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
29049         MAP_FAILED on error.
29051 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29053         [BZ #16072]
29054         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
29055         heap for large requests.
29057 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
29059         [BZ #9954]
29060         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
29061         result if the result has no associated interface.
29062         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
29063         interface for all 127.X.Y.Z addresses.
29065 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
29067         * locale/iso-639.def: Add Ligurian (lij)
29069 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
29071         [BZ #15825]
29072         * sunrpc/rpc_main.c: Document rpcgen -5.
29074 2013-10-19  Michael Stahl  <mstahl@redhat.com>
29076         * elf/rtld.c (do_preload): Print the reason why preloading failed.
29078 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29080         [BZ #10278]
29081         * posix/glob.c: Match only directories when trailing slash is present.
29082         * posix/tst-gnuglob.c (my_opendir): Do not open files.
29083         (main): Add testcase.
29085 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29087         [BZ #15670]
29088         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
29090 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
29092         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
29093         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
29094         AUTH_DES and cindex for FIPS 140-2.
29095         (DES Encryption): Add cindex FIPS 46-3.
29097         * locale/locarchive.h (struct locarhandle): Add fname.
29098         * locale/programs/localedef.c (main): Pass ARGV[remaining]
29099         if an optional argument was specified to --list-archive,
29100         otherwise NULL.
29101         * locale/programs/locarchive.c (show_archive_content): Take new
29102         argument fname and pass it via ah.fname to open_archive.
29103         * locale/programs/localedef.h: Update decl.
29104         (open_archive): If AH->fname is non-null, open that file
29105         rather than the default file name, and don't ignore ENOENT.
29106         (create_archive): Set AH.fname to NULL.
29107         (delete_locales_from_archive): Likewise.
29108         (add_locales_to_archive): Likewise.
29109         * locale/programs/locfile.c (write_all_categories): Likewise.
29111 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
29112             Aldy Hernandez  <aldyh@redhat.com>
29114         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
29115         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
29116         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
29117         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
29118         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
29119         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
29120         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
29121         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
29122         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
29123         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
29124         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
29125         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
29126         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
29127         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
29128         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
29129         Likewise.
29130         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
29131         Likewise.
29132         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
29133         Likewise.
29134         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
29135         Likewise.
29136         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
29137         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
29138         Likewise.
29139         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
29140         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
29141         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
29142         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
29143         Likewise.
29144         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
29145         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
29146         * sysdeps/powerpc/preconfigure: Likewise.
29147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
29148         Likewise.
29149         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
29150         Replace contents of file by #include of <fenv_libc.h>.
29151         * sysdeps/powerpc/soft-fp/sfp-machine.h
29152         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
29153         and <sys/prctl.h>.
29154         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
29155         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
29156         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
29157         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
29158         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
29159         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
29160         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
29161         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
29162         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
29163         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
29164         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
29165         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
29166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29167         Allow copysignl PLT reference to be missing.
29169 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
29170             Joseph Myers  <joseph@codesourcery.com
29172         [BZ #15948]
29173         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
29174         single character.
29175         (add_to_tablewc): Assert sequence of wide characters is nonempty.
29177 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29179         * elf/tst-tls-dlinfo.c: Don't include tls.h.
29180         * elf/tst-tls1.c: Likewise.
29181         * elf/tst-tls10.h: Likewise.
29182         * elf/tst-tls14.c: Likewise.
29183         * elf/tst-tls2.c: Likewise.
29184         * elf/tst-tls3.c: Likewise.
29185         * elf/tst-tls4.c: Likewise.
29186         * elf/tst-tls5.c: Likewise.
29187         * elf/tst-tls6.c: Likewise.
29188         * elf/tst-tls7.c: Likewise.
29189         * elf/tst-tls8.c: Likewise.
29190         * elf/tst-tls9.c: Likewise.
29191         * elf/tst-tlsmod1.c: Likewise.
29192         * elf/tst-tlsmod13.c: Likewise.
29193         * elf/tst-tlsmod13a.c: Likewise.
29194         * elf/tst-tlsmod14a.c: Likewise.
29195         * elf/tst-tlsmod16a.c: Likewise.
29196         * elf/tst-tlsmod16b.c: Likewise.
29197         * elf/tst-tlsmod2.c: Likewise.
29198         * elf/tst-tlsmod3.c: Likewise.
29199         * elf/tst-tlsmod4.c: Likewise.
29200         * elf/tst-tlsmod5.c: Likewise.
29201         * elf/tst-tlsmod6.c: Likewise.
29203 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
29205         [BZ #12486]
29206         * malloc/malloc.c: remove checks for statistics.
29208 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29210         [BZ #15277]
29211         * inet/inet_net.c (inet_network): Detect additional invalid strings.
29212         * inet/tst-network.c: Add testcase.
29214 2013-10-17  Andreas Schwab  <schwab@suse.de>
29216         [BZ #15218]
29217         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
29218         to determine canonical name.
29220 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29222         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
29223         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
29224         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29225         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29226         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29227         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29228         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29229         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29230         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29231         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29232         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
29233         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29234         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29235         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29236         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29237         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29238         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29239         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29240         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29241         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29242         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29243         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29244         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29245         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
29246         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
29247         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29248         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29249         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
29250         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29251         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
29252         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29253         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29254         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29255         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29256         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29257         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29258         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29259         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29260         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29261         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29262         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29263         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29264         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29265         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29266         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29267         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29268         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29269         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29270         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29271         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29272         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29273         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29274         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29275         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29276         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29277         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29278         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29279         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29281 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
29283         [BZ #16041]
29284         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
29285         make result into a quiet NaN.
29287 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
29289         * soft-fp/adddf3.c: Fix horizontal whitespace.
29290         * soft-fp/addsf3.c: Likewise.
29291         * soft-fp/addtf3.c: Likewise.
29292         * soft-fp/divdf3.c: Likewise.
29293         * soft-fp/divsf3.c: Likewise.
29294         * soft-fp/divtf3.c: Likewise.
29295         * soft-fp/double.h: Likewise.
29296         * soft-fp/eqdf2.c: Likewise.
29297         * soft-fp/eqsf2.c: Likewise.
29298         * soft-fp/eqtf2.c: Likewise.
29299         * soft-fp/extenddftf2.c: Likewise.
29300         * soft-fp/extended.h: Likewise.
29301         * soft-fp/extendsfdf2.c: Likewise.
29302         * soft-fp/extendsftf2.c: Likewise.
29303         * soft-fp/extendxftf2.c: Likewise.
29304         * soft-fp/fixdfdi.c: Likewise.
29305         * soft-fp/fixdfsi.c: Likewise.
29306         * soft-fp/fixdfti.c: Likewise.
29307         * soft-fp/fixsfdi.c: Likewise.
29308         * soft-fp/fixsfsi.c: Likewise.
29309         * soft-fp/fixsfti.c: Likewise.
29310         * soft-fp/fixtfdi.c: Likewise.
29311         * soft-fp/fixtfsi.c: Likewise.
29312         * soft-fp/fixtfti.c: Likewise.
29313         * soft-fp/fixunsdfdi.c: Likewise.
29314         * soft-fp/fixunsdfsi.c: Likewise.
29315         * soft-fp/fixunsdfti.c: Likewise.
29316         * soft-fp/fixunssfdi.c: Likewise.
29317         * soft-fp/fixunssfsi.c: Likewise.
29318         * soft-fp/fixunssfti.c: Likewise.
29319         * soft-fp/fixunstfdi.c: Likewise.
29320         * soft-fp/fixunstfsi.c: Likewise.
29321         * soft-fp/fixunstfti.c: Likewise.
29322         * soft-fp/floatdidf.c: Likewise.
29323         * soft-fp/floatdisf.c: Likewise.
29324         * soft-fp/floatditf.c: Likewise.
29325         * soft-fp/floatsidf.c: Likewise.
29326         * soft-fp/floatsisf.c: Likewise.
29327         * soft-fp/floatsitf.c: Likewise.
29328         * soft-fp/floattidf.c: Likewise.
29329         * soft-fp/floattisf.c: Likewise.
29330         * soft-fp/floattitf.c: Likewise.
29331         * soft-fp/floatundidf.c: Likewise.
29332         * soft-fp/floatundisf.c: Likewise.
29333         * soft-fp/floatunditf.c: Likewise.
29334         * soft-fp/floatunsidf.c: Likewise.
29335         * soft-fp/floatunsisf.c: Likewise.
29336         * soft-fp/floatunsitf.c: Likewise.
29337         * soft-fp/floatuntidf.c: Likewise.
29338         * soft-fp/floatuntisf.c: Likewise.
29339         * soft-fp/floatuntitf.c: Likewise.
29340         * soft-fp/fmadf4.c: Likewise.
29341         * soft-fp/fmasf4.c: Likewise.
29342         * soft-fp/fmatf4.c: Likewise.
29343         * soft-fp/gedf2.c: Likewise.
29344         * soft-fp/gesf2.c: Likewise.
29345         * soft-fp/getf2.c: Likewise.
29346         * soft-fp/ledf2.c: Likewise.
29347         * soft-fp/lesf2.c: Likewise.
29348         * soft-fp/letf2.c: Likewise.
29349         * soft-fp/muldf3.c: Likewise.
29350         * soft-fp/mulsf3.c: Likewise.
29351         * soft-fp/multf3.c: Likewise.
29352         * soft-fp/negdf2.c: Likewise.
29353         * soft-fp/negsf2.c: Likewise.
29354         * soft-fp/negtf2.c: Likewise.
29355         * soft-fp/op-1.h: Likewise.
29356         * soft-fp/op-2.h: Likewise.
29357         * soft-fp/op-4.h: Likewise.
29358         * soft-fp/op-8.h: Likewise.
29359         * soft-fp/op-common.h: Likewise.
29360         * soft-fp/quad.h: Likewise.
29361         * soft-fp/single.h: Likewise.
29362         * soft-fp/soft-fp.h: Likewise.
29363         * soft-fp/sqrtdf2.c: Likewise.
29364         * soft-fp/sqrtsf2.c: Likewise.
29365         * soft-fp/sqrttf2.c: Likewise.
29366         * soft-fp/subdf3.c: Likewise.
29367         * soft-fp/subsf3.c: Likewise.
29368         * soft-fp/subtf3.c: Likewise.
29369         * soft-fp/truncdfsf2.c: Likewise.
29370         * soft-fp/trunctfdf2.c: Likewise.
29371         * soft-fp/trunctfsf2.c: Likewise.
29372         * soft-fp/trunctfxf2.c: Likewise.
29373         * soft-fp/unorddf2.c: Likewise.
29374         * soft-fp/unordsf2.c: Likewise.
29375         * soft-fp/unordtf2.c: Likewise.
29377 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
29379         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
29380         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
29382 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
29384         * elf/dl-libc.c: Clear initfini list after freeing.
29386 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
29388         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
29389         * soft-fp/addsf3.c: Likewise.
29390         * soft-fp/addtf3.c: Likewise.
29391         * soft-fp/divdf3.c: Likewise.
29392         * soft-fp/divsf3.c: Likewise.
29393         * soft-fp/divtf3.c: Likewise.
29394         * soft-fp/double.h: Likewise.
29395         * soft-fp/eqdf2.c: Likewise.
29396         * soft-fp/eqsf2.c: Likewise.
29397         * soft-fp/eqtf2.c: Likewise.
29398         * soft-fp/extenddftf2.c: Likewise.
29399         * soft-fp/extended.h: Likewise.
29400         * soft-fp/extendsfdf2.c: Likewise.
29401         * soft-fp/extendsftf2.c: Likewise.
29402         * soft-fp/extendxftf2.c: Likewise.
29403         * soft-fp/fixdfdi.c: Likewise.
29404         * soft-fp/fixdfsi.c: Likewise.
29405         * soft-fp/fixdfti.c: Likewise.
29406         * soft-fp/fixsfdi.c: Likewise.
29407         * soft-fp/fixsfsi.c: Likewise.
29408         * soft-fp/fixsfti.c: Likewise.
29409         * soft-fp/fixtfdi.c: Likewise.
29410         * soft-fp/fixtfsi.c: Likewise.
29411         * soft-fp/fixtfti.c: Likewise.
29412         * soft-fp/fixunsdfdi.c: Likewise.
29413         * soft-fp/fixunsdfsi.c: Likewise.
29414         * soft-fp/fixunsdfti.c: Likewise.
29415         * soft-fp/fixunssfdi.c: Likewise.
29416         * soft-fp/fixunssfsi.c: Likewise.
29417         * soft-fp/fixunssfti.c: Likewise.
29418         * soft-fp/fixunstfdi.c: Likewise.
29419         * soft-fp/fixunstfsi.c: Likewise.
29420         * soft-fp/fixunstfti.c: Likewise.
29421         * soft-fp/floatdidf.c: Likewise.
29422         * soft-fp/floatdisf.c: Likewise.
29423         * soft-fp/floatditf.c: Likewise.
29424         * soft-fp/floatsidf.c: Likewise.
29425         * soft-fp/floatsisf.c: Likewise.
29426         * soft-fp/floatsitf.c: Likewise.
29427         * soft-fp/floattidf.c: Likewise.
29428         * soft-fp/floattisf.c: Likewise.
29429         * soft-fp/floattitf.c: Likewise.
29430         * soft-fp/floatundidf.c: Likewise.
29431         * soft-fp/floatundisf.c: Likewise.
29432         * soft-fp/floatunsidf.c: Likewise.
29433         * soft-fp/floatunsisf.c: Likewise.
29434         * soft-fp/floatuntidf.c: Likewise.
29435         * soft-fp/floatuntisf.c: Likewise.
29436         * soft-fp/floatuntitf.c: Likewise.
29437         * soft-fp/fmadf4.c: Likewise.
29438         * soft-fp/fmasf4.c: Likewise.
29439         * soft-fp/fmatf4.c: Likewise.
29440         * soft-fp/gedf2.c: Likewise.
29441         * soft-fp/gesf2.c: Likewise.
29442         * soft-fp/getf2.c: Likewise.
29443         * soft-fp/ledf2.c: Likewise.
29444         * soft-fp/lesf2.c: Likewise.
29445         * soft-fp/letf2.c: Likewise.
29446         * soft-fp/muldf3.c: Likewise.
29447         * soft-fp/mulsf3.c: Likewise.
29448         * soft-fp/multf3.c: Likewise.
29449         * soft-fp/negdf2.c: Likewise.
29450         * soft-fp/negsf2.c: Likewise.
29451         * soft-fp/negtf2.c: Likewise.
29452         * soft-fp/op-1.h: Likewise.
29453         * soft-fp/op-2.h: Likewise.
29454         * soft-fp/op-4.h: Likewise.
29455         * soft-fp/op-8.h: Likewise.
29456         * soft-fp/op-common.h: Likewise.
29457         * soft-fp/quad.h: Likewise.
29458         * soft-fp/single.h: Likewise.
29459         * soft-fp/soft-fp.h: Likewise.
29460         * soft-fp/sqrtdf2.c: Likewise.
29461         * soft-fp/sqrtsf2.c: Likewise.
29462         * soft-fp/sqrttf2.c: Likewise.
29463         * soft-fp/subdf3.c: Likewise.
29464         * soft-fp/subsf3.c: Likewise.
29465         * soft-fp/subtf3.c: Likewise.
29466         * soft-fp/truncdfsf2.c: Likewise.
29467         * soft-fp/trunctfdf2.c: Likewise.
29468         * soft-fp/trunctfsf2.c: Likewise.
29469         * soft-fp/trunctfxf2.c: Likewise.
29470         * soft-fp/unorddf2.c: Likewise.
29471         * soft-fp/unordsf2.c: Likewise.
29472         * soft-fp/unordtf2.c: Likewise.
29474 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
29476         [BZ #15672]
29477         * misc/error.c (error_tail): Fix possible buffer overflow.
29479 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
29481         [BZ #13028]
29482         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
29483         address.
29485 2013-10-14  P. J. McDermott  <pj@pehjota.net>
29487         [BZ #832]
29488         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
29489         testing pipefail option.
29491 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
29493         * soft-fp/double.h: Indent preprocessor directives inside #if.
29494         * soft-fp/extended.h: Likewise.
29495         * soft-fp/op-2.h: Likewise.
29496         * soft-fp/op-4.h: Likewise.
29497         * soft-fp/op-common.h: Likewise.
29498         * soft-fp/quad.h: Likewise.
29499         * soft-fp/single.h: Likewise.
29500         * soft-fp/soft-fp.h: Likewise.
29502 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
29504         * iconv/iconv_prog.c: Fix typos.
29505         * stdio-common/psiginfo-data.h: Likewise.
29507 2013-10-12   Reuben Thomas <rrt@sc3d.org>
29509         [BZ #15764]
29510         * locale/setlocale.c: Fix typo.
29512 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
29514         [BZ #16036]
29515         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
29516         signaling NaN arguments.
29517         * soft-fp/unordsf2.c (__unordsf2): Likewise.
29518         * soft-fp/unordtf2.c (__unordtf2): Likewise.
29520         [BZ #14910]
29521         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
29522         unordered operands.
29523         * soft-fp/gesf2.c (__gesf2): Likewise.
29524         * soft-fp/getf2.c (__getf2): Likewise.
29525         * soft-fp/ledf2.c (__ledf2): Likewise.
29526         * soft-fp/lesf2.c (__lesf2): Likewise.
29527         * soft-fp/letf2.c (__letf2): Likewise.
29529         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
29530         * soft-fp/eqsf2.c (__eqsf2): Likewise.
29531         * soft-fp/eqtf2.c (__eqtf2): Likewise.
29532         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
29533         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
29534         * soft-fp/fixdfti.c (__fixdfti): Likewise.
29535         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
29536         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
29537         * soft-fp/fixsfti.c (__fixsfti): Likewise.
29538         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
29539         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
29540         * soft-fp/fixtfti.c (__fixtfti): Likewise.
29541         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
29542         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
29543         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
29544         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
29545         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
29546         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
29547         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
29548         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
29549         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
29550         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
29551         * soft-fp/floatdisf.c (__floatdisf): Likewise.
29552         * soft-fp/floatsisf.c (__floatsisf): Likewise.
29553         * soft-fp/floattidf.c (__floattidf): Likewise.
29554         * soft-fp/floattisf.c (__floattisf): Likewise.
29555         * soft-fp/floattitf.c (__floattitf): Likewise.
29556         * soft-fp/floatundidf.c (__floatundidf): Likewise.
29557         * soft-fp/floatundisf.c (__floatundisf): Likewise.
29558         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
29559         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
29560         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
29561         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
29562         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
29563         * soft-fp/gesf2.c (__gesf2): Likewise.
29564         * soft-fp/getf2.c (__getf2): Likewise.
29565         * soft-fp/ledf2.c (__ledf2): Likewise.
29566         * soft-fp/lesf2.c (__lesf2): Likewise.
29567         * soft-fp/letf2.c (__letf2): Likewise.
29569         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
29570         Undefine and redefine.
29571         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
29572         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
29573         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
29574         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
29575         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29576         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
29577         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29578         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
29579         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29580         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
29581         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29582         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
29583         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29584         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
29585         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29587         [BZ #16032]
29588         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
29589         without decrementing exponent if mantissa >= that for the
29590         denominator, not >.
29591         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
29592         denominator, not >.  Decrement exponent in < case instead of
29593         incrementing in >= case.
29594         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
29595         without decrementing exponent if mantissa >= that for the
29596         denominator, not >.
29598         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
29599         computing saturated result for unsigned overflow.
29601 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29602             Jeff Law  <law@redhat.com>
29604         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
29605         (atan2Mp): Add systemtap probe marker.
29606         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
29607         (__ieee754_log): Add systemtap probe marker.
29608         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
29609         (atanMp): Add systemtap probe marker.
29610         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
29611         (tanMp): Add systemtap probe marker.
29612         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
29613         (__slowexp): Add systemtap probe marker.
29614         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
29615         (__slowpow): Add systemtap probe marker.
29616         * manual/probes.texi: Document probes.
29618 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
29620         [BZ #15362]
29621         * libio/fileops.c (_IO_new_file_write): Return count of bytes
29622         written.
29623         (_IO_new_file_xsputn): Don't return EOF if nothing has been
29624         written.
29625         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
29626         written to buffer but not flushed.
29627         * libio/iofwrite_u.c:  Likewise.
29628         * libio/iopadn.c:  Return bytes returned even if EOF was
29629         encountered.
29630         * libio/iowpadn.c:  Likewise.
29631         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
29632         if _IO_padn does not write the whole buffer.
29633         [!COMPILE_WPRINTF] (PAD): Likewise.
29635 2013-10-10  David S. Miller  <davem@davemloft.net>
29637         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
29638         directory block.
29640 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
29642         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
29643         instead of FSF address.
29644         * soft-fp/fixdfti.c: Likewise.
29645         * soft-fp/fixsfti.c: Likewise.
29646         * soft-fp/fixtfti.c: Likewise.
29647         * soft-fp/fixunsdfti.c: Likewise.
29648         * soft-fp/fixunssfti.c: Likewise.
29649         * soft-fp/fixunstfti.c: Likewise.
29650         * soft-fp/floattidf.c: Likewise.
29651         * soft-fp/floattisf.c: Likewise.
29652         * soft-fp/floattitf.c: Likewise.
29653         * soft-fp/floatuntidf.c: Likewise.
29654         * soft-fp/floatuntisf.c: Likewise.
29655         * soft-fp/floatuntitf.c: Likewise.
29656         * soft-fp/trunctfxf2.c: Likewise.
29658         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
29659         * soft-fp/fixdfti.c: Likewise.
29660         * soft-fp/fixsfti.c: Likewise.
29661         * soft-fp/fixtfti.c: Likewise.
29662         * soft-fp/fixunsdfti.c: Likewise.
29663         * soft-fp/fixunssfti.c: Likewise.
29664         * soft-fp/fixunstfti.c: Likewise.
29665         * soft-fp/floattidf.c: Likewise.
29666         * soft-fp/floattisf.c: Likewise.
29667         * soft-fp/floattitf.c: Likewise.
29668         * soft-fp/floatuntidf.c: Likewise.
29669         * soft-fp/floatuntisf.c: Likewise.
29670         * soft-fp/floatuntitf.c: Likewise.
29671         * soft-fp/trunctfxf2.c: Likewise.
29673 2013-10-10  David S. Miller  <davem@davemloft.net>
29675         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29677 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
29679         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
29680         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
29681         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
29682         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
29683         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
29684         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
29685         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
29687         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
29688         for NaNs before doing comparisons on argument.
29689         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
29690         Likewise.
29692 2013-10-10  Will Newton  <will.newton@linaro.org>
29694         * malloc/hooks.c (memalign_check): Ensure the value of bytes
29695         passed to _int_memalign does not overflow.
29697 2013-10-10  Torvald Riegel  <triegel@redhat.com>
29699         * scripts/bench.pl: Add include-sources directive.
29700         * benchtests/README: Update documentation.
29702 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
29704         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
29705         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
29706         instead of FP_INIT_ROUNDMODE.
29707         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
29708         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
29710         [BZ #16034]
29711         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
29712         copy class of input value.
29713         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
29714         not handle exceptions.
29715         * soft-fp/negsf2.c (__negsf2): Likewise.
29716         * soft-fp/negtf2.c (__negtf2): Likewise.
29717         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
29719 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
29721         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
29722         semicolon.  From Linux kernel.
29724 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
29726         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
29728 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
29730         [BZ #156]
29731         * manual/socket.texi: Added statement about buffer
29732         for gethostbyname2_r.
29734 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
29736         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
29737         Use .p2align directive instead, throughout.
29738         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29739         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
29740         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
29741         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29742         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29743         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
29744         * sysdeps/x86_64/strchr.S: Likewise.
29745         * sysdeps/x86_64/strrchr.S: Likewise.
29747 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29749         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
29751         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
29753         * sysdeps/generic/math_private.h (__mpsin1): Remove
29754         declaration.
29755         (__mpcos1): Likewise.
29756         (__mpsin): New argument __range_reduce.
29757         (__mpcos): Likewise.
29758         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29759         (slow): Use __mpsin and __mpcos.
29760         (slow1): Likewise.
29761         (slow2): Likewise.
29762         (sloww): Likewise.
29763         (sloww1): Likewise.
29764         (sloww2): Likewise.
29765         (bsloww): Likewise.
29766         (bsloww1): Likewise.
29767         (bsloww2): Likewise.
29768         (cslow2): Likewise.
29769         (csloww): Likewise.
29770         (csloww1): Likewise.
29771         (csloww2): Likewise.
29772         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
29773         range_reduce.  Merge in __mpsin1.
29774         (__mpcos): Likewise.
29775         (__mpsin1): Remove.
29776         (__mpcos1): Likewise.
29778 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
29780         * locale/loadlocale.c (_nl_intern_locale_data): Use
29781         LOCFILE_ALIGNED_P.
29782         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
29783         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
29784         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
29785         obstack data is appropriately aligned.
29786         (obstack_int32_grow_fast): Likewise.
29787         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
29788         * locale/programs/locfile.c (add_locale_uint32): Likewise.
29789         (add_locale_uint32_array): Likewise.
29791 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29793         * benchtests/Makefile: Remove ARGLIST and RET variables.
29794         ($(objpfx)bench-%.c): Pass only function name to the script.
29795         * benchtests/README: Update documentation.
29796         * benchtests/acos-inputs: Add new directives.
29797         * benchtests/acosh-inputs: Likewise.
29798         * benchtests/asin-inputs: Likewise.
29799         * benchtests/asinh-inputs: Likewise.
29800         * benchtests/atan-inputs: Likewise.
29801         * benchtests/atanh-inputs: Likewise.
29802         * benchtests/cos-inputs: Likewise.
29803         * benchtests/cosh-inputs: Likewise.
29804         * benchtests/exp-inputs: Likewise.
29805         * benchtests/log-inputs: Likewise.
29806         * benchtests/pow-inputs: Likewise.
29807         * benchtests/rint-inputs: Likewise.
29808         * benchtests/sin-inputs: Likewise.
29809         * benchtests/sinh-inputs: Likewise.
29810         * benchtests/tan-inputs: Likewise.
29811         * benchtests/tanh-inputs: Likewise.
29812         * scripts/bench.pl: Add support for new directives.
29814 2013-10-07  Alan Modra  <amodra@gmail.com>
29816         * README: Fix careless merge.
29818 2013-10-05  Alan Modra  <amodra@gmail.com>
29820         * NEWS: Mention powerpc64le support and bugs fixed.
29821         * README: Both big-endian and little-endian powerpc64 supported.
29823 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29825         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
29826         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
29827         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
29828         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
29830 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
29832         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
29833         match prototype.
29835 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
29837         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
29838         Move -mhard-float appending from
29839         ports/sysdeps/powerpc/powerpc32/Makefile.
29840         [$(with-fp) = yes] (ASFLAGS): Likewise.
29841         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
29842         * sysdeps/powerpc/nofpu: Move directory from
29843         ports/sysdeps/powerpc/nofpu.
29844         * sysdeps/powerpc/soft-fp: Move directory from
29845         ports/sysdeps/powerpc/soft-fp.
29846         * sysdeps/powerpc/powerpc32/405: Move directory from
29847         ports/sysdeps/powerpc/powerpc32/405.
29848         * sysdeps/powerpc/powerpc32/440: Move directory from
29849         ports/sysdeps/powerpc/powerpc32/440.
29850         * sysdeps/powerpc/powerpc32/464: Move directory from
29851         ports/sysdeps/powerpc/powerpc32/464.
29852         * sysdeps/powerpc/powerpc32/476: Move directory from
29853         ports/sysdeps/powerpc/powerpc32/476.
29854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
29855         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
29856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
29857         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
29858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
29859         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
29860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
29861         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
29862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
29863         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
29864         * README: Update for powerpc-*-linux-gnu software floating point
29865         support in libc.
29867         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
29868         case to powerpc/powerpc32*.
29869         * sysdeps/unix/sysv/linux/configure: Regenerated.
29871         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
29872         (_FPU_MASK_OM): Define as 0x04.
29873         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
29874         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
29875         0x00c10080.
29876         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
29877         0x0000003c.
29878         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
29880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
29881         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
29882         getcontext_e500.
29883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
29884         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
29885         setcontext_e500.
29886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
29887         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
29888         and setcontext_e500.
29890 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
29892         * locale/iso-3166.def: Update iso-1366.def and related occurrences
29894 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29896         * manual/threads.texi (Default Thread Attributes): Fix typo.
29898 2013-10-04  Will Newton  <will.newton@linaro.org>
29900         * malloc/Makefile: Add tst-memalign.
29901         * malloc/tst-memalign.c: New file.
29903         * malloc/tst-posix_memalign.c: Add comments.
29904         (do_test): Add comments and call free on all potentially
29905         allocated pointers. Add space after cast.
29907         * malloc/tst-pvalloc.c: Add comments.
29908         (do_test): Add comments and call free on all potentially
29909         allocated pointers. Remove duplicate check for NULL pointer.
29910         Add space after cast.
29912         * malloc/tst-valloc.c: Add comments.
29913         (do_test): Add comments and call free on all potentially
29914         allocated pointers. Remove duplicate check for NULL pointer.
29915         Add space after cast.
29917 2013-10-04  Alan Modra  <amodra@gmail.com>
29919         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
29920         Use stdint types in rather than __attribute__((mode())).
29921         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29923 2013-10-04  Alan Modra  <amodra@gmail.com>
29925         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
29926         Correct handling of unaligned relocs for little-endian.
29927         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29929 2013-10-04  Alan Modra  <amodra@gmail.com>
29931         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
29932         * configure: Regenerate.
29933         * nptl/shlib-versions: Powerpc*le starts at 2.18.
29934         * shlib-versions: Likewise.
29936 2013-10-04  Alan Modra  <amodra@gmail.com>
29938         * string/tester.c (test_memrchr): Increment reported test cycle.
29940 2013-10-04  Alan Modra  <amodra@gmail.com>
29942         * string/test-memcpy.c (do_one_test): When reporting errors, print
29943         string address and don't overrun end of string.
29945 2013-10-04  Alan Modra  <amodra@gmail.com>
29947         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
29948         insrdi.  Make better use of reg selection to speed exit slightly.
29949         Schedule entry path a little better.  Remove useless "are we done"
29950         checks on entry to main loop.  Handle wrapping around zero address.
29951         Correct main loop count.  Handle single left-over word from main
29952         loop inline rather than by using loop_small.  Remove extra word
29953         case in loop_small caused by wrong loop count.  Add little-endian
29954         support.
29955         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
29956         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
29957         cache hint.
29958         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
29959         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
29960         support.  Avoid rlwimi.
29961         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
29963 2013-10-04  Alan Modra  <amodra@gmail.com>
29965         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
29966         insrdi.  Formatting.
29967         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
29968         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29969         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
29970         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
29971         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29972         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
29974 2013-10-04  Alan Modra  <amodra@gmail.com>
29976         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
29977         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29978         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
29979         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
29980         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
29981         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29982         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29983         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29984         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
29985         use of regs.  Use power7 mtocrf.  Tidy function tails.
29987 2013-10-04  Alan Modra  <amodra@gmail.com>
29989         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
29990         Formatting.  Consistently use rXXX register defines or rN defines.
29991         Use early exit labels that avoid restoring unused non-volatile regs.
29992         Make cr field use more consistent with rWORDn compares.  Rename
29993         regs used as shift registers for unaligned loop, using rN defines
29994         for short lifetime/multiple use regs.
29995         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29996         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
29997         addi 1,1,64 to pop stack frame.  Simplify return value code.
29998         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30000 2013-10-04  Alan Modra  <amodra@gmail.com>
30002         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
30003         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
30004         rather than rlwimi.
30005         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
30006         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
30007         little-endian support.  Correct typos.
30008         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
30009         rather than rlwimi.
30010         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
30011         in loop and entry code to keep "and." results.
30012         (strchr): Add little-endian support.  Comment.  Move cntlzd
30013         earlier in tail.
30014         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
30016 2013-10-04  Alan Modra  <amodra@gmail.com>
30018         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
30019         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
30020         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
30021         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
30023 2013-10-04  Alan Modra  <amodra@gmail.com>
30025         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
30026         (rTMP): Define as r11.
30027         (strcmp): Add little-endian support.  Optimise tail.
30028         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
30029         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30030         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30031         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30032         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30033         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30034         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30036 2013-10-04  Alan Modra  <amodra@gmail.com>
30038         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
30039         little-endian support.  Remove unnecessary "are we done" tests.
30040         Handle "s" wrapping around zero and extremely large "size".
30041         Correct main loop count.  Handle single left-over word from main
30042         loop inline rather than by using small_loop.  Correct comments.
30043         Delete "zero" tail, use "end_max" instead.
30044         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
30046 2013-10-04  Alan Modra  <amodra@gmail.com>
30048         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
30049         support.  Don't branch over align.
30050         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
30051         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
30052         support.  Rearrange tmp reg use to suit.  Comment.
30053         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
30055 2013-10-04  Alan Modra  <amodra@gmail.com>
30057         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
30059 2013-10-04  Alan Modra  <amodra@gmail.com>
30061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
30062         conditional form of branch and link when obtaining pc.
30063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
30065 2013-10-04  Alan Modra  <amodra@gmail.com>
30067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
30068         HIWORD/LOWORD.
30069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
30070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
30072 2013-10-04  Alan Modra  <amodra@gmail.com>
30074         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
30075         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
30076         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
30077         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
30078         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30079         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30080         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
30081         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30082         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
30083         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
30085 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30086             Alistair Popple <alistair@ozlabs.au.ibm.com>
30087             Alan Modra <amodra@gmail.com>
30089         [BZ #15723]
30090         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
30091         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
30092         _dl_hwcap access for little-endian.
30093         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
30094         destroy vmx regs when saving unaligned.
30095         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
30096         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
30097         destroy vmx regs when saving unaligned.
30099 2013-10-04  Alan Modra  <amodra@gmail.com>
30101         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
30102         Don't use a union to pack hi/low value.
30104 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30106         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
30107         for little-endian.
30108         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30109         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
30110         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30111         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30112         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30114 2013-10-04  Alan Modra  <amodra@gmail.com>
30116         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
30117         constants to usual value for .cst8 section, and remove redundant
30118         high address load.
30119         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
30120         constant for 0x1p52.  Load little-endian words of double from
30121         correct stack offsets.
30123 2013-10-04  Alan Modra  <amodra@gmail.com>
30125         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
30126         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
30127         words of double from correct stack offsets.
30128         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
30129         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
30130         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30131         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30132         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30133         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30134         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30135         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
30136         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
30137         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30138         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30139         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30140         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30141         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30142         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30143         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
30144         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
30146 2013-10-04  Alan Modra  <amodra@gmail.com>
30148         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
30149         64-bit int/double union.
30150         (_FPU_SETCW): Likewise.
30151         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
30152         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
30154 2013-10-04  Alan Modra  <amodra@gmail.com>
30156         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
30157         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
30159 2013-10-04  Alan Modra  <amodra@gmail.com>
30161         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
30162         use vector int constants.
30163         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
30165 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30167         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
30168         array with long long.
30169         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
30170         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
30171         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
30172         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
30173         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
30174         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
30175         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
30176         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
30177         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
30178         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
30179         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
30180         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
30181         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
30183 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30185         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
30186         (__signbit): Likewise.  Correct for little-endian.
30187         (__signbitl): Call __signbit.
30188         (lrint): Correct for little-endian.
30189         (lrintf): Call lrint.
30191 2013-10-04  Alan Modra  <amodra@gmail.com>
30193         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
30194         union 32-bit int array member with 64-bit int array.
30195         (t515, tm256): Double rather than long double.
30196         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
30198 2013-10-04  Alan Modra  <amodra@gmail.com>
30200         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
30201         Delete.
30202         (IEEE854_LONG_DOUBLE_BIAS): Delete.
30203         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
30204         version of math_ldbl.h.
30206 2013-10-04  Alan Modra  <amodra@gmail.com>
30208         [BZ #15734], [BZ #15735]
30209         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
30210         all uses of ieee875 long double macros and unions.  Simplify test
30211         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
30212         ldbl_extract_mantissa value for ix,iy exponents.  Properly
30213         normalize after ldbl_extract_mantissa, and don't add hidden bit
30214         already handled.  Don't treat low word of ieee854 mantissa like
30215         low word of IBM long double and mask off bit when testing for
30216         zero.
30217         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
30218         all uses of ieee875 long double macros and unions.  Simplify tests
30219         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
30220         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
30221         two1022, instead use their values.  Recognise that tests for large
30222         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
30223         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
30224         Rewrite all uses of ieee875 long double macros and unions.  Simplify
30225         test for 0.0L and nan.  Correct negation.
30226         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
30227         ieee875 long double macros and unions.  Correct output for large
30228         magnitude x.  Correct absolute value calculation.
30229         (__erfcl): Likewise.
30230         * math/libm-test.inc: Add tests for errors discovered in IBM long
30231         double versions of fmodl, remainderl, erfl and erfcl.
30233 2013-10-04  Alan Modra  <amodra@gmail.com>
30235         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
30236         all uses of ieee854 long double macros and unions.  Simplify tests
30237         for long doubles that are fully specified by the high double.
30238         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30239         Likewise.
30240         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
30241         Remove dead code too.
30242         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
30243         (__ieee754_ynl): Likewise.
30244         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
30245         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
30246         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
30247         Remove dead code too.
30248         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
30249         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
30250         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
30251         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
30252         Simplify.
30253         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
30254         Simplify.
30255         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
30256         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
30257         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
30258         Comment on variable precision.
30259         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
30260         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30261         Likewise.
30262         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
30263         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30264         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30265         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30266         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
30268 2013-10-04  Alan Modra  <amodra@gmail.com>
30270         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
30271         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
30272         all uses of ieee854 long double macros and unions.
30273         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
30274         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30275         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
30276         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
30277         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
30278         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30279         Likewise.
30280         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
30281         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
30282         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
30283         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30284         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30285         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30286         Simplify sign and nan test too.
30287         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
30288         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
30289         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
30290         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
30291         Likewise.
30292         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30293         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
30294         Likewise.
30295         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30296         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
30297         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
30298         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
30299         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
30300         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
30302 2013-10-04  Alan Modra  <amodra@gmail.com>
30304         * stdio-common/printf_size.c (__printf_size): Don't use
30305         union ieee854_long_double in fpnum union.
30306         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
30307         signbit macro to retrieve sign from long double.
30308         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
30309         retrieve sign from long double.
30310         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
30311         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
30312         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
30313         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30314         * math/test-misc.c (main): Don't use union ieee854_long_double.
30316 2013-10-04  Alan Modra  <amodra@gmail.com>
30318         [BZ #15680]
30319         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
30320         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
30321         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
30322         calculation.  Remove unnecessary test for denormal exponent.
30323         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
30324         Correct handling of denormals.  Avoid undefined shift behaviour.
30325         Correct normalisation of low mantissa when low double is denormal.
30326         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
30327         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
30328         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
30329         Correct normalisation of low mantissa.  Test for overflow of high
30330         mantissa and normalise.
30331         (ldbl_nearbyint): Use more readable constant for two52.
30332         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
30333         (__mpn_construct_long_double): Fix test for overflow of high
30334         mantissa and correct normalisation.  Avoid undefined shift.
30336 2013-10-04  Alan Modra  <amodra@gmail.com>
30338         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30339         (union ibm_extended_long_double): Define as an array of ieee754_double.
30340         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
30341         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
30342         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
30343         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30344         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30345         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
30346         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30347         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30348         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30349         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
30350         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30352 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
30354         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
30355         page size instead of calling getpagesize.
30357         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
30358         (LOCFILE_ALIGN_MASK): Likewise.
30359         (LOCFILE_ALIGN_UP): Likewise.
30360         (LOCFILE_ALIGNED_P): Likewise.
30361         * locale/programs/ld-collate.c (collate_output): Use the new
30362         macros instead of __alignof__ (int32_t).
30363         * locale/weight.h (findidx): Likewise.
30365 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
30367         [BZ #431]
30368         * manual/string.texi: Fix strncat and wcsncat.
30370 2013-10-03  Brooks Moses  <bmoses@google.com>
30372         [BZ #15915]
30373         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
30374         * Makerules: ...here, and adjust associated comments.
30376 2013-10-02  Will Newton  <will.newton@linaro.org>
30378         * malloc/Makefile: Add tst-pvalloc.
30379         * malloc/tst-pvalloc.c: New file.
30381 2013-10-02  Will Newton  <will.newton@linaro.org>
30383         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
30384         improve test coverage.
30386 2013-10-02  Will Newton  <will.newton@linaro.org>
30388         * malloc/Makefile: Add tst-posix_memalign.
30389         * malloc/tst-posix_memalign.c: New file.
30391 2013-10-01  Eric Blake  <eblake@redhat.com>
30393         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
30394         Use __THROWNL rather than __THROW on static functions.
30396 2013-09-30  Petr Machata  <pmachata@redhat.com>
30398         * elf/elf.h (R_AARCH64_ABS16): New macro.
30399         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
30400         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
30401         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
30402         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
30403         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
30404         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
30405         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
30406         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
30407         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
30408         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
30409         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
30410         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
30411         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
30412         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
30413         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
30414         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
30415         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
30416         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
30417         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
30418         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
30419         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
30420         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
30421         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
30422         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
30423         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
30424         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
30425         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
30426         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
30427         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
30428         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
30429         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
30430         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
30431         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
30432         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
30433         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
30434         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
30435         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
30436         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
30437         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
30438         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
30439         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
30440         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
30441         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
30442         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
30443         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
30444         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
30445         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
30446         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
30447         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
30448         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
30449         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
30450         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
30451         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
30452         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
30453         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
30454         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
30455         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
30456         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
30457         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
30458         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
30459         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
30460         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
30461         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
30462         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
30463         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
30464         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
30465         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
30466         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
30467         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
30468         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
30469         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
30470         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
30471         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
30472         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
30473         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
30474         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
30475         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
30476         (R_AARCH64_TLSDESC_LDR): Likewise.
30477         (R_AARCH64_TLSDESC_ADD): Likewise.
30478         (R_AARCH64_TLSDESC_CALL): Likewise.
30480 2013-09-30  Andreas Schwab  <schwab@suse.de>
30482         [BZ #15048]
30483         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
30484         the nss database lookup.
30485         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30486         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30488 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
30490         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
30492 2013-09-28  P. J. McDermott  <pj@pehjota.net>
30494         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
30495         ${Bash-specific parameter/pattern/string} parameter expansion.
30496         * sysdeps/unix/make-syscalls.sh: Likewise.
30498 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30500         * sysdeps/sh/stackguard-macros.h: New file.
30502 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
30504         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
30505         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
30506         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
30507         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
30508         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30509         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
30511 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30513         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
30514         Fix thread ID register.
30516 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
30518         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
30519         [POSIX || UNIX98]: Require rather than permitting all symbols from
30520         <time.h>.
30521         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
30522         element of struct sched_param.
30523         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
30524         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
30525         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
30526         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
30527         constant.
30529 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
30531         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
30532         argument calculation.
30534 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
30536         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
30537         Expect macro.
30538         [POSIX] (pthread_attr_t): Do not require type.
30539         [POSIX] (pthread_cond_t): Likewise.
30540         [POSIX] (pthread_condattr_t): Likewise.
30541         [POSIX] (pthread_key_t): Likewise.
30542         [POSIX] (pthread_mutex_t): Likewise.
30543         [POSIX] (pthread_mutexattr_t): Likewise.
30544         [POSIX] (pthread_once_t): Likewise.
30545         [POSIX] (pthread_t): Likewise.
30546         [POSIX-based standards] (pthread_atfork): Expect function.
30548 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
30549             Richard Sandiford  <richard@codesourcery.com>
30551         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
30552         (swap_endianness_p): New extern variable.
30553         (set_big_endian): New inline function.
30554         (maybe_swap_uint32): Likewise.
30555         (maybe_swap_uint32_array): Likewise.
30556         (maybe_swap_uint32_obstack): Likewise.
30557         * locale/programs/locfile.c: Include <stdbool.h>.
30558         (swap_endianness_p): New variable.
30559         (add_locale_uint32): Call maybe_swap_uint32.
30560         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
30561         (write_locale_data): Call maybe_swap_uint32_array.
30562         * locale/programs/ld-collate.c (obstack_int32_grow): Call
30563         maybe_swap_uint32.
30564         (obstack_int32_grow_fast): Likewise.
30565         (output_weightwc): Call maybe_swap_uint32_obstack.
30566         (collate_output): Likewise.
30567         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
30568         (OPT_LITTLE_ENDIAN): Likewise.
30569         (options): Add --little-endian and --big-endian options.
30570         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
30571         * locale/programs/locarchive.c: Include "locfile.h".
30572         (GET): New macro.
30573         (SET): Likewise.
30574         (INC): Likewise.
30575         (create_archive): Use the new macros to access fields of
30576         structures directly mapped from or written to locale archives.
30577         (oldlocrecentcmp): Likewise.
30578         (enlarge_archive): Likewise.
30579         (insert_name): Likewise.
30580         (add_alias): Likewise.
30581         (add_locale): Likewise.
30582         (delete_locales_from_archive): Likewise.
30583         (show_archive_content): Likewise.
30584         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
30585         locale data.
30587 2013-09-24  Roland McGrath  <roland@hack.frob.com>
30589         * manual/freemanuals.texi: Updated from (newly) canonical copy at
30590         http://www.gnu.org/doc/freemanuals.texi.
30591         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
30593 2013-09-24  Will Newton  <will.newton@linaro.org>
30595         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
30596         macro.
30598 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
30600         * locale/hashval.h (compute_hashval): Interpret bytes of key as
30601         unsigned char.
30603 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
30605         * manual/threads.texi (POSIX Threads): Fix a typo.
30607 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30609         [BZ #14547]
30610         * string/tst-strcoll-overflow.c: New test case.
30611         * string/Makefile (xtests): Add tst-strcoll-overflow.
30612         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
30613         cache if string sizes may cause integer overflow.
30615         [BZ #14547]
30616         * string/strcoll_l.c (coll_seq): New members rule, idx,
30617         save_idx and back_us.
30618         (get_next_seq_nocache): New function.
30619         (do_compare_nocache): New function.
30620         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
30621         when malloc fails.
30623 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
30625         [BZ #15754]
30626         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
30627         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
30628         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
30630         [BZ #15754]
30631         * elf/Makefile (tests): Add tst-ptrguard1.
30632         (tests-static): Add tst-ptrguard1-static.
30633         (tst-ptrguard1-ARGS): Define.
30634         (tst-ptrguard1-static-ARGS): Define.
30635         * elf/tst-ptrguard1.c: New file.
30636         * elf/tst-ptrguard1-static.c: New file.
30637         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
30638         * sysdeps/i386/stackguard-macros.h: Likewise.
30639         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30640         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30641         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30642         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30643         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30644         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30646 2013-09-23  Hector Marco  <hecmargi@upv.es>
30647             Ismael Ripoll  <iripoll@disca.upv.es>
30648             Carlos O'Donell  <carlos@redhat.com>
30650         [BZ #15754]
30651         * sysdeps/generic/stackguard-macros.h: Define
30652         __pointer_chk_guard_local and POINTER_CHK_GUARD.
30653         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
30654         Define __pointer_chk_guard_local.
30655         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
30656         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
30658 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
30660         [BZ #15859]
30661         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
30663 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
30665         * include/string.h (__ffs): Declare as hidden.
30666         * string/ffs.c (__ffs): Define as hidden.
30667         * sysdeps/i386/ffs.c (__ffs): Likewise.
30668         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
30669         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
30670         * sysdeps/s390/ffs.c (__ffs): Likewise.
30671         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
30673 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
30675         * NEWS: Mention malloc probes.
30677         * malloc/arena.c (new_heap): New memory_heap_new probe.
30678         (grow_heap): New memory_heap_more probe.
30679         (shrink_heap): New memory_heap_less probe.
30680         (heap_trim): New memory_heap_free probe.
30681         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
30682         (systrim): New memory_sbrk_less probe.
30683         * manual/probes.texi: Document them.
30685         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
30686         * manual/probes.texi: Document it.
30688         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
30689         (__libc_realloc): Add memory_realloc_retry probe.
30690         (__libc_memalign): Add memory_memalign_retry probe.
30691         (__libc_valloc): Add memory_valloc_retry probe.
30692         (__libc_pvalloc): Add memory_pvalloc_retry probe.
30693         (__libc_calloc): Add memory_calloc_retry probe.
30694         * manual/probes.texi: Document them.
30696         * malloc/arena.c (get_free_list): Add probe
30697         memory_arena_reuse_free_list.
30698         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
30699         and memory_arena_reuse.
30700         (arena_get2) [!PER_THREAD]: Likewise.
30701         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
30702         memory_arena_reuse_realloc.
30703         * manual/probes.texi: Document them.
30705         * malloc/malloc.c (__libc_free): Add
30706         memory_mallopt_free_dyn_thresholds probe.
30707         (__libc_mallopt): Add multiple memory_mallopt probes.
30708         * manual/probes.texi: Document them.
30710         * malloc/malloc.c: Include stap-probe.h.
30711         (__libc_mallopt): Add memory_mallopt probe.
30712         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
30713         * manual/probes.texi: New.
30714         * manual/Makefile (chapters): Add probes.
30715         * manual/threads.texi: Set next node.
30717 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
30719         [BZ #15963, #13985]
30720         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
30721         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
30722         Add `Chinese' to `nan' entry name.
30724 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30726         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
30727         (POLYNOMIAL): Likewise.
30728         (TAYLOR_SINCOS): Likewise.
30729         (TAYLOR_SLOW): Likewise.
30730         (__sin): Use TAYLOR_SINCOS.
30731         (__cos): Likewise.
30732         (slow): Use TAYLOR_SLOW.
30733         (sloww): Likewise.
30734         (bsloww): Likewise.
30735         (csloww): Likewise.
30737 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30739         * stdlib/strtod_l.c: Fix buffer overrun.
30741 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30743         * benchtests/Makefile (bench): Add sincos.
30744         * benchtests/bench-sincos.c: New file.
30746         * math/libm-test.inc (cos_test_data): New test inputs.
30747         (sin_test_data): Likewise.
30749         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
30750         macro.
30751         (__sin): Use it.
30752         (__cos): Likewise.
30753         (slow1): Likewise.
30754         (slow2): Likewise.
30755         (sloww1): Likewise.
30756         (sloww2): Likewise.
30757         (bsloww1): Likewise.
30758         (bsloww2): Likewise.
30759         (cslow2): Likewise.
30760         (csloww1): Likewise.
30761         (csloww2): Likewise.
30763         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
30764         function.
30765         (__sin): Use it.
30766         (__cos): Likewise.
30768         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
30769         gotos.
30770         (__cos): Likewise.
30772 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
30774         * config.h.in (HAVE_MIPS_NAN2008): New macro.
30775         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
30776         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
30777         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
30778         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
30779         * elf/cache.c (print_entry): Handle the new cache flags.
30781 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
30782             Aldy Hernandez  <aldyh@redhat.com>
30784         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
30785         Change condition to [_SOFT_FLOAT].
30786         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
30787         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
30788         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
30789         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
30790         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
30791         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
30792         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
30793         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
30794         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
30795         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
30796         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
30797         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
30798         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
30799         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
30800         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
30801         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
30802         declaration.
30804 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
30806         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
30807         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30808         (__longjmp): Use LOAD_GP to load saved GPRs.
30809         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
30810         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30811         (__sigsetjmp): Use SAVE_GP to save GPRs.
30813         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
30814         Do not append -msoft-float.
30815         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
30817 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30819         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
30821 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
30823         [BZ #15966]
30824         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
30825         (_FPU_GETCW): Use initial "__" on variable and field names but not
30826         on macro parameter name.
30827         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
30828         parentheses around reference to macro parameter.
30830 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
30832         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
30833         prototype.
30834         (ctype_startup): Use uint32_t in cast and sizeof for
30835         ctype->charnames.
30837 2013-09-11  Jia Liu  <proljc@gmail.com>
30839         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
30840         __daddr_t_defined.
30841         [__FreeBSD__]: Likewise.
30843 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
30845         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
30846         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
30847         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
30848         (strchr): Remove __strchr_sse42 ifunc selection.
30849         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
30850         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
30852 2013-09-11  Will Newton  <will.newton@linaro.org>
30854         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
30855         parameter to RES. Remove hardcoded 1000 value.
30856         * benchtests/bench-skeleton.c (main): Pass RES parameter
30857         to TIMING_INIT and multiply result by 1000.
30859 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30861         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30863 2013-09-11  Andreas Schwab  <schwab@suse.de>
30865         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
30866         if not defined.
30867         (O_TMPFILE) [__USE_GNU]: Define.
30868         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
30869         Define.
30871 2013-09-11  Will Newton  <will.newton@linaro.org>
30873         [BZ #15857]
30874         * malloc/malloc.c (__libc_memalign): Check the value of bytes
30875         does not overflow.
30877 2013-09-11  Will Newton  <will.newton@linaro.org>
30879         [BZ #15856]
30880         * malloc/malloc.c (__libc_valloc): Check the value of bytes
30881         does not overflow.
30883 2013-09-11  Will Newton  <will.newton@linaro.org>
30885         [BZ #15855]
30886         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
30887         does not overflow.
30889 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
30891         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
30892         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30893         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30894         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30895         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30897 2013-09-10  Allan McRae  <allan@archlinux.org>
30899         [BZ #15748]
30900         * manual/arith.texi (Parsing of Floats): Clarify
30901         cross-reference.
30903         [BZ #15849]
30904         * manual/install.texi (Running make install): Mention
30905         --enable-pt-chown.
30906         * INSTALL: Regenerated.
30908 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
30910         * csu/init-first.c (_init): Remove the !SHARED condition around
30911         FPU control word initialization.
30912         * elf/dl-support.c (_dl_fpu_control): New variable.
30913         (_dl_aux_init) <AT_FPUCW>: Initialize it.
30914         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
30915         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
30916         * math/test-fpucw-static.c: New file.
30917         * math/test-fpucw-ieee.c: New file.
30918         * math/test-fpucw-ieee-static.c: New file.
30919         * math/Makefile (tests): Add `test-fpucw-ieee' and
30920         `$(tests-static)'.
30921         (tests-static): New variable.
30922         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
30923         dependency to...
30924         [($(build-shared),yes)]
30925         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
30926         ... this.
30927         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
30928         New dependency.
30930 2013-09-09  Allan McRae  <allan@archlinux.org>
30932         [BZ #15939]
30933         * manual/string.texi (Collation Functions): Fix typo in
30934         strcoll example.
30935         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
30937         [BZ #15893]
30938         * stdlib/isomac.c (get_null_defines): Fix memory leak.
30940         [BZ #15892]
30941         * libio/memstream.c (open_memstream): Fix memory leak.
30942         * libio/wmemstream.c (open_wmemstream): Likewise.
30944         [BZ #15895]
30945         * nscd/netgroupcache.c: Fix nesting of ifdefs.
30947 2013-09-09  Will Newton  <will.newton@linaro.org>
30949         * malloc/Makefile: Add tst-realloc to tests.
30950         * malloc/tst-realloc.c: New file.
30952 2013-09-09  Allan McRae  <allan@archlinux.org>
30954         [BZ #15844]
30955         * COPYING: Update from GNU website to fix FSF address.
30956         * COPYING.LIB: Likewise.
30958 2013-09-06  David S. Miller  <davem@davemloft.net>
30960         * po/zh_TW.po: Update Chinese (traditional) translation from
30961         translation project.
30963 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
30964             Joseph Myers  <joseph@codesourcery.com>
30966         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
30967         "localeinfo.h".
30968         (obstack_chunk_alloc): New macro.
30969         (obstack_chunk_free): Likewise.
30970         (record_offset): New function.
30971         (init_locale_data): Likewise.
30972         (align_locale_data): Likewise.
30973         (add_locale_empty): Likewise.
30974         (add_locale_raw_data): Likewise.
30975         (add_locale_raw_obstack): Likewise.
30976         (add_locale_string): Likewise.
30977         (add_locale_wstring): Likewise.
30978         (add_locale_uint32): Likewise.
30979         (add_locale_uint32_array): Likewise.
30980         (add_locale_char): Likewise.
30981         (start_locale_structure): Likewise.
30982         (end_locale_structure): Likewise.
30983         (start_locale_prelude): Likewise.
30984         (end_locale_prelude): Likewise.
30985         (write_locale_data): Take locale_file structure rather than an
30986         iovec.
30987         * locale/programs/locfile.h: Include "obstack.h".
30988         (struct locale_file): Change to store locale file contents instead
30989         of header.
30990         (init_locale_data): New prototype.
30991         (align_locale_data): Likewise.
30992         (add_locale_empty): Likewise.
30993         (add_locale_raw_data): Likewise.
30994         (add_locale_raw_obstack): Likewise.
30995         (add_locale_string): Likewise.
30996         (add_locale_wstring): Likewise.
30997         (add_locale_uint32): Likewise.
30998         (add_locale_uint32_array): Likewise.
30999         (add_locale_char): Likewise.
31000         (start_locale_structure): Likewise.
31001         (end_locale_structure): Likewise.
31002         (start_locale_prelude): Likewise.
31003         (end_locale_prelude): Likewise.
31004         (write_locale_data): Update prototype.
31005         * locale/programs/3level.h (struct TABLE): Remove result field.
31006         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
31007         Use new locale_file interface.
31008         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
31009         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
31010         * locale/programs/ld-address.c (address_output): Use new
31011         locale_file interface.
31012         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
31013         NO_ADD_LOCALE.
31014         (collate_finish): Don't call collseq_table_finalize.
31015         (collate_output): Use new locale_file interface.
31016         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
31017         in file.
31018         (NO_FINALIZE): Change to NO_ADD_LOCALE.
31019         (TABLE): Move defines earlier in file.
31020         (ELEMENT): Likewise.
31021         (DEFAULT): Likewise.
31022         (wctrans_table_add): Move macro and inline function earlier in
31023         file.
31024         (struct wctype_table): Move type earlier in file.
31025         (add_locale_wctype_table): New static prototype.
31026         (struct locale_ctype_t): Use logical types instead of struct iovec
31027         pointers for members.
31028         (ctype_output): Use new locale_file interface.
31029         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
31030         new locale_file interface.
31031         (allocate_arrays): Update for use of new locale_file interface.
31032         * locale/programs/ld-identification.c (identification_output): Use
31033         new locale_file interface.
31034         * locale/programs/ld-measurement.c (measurement_output): Likewise.
31035         * locale/programs/ld-messages.c (messages_output): Likewise.
31036         * locale/programs/ld-monetary.c (monetary_output): Likewise.
31037         * locale/programs/ld-name.c (name_output): Likewise.
31038         * locale/programs/ld-numeric.c (numeric_output): Likewise.
31039         * locale/programs/ld-paper.c (paper_output): Likewise.
31040         * locale/programs/ld-telephone.c (telephone_output): Likewise.
31041         * locale/programs/ld-time.c (time_output): Likewise.
31043 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31045         * benchtests/Makefile: Add memrchr benchmark.
31046         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
31047         benchmark as memrchr.
31048         * benchtests/bench-memrchr-ifunc.c: New file.
31049         * benchtests/bench-memrchr.c: New file.
31051 2013-09-06   Will Newton  <will.newton@linaro.org>
31053         * benchtests/Makefile (string-bench): Add memcpy.
31055 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
31056             Cong Wang  <amwang@redhat.com>
31058         [BZ #15850]
31059         * sysdeps/unix/sysv/linux/bits/in.h
31060         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
31061         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
31062         before __USE_KERNEL_IPV6_DEFS uses.
31063         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
31064         IPPROTO_BEETPH.
31065         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
31066         sockaddr_in6, or ipv6_mreq.
31068 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31070         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
31071         memory access for final bytes in some large inputs.
31072         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
31074 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31076         * string/test-memrchr.c: New file.
31077         * string/test-memrchr-ifunc.c: New file.
31078         * string/Makefile: Add new memrchr testcase.
31080 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
31082         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
31083         fanotify_init returns EPERM.
31085 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31087         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
31088         errors.
31089         (top level): Treat second token from macro or constant entries for
31090         allowed headers as allowed.
31091         * include/complex.h: Condition internal declarations on
31092         [!_ISOMAC].
31093         * include/fenv.h: Condition include of <stdbool.h> and internal
31094         declarations on [!_ISOMAC].
31096 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
31098         [BZ #15923]
31099         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
31101 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31103         * configure.in (--enable-versioning): Remove configure option.
31104         (libc_cv_asm_symver_directive): Remove configure test.
31105         (libc_cv_ld_version_script_option): Likewise.
31106         (VERSIONING): Remove variable and AC_SUBST.
31107         (DO_VERSIONING): Remove AC_DEFINE.
31108         * configure: Regenerated.
31109         * config.h.in (DO_VERSIONING): Remove macro.
31110         * Makerules [$(versioning) = yes]: Change conditionals to
31111         [$(build-shared) = yes].
31112         * config.make.in (versioning): Remove variable.
31113         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
31114         [$(build-shared) = yes].
31115         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
31116         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
31117         * elf/Makefile [$(versioning) = yes]: Change conditionals to
31118         [$(build-shared) = yes].
31119         * extra-lib.mk [$(versioning) = yes]: Likewise.
31120         * hurd/Makefile [$(versioning) = yes]: Likewise.
31121         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
31122         [SHARED].
31123         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
31124         [SHARED].
31125         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31126         [SHARED && !NO_HIDDEN].
31127         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
31128         [SHARED].
31129         [SHARED && DO_VERSIONING]: Likewise..
31130         * libio/Makefile [$(versioning) = yes]: Change conditionals to
31131         [$(build-shared) = yes].
31132         * manual/install.texi (--disable-versioning): Remove
31133         documentation.
31134         * INSTALL: Regenerated.
31135         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
31136         to [SHARED].
31137         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
31138         [$(build-shared) = yes].
31139         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
31140         * sysdeps/i386/i686/multiarch/strstr-c.c
31141         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31142         [SHARED && !NO_HIDDEN].
31143         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
31144         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
31145         * sysdeps/powerpc/powerpc32/dl-machine.c
31146         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
31147         * sysdeps/powerpc/powerpc32/sysdep.h
31148         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
31149         to [SHARED && PIC && !NO_HIDDEN].
31150         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
31151         conditional to [SHARED].
31153 2013-09-04   Will Newton  <will.newton@linaro.org>
31155         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
31156         * benchtests/bench-string.h: Include bench-timing.h instead
31157         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
31158         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
31159         call to HP_TIMING_DIFF_INIT.
31160         * benchtests/bench-memccpy.c: Use bench-timing.h macros
31161         instead of hp-timing.h macros.
31162         * benchtests/bench-memchr.c: Likewise.
31163         * benchtests/bench-memcmp.c: Likewise.
31164         * benchtests/bench-memcpy.c: Likewise.
31165         * benchtests/bench-memmem.c: Likewise.
31166         * benchtests/bench-memmove.c: Likewise.
31167         * benchtests/bench-memset.c: Likewise.
31168         * benchtests/bench-rawmemchr.c: Likewise.
31169         * benchtests/bench-strcasecmp.c: Likewise.
31170         * benchtests/bench-strcasestr.c: Likewise.
31171         * benchtests/bench-strcat.c: Likewise.
31172         * benchtests/bench-strchr.c: Likewise.
31173         * benchtests/bench-strcmp.c: Likewise.
31174         * benchtests/bench-strcpy.c: Likewise.
31175         * benchtests/bench-strcpy_chk.c: Likewise.
31176         * benchtests/bench-strlen.c: Likewise.
31177         * benchtests/bench-strncasecmp.c: Likewise.
31178         * benchtests/bench-strncat.c: Likewise.
31179         * benchtests/bench-strncmp.c: Likewise.
31180         * benchtests/bench-strncpy.c: Likewise.
31181         * benchtests/bench-strnlen.c: Likewise.
31182         * benchtests/bench-strpbrk.c: Likewise.
31183         * benchtests/bench-strrchr.c: Likewise.
31184         * benchtests/bench-strspn.c: Likewise.
31185         * benchtests/bench-strstr.c: Likewise.
31187 2013-09-04  Will Newton  <will.newton@linaro.org>
31189         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
31191 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
31193         [BZ #15427]
31194         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
31195         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
31196         * math/libm-test.inc (lgamma_test_data): Add more tests.
31197         * sysdeps/i386/fpu/libm-test-ulps: Update.
31198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31200 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
31202         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
31203         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31204         Add ifunc.
31205         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31206         Add strcmp-sse2-unaligned
31207         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
31209 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31211         * Versions.def (libc): Add GLIBC_2.19.
31213 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31215         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
31216         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
31218 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
31220         [BZ #14155]
31221         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
31222         intermediate calculations in recurrence.
31223         (__ieee754_ynf): Likewise.
31224         * math/libm-test.inc (jn_test_data): Do not allow spurious
31225         underflow exception.  Add more tests.
31226         (yn_test_data): Add more tests.
31227         * sysdeps/i386/fpu/libm-test-ulps: Update.
31228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31230 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
31232         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
31234 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31236         * csu/init-first.c: Fix then/than typos.
31237         * locale/programs/ld-collate.c: Likewise.
31238         * locale/programs/linereader.h: Likewise.
31239         * manual/charset.texi: Likewise.
31240         * manual/filesys.texi: Likewise.
31241         * manual/stdio.texi: Likewise.
31242         * manual/string.texi: Likewise.
31243         * stdlib/fmtmsg.c: Likewise.
31244         * sysdeps/i386/stpncpy.S: Likewise.
31245         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31246         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31247         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31248         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31250 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31252         * elf/dl-open.c: Fix typos.
31253         * iconvdata/gbbig5.c: Likewise.
31254         * iconvdata/iso-2022-jp.c: Likewise.
31255         * iconv/gconv_int.h: Likewise.
31256         * iconv/loop.c: Likewise.
31257         * nis/rpcsvc/nis.h: Likewise.
31258         * resolv/ns_name.c: Likewise.
31259         * stdio-common/vfscanf.c: Likewise.
31260         * streams/stropts.h: Likewise.
31261         * sunrpc/rpc_thread.c: Likewise.
31262         * sysdeps/i386/strpbrk.S: Likewise.
31263         * sysdeps/ieee754/k_standard.c: Likewise.
31264         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31265         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31266         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
31267         * sysdeps/mach/hurd/profil.c: Likewise.
31268         * sysdeps/s390/dl-procinfo.h: Likewise.
31269         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
31270         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
31271         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
31272         * sysdeps/x86_64/dl-trampoline.S: Likewise.
31273         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31275 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
31277         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
31278         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
31280 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
31282         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
31283         aix specific files.
31284         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
31285         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
31286         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
31287         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
31288         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
31289         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
31290         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
31291         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
31293 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31294             Roland McGrath  <roland@hack.frob.com>
31296         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
31297         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
31299 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31301         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
31302         __executable_start symbol instead of _start.
31304 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31306         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
31307         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
31308         Move macros to...
31309         * sysdeps/gnu/ldsodefs.h: ... this new file.
31311         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
31312         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
31313         instead of ELFOSABI_LINUX.
31315         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
31316         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
31317         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
31318         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
31319         Likewise.
31320         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
31321         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
31322         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
31323         Likewise.
31324         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31325         (ibm_extended_long_double): Add ieee_nan member.
31326         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
31327         (do_test): New function.
31329         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
31330         TEST_TRUNC.
31331         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
31332         functions, renamed from truncdfsf_test, trunctfsf_test,
31333         trunctfdf_test.
31334         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
31335         functions.
31336         (do_test): Run all these.
31338 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
31340         * argp/argp-help.c: Fix typos.
31341         * argp/argp-parse.c: Likewise.
31342         * debug/backtracesyms.c: Likewise.
31343         * elf/elf.h: Likewise.
31344         * malloc/malloc.c: Likewise.
31345         * nis/nis_print.c: Likewise.
31346         * resolv/res_comp.c: Likewise.
31347         * stdlib/stdlib.h: Likewise.
31348         * sunrpc/clnt_tcp.c: Likewise.
31349         * sunrpc/clnt_udp.c: Likewise.
31350         * sunrpc/clnt_unix.c: Likewise.
31351         * sysdeps/unix/bsd/ptsname.c: Likewise.
31352         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
31353         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
31354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
31355         Likewise.
31356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
31357         Likewise.
31358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
31359         Likewise.
31360         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
31362 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31364         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
31365         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31367 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
31369         [BZ #15897]
31370         * dlfcn/Makefile (tests): Add bug-dl-leaf.
31371         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
31372         ($(objpfx)bug-dl-leaf): New rule.
31373         ($(objpfx)bug-dl-leaf.so): Likewise.
31374         ($(objpfx)bug-dl-leaf.out): Likewise.
31375         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
31376         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
31377         * dlfcn/bug-dl-leaf.c: New test.
31378         * dlfcn/bug-dl-leaf-lib.c: Likewise.
31379         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
31380         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
31381         (dlclose): Likewise.
31382         (dlmopen): Likewise.
31384 2013-08-27  Roland McGrath  <roland@hack.frob.com>
31386         * include/netdb.h [!_ISOMAC]:
31387         Don't include <tls.h>.
31388         (h_errno, __libc_h_errno): Move declaration and macros out of
31389         [_LIBC_REENTRANT].
31391         * include/resolv.h [_RESOLV_H_]:
31392         Don't include <tls.h>.
31393         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
31394         * resolv/res_libc.c: Don't include <tls.h>.
31395         (_res): Use __attribute__ ((nocommon)) in place of
31396         __attribute__ ((section (".bss"))).
31398         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
31399         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
31401         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
31403         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
31404         only under [SIOCGIFCONF && SIOCGIFNETMASK].
31406         * resolv/res_mkquery.c: Include <sys/time.h>.
31408         * inet/ifreq.c: Moved to ...
31409         * sysdeps/unix/ifreq.c: ... here.
31410         * inet/ifreq.c: New file, true stub version.
31412         * socket/sa_len.c: New file.
31413         * socket/Makefile (aux): Add it.
31414         * sysdeps/unix/sysv/linux/Makefile
31415         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
31416         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
31417         and #include <socket/sa_len.c>.
31418         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
31419         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
31421         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
31422         * bits/socket.h: ... here.
31424         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
31425         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
31426         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
31428 2013-08-27  Andreas Schwab  <schwab@suse.de>
31430         [BZ #15736]
31431         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
31432         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
31433         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
31434         * string/test-strcasecmp.c (test_main): Run tests in several
31435         locales.
31436         * string/test-strncasecmp.c (test_main): Likewise.
31438         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
31439         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
31440         to __strcasecmp_nonascii and __strncasecmp_nonascii.
31441         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
31442         (__strncasecmp_ssse3) [PIC]: Likewise.
31444 2013-08-26  Roland McGrath  <roland@hack.frob.com>
31446         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
31448         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
31449         instead of explicitly declaring xdecrypt.
31450         * nis/nss_nis/nis-publickey.c: Likewise.
31452 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31454         [BZ #15890]
31455         * nscd/aicache.c: Include res_hconf.h.
31456         (addhstaiX): Initialize res_hconf.
31458 2013-08-26  Andreas Schwab  <schwab@suse.de>
31460         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
31461         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
31463 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31465         * nscd/aicache.c (addhstaiX): Fix indentation.
31467 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
31469         * configure.ac: Quote $build_pt_chown test.
31470         * configure: Regenerated.
31472 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
31474         [BZ #15532]
31475         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
31476         * math/s_cexpf.c (__cexpf): Likewise.
31477         * math/s_cexpl.c (__cexpl): Likewise.
31478         * math/libm-test.inc (cexp_test_data): Correct expected return
31479         value for NaN + i0.  Add another test.
31481 2013-08-22  David S. Miller  <davem@davemloft.net>
31483         * po/ca.po: Update Catalan translation from translation project.
31484         * po/uk.po: Add Ukrainian translations from translation project.
31486 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
31488         [BZ #15797]
31489         * math/s_fdim.c (__fdim): Check for infinite arguments if result
31490         is infinite, not alongside NaN test.
31491         * math/s_fdimf.c (__fdimf): Likewise.
31492         * math/s_fdiml.c (__fdiml): Likewise.
31493         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
31494         errno is unchanged.
31496 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
31498         * argp/argp-help.c: Fix typos.
31499         * crypt/speeds.c: Likewise.
31500         * csu/check_fds.c: Likewise.
31501         * elf/dl-load.c: Likewise.
31502         * elf/dl-open.c: Likewise.
31503         * elf/reldep3.c: Likewise.
31504         * elf/reldep.c: Likewise.
31505         * elf/sprof.c: Likewise.
31506         * iconv/iconv_charmap.c: Likewise.
31507         * iconv/skeleton.c: Likewise.
31508         * iconv/strtab.c: Likewise.
31509         * io/lockf64.c: Likewise.
31510         * libio/libioP.h: Likewise.
31511         * resolv/gai_notify.c: Likewise.
31512         * resolv/ns_name.c: Likewise.
31513         * resolv/ns_samedomain.c: Likewise.
31514         * resolv/res_send.c: Likewise.
31515         * stdlib/random.c: Likewise.
31516         * sunrpc/rpc/xdr.h: Likewise.
31517         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
31518         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31519         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31520         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31521         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31522         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31523         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31524         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31525         * sysdeps/mach/hurd/check_fds.c: Likewise.
31526         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31527         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
31528         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31529         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31530         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
31531         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31532         * sysdeps/pthread/aio_notify.c: Likewise.
31533         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
31534         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
31535         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
31536         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31537         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
31539 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31541         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
31542         version if bit_Slow_SSE4_2 is set.
31543         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31544         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31546 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31548         [BZ #15867]
31549         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
31550         trampoline stack frame information.
31551         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
31552         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
31553         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
31554         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
31555         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
31556         * sysdeps/unix/sysv/linux/powerpc/init-first.c
31557         (_libc_vdso_platform_setup): Initialize the signal trampolines.
31558         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
31559         sa_flags value.
31560         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
31561         interrupting a syscall and set with option SA_SIGINFO.
31563 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
31565         [BZ #15531]
31566         * math/s_cproj.c (__cproj): Only return an infinity if one part of
31567         argument is infinite.
31568         * math/s_cprojf.c (__cprojf): Likewise.
31569         * math/s_cprojl.c (__cprojl): Likewise.
31570         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
31571         * math/libm-test.inc (cproj_test_data): Add more tests.
31573         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
31575         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
31576         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
31577         size.  Use __ffs to determine corresponding shift.
31579 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
31580             Roland McGrath  <roland@hack.frob.com>
31582         * Makefile (INSTALL): Remove trailing blank lines from output of
31583         makeinfo.
31585 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31587         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
31588         Align 32 bit compat elf_greg to 8 bytes.
31590 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
31592         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
31594 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31596         * string/strcoll_l.c (coll_seq): New structure.
31597         (get_next_seq_cached): New function.
31598         (get_next_seq): New function.
31599         (do_compare): New function.
31600         (STRCOLL): Use GNU style definition.  Simplify implementation
31601         by using get_next_seq, get_next_seq_cached and do_compare.
31603 2013-08-16  Florian Weimer  <fweimer@redhat.com>
31605         [BZ #14699]
31606         CVE-2013-4237
31607         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
31608         member.
31609         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
31610         member.
31611         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
31612         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
31613         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
31614         conditional.
31615         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
31616         GETDENTS_64BIT_ALIGNED.
31617         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31618         * manual/filesys.texi (Reading/Closing Directory): Document
31619         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
31620         strongly.
31621         * manual/conf.texi (Limits for Files): Add portability note to
31622         NAME_MAX, PATH_MAX.
31623         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
31625 2013-08-13  Andreas Schwab  <schwab@suse.de>
31627         [BZ #15749]
31628         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
31629         of fabs.
31630         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
31631         LDBL_MAX_EXP >= 16384]: Add tests for it.
31633 2013-08-12  David S. Miller  <davem@davemloft.net>
31635         * version.h (RELEASE): Set to "development".
31636         (VERSION): Set to "2.18.90".
31637         * NEWS: Add 2.19 section.
31639 2013-08-03  David S. Miller  <davem@davemloft.net>
31641         * po/ko.po: Update Korean translation from translation project.
31643 2013-08-01  David S. Miller  <davem@davemloft.net>
31645         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
31646         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
31647         Bilka.
31649 2013-07-30  David S. Miller  <davem@davemloft.net>
31651         * po/fr.po: Update French translation from translation project.
31653 2013-07-28  David S. Miller  <davem@davemloft.net>
31655         * po/cs.po: Update Czech translation from translation project.
31657         * po/sv.po: Update Swedish translation from translation project.
31659 2013-07-27  David S. Miller  <davem@davemloft.net>
31661         * po/eo.po: Update Esperanto translation from translation project.
31663         * po/vi.po: Update Vietnamese translation from translation project.
31665         * po/de.po: Update German translation from translation project.
31667 2013-07-26  David S. Miller  <davem@davemloft.net>
31669         * po/bg.po: Update Bulgarian translation from translation project.
31671         * po/nl.po: Update Dutch translation from translation project.
31672         * po/pl.po: Update Polish translation from translation project.
31673         * po/ru.po: Update Russian translation from translation project.
31675 2013-07-24  David S. Miller  <davem@davemloft.net>
31677         * po/libc.pot: Update.
31679 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31681         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
31682         variable page size.
31683         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
31684         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
31685         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
31687 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31689         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
31691 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31692             Andreas Schwab  <schwab@suse.de>
31693             Roland McGrath  <roland@hack.frob.com>
31694             Joseph Myers  <joseph@codesourcery.com>
31695             Carlos O'Donell  <carlos@redhat.com>
31697         [BZ #15755]
31698         * config.h.in: Define HAVE_PT_CHOWN.
31699         * config.make.in (build-pt-chown): New variable.
31700         * configure.in (--enable-pt_chown): New configure option.
31701         * configure: Regenerate.
31702         * login/Makefile: Include Makeconfig.  Build pt_chown only if
31703         build-pt-chown is enabled.
31704         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
31705         pt_chown to fix pty ownership.
31706         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
31707         CLOSE_ALL_FDS.
31708         * manual/install.texi (Configuring and compiling): Mention
31709         --enable-pt_chown. Add @findex for grantpt.
31710         * INSTALL: Regenerate.
31712 2013-07-20  David S. Miller  <davem@davemloft.net>
31714         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
31715         difference between 32-bit and 64-bit.
31717 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
31719         [BZ #15711]
31720         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
31721         Avoid system header dependency with -ffreestanding.
31722         ($(objpfx)bits/syscall%d): Likewise.
31724 2013-07-13  David S. Miller  <davem@davemloft.net>
31726         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
31727         underflows from atanl/atan2l due to bug 15319.
31728         (casinh_test_data): Likewise.
31730 2013-07-07  David S. Miller  <davem@davemloft.net>
31732         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
31734 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
31736         * sysdeps/i386/fpu/libm-test-ulps: Update.
31737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31739 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31741         * configure.in (--enable-lock-elision): Fix message text.
31742         * INSTALL: Regenerate.
31743         * configure: Regenerate.
31745 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31747         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31749 2013-07-03  Andreas Jaeger  <aj@suse.de>
31751         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
31752         define.
31753         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
31754         (ptrace_peeksiginfo_args): Add.
31755         (__ptrace_peeksiginfo_flags): Add.
31756         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31757         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31758         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31760 2013-07-03  Allan McRae  <allan@archlinux.org>
31762         * sysdeps/i386/fpu/libm-test-ulps: Update.
31764 2013-07-02  David S. Miller  <davem@davemloft.net>
31766         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31768 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
31770         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31772 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
31774         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
31775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31777 2013-07-02  Andi Kleen <ak@linux.intel.com>
31779         * config.h.in (ENABLE_LOCK_ELISION): Add.
31780         * configure.in (--enable-lock-elision): Add option.
31781         * manual/install.texi: Document --enable lock elision.
31782         * configure: Regenerate
31783         * INSTALL: Regenerate.
31785 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
31787         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
31788         SSE4.2 strcasecmp for libc.a.
31789         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
31791 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
31793         [BZ #13304]
31794         * soft-fp/op-common.h (_FP_FMA): New macro.
31795         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
31796         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
31797         (_FP_MUL_MEAT_1_imm): ... here.
31798         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
31799         (_FP_MUL_MEAT_1_wide): ... here.
31800         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
31801         (_FP_MUL_MEAT_1_hard): ... here.
31802         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
31803         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
31804         (_FP_MUL_MEAT_2_wide): ... here.
31805         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
31806         (_FP_MUL_MEAT_2_wide_3mul): ... here.
31807         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
31808         (_FP_MUL_MEAT_2_gmp): ... here.
31809         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
31810         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
31811         (_FP_MUL_MEAT_4_wide): ... here.
31812         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
31813         (_FP_MUL_MEAT_4_gmp): ... here.
31814         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
31815         (_FP_WFRACBITS_DW_S): Likewise.
31816         (_FP_WFRACXBITS_DW_S): Likewise.
31817         (_FP_HIGHBIT_DW_S): Likewise.
31818         (FP_FMA_S): Likewise.
31819         (_FP_FRAC_HIGH_DW_S): Likewise.
31820         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
31821         (_FP_WFRACBITS_DW_D): Likewise.
31822         (_FP_WFRACXBITS_DW_D): Likewise.
31823         (_FP_HIGHBIT_DW_D): Likewise.
31824         (FP_FMA_D): Likewise.
31825         (_FP_FRAC_HIGH_DW_D): Likewise.
31826         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
31827         (_FP_WFRACBITS_DW_E): Likewise.
31828         (_FP_WFRACXBITS_DW_E): Likewise.
31829         (_FP_HIGHBIT_DW_E): Likewise.
31830         (FP_FMA_E): Likewise.
31831         (_FP_FRAC_HIGH_DW_E): Likewise.
31832         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
31833         (_FP_WFRACBITS_DW_Q): Likewise.
31834         (_FP_WFRACXBITS_DW_Q): Likewise.
31835         (_FP_HIGHBIT_DW_Q): Likewise.
31836         (FP_FMA_Q): Likewise.
31837         (_FP_FRAC_HIGH_DW_Q): Likewise.
31838         * soft-fp/fmasf4.c: New file.
31839         * soft-fp/fmadf4.c: Likewise.
31840         * soft-fp/fmatf4.c: Likewise.
31842 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31844         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31845         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
31846         Silvermont.
31847         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
31848         macro.
31849         (index_Slow_SSE4_2): Likewise.
31850         (index_Prefer_PMINUB_for_stringop): Likewise.
31851         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
31852         bit_Slow_SSE4_2 is set.
31853         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31854         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31856 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31858         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
31859         rtld_global._dl_hwcap2.
31860         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
31861         POWER8.
31862         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
31863         POWER8 feature descriptions defined in _dl_hwcap2.
31864         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
31865         string handling for POWER8 feature bits.
31866         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
31867         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
31868         _dl_powerpc_cap_flags.
31869         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
31870         * sysdeps/powerpc/rtld-global-offsets.sym
31871         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
31872         _dl_hwcap2 in the rtld_global_ro structure.
31874 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31876         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
31877         hardware capabilities in support of AT_HWCAP2.
31878         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
31879         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
31880         GLRO(dl_hwcap2).
31881         (_dl_show_auxv): Add support for calling _dl_procinfo to display
31882         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
31883         explicitly the unknown a_type display mechanism is used.
31884         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
31885         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
31886         struct member.
31887         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
31888         to macro prototype for AT_HWCAP2 support.
31889         * sysdeps/i386/dl-procinfo.h: Likewise.
31890         * sysdeps/s390/dl-procinfo.h: Likewise.
31891         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
31892         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
31893         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
31894         return -1 for unknown a_type display fallback.
31895         * sysdeps/sparc/dl-procinfo.h: Likewise.
31896         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
31897         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
31899 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
31901         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
31902         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
31904 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
31906         [BZ #12492]
31907         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
31908         mprotect making __stack_prot writable.
31910 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
31911             Joseph Myers  <joseph@codesourcery.com>
31913         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
31914         as being properly aligned.
31916 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
31918         * dlfcn/modstatic5.c: New file.
31919         * dlfcn/tststatic5.c: New file.
31920         * dlfcn/Makefile (tests): Add tststatic5.
31921         (tests-static): Likewise.
31922         (modules-names): Add modstatic5.
31923         (tststatic5-ENV): New variable.
31924         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
31926         [BZ #15022]
31927         * elf/dl-support.c (_dl_main_map): New variable.
31928         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
31929         (_dl_nns, _dl_load_adds): Set to 1.
31930         (_dl_initial_searchlist): Refer to _dl_main_map.
31931         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
31932         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
31933         call to _dl_get_origin.
31934         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
31935         around call_map.
31936         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
31937         * dlfcn/modstatic3.c: New file.
31938         * dlfcn/tststatic3.c: New file.
31939         * dlfcn/tststatic4.c: New file.
31940         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
31941         (tests-static): Likewise.
31942         (modules-names): Add modstatic3.
31943         (tststatic3-ENV, tststatic4-ENV): New variables.
31944         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
31945         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
31947 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
31949         * configure.in (CC): Require GCC version 4.4 or later.
31950         * configure: Regenerated.
31951         * manual/install.texi (Tools for Compilation): Update GCC version
31952         requirement.
31953         * INSTALL: Regenerated.
31955 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31957         [BZ #15674]
31958         * string/test-memcmp.c (check2): New.
31959         (main): Call check2.
31961         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
31963 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
31965         [BZ #15022]
31966         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
31967         over to...
31968         (dl_open_worker) [!SHARED]: ... here.
31970 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31972         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
31974 2013-06-25  Richard Henderson  <rth@redhat.com>
31976         * locale/programs/locarchive.c: Include <libc-internal.h>
31978 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
31980         * manual/texinfo.tex: Update to version 2013-06-21.17, with
31981         trailing whitespace removed.
31983 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
31985         [BZ #10283]
31986         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
31987         * locale/programs/locarchive.c: Include libc-mmap.h.
31988         (prepare_address_space): Take two new outputs (the mmap base and len).
31989         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
31990         values.
31991         (create_archive): Declare new mmap base and len values for
31992         prepare_address_space, and store the result in ah.
31993         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
31994         (enlarge_archive): If ah->mmap_base is not NULL, use that and
31995         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
31996         Declare new mmap base and len values for
31997         prepare_address_space, and store the result in new_ah.
31998         (open_archive): Declare new mmap base and len values for
31999         prepare_address_space, and store the result in ah.
32000         (close_archive): If ah->mmap_base is not NULL, use that and
32001         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32002         * sysdeps/generic/libc-mmap.h: New file.
32004 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32006         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
32007         (ALIGN_UP): Likewise.
32008         (PTR_ALIGN_DOWN): Likewise.
32009         (PTR_ALIGN_UP): Likewise.
32011 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32013         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
32014         entry mapped to PPC_PLATFORM_POWER8.
32015         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
32016         POWER8.
32017         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
32018         (_dl_string_platform): Add case for exporting platform position for
32019         POWER8.
32020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
32021         search path to sysdeps/powerpc/powerpc32/power8 directory.
32022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
32023         search path to sysdeps/powerpc/powerpc64/power8 directory.
32024         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
32025         power7 directories.
32026         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
32027         power7 directories.
32029 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32031         * INSTALL: Regenerate.
32033         * nscd/connections.c (nscd_init): Fix comment.
32035 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
32037         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
32039         [BZ #15667]
32040         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
32041         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
32043 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32045         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
32046         DL_DST_REQ_STATIC.
32047         (DL_DST_REQ_STATIC): Remove macro.
32049 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
32051         [BZ #7006]
32052         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
32053         with a shift of 0 bits.
32055 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32057         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
32058         $(tststatic-ENV).
32060 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32062         [BZ #15655]
32063         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
32065 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32067         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
32068         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
32069         accepts -fno-tree-loop-distribute-patterns.
32070         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
32071         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
32072         recursive call.
32073         * string/memset.c (memset): Likewise.
32074         * string/test-memmove.c (simple_memmove): Disable loop transformation
32075         to library calls.
32076         * string/test-memset.c (simple_memset): Likewise.
32077         * benchtests/bench-memmove.c (simple_memmove): Likewise.
32078         * benchtests/bench-memset.c (simple_memset): Likewise.
32079         * configure: Regenerated.
32081 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
32083         * math/test-misc.c (main): Ignore fesetround failure when failures
32084         of subsequent rounding tests would be ignored.
32086         [BZ #15654]
32087         * math/fedisblxcpt.c (fedisableexcept): Return 0.
32088         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
32089         * math/fegetenv.c (__fegetenv): Return 0.
32090         * math/fegetexcept.c (fegetexcept): Return 0.
32091         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
32092         FE_TONEAREST.
32093         * math/feholdexcpt.c (feholdexcept): Return 0.
32094         * math/fesetenv.c (__fesetenv): Return 0.
32095         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
32096         argument FE_TONEAREST.
32097         * math/feupdateenv.c (__feupdateenv): Return 0.
32098         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
32100 2013-06-18  Roland McGrath  <roland@hack.frob.com>
32102         * elf/rtld-Rules (rtld-compile-command.S): New variable.
32103         (rtld-compile-command.s, rtld-compile-command.c): New variables.
32104         ($(objpfx)rtld-%.os rules): Use them.
32106 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32108         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
32109         fields.
32111 2013-06-17  Roland McGrath  <roland@hack.frob.com>
32113         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
32114         length of target pattern, then descending length of dependency pattern.
32115         * configure.in (AWK): Require gawk 3.1.2 or newer.
32116         * manual/install.texi (Tools for Compilation): Say that we do.
32117         * configure: Regenerated.
32119         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
32120         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
32121         * scripts/sysd-rules.awk: ... this new script.
32122         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
32123         than a glob-style pattern.
32125 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
32127         * math/test-misc.c (main): Do not treat incorrectly rounded
32128         conversions as failure unless ROUNDING_TESTS passes.
32130 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
32132         [BZ #15631]
32133         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
32134         restore exception state around main square root computation, then
32135         check for inexactness explicitly.
32137         * math/libm-test.inc (fma_test_data): Add another test.
32139 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32141         * manual/threads.texi (Non-POSIX Extensions): New document
32142         node.  Document pthread_getattr_default_np and
32143         pthread_setattr_default_np.
32145         * Versions.def (libpthread): Add GLIBC_2.18.
32146         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
32147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32148         Likewise.
32149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32150         Likewise.
32151         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32152         Likewise.
32153         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32154         Likewise.
32155         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
32156         Likewise.
32157         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32158         Likewise.
32159         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32160         Likewise.
32161         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32162         Likewise.
32163         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32164         Likewise.
32166 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32168         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32169         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
32171 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32172             H.J. Lu  <hjl.tools@gmail.com>
32174         [BZ #15627]
32175         * sysdeps/x86_64/rtld-memset.c: Remove file.
32176         * sysdeps/x86_64/rtld-memset.S: New file.
32178 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
32180         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
32181         (test_in_one_mode): Take arguments for whether the rounding mode
32182         is supported for each floating-point type.
32183         (do_test): Pass new arguments to test_in_one_mode using
32184         ROUNDING_TESTS.
32186 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32188         * posix/tst-waitid.c (do_test): Distinguish different instances of
32189         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
32190         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
32191         before entering the kernel for waitpid.
32193 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32195         * NEWS: Fix note on clock function precision.  Text by Roland
32196         McGrath.
32198 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32200         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
32201         it into place only when and if the sanity check passes.
32203 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
32205         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
32206         output for whether conversion result is exact.  Take argument
32207         indicating whether type is IBM long double.
32208         (round_for_all): Change need_exact field to ibm_ld.
32209         * stdlib/tst-strtod-round.c (struct exactness): New type.
32210         (struct test): Change bool ld_ok field to struct exactness exact.
32211         (TEST): Update all definitions for change to field.
32212         (tests): Regenerate array contents.
32213         (test_in_one_mode): Take pointer to new field instead of old ld_ok
32214         field value.  Check for IBM long double here.
32215         (do_test): Update calls to test_in_one_mode.
32217 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32219         [BZ #12515]
32220         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
32221         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
32223 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32225         [BZ #15605]
32226         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
32227         generated by the compiler on loop optimizations.
32228         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
32229         general definitions.
32231 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
32233         * math/bug-nextafter.c: Include <math-tests.h>.
32234         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32235         the relevant type.
32236         * math/bug-nexttoward.c: Include <math-tests.h>.
32237         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32238         the relevant type.
32239         * math/test-misc.c: Include <math-tests.h>.
32240         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32241         the relevant type.
32243 2013-06-12  Andreas Jaeger  <aj@suse.de>
32245         * po/ia.po: Update Interlingua translation from translation
32246         project.
32248 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32250         * include/fenv.h: Include stdbool.h.
32251         (struct rm_ctx): New structure.
32252         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
32253         Define macro.
32254         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
32255         (SET_RESTORE_ROUNDF): Likewise.
32256         (SET_RESTORE_ROUNDL): Likewise.
32257         (SET_RESTORE_ROUND_NOEX): Likewise.
32258         (SET_RESTORE_ROUND_NOEXF): Likewise.
32259         (SET_RESTORE_ROUND_NOEXL): Likewise.
32260         (SET_RESTORE_ROUND_53BIT): Likewise.
32261         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
32262         (libc_feresetround_noexf_ctx): Likewise.
32263         (libc_feresetround_noexl_ctx): Likewise.
32264         (libc_feholdsetround_53bit_ctx): Likewise.
32265         (libc_feresetround_53bit_ctx): Likewise.
32266         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
32267         (libc_feholdexcept_setround_sse_ctx): New function.
32268         (libc_fesetenv_sse_ctx): Likewise.
32269         (libc_feupdateenv_sse_ctx): Likewise.
32270         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
32271         (libc_feholdexcept_setround_387_ctx): Likewise.
32272         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
32273         (libc_feholdsetround_387_prec_ctx): Likewise.
32274         (libc_feholdsetround_387_ctx): Likewise.
32275         (libc_feholdsetround_387_53bit_ctx): Likewise.
32276         (libc_feholdsetround_sse_ctx): Likewise.
32277         (libc_feresetround_sse_ctx): Likewise.
32278         (libc_feresetround_387_ctx): Likewise.
32279         (libc_feupdateenv_387_ctx): Likewise.
32280         (libc_feholdexcept_setroundf_ctx): Define macro.
32281         (libc_fesetenvf_ctx): Likewise.
32282         (libc_feupdateenvf_ctx): Likewise.
32283         (libc_feholdsetroundf_ctx): Likewise.
32284         (libc_feresetroundf_ctx): Likewise.
32285         (libc_feholdexcept_setround_ctx): Likewise.
32286         (libc_fesetenv_ctx): Likewise.
32287         (libc_feupdateenv_ctx): Likewise.
32288         (libc_feholdsetround_ctx): Likewise.
32289         (libc_feresetround_ctx): Likewise.
32290         (libc_feholdexcept_setroundl_ctx): Likewise.
32291         (libc_feupdateenvl_ctx): Likewise.
32292         (libc_feholdsetroundl_ctx): Likewise.
32293         (libc_feresetroundl_ctx): Likewise.
32294         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
32295         (libc_feresetround_53bit_ctx): Likewise.
32297 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32299         * locale/iso-639.def: Convert to UTF-8.
32301 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
32303         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
32304         (EXCEPTION_TESTS_double): Likewise.
32305         (EXCEPTION_TESTS_long_double): Likewise.
32306         (EXCEPTION_TESTS): Likewise.
32307         * math/libm-test.inc (test_exceptions): Only test exceptions if
32308         EXCEPTION_TESTS (FLOAT).
32310 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32312         * benchtests/Makefile (string-bench): Add strcpy_chk and
32313         stpcpy_chk.
32314         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
32315         * benchtests/bench-stpcpy_chk.c: New file.
32316         * benchtests/bench-strcpy_chk-ifunc.c: New file.
32317         * benchtests/bench-strcpy_chk.c: New file.
32318         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
32319         code.
32320         (do_test): Likewise.
32322 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32324         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
32325         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
32326         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
32327         with tabs where appropriate.
32328         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
32329         dl-procinfo.h.
32330         [PPC_PLATFORM_PPC440]: Likewise.
32331         [PPC_PLATFORM_PPC464]: Likewise.
32332         [PPC_PLATFORM_PPC476]: Likewise.
32333         (_dl_string_platform): Add support for detecting ppc405, ppc440,
32334         ppc464, and ppc476 platform strings merging from ports/
32335         dl-procinfo.h.
32337 2013-06-11  Andreas Schwab  <schwab@suse.de>
32339         [BZ #14991]
32340         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
32341         (from_ucs4_idx): Regenerate.
32342         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
32343         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
32344         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
32345         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
32346         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
32347         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
32348         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
32349         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
32350         from FROM_LOOP and TO_LOOP specific macros.
32351         (BODY): Handle combining characters.
32352         * iconvdata/BIG5HKSCS.irreversible: Update.
32353         * iconvdata/BIG5HKSCS.precomposed: New file.
32354         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
32355         characters.
32356         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
32358 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32360         * include/sys/time.h: Fix indentation and add copyright header.
32362         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
32363         (do_test): Likewise.
32364         * string/test-memchr.c (do_one_test): Likewise.
32365         (do_test): Likewise.
32366         * string/test-memcmp.c (do_one_test): Likewise.
32367         (do_test): Likewise.
32368         * string/test-memcpy.c (do_one_test): Likewise.
32369         (do_test): Likewise.
32370         * string/test-memmem.c (do_one_test): Likewise.
32371         (do_test): Likewise.
32372         (do_random_tests): Likewise.
32373         * string/test-memmove.c (do_one_test): Likewise.
32374         (do_test): Likewise.
32375         * string/test-memset.c (do_one_test): Likewise.
32376         (do_test): Likewise.
32377         * string/test-rawmemchr.c (do_one_test): Likewise.
32378         (do_test): Likewise.
32379         * string/test-strcasecmp.c (do_one_test): Likewise.
32380         (do_test): Likewise.
32381         * string/test-strcasestr.c (do_one_test): Likewise.
32382         (do_test): Likewise.
32383         * string/test-strcat.c (do_one_test): Likewise.
32384         (do_test): Likewise.
32385         * string/test-strchr.c (do_one_test): Likewise.
32386         (do_test): Likewise.
32387         * string/test-strcmp.c (do_one_test): Likewise.
32388         (do_test): Likewise.
32389         * string/test-strcpy.c (do_one_test): Likewise.
32390         (do_test): Likewise.
32391         * string/test-string.h: Likewise.
32392         (test_init): Likewise.
32393         * string/test-strlen.c (do_one_test): Likewise.
32394         (do_test): Likewise.
32395         * string/test-strncasecmp.c (do_one_test): Likewise.
32396         (do_test): Likewise.
32397         * string/test-strncat.c (do_one_test): Likewise.
32398         (do_test): Likewise.
32399         * string/test-strncmp.c (do_one_test): Likewise.
32400         (do_test_limit): Likewise.
32401         (do_test): Likewise.
32402         * string/test-strncpy.c (do_one_test): Likewise.
32403         (do_test): Likewise.
32404         * string/test-strnlen.c (do_one_test): Likewise.
32405         (do_test): Likewise.
32406         * string/test-strpbrk.c (do_one_test): Likewise.
32407         (do_test): Likewise.
32408         * string/test-strrchr.c (do_one_test): Likewise.
32409         (do_test): Likewise.
32410         * string/test-strspn.c (do_one_test): Likewise.
32411         (do_test): Likewise.
32412         * string/test-strstr.c (do_one_test): Likewise.
32413         (do_test): Likewise.
32415         * benchtests/Makefile (string-bench): Add string benchmarks.
32416         * benchtests/bench-bcopy-ifunc.c: New file.
32417         * benchtests/bench-bcopy.c: New file.
32418         * benchtests/bench-bzero-ifunc.c: New file.
32419         * benchtests/bench-bzero.c: New file.
32420         * benchtests/bench-memccpy-ifunc.c: New file.
32421         * benchtests/bench-memccpy.c: New file.
32422         * benchtests/bench-memchr-ifunc.c: New file.
32423         * benchtests/bench-memchr.c: New file.
32424         * benchtests/bench-memcmp-ifunc.c: New file.
32425         * benchtests/bench-memcmp.c: New file.
32426         * benchtests/bench-memmem-ifunc.c: New file.
32427         * benchtests/bench-memmem.c: New file.
32428         * benchtests/bench-memmove-ifunc.c: New file.
32429         * benchtests/bench-memmove.c: New file.
32430         * benchtests/bench-mempcpy-ifunc.c: New file.
32431         * benchtests/bench-mempcpy.c: New file.
32432         * benchtests/bench-memset-ifunc.c: New file.
32433         * benchtests/bench-memset.c: New file.
32434         * benchtests/bench-rawmemchr-ifunc.c: New file.
32435         * benchtests/bench-rawmemchr.c: New file.
32436         * benchtests/bench-stpcpy-ifunc.c: New file.
32437         * benchtests/bench-stpcpy.c: New file.
32438         * benchtests/bench-stpncpy-ifunc.c: New file.
32439         * benchtests/bench-stpncpy.c: New file.
32440         * benchtests/bench-strcasecmp-ifunc.c: New file.
32441         * benchtests/bench-strcasecmp.c: New file.
32442         * benchtests/bench-strcasestr-ifunc.c: New file.
32443         * benchtests/bench-strcasestr.c: New file.
32444         * benchtests/bench-strcat-ifunc.c: New file.
32445         * benchtests/bench-strcat.c: New file.
32446         * benchtests/bench-strchr-ifunc.c: New file.
32447         * benchtests/bench-strchr.c: New file.
32448         * benchtests/bench-strchrnul-ifunc.c: New file.
32449         * benchtests/bench-strchrnul.c: New file.
32450         * benchtests/bench-strcmp-ifunc.c: New file.
32451         * benchtests/bench-strcmp.c: New file.
32452         * benchtests/bench-strcpy-ifunc.c: New file.
32453         * benchtests/bench-strcpy.c: New file.
32454         * benchtests/bench-strcspn-ifunc.c: New file.
32455         * benchtests/bench-strcspn.c: New file.
32456         * benchtests/bench-strlen-ifunc.c: New file.
32457         * benchtests/bench-strlen.c: New file.
32458         * benchtests/bench-strncasecmp-ifunc.c: New file.
32459         * benchtests/bench-strncasecmp.c: New file.
32460         * benchtests/bench-strncat-ifunc.c: New file.
32461         * benchtests/bench-strncat.c: New file.
32462         * benchtests/bench-strncmp-ifunc.c: New file.
32463         * benchtests/bench-strncmp.c: New file.
32464         * benchtests/bench-strncpy-ifunc.c: New file.
32465         * benchtests/bench-strncpy.c: New file.
32466         * benchtests/bench-strnlen-ifunc.c: New file.
32467         * benchtests/bench-strnlen.c: New file.
32468         * benchtests/bench-strpbrk-ifunc.c: New file.
32469         * benchtests/bench-strpbrk.c: New file.
32470         * benchtests/bench-strrchr-ifunc.c: New file.
32471         * benchtests/bench-strrchr.c: New file.
32472         * benchtests/bench-strspn-ifunc.c: New file.
32473         * benchtests/bench-strspn.c: New file.
32474         * benchtests/bench-strstr-ifunc.c: New file.
32475         * benchtests/bench-strstr.c: New file.
32477         * benchtests/Makefile: Disable parallel execution of targets.
32478         (string-bench): Add memcpy.
32479         (benchset): New variable to store a list of benchmark sets.
32480         (bench-func): Renamed from bench.
32481         (bench-set): New target.
32482         (bench): Depend on bench-func and bench-set.
32483         * benchtests/README: Add section on benchmark sets.
32484         * benchtests/bench-memcpy-ifunc.c: New file.
32485         * benchtests/bench-memcpy.c: New file.
32486         * benchtests/bench-string.h: New file.
32488 2013-06-11  Andreas Schwab  <schwab@suse.de>
32490         [BZ #15577]
32491         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
32492         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
32493         values in the triple.
32494         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
32495         terminator in the group key.
32497 2013-06-11  Andreas Jaeger  <aj@suse.de>
32499         * po/zh_TW.po: Update Chinese (traditional) translation from
32500         translation project.
32502 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32504         * include/time.h (__clock_gettime): Add libc_hidden_proto.
32505         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
32506         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
32507         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32508         (clock_getcpuclockid): Likewise.
32509         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
32510         Add weak_alias and libc_hidden_def.
32511         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
32512         * rt/clock_gettime.c (clock_gettime): Rename to
32513         __clock_gettime.  Add weak_alias and libc_hidden_def.
32514         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
32515         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
32516         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
32517         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
32518         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
32519         Likewise.
32520         * rt/clock_settime.c (clock_settime): Rename to
32521         __clock_settime.  Add weak_alias and libc_hidden_def.
32522         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
32524 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
32526         * mach/err_boot.sub: Remove trailing whitespace.
32527         * mach/err_ipc.sub: Likewise.
32528         * mach/err_mach.sub: Likewise.
32530         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
32531         (ROUNDING_TESTS_double): Likewise.
32532         (ROUNDING_TESTS_long_double): Likewise.
32533         (ROUNDING_TESTS): Likewise.
32534         * math/libm-test.inc: Include <math-tests.h>.
32535         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
32536         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
32537         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
32538         (IF_ROUND_INIT_FE_UPWARD): Likewise.
32540 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32542         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
32543         of assigning.
32545 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
32547         * sysdeps/gnu/errlist.awk: Do not generate space at end of
32548         otherwise empty TRANS lines.
32549         * sysdeps/gnu/errlist.c: Regenerated.
32551         * catgets/gencat.c (error_print): Use (void) in function
32552         definition.
32553         * crypt/crypt_util.c (__init_des): Likewise.
32554         * crypt/speeds.c (Stop): Likewise.
32555         (main): Likewise.
32556         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
32557         * inet/ruserpass.c (token): Likewise.
32558         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
32559         * intl/localealias.c (extend_alias_table): Likewise.
32560         * intl/plural-exp.c (init_germanic_plural): Likewise.
32561         * libio/fcloseall.c (__fcloseall): Likewise.
32562         * libio/genops.c (_IO_flush_all): Likewise.
32563         (_IO_flush_all_linebuffered): Likewise.
32564         (_IO_cleanup): Likewise.
32565         (_IO_iter_begin): Likewise.
32566         (_IO_iter_end): Likewise.
32567         (_IO_list_lock): Likewise.
32568         (_IO_list_unlock): Likewise.
32569         (_IO_list_resetlock): Likewise.
32570         * libio/getchar.c (getchar): Likewise.
32571         * libio/getchar_u.c (getchar_unlocked): Likewise.
32572         * libio/getwchar.c (getwchar): Likewise.
32573         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
32574         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
32575         * login/getpt.c (__getpt): Likewise.
32576         * login/tst-utmp.c (main): Likewise.
32577         * malloc/hooks.c (__malloc_check_init): Likewise.
32578         * malloc/malloc.c (__malloc_stats): Likewise.
32579         * malloc/mtrace.c (tr_break): Likewise.
32580         (mtrace): Likewise.
32581         (muntrace): Likewise.
32582         * misc/fstab.c (endfsent): Likewise.
32583         * misc/getclktck.c (__getclktck): Likewise.
32584         * misc/getdtsz.c (__getdtablesize): Likewise.
32585         * misc/gethostid.c (gethostid): Likewise.
32586         * misc/getpagesize.c (__getpagesize): Likewise.
32587         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
32588         (__get_nprocs): Likewise.
32589         (__get_phys_pages): Likewise.
32590         (__get_avphys_pages): Likewise.
32591         * misc/getttyent.c (getttyent): Likewise.
32592         (setttyent): Likewise.
32593         (endttyent): Likewise.
32594         * misc/getusershell.c (getusershell): Likewise.
32595         (endusershell): Likewise.
32596         (setusershell): Likewise.
32597         (initshells): Likewise.
32598         * misc/hsearch.c (__hdestroy): Likewise.
32599         * misc/sync.c (sync): Likewise.
32600         * misc/syslog.c (closelog_internal): Likewise.
32601         (closelog): Likewise.
32602         * misc/ttyslot.c (ttyslot): Likewise.
32603         * misc/vhangup.c (vhangup): Likewise.
32604         * posix/fork.c (__fork): Likewise.
32605         * posix/getegid.c (__getegid): Likewise.
32606         * posix/geteuid.c (__geteuid): Likewise.
32607         * posix/getgid.c (__getgid): Likewise.
32608         * posix/getpid.c (__getpid): Likewise.
32609         * posix/getppid.c (__getppid): Likewise.
32610         * posix/getuid.c (__getuid): Likewise.
32611         * posix/pause.c (pause): Likewise.
32612         * posix/setpgrp.c (setpgrp): Likewise.
32613         * posix/setsid.c (__setsid): Likewise.
32614         * posix/test-vfork.c (noop): Likewise.
32615         * resolv/gethnamaddr.c (_endhtent): Likewise.
32616         (_gethtent): Likewise.
32617         (ht_endhostent): Likewise.
32618         (gethostent): Likewise.
32619         (dns_service): Likewise.
32620         * stdlib/drand48.c (drand48): Likewise.
32621         * stdlib/lrand48.c (lrand48): Likewise.
32622         * stdlib/mrand48.c (mrand48): Likewise.
32623         * stdlib/rand.c (rand): Likewise.
32624         * stdlib/random.c (__random): Likewise.
32625         * stdlib/setenv.c (clearenv): Likewise.
32626         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
32627         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
32628         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
32629         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
32630         (__get_nprocs): Likewise.
32631         (__get_phys_pages): Likewise.
32632         (__get_avphys_pages): Likewise.
32633         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
32634         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
32635         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
32636         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
32637         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
32638         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
32639         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
32640         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
32641         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
32642         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
32643         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
32644         * sysdeps/mach/hurd/sync.c (sync): Likewise.
32645         * sysdeps/posix/clock.c (clock): Likewise.
32646         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
32647         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
32648         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
32649         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
32650         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
32651         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32652         (__get_nprocs_conf): Likewise.
32653         (__get_phys_pages): Likewise.
32654         (__get_avphys_pages): Likewise.
32655         * time/clock.c (clock): Likewise.
32656         * time/tzset.c (__tzname_max): Likewise.
32658 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
32660         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
32661         (__bswap_32): Do not use "register".
32662         * crypt/crypt.c (_ufc_doit_r): Likewise.
32663         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
32664         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
32665         * gmon/gmon.c (__monstartup): Likewise.
32666         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
32667         * hurd/hurdmalloc.c (more_memory): Likewise.
32668         (malloc): Likewise.
32669         (free): Likewise.
32670         (realloc): Likewise.
32671         (malloc_fork_prepare): Likewise.
32672         (malloc_fork_parent): Likewise.
32673         (malloc_fork_child): Likewise.
32674         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
32675         (_svcauth_des): Likewise.
32676         * inet/inet_lnaof.c (inet_lnaof): Likewise.
32677         * inet/inet_net.c (inet_network): Likewise.
32678         * inet/inet_netof.c (inet_netof): Likewise.
32679         * inet/rcmd.c (__validuser2_sa): Likewise.
32680         * io/fts.c (fts_open): Likewise.
32681         (fts_load): Likewise.
32682         (fts_close): Likewise.
32683         (fts_read): Likewise.
32684         (fts_children): Likewise.
32685         (fts_build): Likewise.
32686         (fts_stat): Likewise.
32687         (fts_sort): Likewise.
32688         (fts_alloc): Likewise.
32689         (fts_lfree): Likewise.
32690         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
32691         (_IO_file_xsgetn): Likewise.
32692         (_IO_file_xsgetn_mmap): Likewise.
32693         * libio/iofopncook.c (_IO_cookie_read): Likewise.
32694         (_IO_cookie_write): Likewise.
32695         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
32696         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
32697         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
32698         * malloc/obstack.c (_obstack_begin): Likewise.
32699         (_obstack_begin_1): Likewise.
32700         (_obstack_newchunk): Likewise.
32701         (_obstack_allocated_p): Likewise.
32702         (obstack_free): Likewise.
32703         (_obstack_memory_used): Likewise.
32704         * misc/getttyent.c (getttynam): Likewise.
32705         (getttyent): Likewise.
32706         (skip): Likewise.
32707         (value): Likewise.
32708         * misc/getusershell.c (initshells): Likewise.
32709         * misc/syslog.c (__vsyslog_chk): Likewise.
32710         * misc/ttyslot.c (ttyslot): Likewise.
32711         * nis/nis_hash.c (__nis_hash): Likewise.
32712         * posix/fnmatch_loop.c (FCT): Likewise.
32713         * posix/getconf.c (print_all): Likewise.
32714         (main): Likewise.
32715         * posix/getopt.c (exchange): Likewise.
32716         * posix/glob.c (globfree): Likewise.
32717         (prefix_array): Likewise.
32718         (__glob_pattern_type): Likewise.
32719         * resolv/arpa/nameser.h (NS_GET16): Likewise.
32720         (NS_GET32): Likewise.
32721         (NS_PUT16): Likewise.
32722         (NS_PUT32): Likewise.
32723         * resolv/gethnamaddr.c (getanswer): Likewise.
32724         (gethostbyname2): Likewise.
32725         (gethostbyaddr): Likewise.
32726         (_gethtent): Likewise.
32727         (_gethtbyname2): Likewise.
32728         (_gethtbyaddr): Likewise.
32729         * resolv/ns_print.c (dst_s_get_int16): Likewise.
32730         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
32731         * resolv/res_init.c (__res_vinit): Likewise.
32732         (net_mask): Likewise.
32733         * resolv/res_mkquery.c (outchar): Likewise.
32734         (PRINT): Likewise.
32735         * stdio-common/printf_fp.c (outchar): Likewise.
32736         (PRINT): Likewise.
32737         * stdio-common/printf_fphex.c (outchar): Likewise.
32738         (PRINT): Likewise.
32739         * stdio-common/printf_size.c (outchar): Likewise.
32740         (PRINT): Likewise.
32741         * stdio-common/test_rdwr.c (main): Likewise.
32742         * stdio-common/tfformat.c (matches): Likewise.
32743         * stdio-common/vfprintf.c (outchar): Likewise.
32744         (printf_unknown): Likewise.
32745         (buffered_vfprintf): Likewise.
32746         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
32747         * stdio-common/xbug.c (AppendToBuffer): Likewise.
32748         (ReadFile): Likewise.
32749         * stdlib/qsort.c (SWAP): Likewise.
32750         (_quicksort): Likewise.
32751         * stdlib/setenv.c (__add_to_environ): Likewise.
32752         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
32753         * stdlib/strtol_l.c (__strtol_l): Likewise.
32754         * stdlib/tst-strtod.c (main): Likewise.
32755         * stdlib/tst-strtol.c (main): Likewise.
32756         * stdlib/tst-strtoll.c (main): Likewise.
32757         * string/bits/string2.h (__strcmp_cc): Likewise.
32758         (__strcmp_cg): Likewise.
32759         (__strcspn_c1): Likewise.
32760         (__strcspn_c2): Likewise.
32761         (__strcspn_c3): Likewise.
32762         (__strspn_c1): Likewise.
32763         (__strspn_c2): Likewise.
32764         (__strspn_c3): Likewise.
32765         (__strsep_1c): Likewise.
32766         (__strsep_2c): Likewise.
32767         (__strsep_3c): Likewise.
32768         * string/memccpy.c (__memccpy): Likewise.
32769         * string/stpcpy.c (__stpcpy): Likewise.
32770         * string/strcmp.c (strcmp): Likewise.
32771         * string/strrchr.c (strrchr): Likewise.
32772         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
32773         Likewise.
32774         * sysdeps/mach/hurd/getcwd.c
32775         (_hurd_canonicalize_directory_name_internal): Likewise.
32776         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
32777         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
32778         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
32779         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
32780         Likewise, in both definitions.
32781         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
32782         definitions.
32783         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
32784         64] (__bswap_64): Likewise.
32785         * time/test_time.c (main): Likewise.
32786         * time/tzfile.c (__tzfile_read): Likewise.
32787         (__tzfile_compute): Likewise.
32788         * time/tzset.c (__tzset_parse_tz): Likewise.
32789         (tzset_internal): Likewise.
32790         (compute_change): Likewise.
32791         * wcsmbs/wcscat.c (__wcscat): Likewise.
32792         * wcsmbs/wcschr.c (wcschr): Likewise.
32793         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
32794         * wcsmbs/wcscspn.c (wcscspn): Likewise.
32795         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
32796         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
32797         * wcsmbs/wcsspn.c (wcsspn): Likewise.
32798         * wcsmbs/wcsstr.c (wcsstr): Likewise.
32799         * wcsmbs/wmemchr.c (wmemchr): Likewise.
32800         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32801         * wcsmbs/wmemset.c (wmemset): Likewise.
32803 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
32805         * scripts/config.guess: Update to version 2013-05-16.
32806         * scripts/config.sub: Update to version 2013-04-24.
32807         * scripts/install-sh: Update to version 2011-11-20.07.
32808         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
32809         * scripts/move-if-change: Update to version 2012-01-06 07:23.
32811 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
32813         * debug/fgetws_u_chk.c: Fix leading whitespaces.
32814         * elf/sln.c: Likewise.
32815         * hurd/hurd/ioctl.h: Likewise.
32816         * hurd/hurdmalloc.c: Likewise.
32817         * hurd/xattr.c: Likewise.
32818         * include/shlib-compat.h: Likewise.
32819         * inet/ruserpass.c: Likewise.
32820         * libio/iofgets_u.c: Likewise.
32821         * libio/iofgetws_u.c: Likewise.
32822         * locale/programs/ld-identification.c: Likewise.
32823         * locale/programs/ld-time.c: Likewise.
32824         * mach/msg-destroy.c: Likewise.
32825         * nss/nss_files/files-netgrp.c: Likewise.
32826         * resolv/res_data.c: Likewise.
32827         * soft-fp/op-1.h: Likewise.
32828         * soft-fp/op-2.h: Likewise.
32829         * soft-fp/op-4.h: Likewise.
32830         * soft-fp/op-common.h: Likewise.
32831         * stdio-common/printf_fphex.c: Likewise.
32832         * stdlib/strtod_l.c: Likewise.
32833         * sunrpc/rpc/clnt.h: Likewise.
32834         * sysdeps/generic/framestate.c: Likewise.
32835         * sysdeps/i386/bsd-_setjmp.S: Likewise.
32836         * sysdeps/i386/bsd-setjmp.S: Likewise.
32837         * sysdeps/i386/__longjmp.S: Likewise.
32838         * sysdeps/i386/setjmp.S: Likewise.
32839         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32840         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32841         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32842         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32843         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32844         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
32845         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32846         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32847         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32848         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32849         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
32850         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
32851         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
32852         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
32853         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
32854         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32855         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
32856         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
32857         * sysdeps/ieee754/support.c: Likewise.
32858         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32859         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
32860         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
32861         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
32862         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
32863         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
32864         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
32865         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
32866         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
32867         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
32868         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
32869         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
32870         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
32871         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
32872         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
32873         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
32874         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
32877 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
32879         * posix/transbug.c: Remove executable mode.
32881 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
32883         * crypt/speeds.c: Remove trailing whitespace.
32884         * dlfcn/default.c: Likewise.
32885         * elf/ifuncdep2.c: Likewise.
32886         * elf/ifuncmain1.c: Likewise.
32887         * elf/ifuncmain1vis.c: Likewise.
32888         * elf/testobj.h: Likewise.
32889         * elf/tst-stackguard1.c: Likewise.
32890         * gmon/sys/gmon.h: Likewise.
32891         * hurd/hurdmsg.c: Likewise.
32892         * hurd/new-fd.c: Likewise.
32893         * hurd/ports-get.c: Likewise.
32894         * iconvdata/ibm1008_420.c: Likewise.
32895         * inet/tst-getni1.c: Likewise.
32896         * inet/tst-getni2.c: Likewise.
32897         * libio/ioungetc.c: Likewise.
32898         * libio/wfiledoalloc.c: Likewise.
32899         * manual/libm-err-tab.pl: Likewise.
32900         * math/w_dremf.c: Likewise.
32901         * misc/ftruncate.c: Likewise.
32902         * posix/bug-glob2.c: Likewise.
32903         * posix/tst-pcre.c: Likewise.
32904         * posix/wait4.c: Likewise.
32905         * resolv/README: Likewise.
32906         * resolv/res_debug.h: Likewise.
32907         * resolv/tst-inet_ntop.c: Likewise.
32908         * setjmp/bug269-setjmp.c: Likewise.
32909         * soft-fp/extended.h: Likewise.
32910         * soft-fp/op-1.h: Likewise.
32911         * soft-fp/op-2.h: Likewise.
32912         * soft-fp/op-4.h: Likewise.
32913         * soft-fp/op-8.h: Likewise.
32914         * soft-fp/testit.c: Likewise.
32915         * stdio-common/bug16.c: Likewise.
32916         * stdlib/random.c: Likewise.
32917         * sunrpc/rpcsvc/rquota.x: Likewise.
32918         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
32919         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32920         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32921         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32922         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32923         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32924         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32925         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32926         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32927         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32928         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32929         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
32930         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32931         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
32932         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32933         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
32934         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
32935         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32936         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
32937         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32938         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32939         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32940         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
32941         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
32942         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
32943         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
32944         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32945         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32946         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32947         * sysdeps/ieee754/s_lib_version.c: Likewise.
32948         * sysdeps/mach/hurd/check_fds.c: Likewise.
32949         * sysdeps/mach/hurd/getsockname.c: Likewise.
32950         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
32951         * sysdeps/mach/hurd/recvfrom.c: Likewise.
32952         * sysdeps/powerpc/bits/link.h: Likewise.
32953         * sysdeps/powerpc/dl-procinfo.c: Likewise.
32954         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
32955         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
32956         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
32957         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32958         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
32959         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
32960         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32961         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
32962         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32963         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
32964         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
32965         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
32966         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32967         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32968         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32969         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
32970         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
32971         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32972         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32973         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32974         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
32975         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32976         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
32977         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
32978         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
32979         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
32980         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32981         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32982         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
32983         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
32984         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
32985         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32986         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32987         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
32988         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32989         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
32990         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
32991         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
32992         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
32993         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
32994         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
32995         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
32996         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
32997         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
32998         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
32999         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
33000         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
33001         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
33002         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
33003         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33004         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33005         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33006         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33007         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
33008         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
33009         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
33010         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33011         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
33012         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
33013         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
33014         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
33015         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
33016         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33017         * sysdeps/powerpc/sysdep.h: Likewise.
33018         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33019         * sysdeps/s390/s390-64/sub_n.S: Likewise.
33020         * sysdeps/sh/dl-trampoline.S: Likewise.
33021         * sysdeps/sh/memset.S: Likewise.
33022         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
33023         * sysdeps/sh/strlen.S: Likewise.
33024         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
33025         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
33026         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
33027         * sysdeps/sparc/sparc32/rem.S: Likewise.
33028         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
33029         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
33030         * sysdeps/sparc/sparc32/strchr.S: Likewise.
33031         * sysdeps/sparc/sparc32/udiv.S: Likewise.
33032         * sysdeps/sparc/sparc32/urem.S: Likewise.
33033         * sysdeps/sparc/sparc64/add_n.S: Likewise.
33034         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33035         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
33036         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
33037         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
33038         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
33039         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
33040         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
33041         * sysdeps/unix/bsd/times.c: Likewise.
33042         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
33043         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
33044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
33045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
33046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
33047         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
33048         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
33049         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
33050         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
33051         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
33052         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
33053         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33054         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
33055         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33056         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33057         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
33058         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33059         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
33060         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
33061         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
33062         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
33063         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
33064         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33065         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
33066         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
33067         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
33068         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
33069         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33070         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
33071         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
33072         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
33073         * sysdeps/x86_64/strcspn.S: Likewise.
33075 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33077         * locale/C-translit.h: Revert #include <stdint.h> because this is a
33078         generated file.  Regenerate properly from gen-translit.pl.
33079         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
33080         locale/C-translit.h.
33082 2013-06-05  Andreas Schwab  <schwab@suse.de>
33084         [BZ #15100]
33085         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
33086         week as 6 instead of -1.
33087         * time/tst-strptime.c (day_tests): Add test case.
33089 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33091         * sysdeps/generic/math_private.h
33092         (libc_feholdexcept_setround_53bit): Replace with
33093         libc_feholdsetround_53bit.
33094         (libc_feupdateenv_53bit): Replace with
33095         libc_feresetround_53bit.
33096         (SET_RESTORE_ROUND_53BIT): Adjust.
33098 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33100         * string/test-strchrnul.c: Add copyright header.
33102         * posix/tst-getaddrinfo4.c: Increase test timeout.
33104 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
33106         [BZ #15536]
33107         * math/libm-test.inc (MAX_EXP): Remove
33108         (MIN_EXP): Define.
33109         (ulp): Use MIN_EXP - MANT_DIG.
33110         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
33112 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
33114         * po/be.po: Revert last change.
33115         * po/zh_CN.po: Likewise.
33116         * po/header.pot: Likewise.
33118 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
33120         * Makefile ($(common-objpfx)linkobj/libc.so): Define
33121         link-libc-deps to empty as target-specific variable.
33122         * Makerules (link-libc-args): New variable.
33123         (libc-for-link): Likewise.
33124         (link-libc-deps): Likewise.
33125         (lib%.so): Depend on $(link-libc-deps).  Link with
33126         $(link-libc-args).
33127         (build-module): Link with $(link-libc-args).
33128         (build-module-asneeded): Likewise.
33129         (build-module-helper-objlist): Filter out $(link-libc-deps) from
33130         list of objects.
33131         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
33132         target-specific variable.
33133         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
33134         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
33135         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
33136         libc.
33137         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
33138         libc and ld.so.
33139         ($(objpfx)libpcprofile.so): Likewise.
33140         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
33141         libc_nonshared.a.
33142         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
33143         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
33144         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
33145         $(link-libc-deps).
33146         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
33147         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
33148         * login/Makefile ($(objpfx)libutil.so): Likewise.
33149         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
33150         * math/Makefile ($(objpfx)libm.so): Likewise.
33151         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
33152         $(objpfx)libnsl.so): Define libc-for-link as target-specific
33153         variable instead of depending directly on libc.
33154         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
33155         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
33156         $(link-libc-deps).
33157         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
33158         libc.
33159         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
33160         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
33161         ($(objpfx)libanl.so): Likewise.
33162         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
33163         ld.so.
33164         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
33165         $(link-libc-deps).
33166         * sysdeps/i386/fpu/Makefile: Remove file.
33167         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
33168         ($(objpfx)libm.so): Remove dependency on ld.so.
33170 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
33172         [BZ # 15553]
33173         * nis/yp_xdr.c (XDRMAXNAME): Define.
33174         (XDRMAXRECORD): Define.
33175         (xdr_domainname): Use XDRMAXNAME.
33176         (xdr_mapname): Likewise.
33177         (xdr_peername): Likewise.
33178         (xdr_keydat): Use XDRMAXRECORD.
33179         (xdr_valdat): Likewise.
33181 2013-05-30  Jeff Law  <law@redhat.com>
33183         [BZ #14256]
33184         * manual/errno.texi (ESTALE): Update to account for more than
33185         just NFS file systems.
33186         * sysdeps/gnu/errlist.c: Regenerated.
33188 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33190         [BZ #15465]
33191         * elf/Makefile (tests): Add tst-null-argv.
33192         (modules-names):  Add tst-null-argv-lib.
33193         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
33194         (tst-null-argv-ENV): Set environment for tst-null-argv.
33195         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
33196         (RTLD_PROGNAME): New macro.
33197         * elf/tst-null-argv.c: New test case.
33198         * elf/tst-null-argv-lib.c: Library for test case.
33199         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
33200         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
33201         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
33202         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
33203         * elf/dl-init.c (call_init): Likewise.
33204         (_dl_init): Likewise.
33205         * elf/dl-load.c (print_search_path): Likewise.
33206         (_dl_map_object): Likewise.
33207         * elf/dl-lookup.c (do_lookup_x): Likewise.
33208         (add_dependency): Likewise.
33209         (_dl_lookup_symbol_x): Likewise.
33210         (_dl_debug_bindings): Likewise.
33211         * elf/dl-open.c (_dl_show_scope): Likewise.
33212         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
33213         * elf/dl-version.c (match_symbol): Likewise.
33214         (_dl_check_map_versions): Likewise.
33215         * elf/rtld.c (dl_main): Likewise.
33216         (print_unresolved): Use RTLD_PROGNAME.
33217         (print_missing_version): Likewise.
33218         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
33219         (elf_machine_rela): Likewise.
33220         * sysdeps/powerpc/powerpc32/dl-machine.c
33221         (__process_machine_rela): Likewise.
33222         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33223         Likewise.
33224         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33225         Likewise.
33226         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
33227         Likewise.
33228         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33229         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
33230         Likewise.
33231         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
33232         Likewise.
33233         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33235 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
33237         * po/be.po: Add descriptive title.
33238         * po/zh_CN.po: Likewise.
33239         * po/header.pot: Likewise.
33241 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
33243         * locale/programs/locarchive.c (create_archive): Inlucde fname in
33244         error message.
33245         (enlarge_archive): Likewise.
33247 2013-05-28  Ben North  <ben@redfrontdoor.org>
33249         * manual/arith.texi (frexp): It is the magnitude of the return
33250         value which lies in [0.5, 1), not the return value itself.
33252 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33254         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33256 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
33258         * stdio-common/bug26.c (main): Correct fscanf template.
33260         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
33261         declare _dl_skip_args.
33263         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
33264         Don't declare.
33266         * manual/platform.texi: Add missing @end deftypefun.
33268 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33270         [BZ #15529]
33271         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
33272         bit of mantissa of 2^16382.
33273         * math/libm-test.inc (hypot_test_data): Add more tests.
33275         * math/libm-test.inc: Add drem and pow10 to list of tested
33276         functions.
33277         (pow10_test): New function.
33278         (drem_test): Likewise.
33279         (drem_test_tonearest): Likewise.
33280         (drem_test_towardzero): Likewise.
33281         (drem_test_downward): Likewise.
33282         (drem_test_upward): Likewise.
33283         (main): Call the new functions.
33285         * math/libm-test.inc (finite_test_data): Remove.
33286         (finite_test): Run tests from isfinite_test_data.
33287         (gamma_test_data): Remove.
33288         (gamma_test): Run tests from lgamma_test_data.
33289         * sysdeps/i386/fpu/libm-test-ulps: Update.
33290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33292 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33294         * manual/platform.texi: Add PowerPC PPR function set documentation.
33295         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
33296         implementation.
33298 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
33300         * math/libm-test.inc (MAX_EXP): Define.
33301         (ULPDIFF): Define.
33302         (ulp): New function.
33303         (check_float_internal): Use ULPDIFF.
33304         (cpow_test): Disable failing test.
33305         (check_ulp): Test ulp() implemetnation.
33306         (main): Call check_ulp before starting tests.
33308 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33310         * math/gen-libm-test.pl (generate_testfile): Do not handle
33311         START_DATA and END_DATA.
33312         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
33313         END_DATA.
33314         (acos_tonearest_test_data): Likewise.
33315         (acos_towardzero_test_data): Likewise.
33316         (acos_downward_test_data): Likewise.
33317         (acos_upward_test_data): Likewise.
33318         (acosh_test_data): Likewise.
33319         (asin_test_data): Likewise.
33320         (asin_tonearest_test_data): Likewise.
33321         (asin_towardzero_test_data): Likewise.
33322         (asin_downward_test_data): Likewise.
33323         (asin_upward_test_data): Likewise.
33324         (asinh_test_data): Likewise.
33325         (atan_test_data): Likewise.
33326         (atanh_test_data): Likewise.
33327         (atan2_test_data): Likewise.
33328         (cabs_test_data): Likewise.
33329         (cacos_test_data): Likewise.
33330         (cacosh_test_data): Likewise.
33331         (carg_test_data): Likewise.
33332         (casin_test_data): Likewise.
33333         (casinh_test_data): Likewise.
33334         (catan_test_data): Likewise.
33335         (catanh_test_data): Likewise.
33336         (cbrt_test_data): Likewise.
33337         (ccos_test_data): Likewise.
33338         (ccosh_test_data): Likewise.
33339         (ceil_test_data): Likewise.
33340         (cexp_test_data): Likewise.
33341         (cimag_test_data): Likewise.
33342         (clog_test_data): Likewise.
33343         (clog10_test_data): Likewise.
33344         (conj_test_data): Likewise.
33345         (copysign_test_data): Likewise.
33346         (cos_test_data): Likewise.
33347         (cos_tonearest_test_data): Likewise.
33348         (cos_towardzero_test_data): Likewise.
33349         (cos_downward_test_data): Likewise.
33350         (cos_upward_test_data): Likewise.
33351         (cosh_test_data): Likewise.
33352         (cosh_tonearest_test_data): Likewise.
33353         (cosh_towardzero_test_data): Likewise.
33354         (cosh_downward_test_data): Likewise.
33355         (cosh_upward_test_data): Likewise.
33356         (cpow_test_data): Likewise.
33357         (cproj_test_data): Likewise.
33358         (creal_test_data): Likewise.
33359         (csin_test_data): Likewise.
33360         (csinh_test_data): Likewise.
33361         (csqrt_test_data): Likewise.
33362         (ctan_test_data): Likewise.
33363         (ctan_tonearest_test_data): Likewise.
33364         (ctan_towardzero_test_data): Likewise.
33365         (ctan_downward_test_data): Likewise.
33366         (ctan_upward_test_data): Likewise.
33367         (ctanh_test_data): Likewise.
33368         (ctanh_tonearest_test_data): Likewise.
33369         (ctanh_towardzero_test_data): Likewise.
33370         (ctanh_downward_test_data): Likewise.
33371         (ctanh_upward_test_data): Likewise.
33372         (erf_test_data): Likewise.
33373         (erfc_test_data): Likewise.
33374         (exp_test_data): Likewise.
33375         (exp_tonearest_test_data): Likewise.
33376         (exp_towardzero_test_data): Likewise.
33377         (exp_downward_test_data): Likewise.
33378         (exp_upward_test_data): Likewise.
33379         (exp10_test_data): Likewise.
33380         (exp2_test_data): Likewise.
33381         (expm1_test_data): Likewise.
33382         (fabs_test_data): Likewise.
33383         (fdim_test_data): Likewise.
33384         (finite_test_data): Likewise.
33385         (floor_test_data): Likewise.
33386         (fma_test_data): Likewise.
33387         (fma_towardzero_test_data): Likewise.
33388         (fma_downward_test_data): Likewise.
33389         (fma_upward_test_data): Likewise.
33390         (fmax_test_data): Likewise.
33391         (fmin_test_data): Likewise.
33392         (fmod_test_data): Likewise.
33393         (fpclassify_test_data): Likewise.
33394         (frexp_test_data): Likewise.
33395         (gamma_test_data): Likewise.
33396         (hypot_test_data): Likewise.
33397         (ilogb_test_data): Likewise.
33398         (isfinite_test_data): Likewise.
33399         (isgreater_test_data): Likewise.
33400         (isgreaterequal_test_data): Likewise.
33401         (isinf_test_data): Likewise.
33402         (isless_test_data): Likewise.
33403         (islessequal_test_data): Likewise.
33404         (islessgreater_test_data): Likewise.
33405         (isnan_test_data): Likewise.
33406         (isnormal_test_data): Likewise.
33407         (issignaling_test_data): Likewise.
33408         (isunordered_test_data): Likewise.
33409         (j0_test_data): Likewise.
33410         (j1_test_data): Likewise.
33411         (jn_test_data): Likewise.
33412         (ldexp_test_data): Likewise.
33413         (lgamma_test_data): Likewise.
33414         (lrint_test_data): Likewise.
33415         (lrint_tonearest_test_data): Likewise.
33416         (lrint_towardzero_test_data): Likewise.
33417         (lrint_downward_test_data): Likewise.
33418         (lrint_upward_test_data): Likewise.
33419         (llrint_test_data): Likewise.
33420         (llrint_tonearest_test_data): Likewise.
33421         (llrint_towardzero_test_data): Likewise.
33422         (llrint_downward_test_data): Likewise.
33423         (llrint_upward_test_data): Likewise.
33424         (log_test_data): Likewise.
33425         (log10_test_data): Likewise.
33426         (log1p_test_data): Likewise.
33427         (log2_test_data): Likewise.
33428         (logb_test_data): Likewise.
33429         (logb_downward_test_data): Likewise.
33430         (lround_test_data): Likewise.
33431         (llround_test_data): Likewise.
33432         (modf_test_data): Likewise.
33433         (nearbyint_test_data): Likewise.
33434         (nextafter_test_data): Likewise.
33435         (nexttoward_test_data): Likewise.
33436         (pow_test_data): Likewise.
33437         (pow_tonearest_test_data): Likewise.
33438         (pow_towardzero_test_data): Likewise.
33439         (pow_downward_test_data): Likewise.
33440         (pow_upward_test_data): Likewise.
33441         (remainder_test_data): Likewise.
33442         (remainder_tonearest_test_data): Likewise.
33443         (remainder_towardzero_test_data): Likewise.
33444         (remainder_downward_test_data): Likewise.
33445         (remainder_upward_test_data): Likewise.
33446         (remquo_test_data): Likewise.
33447         (rint_test_data): Likewise.
33448         (rint_tonearest_test_data): Likewise.
33449         (rint_towardzero_test_data): Likewise.
33450         (rint_downward_test_data): Likewise.
33451         (rint_upward_test_data): Likewise.
33452         (round_test_data): Likewise.
33453         (scalb_test_data): Likewise.
33454         (scalbn_test_data): Likewise.
33455         (scalbln_test_data): Likewise.
33456         (signbit_test_data): Likewise.
33457         (sin_test_data): Likewise.
33458         (sin_tonearest_test_data): Likewise.
33459         (sin_towardzero_test_data): Likewise.
33460         (sin_downward_test_data): Likewise.
33461         (sin_upward_test_data): Likewise.
33462         (sincos_test_data): Likewise.
33463         (sinh_test_data): Likewise.
33464         (sinh_tonearest_test_data): Likewise.
33465         (sinh_towardzero_test_data): Likewise.
33466         (sinh_downward_test_data): Likewise.
33467         (sinh_upward_test_data): Likewise.
33468         (sqrt_test_data): Likewise.
33469         (tan_test_data): Likewise.
33470         (tan_tonearest_test_data): Likewise.
33471         (tan_towardzero_test_data): Likewise.
33472         (tan_downward_test_data): Likewise.
33473         (tan_upward_test_data): Likewise.
33474         (tanh_test_data): Likewise.
33475         (tgamma_test_data): Likewise.
33476         (trunc_test_data): Likewise.
33477         (y0_test_data): Likewise.
33478         (y1_test_data): Likewise.
33479         (yn_test_data): Likewise.
33480         (significand_test_data): Likewise.
33482         * math/gen-libm-test.pl (@functions): Remove variable.
33483         (generate_testfile): Don't handle START and END lines.
33484         * math/libm-test.inc (START): New macro.
33485         (END): Likewise.
33486         (END_COMPLEX): Likewise.
33487         (acos_test): Use END macro without arguments.
33488         (acos_test_tonearest): Likewise.
33489         (acos_test_towardzero): Likewise.
33490         (acos_test_downward): Likewise.
33491         (acos_test_upward): Likewise.
33492         (acosh_test): Likewise.
33493         (asin_test): Likewise.
33494         (asin_test_tonearest): Likewise.
33495         (asin_test_towardzero): Likewise.
33496         (asin_test_downward): Likewise.
33497         (asin_test_upward): Likewise.
33498         (asinh_test): Likewise.
33499         (atan_test): Likewise.
33500         (atanh_test): Likewise.
33501         (atan2_test): Likewise.
33502         (cabs_test): Likewise.
33503         (cacos_test): Use END_COMPLEX macro without arguments.
33504         (cacosh_test): Likewise.
33505         (carg_test): Use END macro without arguments.
33506         (casin_test): Use END_COMPLEX macro without arguments.
33507         (casinh_test): Likewise.
33508         (catan_test): Likewise.
33509         (catanh_test): Likewise.
33510         (cbrt_test): Use END macro without arguments.
33511         (ccos_test): Use END_COMPLEX macro without arguments.
33512         (ccosh_test): Likewise.
33513         (ceil_test): Use END macro without arguments.
33514         (cexp_test): Use END_COMPLEX macro without arguments.
33515         (cimag_test): Use END macro without arguments.
33516         (clog_test): Use END_COMPLEX macro without arguments.
33517         (clog10_test): Likewise.
33518         (conj_test): Likewise.
33519         (copysign_test): Use END macro without arguments.
33520         (cos_test): Likewise.
33521         (cos_test_tonearest): Likewise.
33522         (cos_test_towardzero): Likewise.
33523         (cos_test_downward): Likewise.
33524         (cos_test_upward): Likewise.
33525         (cosh_test): Likewise.
33526         (cosh_test_tonearest): Likewise.
33527         (cosh_test_towardzero): Likewise.
33528         (cosh_test_downward): Likewise.
33529         (cosh_test_upward): Likewise.
33530         (cpow_test): Use END_COMPLEX macro without arguments.
33531         (cproj_test): Likewise.
33532         (creal_test): Use END macro without arguments.
33533         (csin_test): Use END_COMPLEX macro without arguments.
33534         (csinh_test): Likewise.
33535         (csqrt_test): Likewise.
33536         (ctan_test): Likewise.
33537         (ctan_test_tonearest): Likewise.
33538         (ctan_test_towardzero): Likewise.
33539         (ctan_test_downward): Likewise.
33540         (ctan_test_upward): Likewise.
33541         (ctanh_test): Likewise.
33542         (ctanh_test_tonearest): Likewise.
33543         (ctanh_test_towardzero): Likewise.
33544         (ctanh_test_downward): Likewise.
33545         (ctanh_test_upward): Likewise.
33546         (erf_test): Use END macro without arguments.
33547         (erfc_test): Likewise.
33548         (exp_test): Likewise.
33549         (exp_test_tonearest): Likewise.
33550         (exp_test_towardzero): Likewise.
33551         (exp_test_downward): Likewise.
33552         (exp_test_upward): Likewise.
33553         (exp10_test): Likewise.
33554         (exp2_test): Likewise.
33555         (expm1_test): Likewise.
33556         (fabs_test): Likewise.
33557         (fdim_test): Likewise.
33558         (finite_test): Likewise.
33559         (floor_test): Likewise.
33560         (fma_test): Likewise.
33561         (fma_test_towardzero): Likewise.
33562         (fma_test_downward): Likewise.
33563         (fma_test_upward): Likewise.
33564         (fmax_test): Likewise.
33565         (fmin_test): Likewise.
33566         (fmod_test): Likewise.
33567         (fpclassify_test): Likewise.
33568         (frexp_test): Likewise.
33569         (gamma_test): Likewise.
33570         (hypot_test): Likewise.
33571         (ilogb_test): Likewise.
33572         (isfinite_test): Likewise.
33573         (isgreater_test): Likewise.
33574         (isgreaterequal_test): Likewise.
33575         (isinf_test): Likewise.
33576         (isless_test): Likewise.
33577         (islessequal_test): Likewise.
33578         (islessgreater_test): Likewise.
33579         (isnan_test): Likewise.
33580         (isnormal_test): Likewise.
33581         (issignaling_test): Likewise.
33582         (isunordered_test): Likewise.
33583         (j0_test): Likewise.
33584         (j1_test): Likewise.
33585         (jn_test): Likewise.
33586         (ldexp_test): Likewise.
33587         (lgamma_test): Likewise.
33588         (lrint_test): Likewise.
33589         (lrint_test_tonearest): Likewise.
33590         (lrint_test_towardzero): Likewise.
33591         (lrint_test_downward): Likewise.
33592         (lrint_test_upward): Likewise.
33593         (llrint_test): Likewise.
33594         (llrint_test_tonearest): Likewise.
33595         (llrint_test_towardzero): Likewise.
33596         (llrint_test_downward): Likewise.
33597         (llrint_test_upward): Likewise.
33598         (log_test): Likewise.
33599         (log10_test): Likewise.
33600         (log1p_test): Likewise.
33601         (log2_test): Likewise.
33602         (logb_test): Likewise.
33603         (logb_test_downward): Likewise.
33604         (lround_test): Likewise.
33605         (llround_test): Likewise.
33606         (modf_test): Likewise.
33607         (nearbyint_test): Likewise.
33608         (nextafter_test): Likewise.
33609         (nexttoward_test): Likewise.
33610         (pow_test): Likewise.
33611         (pow_test_tonearest): Likewise.
33612         (pow_test_towardzero): Likewise.
33613         (pow_test_downward): Likewise.
33614         (pow_test_upward): Likewise.
33615         (remainder_test): Likewise.
33616         (remainder_test_tonearest): Likewise.
33617         (remainder_test_towardzero): Likewise.
33618         (remainder_test_downward): Likewise.
33619         (remainder_test_upward): Likewise.
33620         (remquo_test): Likewise.
33621         (rint_test): Likewise.
33622         (rint_test_tonearest): Likewise.
33623         (rint_test_towardzero): Likewise.
33624         (rint_test_downward): Likewise.
33625         (rint_test_upward): Likewise.
33626         (round_test): Likewise.
33627         (scalb_test): Likewise.
33628         (scalbn_test): Likewise.
33629         (scalbln_test): Likewise.
33630         (signbit_test): Likewise.
33631         (sin_test): Likewise.
33632         (sin_test_tonearest): Likewise.
33633         (sin_test_towardzero): Likewise.
33634         (sin_test_downward): Likewise.
33635         (sin_test_upward): Likewise.
33636         (sincos_test): Likewise.
33637         (sinh_test): Likewise.
33638         (sinh_test_tonearest): Likewise.
33639         (sinh_test_towardzero): Likewise.
33640         (sinh_test_downward): Likewise.
33641         (sinh_test_upward): Likewise.
33642         (sqrt_test): Likewise.
33643         (tan_test): Likewise.
33644         (tan_test_tonearest): Likewise.
33645         (tan_test_towardzero): Likewise.
33646         (tan_test_downward): Likewise.
33647         (tan_test_upward): Likewise.
33648         (tanh_test): Likewise.
33649         (tgamma_test): Likewise.
33650         (trunc_test): Likewise.
33651         (y0_test): Likewise.
33652         (y1_test): Likewise.
33653         (yn_test): Likewise.
33654         (significand_test): Likewise.
33656 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
33658         [BZ #15381]
33659         * libio/genops.c (_IO_no_init): Initialize wide struct info.
33661 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
33663         [BZ #14894]
33664         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
33665         __ppc_mdoio and __ppc_mdoom.
33666         * manual/platform.texi: Document new functions __ppc_yield,
33667         __ppc_mdoio and __ppc_mdoom.
33669 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
33671         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
33672         (main): Mention "tls" pseudo-hwcap is legacy.
33673         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
33675 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
33677         * math/gen-libm-test.pl (parse_args): Output only string of
33678         arguments as text for test name, not full call or descriptions of
33679         tests for extra outputs.
33680         (generate_testfile): Do not pass function name to parse_args.
33681         Generate this_func variable from START.
33682         * math/libm-test.inc (struct test_f_f_data): Rename test_name
33683         field to arg_str.
33684         (struct test_ff_f_data): Likewise.
33685         (test_ff_f_data_nexttoward): Likewise.
33686         (struct test_fi_f_data): Likewise.
33687         (struct test_fl_f_data): Likewise.
33688         (struct test_if_f_data): Likewise.
33689         (struct test_fff_f_data): Likewise.
33690         (struct test_c_f_data): Likewise.
33691         (struct test_f_f1_data): Likewise.  Remove field extra_name.
33692         (struct test_fF_f1_data): Likewise.
33693         (struct test_ffI_f1_data): Likewise.
33694         (struct test_c_c_data): Rename test_name field to arg_str.
33695         (struct test_cc_c_data): Likewise.
33696         (struct test_f_i_data): Likewise.
33697         (struct test_ff_i_data): Likewise.
33698         (struct test_f_l_data): Likewise.
33699         (struct test_f_L_data): Likewise.
33700         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
33701         and extra2_name.
33702         (COMMON_TEST_SETUP): New macro.
33703         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
33704         (COMMON_TEST_CLEANUP): Likewise.
33705         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
33706         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
33707         macros.
33708         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
33709         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
33710         macros.
33711         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
33712         (RUN_TEST_fff_f): Take argument string.  Call new setup and
33713         cleanup macros.
33714         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
33715         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
33716         macros.
33717         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
33718         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
33719         macros.
33720         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
33721         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
33722         cleanup macros.
33723         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
33724         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
33725         cleanup macros.
33726         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
33727         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
33728         cleanup macros.
33729         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
33730         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
33731         macros.
33732         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
33733         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
33734         macros.
33735         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
33736         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
33737         macros.
33738         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
33739         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
33740         cleanup macros.
33741         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
33742         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
33743         cleanup macros.
33744         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
33745         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
33746         macros.
33747         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
33748         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
33749         cleanup macros.
33750         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
33751         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
33752         macros.
33753         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
33754         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
33755         macros.
33756         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
33757         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
33758         cleanup macros.
33759         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
33761 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
33763         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
33764         to _sifields.sigfault.
33765         (si_addr_lsb): Define new macro.
33766         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33767         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33768         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
33770 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
33772         [BZ #15441]
33773         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
33774         returns -1.
33775         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
33776         null return -1.
33777         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
33778         loading the domain.
33780 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
33782         * math/gen-libm-test.pl (parse_args): Do not include expected
33783         result in test name.
33784         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
33785         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33786         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33787         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33788         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33791 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33793         * benchtests/Makefile: Sort function entries.
33795         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
33796         tanh, asinh, acosh, atanh.
33797         * benchtests/acos-inputs: New file.
33798         * benchtests/acosh-inputs: New file.
33799         * benchtests/asin-inputs: New file.
33800         * benchtests/asinh-inputs: New file.
33801         * benchtests/atanh-inputs: New file.
33802         * benchtests/cosh-inputs: New file.
33803         * benchtests/log-inputs: New file.
33804         * benchtests/sinh-inputs: New file.
33805         * benchtests/tanh-inputs: New file.
33807 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
33809         [BZ #15339]
33810         * posix/tst-getaddrinfo4.c: New test.
33811         * posix/Makefile (tests): Add it.
33813 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33815         [BZ #15339]
33816         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
33817         when no services were used.
33818         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
33819         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
33821 2013-05-21  Andreas Schwab  <schwab@suse.de>
33823         [BZ #15014]
33824         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
33825         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
33826         successful.
33827         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
33828         redundant variable declarations and reallocation of buffer when
33829         parsing as IPv6 address.  Always set NSS status when called from
33830         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
33831         buffer too small.  Correct computation of needed size.
33832         * nss/Makefile (tests): Add test-digits-dots.
33833         * nss/test-digits-dots.c: New test.
33835 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33837         * benchtests/Makefile: Remove instructions for adding
33838         benchmark tests.
33839         * benchtests/README: New file to explain how to execute and
33840         enhance the benchmark tests.
33842 2013-05-21  Andreas Schwab  <schwab@suse.de>
33844         [BZ #15493]
33845         * setjmp/Makefile (tests): Add tst-sigsetjmp.
33846         * setjmp/tst-sigsetjmp.c: New test.
33848 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
33850         * sysdeps/x86_64/memset.S (memset): New implementation.
33851         (__bzero): Likewise.
33852         (__memset_tail): New function.
33854 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
33856         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
33857         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
33858         __memcpy_sse2_unaligned ifunc selection.
33859         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33860         Add memcpy-sse2-unaligned.S.
33861         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33862         Add: __memcpy_sse2_unaligned.
33864 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
33866         [BZ #15490]
33867         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33868         math_force_eval before restoring floating-point envrionment.
33869         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
33870         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33871         Likewise.
33872         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
33873         <math_private.h>.
33874         (__nearbyintl): Use math_force_eval before restoring
33875         floating-point environment.
33876         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
33878         * math/gen-libm-test.pl (special_functions): Remove.
33879         (parse_args): Don't handle TEST_extra.  Handle functions with no
33880         return value.
33881         * math/libm-test.inc (struct test_sincos_data): Replace with
33882         struct test_fFF_11_data.
33883         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
33884         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
33885         (sincos_test_data): Change element type to struct
33886         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
33887         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
33888         RUN_TEST_LOOP_sincos.
33889         * math/README.libm-test: Don't mention special handling of
33890         individual functions.
33891         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
33892         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33893         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33894         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33895         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33898         * math/gen-libm-test.pl (get_variable): Remove function.
33899         (parse_args): Don't show pointer parameters to call in test
33900         names.  Use "extra output N" in test names for extra outputs
33901         rather than naming variables.
33903 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
33905         [BZ #15488]
33906         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
33907         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
33908         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
33909         double tests.
33910         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
33911         disable.
33912         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
33913         check_long_double.
33915         * math/gen-libm-test.pl (@tests): Remove variable.
33916         ($count): Likewise.
33917         (new_test): Remove function.
33918         (show_exceptions): New function.
33919         (special_functions): Use show_exceptions instead of new_test.
33920         (parse_args): Likewise.
33921         (generate_testfile): Pass only function name in generated call to
33922         print_max_error or print_complex_max_error.
33923         (get_ulps): Do not handle complex tests specially.
33924         (output_test): Rename to ...
33925         (get_all_ulps_for_test): ... this.  Return a string rather than
33926         printing to a file.  Require ulps to be present.
33927         (output_ulps): Generate arrays rather than #defines.
33928         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
33929         (struct ulp_data): New type.
33930         (BUILD_COMPLEX_ULP): Remove macro.
33931         (compare_ulp_data): New function.
33932         (find_ulps): Likewise.
33933         (find_test_ulps): Likewise.
33934         (find_function_ulps): Likewise.
33935         (find_complex_function_ulps): Likewise.
33936         (print_max_error): Determine allowed ulps using
33937         find_function_ulps.
33938         (print_complex_max_error): Determine allowed ulps using
33939         find_complex_function_ulps.
33940         (check_float_internal): Determine max ulps using find_test_ulps.
33941         (check_float): Do not take max_ulp parameter.  Update call to
33942         check_float_internal.
33943         (check_complex): Likewise.
33944         (check_int): Do not take max_ulp parameter.
33945         (check_long): Likewise.
33946         (check_bool): Likewise.
33947         (check_longlong): Likewise.
33948         (struct test_f_f_data): Remove max_ulp field.
33949         (struct test_ff_f_data): Likewise.
33950         (struct test_ff_f_data_nexttoward): Likewise.
33951         (struct test_fi_f_data): Likewise.
33952         (struct test_fl_f_data): Likewise.
33953         (struct test_if_f_data): Likewise.
33954         (struct test_fff_f_data): Likewise.
33955         (struct test_c_f_data): Likewise.
33956         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
33957         (struct test_fF_f1_data): Likewise.
33958         (struct test_ffI_f1_data): Likewise.
33959         (struct test_c_c_data): Remove max_ulp field.
33960         (struct test_cc_c_data): Likewise.
33961         (struct test_f_i_data): Likewise.
33962         (struct test_ff_i_data): Likewise.
33963         (struct test_f_l_data): Likewise.
33964         (struct test_f_L_data): Likewise.
33965         (struct test_sincos_data): Likewise.
33966         (RUN_TEST_f_f): Do not handle ulps.
33967         (RUN_TEST_LOOP_f_f): Likewise.
33968         (RUN_TEST_2_f): Likewise.
33969         (RUN_TEST_LOOP_2_f): Likewise.
33970         (RUN_TEST_fff_f): Likewise.
33971         (RUN_TEST_LOOP_fff_f): Likewise.
33972         (RUN_TEST_c_f): Likewise.
33973         (RUN_TEST_LOOP_c_f): Likewise.
33974         (RUN_TEST_f_f1): Likewise.
33975         (RUN_TEST_LOOP_f_f1): Likewise.
33976         (RUN_TEST_fF_f1): Likewise.
33977         (RUN_TEST_LOOP_fF_f1): Likewise.
33978         (RUN_TEST_fI_f1): Likewise.
33979         (RUN_TEST_LOOP_fI_f1): Likewise.
33980         (RUN_TEST_ffI_f1): Likewise.
33981         (RUN_TEST_LOOP_ffI_f1): Likewise.
33982         (RUN_TEST_c_c): Likewise.
33983         (RUN_TEST_LOOP_c_c): Likewise.
33984         (RUN_TEST_cc_c): Likewise.
33985         (RUN_TEST_LOOP_cc_c): Likewise.
33986         (RUN_TEST_f_i): Likewise.
33987         (RUN_TEST_LOOP_f_i): Likewise.
33988         (RUN_TEST_f_i_tg): Likewise.
33989         (RUN_TEST_LOOP_f_i_tg): Likewise.
33990         (RUN_TEST_ff_i_tg): Likewise.
33991         (RUN_TEST_LOOP_ff_i_tg): Likewise.
33992         (RUN_TEST_f_b): Likewise.
33993         (RUN_TEST_LOOP_f_b): Likewise.
33994         (RUN_TEST_f_b_tg): Likewise.
33995         (RUN_TEST_LOOP_f_b_tg): Likewise.
33996         (RUN_TEST_f_l): Likewise.
33997         (RUN_TEST_LOOP_f_l): Likewise.
33998         (RUN_TEST_f_L): Likewise.
33999         (RUN_TEST_LOOP_f_L): Likewise.
34000         (RUN_TEST_sincos): Likewise.
34001         (RUN_TEST_LOOP_sincos): Likewise.
34003 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
34005         [BZ #15480]
34006         [BZ #15485]
34007         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
34008         main case of finite arguments, set rounding mode to FE_TONEAREST
34009         and discard exceptions.
34010         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
34011         exceptions.
34012         (remainder_tonearest_test_data): New variable.
34013         (remainder_test_tonearest): New function.
34014         (remainder_towardzero_test_data): New variable.
34015         (remainder_test_towardzero): New function.
34016         (remainder_downward_test_data): New variable.
34017         (remainder_test_downward): New function.
34018         (remainder_upward_test_data): New variable.
34019         (remainder_test_upward): New function.
34020         (main): Call the new test functions.
34022         * math/libm-test.inc (struct test_f_f1_data): Remove field
34023         extra_init.
34024         (struct test_fF_f1_data): Likewise.
34025         (struct test_ffI_f1_data): Likewise.
34026         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
34027         based on value of EXTRA_EXPECTED.
34028         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
34029         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
34030         EXTRA_VAR based on value of EXTRA_EXPECTED.
34031         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
34032         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
34033         EXTRA_VAR based on value of EXTRA_EXPECTED.
34034         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
34035         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
34036         EXTRA_VAR based on value of EXTRA_EXPECTED.
34037         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34038         * math/gen-libm-test.pl (parse_args): Don't output initializers
34039         for extra output values.
34041         * math/libm-test.inc (check_int): Expect result to be exactly
34042         equal to expected value and do not handle ulps.
34043         (check_long): Likewise.
34044         (check_longlong): Likewise.
34046         * math/libm-test.inc (ceil_test_data): Test for "inexact"
34047         exceptions.
34048         (cimag_test_data): Likewise.
34049         (conj_test_data): Likewise.
34050         (copysign_test_data): Likewise.
34051         (cproj_test_data): Likewise.
34052         (creal_test_data): Likewise.
34053         (fabs_test_data): Likewise.
34054         (fdim_test_data): Likewise.
34055         (finite_test_data): Likewise.
34056         (floor_test_data): Likewise.
34057         (fmax_test_data): Likewise.
34058         (fmin_test_data): Likewise.
34059         (fmod_test_data): Likewise.
34060         (fpclassify_test_data): Likewise.
34061         (frexp_test_data): Likewise.
34062         (ilogb_test_data): Likewise.
34063         (isfinite_test_data): Likewise.
34064         (isgreater_test_data): Likewise.
34065         (isgreaterequal_test_data): Likewise.
34066         (isinf_test_data): Likewise.
34067         (isless_test_data): Likewise.
34068         (islessequal_test_data): Likewise.
34069         (islessgreater_test_data): Likewise.
34070         (isnan_test_data): Likewise.
34071         (isnormal_test_data): Likewise.
34072         (issignaling_test_data): Likewise.
34073         (isunordered_test_data): Likewise.
34074         (ldexp_test_data): Likewise.
34075         (lrint_test_data): Likewise.
34076         (lrint_test_data) [TEST_FLOAT]: Disable one test.
34077         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
34078         (lrint_tonearest_test_data): Test for "inexact" exceptions.
34079         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34080         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
34081         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34082         test input.
34083         (lrint_towardzero_test_data): Test for "inexact" exceptions.
34084         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34085         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
34086         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
34087         that test input.
34088         (lrint_downward_test_data): Test for "inexact" exceptions.
34089         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34090         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
34091         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34092         test input.
34093         (lrint_upward_test_data): Test for "inexact" exceptions.
34094         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
34095         test input.
34096         (llrint_test_data): Test for "inexact" exceptions.
34097         (llrint_test_data) [TEST_FLOAT]: Disable one test.
34098         (llrint_tonearest_test_data): Test for "inexact" exceptions.
34099         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34100         (llrint_towardzero_test_data): Test for "inexact" exceptions.
34101         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34102         (llrint_downward_test_data): Test for "inexact" exceptions.
34103         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34104         (llrint_upward_test_data): Test for "inexact" exceptions.
34105         (logb_test_data): Likewise.
34106         (logb_downward_test_data): Likewise.
34107         (nextafter_test_data): Likewise.
34108         (nexttoward_test_data): Likewise.
34109         (remainder_test_data): Likewise.
34110         (remquo_test_data): Likewise.
34111         (scalbn_test_data): Likewise.
34112         (scalbln_test_data): Likewise.
34113         (signbit_test_data): Likewise.
34114         (sqrt_test_data): Likewise.
34115         (significand_test_data): Likewise.
34117 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34119         [BZ #15424]
34120         * benchtests/bench-modf.c (struct args): Mark arg0 as
34121         volatile.
34122         * scripts/bench.pl: Mark members of struct args as volatile.
34124 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34126         [BZ # 15497]
34127         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
34128         negative infinity on POWER6 or lower.
34129         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
34131 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
34133         [BZ #15442]
34134         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
34135         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
34136         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
34137         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
34138         (_FP_SETQNAN): New macro.
34139         (_FP_SETQNAN_SEMIRAW): Likewise.
34140         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
34141         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
34142         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
34143         (FP_EXTEND): Use _FP_FRAC_SNANP.
34144         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
34145         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
34146         into account.
34147         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34148         New macro.
34149         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34150         Likewise.
34152 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34154         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
34155         with DIVIDE_BY_ZERO_EXCEPTION.
34156         (gamma_test_data): Likewise.
34157         (lgamma_test_data): Likewise.
34158         (log_test_data): Likewise.
34159         (log10_test_data): Likewise.
34160         (log2_test_data): Likewise.
34161         (tgamma_test_data): Likewise.
34163         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
34164         (acos_test_tonearest): Likewise.
34165         (acos_test_towardzero): Likewise.
34166         (acos_test_downward): Likewise.
34167         (acos_test_upward): Likewise.
34168         (acosh_test): Likewise.
34169         (asin_test): Likewise.
34170         (asin_test_tonearest): Likewise.
34171         (asin_test_towardzero): Likewise.
34172         (asin_test_downward): Likewise.
34173         (asin_test_upward): Likewise.
34174         (asinh_test): Likewise.
34175         (atan_test): Likewise.
34176         (atanh_test): Likewise.
34177         (atan2_test): Likewise.
34178         (cabs_test): Likewise.
34179         (cacos_test): Likewise.
34180         (cacosh_test): Likewise.
34181         (casin_test): Likewise.
34182         (casinh_test): Likewise.
34183         (catan_test): Likewise.
34184         (catanh_test): Likewise.
34185         (cbrt_test): Likewise.
34186         (ccos_test): Likewise.
34187         (ccosh_test): Likewise.
34188         (cexp_test): Likewise.
34189         (clog_test): Likewise.
34190         (clog10_test): Likewise.
34191         (cos_test): Likewise.
34192         (cos_test_tonearest): Likewise.
34193         (cos_test_towardzero): Likewise.
34194         (cos_test_downward): Likewise.
34195         (cos_test_upward): Likewise.
34196         (cosh_test): Likewise.
34197         (cosh_test_tonearest): Likewise.
34198         (cosh_test_towardzero): Likewise.
34199         (cosh_test_downward): Likewise.
34200         (cosh_test_upward): Likewise.
34201         (cpow_test): Likewise.
34202         (csin_test): Likewise.
34203         (csinh_test): Likewise.
34204         (csqrt_test): Likewise.
34205         (ctan_test): Likewise.
34206         (ctan_test_tonearest): Likewise.
34207         (ctan_test_towardzero): Likewise.
34208         (ctan_test_downward): Likewise.
34209         (ctan_test_upward): Likewise.
34210         (ctanh_test): Likewise.
34211         (ctanh_test_tonearest): Likewise.
34212         (ctanh_test_towardzero): Likewise.
34213         (ctanh_test_downward): Likewise.
34214         (ctanh_test_upward): Likewise.
34215         (erf_test): Likewise.
34216         (erfc_test): Likewise.
34217         (exp_test): Likewise.
34218         (exp_test_tonearest): Likewise.
34219         (exp_test_towardzero): Likewise.
34220         (exp_test_downward): Likewise.
34221         (exp_test_upward): Likewise.
34222         (exp10_test): Likewise.
34223         (exp2_test): Likewise.
34224         (expm1_test): Likewise.
34225         (fmod_test): Likewise.
34226         (gamma_test): Likewise.
34227         (hypot_test): Likewise.
34228         (j0_test): Likewise.
34229         (j1_test): Likewise.
34230         (jn_test): Likewise.
34231         (lgamma_test): Likewise.
34232         (log_test): Likewise.
34233         (log10_test): Likewise.
34234         (log1p_test): Likewise.
34235         (log2_test): Likewise.
34236         (logb_test_downward): Likewise.
34237         (pow_test): Likewise.
34238         (pow_test_tonearest): Likewise.
34239         (pow_test_towardzero): Likewise.
34240         (pow_test_downward): Likewise.
34241         (pow_test_upward): Likewise.
34242         (remainder_test): Likewise.
34243         (remquo_test): Likewise.
34244         (sin_test): Likewise.
34245         (sin_test_tonearest): Likewise.
34246         (sin_test_towardzero): Likewise.
34247         (sin_test_downward): Likewise.
34248         (sin_test_upward): Likewise.
34249         (sincos_test): Likewise.
34250         (sinh_test): Likewise.
34251         (sinh_test_tonearest): Likewise.
34252         (sinh_test_towardzero): Likewise.
34253         (sinh_test_downward): Likewise.
34254         (sinh_test_upward): Likewise.
34255         (sqrt_test): Likewise.
34256         (tan_test): Likewise.
34257         (tan_test_tonearest): Likewise.
34258         (tan_test_towardzero): Likewise.
34259         (tan_test_downward): Likewise.
34260         (tan_test_upward): Likewise.
34261         (tanh_test): Likewise.
34262         (tgamma_test): Likewise.
34263         (y0_test): Likewise.
34264         (y1_test): Likewise.
34265         (yn_test): Likewise.
34267         * math/gen-libm-test.pl (adjust_arg): Remove function.
34268         (special_function): Remove argument $in_func.  Only handle
34269         generating output for tables of tests, not inside functions.
34270         (parse_args): Likewise.
34271         (generate_testfile): Remove variable $in_func.  Update call to
34272         parse_args.
34273         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
34274         (MINUS_ZERO_INIT): Rename macro to minus_zero.
34275         (PLUS_INFTY_INIT): Rename macro to plus_infty.
34276         (MINUS_INFTY_INIT): Rename macro to minus_infty.
34277         (QNAN_VALUE_INIT): Rename macro to qnan_value.
34278         (MAX_VALUE_INIT): Rename macro to max_value.
34279         (MIN_VALUE_INIT): Rename macro to min_value.
34280         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
34281         (plus_zero): Remove variable.
34282         (minus_zero): Likewise.
34283         (plus_infty): Likewise.
34284         (minus_infty): Likewise.
34285         (qnan_value): Likewise.
34286         (max_value): Likewise.
34287         (min_value): Likewise.
34288         (min_subnorm_value): Likewise.
34290 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34292         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
34293         uint64_t or uint32_t usage.
34294         * crypt/sha256-block.c: Likewise.
34295         * crypt/sha256-crypt.c: Likewise.
34296         * crypt/sha256.c: Likewise.
34297         * crypt/sha512-block.c: Likewise.
34298         * crypt/sha512-crypt.c: Likewise.
34299         * crypt/sha512.c: Likewise.
34300         * debug/backtrace-tst.c: Likewise.
34301         * debug/pcprofiledump.c: Likewise.
34302         * elf/cache.c: Likewise.
34303         * elf/dl-cache.c: Likewise.
34304         * elf/dl-misc.c: Likewise.
34305         * elf/dl-profile.c: Likewise.
34306         * elf/dl-support.c: Likewise.
34307         * elf/ldconfig.c: Likewise.
34308         * elf/sprof.c: Likewise.
34309         * iconv/dummy-repertoire.c: Likewise.
34310         * iconv/iconv_charmap.c: Likewise.
34311         * iconv/skeleton.c: Likewise.
34312         * iconvdata/8bit-generic.c: Likewise.
34313         * iconvdata/cp737.h: Likewise.
34314         * iconvdata/cp775.h: Likewise.
34315         * iconvdata/ibm1008.h: Likewise.
34316         * iconvdata/ibm1025.h: Likewise.
34317         * iconvdata/ibm1046.h: Likewise.
34318         * iconvdata/ibm1097.h: Likewise.
34319         * iconvdata/ibm1112.h: Likewise.
34320         * iconvdata/ibm1122.h: Likewise.
34321         * iconvdata/ibm1123.h: Likewise.
34322         * iconvdata/ibm1124.h: Likewise.
34323         * iconvdata/ibm1129.h: Likewise.
34324         * iconvdata/ibm1130.h: Likewise.
34325         * iconvdata/ibm1132.h: Likewise.
34326         * iconvdata/ibm1133.h: Likewise.
34327         * iconvdata/ibm1137.h: Likewise.
34328         * iconvdata/ibm1140.h: Likewise.
34329         * iconvdata/ibm1141.h: Likewise.
34330         * iconvdata/ibm1142.h: Likewise.
34331         * iconvdata/ibm1143.h: Likewise.
34332         * iconvdata/ibm1144.h: Likewise.
34333         * iconvdata/ibm1145.h: Likewise.
34334         * iconvdata/ibm1146.h: Likewise.
34335         * iconvdata/ibm1147.h: Likewise.
34336         * iconvdata/ibm1148.h: Likewise.
34337         * iconvdata/ibm1149.h: Likewise.
34338         * iconvdata/ibm1153.h: Likewise.
34339         * iconvdata/ibm1154.h: Likewise.
34340         * iconvdata/ibm1155.h: Likewise.
34341         * iconvdata/ibm1156.h: Likewise.
34342         * iconvdata/ibm1157.h: Likewise.
34343         * iconvdata/ibm1158.h: Likewise.
34344         * iconvdata/ibm1160.h: Likewise.
34345         * iconvdata/ibm1161.h: Likewise.
34346         * iconvdata/ibm1162.h: Likewise.
34347         * iconvdata/ibm1163.h: Likewise.
34348         * iconvdata/ibm1164.h: Likewise.
34349         * iconvdata/ibm1166.h: Likewise.
34350         * iconvdata/ibm1167.h: Likewise.
34351         * iconvdata/ibm12712.h: Likewise.
34352         * iconvdata/ibm1390.h: Likewise.
34353         * iconvdata/ibm1399.h: Likewise.
34354         * iconvdata/ibm16804.h: Likewise.
34355         * iconvdata/ibm4517.h: Likewise.
34356         * iconvdata/ibm4899.h: Likewise.
34357         * iconvdata/ibm4909.h: Likewise.
34358         * iconvdata/ibm4971.h: Likewise.
34359         * iconvdata/ibm5347.h: Likewise.
34360         * iconvdata/ibm803.h: Likewise.
34361         * iconvdata/ibm856.h: Likewise.
34362         * iconvdata/ibm901.h: Likewise.
34363         * iconvdata/ibm902.h: Likewise.
34364         * iconvdata/ibm9030.h: Likewise.
34365         * iconvdata/ibm9066.h: Likewise.
34366         * iconvdata/ibm921.h: Likewise.
34367         * iconvdata/ibm922.h: Likewise.
34368         * iconvdata/ibm9448.h: Likewise.
34369         * iconvdata/isiri-3342.h: Likewise.
34370         * iconvdata/jis0201.h: Likewise.
34371         * include/link.h: Likewise.
34372         * include/netdb.h: Likewise.
34373         * inet/check_native.c: Likewise.
34374         * inet/check_pf.c: Likewise.
34375         * inet/getipv4sourcefilter.c: Likewise.
34376         * inet/getnameinfo.c: Likewise.
34377         * inet/getsourcefilter.c: Likewise.
34378         * inet/htonl.c: Likewise.
34379         * inet/setipv4sourcefilter.c: Likewise.
34380         * inet/setsourcefilter.c: Likewise.
34381         * inet/test-inet6_opt.c: Likewise.
34382         * inet/tst-network.c: Likewise.
34383         * locale/C-collate.c: Likewise.
34384         * locale/C-ctype.c: Likewise.
34385         * locale/C-time.c: Likewise.
34386         * locale/C-translit.h: Likewise.
34387         * locale/loadarchive.c: Likewise.
34388         * locale/programs/3level.h: Likewise.
34389         * locale/programs/charmap.c: Likewise.
34390         * locale/programs/charmap.h: Likewise.
34391         * locale/programs/ld-address.c: Likewise.
34392         * locale/programs/ld-collate.c: Likewise.
34393         * locale/programs/ld-ctype.c: Likewise.
34394         * locale/programs/ld-identification.c: Likewise.
34395         * locale/programs/ld-measurement.c: Likewise.
34396         * locale/programs/ld-messages.c: Likewise.
34397         * locale/programs/ld-monetary.c: Likewise.
34398         * locale/programs/ld-name.c: Likewise.
34399         * locale/programs/ld-numeric.c: Likewise.
34400         * locale/programs/ld-paper.c: Likewise.
34401         * locale/programs/ld-telephone.c: Likewise.
34402         * locale/programs/ld-time.c: Likewise.
34403         * locale/programs/linereader.c: Likewise.
34404         * locale/programs/locale.c: Likewise.
34405         * locale/programs/locarchive.c: Likewise.
34406         * locale/programs/locfile.h: Likewise.
34407         * locale/programs/repertoire.c: Likewise.
34408         * locale/programs/simple-hash.c: Likewise.
34409         * locale/programs/simple-hash.h: Likewise.
34410         * malloc/memusage.c: Likewise.
34411         * malloc/memusagestat.c: Likewise.
34412         * nis/nis_defaults.c: Likewise.
34413         * nis/nis_hash.c: Likewise.
34414         * nis/nis_print.c: Likewise.
34415         * nis/nis_xdr.c: Likewise.
34416         * nscd/connections.c: Likewise.
34417         * nscd/hstcache.c: Likewise.
34418         * nscd/nscd_gethst_r.c: Likewise.
34419         * nscd/nscd_getserv_r.c: Likewise.
34420         * nscd/nscd_helper.c: Likewise.
34421         * nscd/servicescache.c: Likewise.
34422         * nss/makedb.c: Likewise.
34423         * nss/nss_db/db-XXX.c: Likewise.
34424         * nss/nss_db/db-initgroups.c: Likewise.
34425         * nss/nss_db/db-netgrp.c: Likewise.
34426         * nss/nss_files/files-network.c: Likewise.
34427         * nss/nss_files/files-parse.c: Likewise.
34428         * posix/bug-regex5.c: Likewise.
34429         * posix/fnmatch_loop.c: Likewise.
34430         * posix/regcomp.c: Likewise.
34431         * posix/regexec.c: Likewise.
34432         * posix/tst-rfc3484-2.c: Likewise.
34433         * posix/tst-rfc3484-3.c: Likewise.
34434         * posix/tst-rfc3484.c: Likewise.
34435         * resolv/nss_dns/dns-canon.c: Likewise.
34436         * resolv/nss_dns/dns-network.c: Likewise.
34437         * resolv/res_init.c: Likewise.
34438         * resolv/res_mkquery.c: Likewise.
34439         * resolv/tst-aton.c: Likewise.
34440         * stdlib/cxa_atexit.c: Likewise.
34441         * stdlib/cxa_finalize.c: Likewise.
34442         * stdlib/gen-fpioconst.c: Likewise.
34443         * stdlib/strtol_l.c: Likewise.
34444         * string/tst-endian.c: Likewise.
34445         * sunrpc/auth_des.c: Likewise.
34446         * sunrpc/clnt_udp.c: Likewise.
34447         * sunrpc/rtime.c: Likewise.
34448         * sunrpc/svcauth_des.c: Likewise.
34449         * sunrpc/xdr.c: Likewise.
34450         * sunrpc/xdr_intXX_t.c: Likewise.
34451         * sunrpc/xdr_rec.c: Likewise.
34452         * sysdeps/generic/ldconfig.h: Likewise.
34453         * sysdeps/generic/ldsodefs.h: Likewise.
34454         * sysdeps/generic/memusage.h: Likewise.
34455         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34456         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
34457         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
34458         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34459         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34460         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34461         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34462         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34463         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34464         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
34465         * sysdeps/posix/getaddrinfo.c: Likewise.
34466         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34467         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34468         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
34469         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34470         * sysdeps/powerpc/test-gettimebase.c: Likewise.
34471         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
34472         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
34473         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
34474         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
34475         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
34476         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
34477         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
34478         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
34479         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
34480         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
34481         * sysdeps/x86_64/dl-tls.h: Likewise.
34482         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
34483         * time/alt_digit.c: Likewise.
34484         * time/era.c: Likewise.
34485         * wcsmbs/tst-c16c32-1.c: Likewise.
34487 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34489         * math/libm-test.inc (struct test_sincos_data): New type.
34490         (RUN_TEST_LOOP_sincos): New macro.
34491         (sincos_test_data): New variable.
34492         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
34494 2013-05-16  Richard Henderson  <rth@redhat.com>
34496         * math/atest-exp2.c (LIMB64): New macro.
34497         (CONSTSZ): New macro.
34498         (mp_exp1, mp_exp_m1, mp_log2): New variables.
34499         (hexdig): Move ...
34500         (print_mpn_fp): ... to function scope.
34501         (read_mpn_hex): Remove.
34502         (get_log2): Remove.
34503         (exp2_mpn): Use mp_log2.
34504         (main): Use mp_exp1.
34506 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34508         * math/libm-test.inc: Remove comment about not testing "inexact"
34509         exceptions.
34510         (INEXACT_EXCEPTION): New macro.
34511         (NO_INEXACT_EXCEPTION): Likewise.
34512         (INVALID_EXCEPTION_OK): Update value.
34513         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34514         (OVERFLOW_EXCEPTION_OK): Likewise.
34515         (UNDERFLOW_EXCEPTION_OK): Likewise.
34516         (IGNORE_ZERO_INF_SIGN): Likewise.
34517         (ERRNO_UNCHANGED): Likewise.
34518         (ERRNO_EDOM): Likewise.
34519         (ERRNO_ERANGE): Likewise.
34520         (test_exceptions): Handle testing "inexact" exceptions.
34521         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
34522         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
34523         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
34524         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
34525         INEXACT_EXCEPTION.
34526         (rint_towardzero_test_data): Likewise.
34527         (rint_downward_test_data): Likewise.
34528         (rint_upward_test_data): Likewise.
34530         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
34531         with OVERFLOW_EXCEPTION.
34532         (exp10_test_data): Likewise.
34533         (exp2_test_data): Likewise.
34534         (expm1_test_data): Likewise.
34535         (lgamma_test_data): Likewise.
34536         (pow_test_data): Likewise.
34537         (tgamma_test_data): Likewise.
34538         (yn_test_data): Remove duplicate test of overflow.
34540         * math/libm-test.inc (struct test_cc_c_data): New type.
34541         (RUN_TEST_LOOP_cc_c): New macro.
34542         (cpow_test_data): New variable.
34543         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
34545         * math/libm-test.inc (struct test_f_L_data): New type.
34546         (RUN_TEST_LOOP_f_L): New macro.
34547         (llrint_test_data): New variable.
34548         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
34549         (llrint_tonearest_test_data): New variable.
34550         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
34551         (llrint_towardzero_test_data): New variable.
34552         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
34553         (llrint_downward_test_data): New variable.
34554         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
34555         (llrint_upward_test_data): New variable.
34556         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
34557         (llround_test_data): New variable.
34558         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
34560 2013-05-13  Peter Collingbourne  <pcc@google.com>
34562         * math/atest-exp2.c (get_log2): Remove const attribute.
34564 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
34566         * math/libm-test.inc (struct test_f_l_data): New type.
34567         (RUN_TEST_LOOP_f_l): New macro.
34568         (lrint_test_data): New variable.
34569         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
34570         (lrint_tonearest_test_data): New variable.
34571         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
34572         (lrint_towardzero_test_data): New variable.
34573         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
34574         (lrint_downward_test_data): New variable.
34575         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
34576         (lrint_upward_test_data): New variable.
34577         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
34578         (lround_test_data): New variable.
34579         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
34581 2013-05-15  Peter Collingbourne  <pcc@google.com>
34583         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
34584         (EXTRACT_WORDS64) Use where appropriate.
34585         (INSERT_WORDS64) Likewise.
34587         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
34588         constraints with x constraints.
34589         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
34591         * malloc/obstack.c (_obstack_compat): Add initializer.
34593 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
34595         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
34596         si_trapno and add si_addr_lsb to _sifields.sigfault.
34597         (si_trapno): Remove macro.
34598         (si_addr_lsb): Define new macro.
34599         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
34601 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
34603         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
34604         instead of TEST_f_l.
34605         (llrint_test_tonearest): Likewise.
34606         (llrint_test_towardzero): Likewise.
34607         (llrint_test_downward): Likewise.
34608         (llrint_test_upward): Likewise.
34609         (llround_test): Likewise.
34611         * math/libm-test.inc (struct test_f_i_data): Add comment.
34612         (RUN_TEST_LOOP_f_b): New macro.
34613         (RUN_TEST_LOOP_f_b_tg): Likewise.
34614         (finite_test_data): New variable.
34615         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
34616         (isfinite_test_data): New variable.
34617         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34618         (isinf_test_data): New variable.
34619         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34620         (isnan_test_data): New variable.
34621         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34622         (isnormal_test_data): New variable.
34623         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34624         (issignaling_test_data): New variable.
34625         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34626         (signbit_test_data): New variable.
34627         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34629         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
34630         with INVALID_EXCEPTION.
34631         (acosh_test_data): Likewise.
34632         (asin_test_data): Likewise.
34633         (atanh_test_data): Likewise.
34634         (fmod_test_data): Likewise.
34635         (log_test_data): Likewise.
34636         (log10_test_data): Likewise.
34637         (log2_test_data): Likewise.
34638         (pow_test_data): Likewise.
34639         (sqrt_test_data): Likewise.
34640         (y0_test_data): Likewise.
34641         (y1_test_data): Likewise.
34642         (yn_test_data): Likewise.
34644         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
34645         function contents.
34647         * math/libm-test.inc (struct test_ff_i_data): New type.
34648         (RUN_TEST_LOOP_ff_i_tg): New macro.
34649         (isgreater_test_data): New variable.
34650         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34651         (isgreaterequal_test_data): New variable.
34652         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34653         (isless_test_data): New variable.
34654         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34655         (islessequal_test_data): New variable.
34656         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34657         (islessgreater_test_data): New variable.
34658         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34659         (isunordered_test_data): New variable.
34660         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34662 2013-05-14  David S. Miller  <davem@davemloft.net>
34664         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34666 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
34668         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
34670         * math/libm-test.inc (struct test_fF_f1_data): Change type of
34671         extra_test to int.
34672         (struct test_f_i_data): Change type of max_ulp to int.
34674         * math/libm-test.inc (test_ffI_f1_data): New type.
34675         (RUN_TEST_LOOP_ffI_f1): New macro.
34676         (remquo_test_data): New variable.
34677         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
34679         * setjmp/tst-setjmp-fp.c: New file.
34680         * setjmp/Makefile (tests): Add tst-setjmp-fp.
34681         (link-libm): New variable.
34682         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
34684         * math/libm-test.inc (struct test_f_i_data): New type.
34685         (RUN_TEST_LOOP_f_i): New macro.
34686         (RUN_TEST_LOOP_f_i_tg): Likewise.
34687         (fpclassify_test_data): New variable.
34688         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
34689         (ilogb_test_data): New variable.
34690         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
34692         * math/libm-test.inc (scalbln_test): Correct function name in END
34693         call.
34695         * math/libm-test.inc (struct test_f_f1_data): Add comment.
34696         (RUN_TEST_LOOP_fI_f1): New macro.
34697         (frexp_test_data): New variable.
34698         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
34700         * math/libm-test.inc (struct test_fF_f1_data): New type.
34701         (RUN_TEST_LOOP_fF_f1): New macro.
34702         (modf_test_data): New variable.
34703         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
34705         * math/libm-test.inc (struct test_f_f1_data): New type.
34706         (RUN_TEST_LOOP_f_f1): New macro.
34707         (gamma_test_data): New variable.
34708         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34709         (lgamma_test_data): New variable.
34710         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34712 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
34714         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
34715         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
34716         (main): Comment "tls" pseudo-hwcap.
34718 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
34720         * math/libm-test.inc (struct test_fl_f_data): New type.
34721         (RUN_TEST_LOOP_fl_f): New variable.
34722         (scalbln_test_data): New variable.
34723         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
34725         * math/libm-test.inc (struct test_fi_f_data): New type.
34726         (RUN_TEST_LOOP_fi_f): New macro.
34727         (ldexp_test_data): New variable.
34728         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
34729         (scalbn_test_data): New variable.
34730         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
34732         * math/libm-test.inc (struct test_c_f_data): New type.
34733         (RUN_TEST_LOOP_c_f): New macro.
34734         (cabs_test_data): New variable.
34735         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
34736         (carg_test_data): New variable.
34737         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
34738         (cimag_test_data): New variable.
34739         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
34740         (creal_test_data): New variable.
34741         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
34743         * math/libm-test.inc (struct test_if_f_data): New type.
34744         (RUN_TEST_LOOP_if_f): New macro.
34745         (jn_test_data): New variable.
34746         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
34747         (yn_test_data): New variable.
34748         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
34750         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
34752 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34754         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
34755         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
34757 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
34759         * benchtests/Makefile (CPPFLAGS-nonlib): Add
34760         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
34761         (bench-deps): Add bench-timing.h.
34762         * benchtests-bench-skeleton.c: Include bench-timing.h.
34763         (main): Use TIMING_* macros instead of clock_gettime.
34764         * benchtests/bench-timing.h: New file.
34766         [BZ #14582]
34767         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
34768         Renamed from _LIB_VERSION.
34769         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
34771 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
34773         * math/libm-test.inc (struct test_fff_f_data): New type.
34774         (RUN_TEST_LOOP_fff_f): New macro.
34775         (fma_test_data): New variable.
34776         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
34777         (fma_towardzero_test_data): New variable.
34778         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
34779         (fma_downward_test_data): New variable.
34780         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
34781         (fma_upward_test_data): New variable.
34782         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
34784         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
34785         (struct test_c_c_data): New type.
34786         (RUN_TEST_LOOP_c_c): New macro.
34787         (cacos_test_data): New variable.
34788         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
34789         (cacosh_test_data): New variable.
34790         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
34791         (casin_test_data): New variable.
34792         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
34793         (casinh_test_data): New variable.
34794         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
34795         (catan_test_data): New variable.
34796         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
34797         (catanh_test_data): New variable.
34798         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
34799         (ccos_test_data): New variable.
34800         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
34801         (ccosh_test_data): New variable.
34802         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
34803         (cexp_test_data): New variable.
34804         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
34805         (clog_test_data): New variable.
34806         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
34807         (clog10_test_data): New variable.
34808         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
34809         (conj_test_data): New variable.
34810         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
34811         (cproj_test_data): New variable.
34812         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
34813         (csin_test_data): New variable.
34814         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
34815         (csinh_test_data): New variable.
34816         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
34817         (csqrt_test_data): New variable.
34818         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
34819         (ctan_test_data): New variable.
34820         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
34821         (ctan_tonearest_test_data): New variable.
34822         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34823         (ctan_towardzero_test_data): New variable.
34824         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34825         (ctan_downward_test_data): New variable.
34826         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34827         (ctan_upward_test_data): New variable.
34828         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34829         (ctanh_test_data): New variable.
34830         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
34831         (ctanh_tonearest_test_data): New variable.
34832         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34833         (ctanh_towardzero_test_data): New variable.
34834         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34835         (ctanh_downward_test_data): New variable.
34836         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34837         (ctanh_upward_test_data): New variable.
34838         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34839         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
34840         of BUILD_COMPLEX.
34842         * math/libm-test.inc (struct test_ff_f_data): New type.
34843         (struct test_ff_f_data_nexttoward): Likewise.
34844         (RUN_TEST_LOOP_2_f): New macro.
34845         (RUN_TEST_LOOP_ff_f): Likewise.
34846         (atan2_test_data): New variable.
34847         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
34848         (copysign_test_data): New variable.
34849         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
34850         (fdim_test_data): New variable.
34851         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
34852         (fmax_test_data): New variable.
34853         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
34854         (fmin_test_data): New variable.
34855         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
34856         (fmod_test_data): New variable.
34857         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
34858         (hypot_test_data): New variable.
34859         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
34860         (nextafter_test_data): New variable.
34861         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
34862         (nexttoward_test_data): New variable.
34863         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
34864         (pow_test_data): New variable.
34865         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
34866         (pow_tonearest_test_data): New variable.
34867         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
34868         (pow_towardzero_test_data): New variable.
34869         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
34870         (pow_downward_test_data): New variable.
34871         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
34872         (pow_upward_test_data): New variable.
34873         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
34874         (remainder_test_data): New variable.
34875         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
34876         (scalb_test_data): New variable.
34877         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
34878         * sysdeps/i386/fpu/libm-test-ulps: Update.
34880 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
34882         * math/libm-test.inc (fma_test): Use max_value instead of local
34883         variable fltmax.
34884         (nextafter_test): Likewise.
34886         * math/libm-test.inc (acos_towardzero_test_data): New variable.
34887         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34888         (acos_downward_test_data): New variable.
34889         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34890         (acos_upward_test_data): New variable.
34891         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34892         (acosh_test_data): New variable.
34893         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
34894         (asin_test_data): New variable.
34895         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
34896         (asin_tonearest_test_data): New variable.
34897         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34898         (asin_towardzero_test_data): New variable.
34899         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34900         (asin_downward_test_data): New variable.
34901         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34902         (asin_upward_test_data): New variable.
34903         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34904         (asinh_test_data): New variable.
34905         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
34906         (atan_test_data): New variable.
34907         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
34908         (atanh_test_data): New variable.
34909         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
34910         (cbrt_test_data): New variable.
34911         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
34912         (ceil_test_data): New variable.
34913         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
34914         (cos_test_data): New variable.
34915         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
34916         (cos_tonearest_test_data): New variable.
34917         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34918         (cos_towardzero_test_data): New variable.
34919         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34920         (cos_downward_test_data): New variable.
34921         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34922         (cos_upward_test_data): New variable.
34923         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34924         (cosh_test_data): New variable.
34925         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
34926         (cosh_tonearest_test_data): New variable.
34927         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34928         (cosh_towardzero_test_data): New variable.
34929         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34930         (cosh_downward_test_data): New variable.
34931         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34932         (cosh_upward_test_data): New variable.
34933         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34934         (erf_test_data): New variable.
34935         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
34936         (erfc_test_data): New variable.
34937         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
34938         (exp_test_data): New variable.
34939         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
34940         (exp_tonearest_test_data): New variable.
34941         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34942         (exp_towardzero_test_data): New variable.
34943         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34944         (exp_downward_test_data): New variable.
34945         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34946         (exp_upward_test_data): New variable.
34947         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34948         (exp10_test_data): New variable.
34949         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
34950         (exp2_test_data): New variable.
34951         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
34952         (expm1_test_data): New variable.
34953         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
34954         (fabs_test_data): New variable.
34955         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
34956         (floor_test_data): New variable.
34957         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
34958         (j0_test_data): New variable.
34959         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
34960         (j1_test_data): New variable.
34961         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
34962         (log_test_data): New variable.
34963         (log_test): Run tests with RUN_TEST_LOOP_f_f.
34964         (log10_test_data): New variable.
34965         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
34966         (log1p_test_data): New variable.
34967         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
34968         (log2_test_data): New variable.
34969         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
34970         (logb_test_data): New variable.
34971         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
34972         (logb_downward_test_data): New variable.
34973         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34974         (nearbyint_test_data): New variable.
34975         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
34976         (rint_test_data): New variable.
34977         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
34978         (rint_tonearest_test_data): New variable.
34979         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34980         (rint_towardzero_test_data): New variable.
34981         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34982         (rint_downward_test_data): New variable.
34983         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34984         (rint_upward_test_data): New variable.
34985         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34986         (round_test_data): New variable.
34987         (round_test): Run tests with RUN_TEST_LOOP_f_f.
34988         (sin_test_data): New variable.
34989         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
34990         (sin_tonearest_test_data): New variable.
34991         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34992         (sin_towardzero_test_data): New variable.
34993         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34994         (sin_downward_test_data): New variable.
34995         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34996         (sin_upward_test_data): New variable.
34997         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34998         (sinh_test_data): New variable.
34999         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
35000         (sinh_tonearest_test_data): New variable.
35001         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35002         (sinh_towardzero_test_data): New variable.
35003         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35004         (sinh_downward_test_data): New variable.
35005         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35006         (sinh_upward_test_data): New variable.
35007         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35008         (sqrt_test_data): New variable.
35009         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
35010         (tan_test_data): New variable.
35011         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
35012         (tan_tonearest_test_data): New variable.
35013         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35014         (tan_towardzero_test_data): New variable.
35015         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35016         (tan_downward_test_data): New variable.
35017         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35018         (tan_upward_test_data): New variable.
35019         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35020         (tanh_test_data): New variable.
35021         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
35022         (tgamma_test_data): New variable.
35023         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
35024         (trunc_test_data): New variable.
35025         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
35026         (y0_test_data): New variable.
35027         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
35028         (y1_test_data): New variable.
35029         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
35030         (significand_test_data): New variable.
35031         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
35033 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
35035         [BZ #12387]
35036         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
35038 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35040         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
35042 2013-05-10  Andreas Jaeger  <aj@suse.de>
35044         [BZ #15448]
35045         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
35046         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
35048 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35050         * math/gen-libm-test.pl (adjust_arg): New function.
35051         (special_functions): Handle generating output in both functions
35052         and arrays.
35053         (parse_args): Likewise.
35054         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
35055         $in_func argument to parse_args.
35056         * math/libm-test.inc (struct test_f_f_data): New type.
35057         (IF_ROUND_INIT_): New macro.
35058         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
35059         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
35060         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
35061         (IF_ROUND_INIT_FE_UPWARD): Likewise.
35062         (ROUND_RESTORE_): Likewise.
35063         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
35064         (ROUND_RESTORE_FE_TONEAREST): Likewise.
35065         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
35066         (ROUND_RESTORE_FE_UPWARD): Likewise.
35067         (RUN_TEST_LOOP_f_f): New macro.
35068         (acos_test_data): New variable.
35069         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
35070         (acos_tonearest_test_data): New variable.
35071         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35073 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35075         * benchtests/bench-skeleton.c (startup): Fix coding style.
35077 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35079         [BZ #6809]
35080         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
35081         negative infinity argument.
35082         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
35083         negative infinity argument.
35084         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
35085         negative infinity argument.
35086         * math/libm-test.inc (tgamma_test): Expect errno to be set for
35087         domain errors.
35089 2013-05-10  Florian Weimer  <fweimer@redhat.com>
35091         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
35092         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
35093         * iconv/iconv_prog.c (main): Likewise.
35094         * locale/programs/charmap-dir.c (charmap_readdir)
35095         (fopen_uncompressed): Likewise.
35096         * locale/programs/locfile.c (siblings_uncached)
35097         (write_locale_data): Use lstat64 instead of lstat.
35098         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
35099         stat.
35101 2013-05-10  Andreas Jaeger  <aj@suse.de>
35103         [BZ #15395]
35104         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
35105         localization.
35106         Include <locale.h>.
35108 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
35110         * elf/dl-close.c (_dl_close_worker): Add comments.
35112 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
35114         [BZ #15359]
35115         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
35116         high part of pi/2.
35117         (__ieee754_rem_pio2l): Update comments.
35119         [BZ #15429]
35120         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
35121         high part of pi/2.
35122         (__ieee754_rem_pio2l): Update comments.
35124         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
35125         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
35127         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
35128         M_PI_4l.
35130         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
35131         (M_PI_34_LOG10El): Likewise.
35132         (M_PI2_LOG10El): Likewise.
35133         (M_PI4_LOG10El): Likewise.
35134         (M_PI_LOG10El): Likewise.
35136 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35138         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35140 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
35142         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
35143         (MINUS_ZERO_INIT): Likewise.
35144         (PLUS_INFTY_INIT): Likewise.
35145         (MINUS_INFTY_INIT): Likewise.
35146         (QNAN_VALUE_INIT): Likewise.
35147         (MAX_VALUE_INIT): Likewise.
35148         (MIN_VALUE_INIT): Likewise.
35149         (MIN_SUBNORM_VALUE_INIT): Likewise.
35150         (plus_zero): Initialize with PLUS_ZERO_INIT.
35151         (minus_zero): Initialize with MINUS_ZERO_INIT.
35152         (plus_infty): Initialize with PLUS_INFTY_INIT.
35153         (minus_infty): Initialize with MINUS_INFTY_INIT.
35154         (qnan_value): Initialize with QNAN_VALUE_INIT.
35155         (max_value): Initialize with MAX_VALUE_INIT.
35156         (min_value): Initialize with MIN_VALUE_INIT.
35157         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
35159         * math/libm-test.inc (RUN_TEST_if_f): New macro.
35160         (jn_test): Use TEST_if_f instead of TEST_ff_f.
35161         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
35162         (yn_test): Use TEST_if_f instead of TEST_ff_f.
35164         * math/libm-test.inc (RUN_TEST_f_f): New macro.
35165         (RUN_TEST_2_f): Likewise.
35166         (RUN_TEST_ff_f): Likewise.
35167         (RUN_TEST_fi_f): Likewise.
35168         (RUN_TEST_fl_f): Likewise.
35169         (RUN_TEST_fff_f): Likewise.
35170         (RUN_TEST_c_f): Likewise.
35171         (RUN_TEST_f_f1): Likewise.
35172         (RUN_TEST_fF_f1): Likewise.
35173         (RUN_TEST_fI_f1): Likewise.
35174         (RUN_TEST_ffI_f1): Likewise.
35175         (RUN_TEST_c_c): Likewise.
35176         (RUN_TEST_cc_c): Likewise.
35177         (RUN_TEST_f_i): Likewise.
35178         (RUN_TEST_f_i_tg): Likewise.
35179         (RUN_TEST_ff_i_tg): Likewise.
35180         (RUN_TEST_f_b): Likewise.
35181         (RUN_TEST_f_b_tg): Likewise.
35182         (RUN_TEST_f_l): Likewise.
35183         (RUN_TEST_f_L): Likewise.
35184         (RUN_TEST_sincos): Likewise.
35185         * math/gen-libm-test.pl (new_test): Take new argument to indicate
35186         whether to show exceptions.  Do not include ");\n" in return
35187         value.
35188         (special_functions): Output call to RUN_TEST_sincos instead of
35189         check_float calls.  Update calls to new_test.
35190         (parse_args): Output call to single RUN_TEST_* macro instead of
35191         check_* calls and other assignments.  Update calls to new_test.
35193         [BZ #2546]
35194         [BZ #2560]
35195         [BZ #5159]
35196         [BZ #15426]
35197         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
35198         input to result for tgamma overflow.
35199         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
35200         (gamma_coeff): New variable.
35201         (NCOEFF): New macro.
35202         (gamma_positive): New function.
35203         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
35204         underflow here.  Use gamma_positive instead of exp (lgamma) for
35205         other arguments.
35206         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
35207         (gamma_coeff): New variable.
35208         (NCOEFF): New macro.
35209         (gammaf_positive): New function.
35210         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
35211         underflow here.  Use gamma_positive instead of exp (lgamma) for
35212         other arguments.
35213         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
35214         (gamma_coeff): New variable.
35215         (NCOEFF): New macro.
35216         (gammal_positive): New function.
35217         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
35218         underflow here.  Use gamma_positive instead of exp (lgamma) for
35219         other arguments.
35220         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
35221         (gamma_coeff): New variable.
35222         (NCOEFF): New macro.
35223         (gammal_positive): New function.
35224         (__ieee754_gammal_r): Handle positive infinity, overflow and
35225         underflow here.  Handle NaN the same as positive infinity.  Remove
35226         check x < 0xffffffff for negative integers.  Use gamma_positive
35227         instead of exp (lgamma) for other arguments.
35228         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
35229         (gamma_coeff): New variable.
35230         (NCOEFF): New macro.
35231         (gammal_positive): New function.
35232         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
35233         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
35234         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
35235         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
35236         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
35237         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
35238         * sysdeps/generic/math_private.h (__gamma_productf): New
35239         prototype.
35240         (__gamma_product): Likewise.
35241         (__gamma_productl): Likewise.
35242         * math/Makefile (libm-calls): Add gamma_product.
35243         * math/libm-test.inc (tgamma_test): Add more tests.
35244         * sysdeps/i386/fpu/libm-test-ulps: Update.
35245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35247 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
35249         * benchtests/bench-skeleton.c (main): Preheat CPU.
35251 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
35253         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
35255 2013-05-07  Roland McGrath  <roland@hack.frob.com>
35257         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
35258         and _dl_skip_args_internal.
35260 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
35262         * manual/message.texi (Message Translation): Talk about users.
35263         Message to key mapping impacts design.
35265 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35267         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
35269         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
35271         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
35272         * sysdeps/wordsize-64/glob64.c: ... here.
35274         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
35275         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
35276         New macros.
35278         * debug/getlogin_r_chk.c: Moved to ...
35279         * login/getlogin_r_chk.c: ... here.
35280         * debug/Makefile (routines): Move getlogin_r_chk to ...
35281         * login/Makefile (routines): ... here.
35282         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
35283         * login/Versions (libc: GLIBC_2.4): ... here.
35285         * io/poll.c (__poll): Renamed from poll.
35286         Add libc_hidden_def.
35287         (poll): Define as weak alias.
35289         * debug/ptsname_r_chk.c: Moved to ...
35290         * login/ptsname_r_chk.c: ... here.
35291         * debug/Makefile (routines): Move ptsname_r_chk to ...
35292         * login/Makefile (routines): ... here.
35293         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
35294         * login/Versions (libc: GLIBC_2.4): ... here.
35296         * posix/getlogin.c: Moved to ...
35297         * login/getlogin.c: ... here.
35298         * posix/getlogin_r.c: Moved to ...
35299         * login/getlogin_r.c: ... here.
35300         * posix/getlogin_r.c: Moved to ...
35301         * login/getlogin_r.c: ... here.
35302         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
35303         * login/Makefile (routines): ... here.
35304         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
35305         * login/Versions (libc: GLIBC_2.0): ... here.
35307         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
35308         (setrlimit): Define as weak alias.
35310         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
35311         Call __ names for open, ftruncate, and close.
35312         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
35313         (truncate): Define as weak alias.
35315 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
35317         * math/gen-libm-test.pl (parse_args): Initialize x before each
35318         test of frexp, modf and remquo.
35320         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
35321         test signgam value.
35323 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35325         [BZ #15418]
35326         [BZ #15419]
35327         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
35328         internal tests.
35329         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35331 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35333         * elf/dl-writev.h: New file.
35334         * elf/dl-misc.c: Include it.
35335         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
35336         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
35338 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
35340         * math/libm-test.inc (noXFails): Remove variable.
35341         (noXPasses): Likewise.
35342         (BUILD_COMPLEX_INT): Remove macro.
35343         (print_screen): Remove xfail argument.
35344         (print_screen_max_error): Likewise.
35345         (update_stats): Likewise.
35346         (print_max_error): Likewise.  Update calls to other affected
35347         functions.
35348         (print_complex_max_error): Likewise.
35349         (test_single_exception): Update calls to print_screen.
35350         (test_single_errno): Likewise.
35351         (check_float_internal): Remove xfail argument.  Update calls to
35352         other affected functions.
35353         (check_float): Likewise.
35354         (check_complex): Likewise.
35355         (check_int): Likewise.
35356         (check_long): Likewise.
35357         (check_bool): Likewise.
35358         (check_longlong): Likewise.
35359         (main): Don't print noXFails and noXPasses.
35360         * math/gen-libm-test.pl (top level): Don't mention expected
35361         failure handling in comment.
35362         (new_test): Don't handle expected failures.
35363         (parse_args): Don't mention expected failure handling in comment.
35364         (generate_testfile): Don't handle expected failures.
35365         (parse_ulps): Likewise.
35366         (print_ulps_file): Likewise.
35367         (get_failure): Remove function.
35368         (output_test): Don't handle expected failures.
35369         * make/README.libm-test: Don't mention expected failure handling.
35371         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
35372         (minus_zero): Likewise.
35373         (plus_infty): Likewise.
35374         (minus_infty): Likewise.
35375         (qnan_value): Likewise.
35376         (max_value): Likewise.
35377         (min_value): Likewise.
35378         (min_subnorm_value): Likewise.
35379         (initialize): Do not initialize those variables dynamically.
35381 2013-05-03  Roland McGrath  <roland@hack.frob.com>
35383         * io/open.c (__open_2): Moved to ...
35384         * io/open_2.c: ... this new file.
35385         * io/open64.c (__open64_2): Moved to ...
35386         * io/open64_2.c: ... this new file.
35387         * io/openat.c (__openat_2): Moved to ...
35388         * io/openat_2.c: ... this new file.
35389         * io/openat64.c (__openat64_2): Moved to ...
35390         * io/openat64_2.c: ... this new file.
35391         * io/Makefile (routines): Add them.
35392         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
35393         * sysdeps/unix/sysv/linux/open_2.c: File removed.
35394         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
35395         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
35396         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
35397         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
35398         (__openat64): Add hidden_ver.
35399         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
35400         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
35402         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
35403         Separately conditionalize setting of GLRO(dl_sysinfo) so
35404         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
35405         as well, but the actual setting is only under [NEED_DL_SYSINFO].
35407 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35409         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
35410         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
35411         definition.
35412         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
35413         * sysdeps/unix/sysv/linux/powerpc/init-first.c
35414         (_libc_vdso_platform_setup): Add __vdso_time initialization.
35415         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
35416         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
35418 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
35420         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
35421         test signgam value.
35423         * math/libm-test.inc (hypot_test): Do not use
35424         IGNORE_ZERO_INF_SIGN.
35426 2013-05-03  Andreas Jaeger  <aj@suse.de>
35428         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
35429         Linux 3.9.
35430         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
35431         (PF_MAX): Adjust for VSOCK change.
35433 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35435         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35437 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
35439         [BZ #15264]
35440         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
35441         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
35442         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
35444 2013-05-02  David S. Miller  <davem@davemloft.net>
35446         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35448 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
35450         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
35452 2013-05-01  Roland McGrath  <roland@hack.frob.com>
35454         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
35456 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
35458         [BZ #14952]
35459         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
35460         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
35461         Use __attribute__ ((__gnu_inline__)).
35462         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
35463         Don't use __attribute__ ((__gnu_inline__)).
35465 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
35467         [BZ #15423]
35468         * math/s_catan.c (__catan): Handle small real or imaginary part of
35469         input specially to avoid spurious underflow.
35470         * math/s_catanf.c (__catanf): Likewise.
35471         * math/s_catanh.c (__catanh): Likewise.
35472         * math/s_catanhf.c (__catanhf): Likewise.
35473         * math/s_catanhl.c (__catanhl): Likewise.
35474         * math/s_catanl.c (__catanl): Likewise.
35475         * math/libm-test.inc (catan_test): Add more tests.
35476         (catanh_test): Likewise.
35477         * sysdeps/i386/fpu/libm-test-ulps: Update.
35478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35480 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35482         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35484 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
35486         [BZ #15416]
35487         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
35488         accurately for denominator in atan2.
35489         * math/s_catanf.c (__catanf): Likewise.
35490         * math/s_catanh.c (__catanh): Likewise.
35491         * math/s_catanhf.c (__catanhf): Likewise.
35492         * math/s_catanhl.c (__catanhl): Likewise.
35493         * math/s_catanl.c (__catanl): Likewise.
35494         * math/libm-test.inc (catan_test): Add more tests.
35495         (catanh_test): Likewise.
35496         * sysdeps/i386/fpu/libm-test-ulps: Update.
35497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35499 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35501         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
35503         * benchtests/Makefile (bench): Remove slow benchmarks.
35504         * benchtests/atan-inputs: Add slow benchmark inputs.
35505         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
35506         (BENCH_FUNC): Accept variant offset.
35507         (VARIANT): Define.
35508         * benchtests/bench-skeleton.c (main): Run benchmark for each
35509         variant.
35510         * benchtests/cos-inputs: Add slow benchmark inputs.
35511         * benchtests/exp-inputs: Likewise.
35512         * benchtests/pow-inputs: Likewise.
35513         * benchtests/sin-inputs: Likewise.
35514         * benchtests/slowatan-inputs: Remove.
35515         * benchtests/slowatan.c: Remove.
35516         * benchtests/slowcos-inputs: Remove.
35517         * benchtests/slowcos.c: Remove.
35518         * benchtests/slowexp-inputs: Remove.
35519         * benchtests/slowexp.c: Remove.
35520         * benchtests/slowpow-inputs: Remove.
35521         * benchtests/slowpow.c: Remove.
35522         * benchtests/slowsin-inputs: Remove.
35523         * benchtests/slowsin.c: Remove.
35524         * benchtests/slowtan-inputs: Remove.
35525         * benchtests/slowtan.c: Remove.
35526         * benchtests/tan-inputs: Add slow benchmark inputs.
35527         * scripts/bench.pl: Parse comments and directives.
35529         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
35530         in CPPFLAGS.
35531         ($(objpfx)bench-%.c): Remove *-ITER.
35532         * benchtests/bench-modf.c: Remove definition of ITER.
35533         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
35534         (main): Loop for DURATION seconds instead of fixed number of
35535         iterations.
35536         * scripts/bench.pl: Don't expect iterations in parameters.
35538 2013-04-29  Roland McGrath  <roland@hack.frob.com>
35540         * io/fchdir.c (__fchdir): Renamed from fchdir.
35541         (fchdir): Define as weak alias.
35543 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
35545         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
35546         (ERRNO_EDOM): Likewise.
35547         (ERRNO_ERANGE): Likewise.
35548         (noErrnoTests): New variable.
35549         (init_max_error): Set errno to 0.
35550         (test_single_errno): New function.
35551         (test_errno): Likewise.
35552         (check_float_internal): Call test_errno.  Set errno to 0.
35553         (check_complex): Refer to errno tests in comment.
35554         (check_int): Call test_errno.  Set errno to 0.
35555         (check_long): Likewise.
35556         (check_bool): Likewise.
35557         (check_longlong): Likewise.
35558         (cos_test): Use ERRNO_* flags for errno tests instead of
35559         check_int.
35560         (expm1_test): Likewise.
35561         (fmod_test): Likewise.
35562         (ilogb_test): Likewise.
35563         (lgamma_test): Likewise.
35564         (pow_test): Likewise.
35565         (remainder_test): Likewise.
35566         (sin_test): Likewise.
35567         (tan_test): Likewise.
35568         (yn_test): Likewise.
35569         (initialize): Set errno to 0.
35570         (main): Print number of errno tests.
35571         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
35573 2013-04-29  Andreas Jaeger  <aj@suse.de>
35575         [BZ #15084]
35576         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
35577         and RES_USEVC.
35579         [BZ #15085]
35580         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
35581         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
35582         unimplemented.
35584         [BZ #15380]
35585         * stdlib/random.c (__initstate): Return NULL if
35586         __initstate fails.
35588         [BZ #15086]
35589         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
35590         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
35591         RES_SNGLKUPREOP.
35593 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35595         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35597 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
35599         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
35600         of individual tests.
35601         (casin_test): Likewise.
35602         (casinh_test): Likewise.
35604 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
35606         [BZ #15409]
35607         * math/s_catan.c (__catan): Handle arguments with large real or
35608         imaginary part separately without squaring.
35609         * math/s_catanf.c (__catanf): Likewise.
35610         * math/s_catanh.c (__catanh): Likewise.
35611         * math/s_catanhf.c (__catanhf): Likewise.
35612         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35613         and redefine.
35614         (__catanhl): Handle arguments with large real or imaginary part
35615         separately without squaring.
35616         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35617         and redefine.
35618         (__catanl): Handle arguments with large real or imaginary part
35619         separately without squaring.
35620         * math/libm-test.inc (catan_test): Add more tests.
35621         (catanh_test): Likewise.
35622         * sysdeps/i386/fpu/libm-test-ulps: Update.
35623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35625 2013-04-27  Andreas Jaeger  <aj@suse.de>
35627         [BZ #15007]
35628         * stdlib/stdlib.h: Update guards for qecvt.
35629         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
35630         <stdlib.h>.
35632 2013-04-27  Allan McRae  <allan@archlinux.org>
35634         * sysdeps/i386/fpu/libm-test-ulps: Update.
35636 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
35638         [BZ #15406]
35639         * math/s_catan.c: Include <float.h>.
35640         (__catan): Ensure underflow exception occurs for underflowed
35641         result.
35642         * math/s_catanf.c: Include <float.h>.
35643         (__catanf): Ensure underflow exception occurs for underflowed
35644         result.
35645         * math/s_catanh.c: Include <float.h>.
35646         (__catanh): Ensure underflow exception occurs for underflowed
35647         result.
35648         * math/s_catanhf.c: Include <float.h>.
35649         (__catanhf): Ensure underflow exception occurs for underflowed
35650         result.
35651         * math/s_catanhl.c: Include <float.h>.
35652         (__catanhl): Ensure underflow exception occurs for underflowed
35653         result.
35654         * math/s_catanl.c: Include <float.h>.
35655         (__catanl): Ensure underflow exception occurs for underflowed
35656         result.
35657         * math/libm-test.inc (catan_test): Add more tests.
35658         (catanh_test): Likewise.
35660         [BZ #15405]
35661         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
35662         underflowed result.
35663         * math/s_ccoshf.c (__ccoshf): Likewise.
35664         * math/s_ccoshl.c (__ccoshl): Likewise.
35665         * math/s_csin.c (__csin): Likewise.
35666         * math/s_csinf.c (__csinf): Likewise.
35667         * math/s_csinh.c (__csinh): Likewise.
35668         * math/s_csinhf.c (__csinhf): Likewise.
35669         * math/s_csinhl.c (__csinhl): Likewise.
35670         * math/s_csinl.c (__csinl): Likewise.
35671         * math/libm-test.inc (ccos_test): Add more tests.
35672         (ccosh_test): Likewise.
35673         (csin_test): Likewise.
35674         (csinh_test): Likewise.
35676 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35678         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
35679         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
35680         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
35681         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
35682         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
35683         powerpc/power5+/fpu folders.
35684         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
35687 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
35689         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35691 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
35693         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
35694         additions to variable.
35695         [$(config-machine) = x86_64] (modules-names): Likewise.
35696         ($(objpfx)tst-audit3): Remove dependency.
35697         ($(objpfx)tst-audit3.out): Likewise.
35698         ($(objpfx)tst-audit4): Likewise.
35699         ($(objpfx)tst-audit4.out): Likewise.
35700         ($(objpfx)tst-audit5): Likewise.
35701         ($(objpfx)tst-audit5.out): Likewise.
35702         ($(objpfx)tst-audit6): Likewise.
35703         ($(objpfx)tst-audit6.out): Likewise.
35704         ($(objpfx)tst-audit7): Likewise.
35705         ($(objpfx)tst-audit7.out): Likewise.
35706         (tst-audit3-ENV): Remove variable.
35707         (tst-audit4-ENV): Likewise.
35708         (tst-audit5-ENV): Likewise.
35709         (tst-audit6-ENV): Likewise.
35710         (tst-audit7-ENV): Likewise.
35711         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
35712         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
35713         addition to variable.
35714         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
35715         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
35716         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
35717         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
35718         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
35719         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
35720         tst-audit3, tst-audit4 and tst-audit5.
35721         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
35722         tst-audit6 and tst-audit7.
35723         [$(subdir) = elf] (modules-names): Add audit modules for those
35724         tests.
35725         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
35726         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
35727         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
35728         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
35729         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
35730         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
35731         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
35732         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
35733         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
35734         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
35735         [$(subdir) = elf] (tst-audit3-ENV): New variable.
35736         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
35737         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
35738         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
35739         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
35740         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
35741         Likewise.
35742         [$(subdir) = elf && $(config-cflags-avx) = yes]
35743         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
35744         [$(subdir) = elf && $(config-cflags-avx) = yes]
35745         (CFLAGS-tst-auditmod4a.c): Likewise.
35746         [$(subdir) = elf && $(config-cflags-avx) = yes]
35747         (CFLAGS-tst-auditmod4b.c): Likewise.
35748         [$(subdir) = elf && $(config-cflags-avx) = yes]
35749         (CFLAGS-tst-auditmod6b.c): Likewise.
35750         [$(subdir) = elf && $(config-cflags-avx) = yes]
35751         (CFLAGS-tst-auditmod6c.c): Likewise.
35752         [$(subdir) = elf && $(config-cflags-avx) = yes]
35753         (CFLAGS-tst-auditmod7b.c): Likewise.
35754         * elf/tst-audit3.c: Move to ...
35755         * sysdeps/x86_64/tst-audit3.c: ... here.
35756         * elf/tst-audit4.c: Move to ...
35757         * sysdeps/x86_64/tst-audit4.c: ... here.
35758         * elf/tst-audit5.c: Move to ...
35759         * sysdeps/x86_64/tst-audit5.c: ... here.
35760         * elf/tst-audit6.c: Move to ...
35761         * sysdeps/x86_64/tst-audit6.c: ... here.
35762         * elf/tst-audit7.c: Move to ...
35763         * sysdeps/x86_64/tst-audit7.c: ... here.
35764         * elf/tst-auditmod3a.c: Move to ...
35765         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
35766         * elf/tst-auditmod3b.c: Move to ...
35767         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
35768         * elf/tst-auditmod4a.c: Move to ...
35769         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
35770         * elf/tst-auditmod4b.c: Move to ...
35771         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
35772         * elf/tst-auditmod5a.c: Move to ...
35773         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
35774         * elf/tst-auditmod5b.c: Move to ...
35775         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
35776         * elf/tst-auditmod6a.c: Move to ...
35777         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
35778         * elf/tst-auditmod6b.c: Move to ...
35779         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
35780         * elf/tst-auditmod6c.c: Move to ...
35781         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
35782         * elf/tst-auditmod7a.c: Move to ...
35783         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
35784         * elf/tst-auditmod7b.c: Move to ...
35785         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
35787 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
35789         [BZ #15366]
35790         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
35791         define unconditionally.
35792         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
35793         define unconditionally.
35794         (INT8_C, INT16_C, etc.): Likewise.
35796 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
35798         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
35799         __ehdr_start with hidden visibility.
35801         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
35803 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
35805         * math/libm-test.inc (cos_test): Use accurate hex constants.
35806         (sincost_test): Likewise.
35808 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
35810         * math/libm-test.inc (catan_test): Add more tests.
35811         (catanh_test): Likewise.
35813         * math/s_catanf.c (__catanf): Use suffixed floating-point
35814         constants.
35815         * math/s_catanhf.c (__catanhf): Likewise.
35816         * math/s_catanhl.c (__catanhl): Likewise.
35817         * math/s_catanl.c (__catanl): Likewise.
35819         [BZ #15394]
35820         * math/s_catan.c (__catan): Calculate imaginary part of result
35821         with log1p not log unless computing log of number close to 0.
35822         * math/s_catanf.c (__catanf): Likewise.
35823         * math/s_catanl.c (__catanl): Likewise.
35824         * math/s_catanh.c (__catanh): Calculate real part of result with
35825         log1p not log unless computing log of number close to 0.
35826         * math/s_catanhf.c (__catanhf): Likewise.
35827         * math/s_catanhl.c (__catanhl): Likewise.
35828         * math/libm-test.inc (catan_test): Add more tests.
35829         (catanh_test): Likewise.
35830         * sysdeps/i386/fpu/libm-test-ulps: Update.
35831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35833 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35835         * benchtests/Makefile: Mention files in which fast and slow
35836         paths of math functions are implemented.
35838 2013-04-23  Roland McGrath  <roland@hack.frob.com>
35840         * sysdeps/posix/timespec_get.c: New file.
35842 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35844         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
35845         POWER.
35846         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
35847         for POWER.
35848         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
35849         powerpc/power5/fpu folders.
35850         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
35851         * benchtests/Makefile: Add modf testcase.
35852         * benchtests/bench-modf.c: New file: Benchmark test for mo
35854 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
35856         [BZ #14888]
35857         * time/Makefile (tests): Add tst-strptime-whitespace.
35858         * time/strptime_l.c (get_number): Use ISSPACE.
35859         (__strptime_internal): Likewise.
35860         * time/tst-strptime-whitespace.c: New test case.
35862 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
35864         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
35865         member.
35866         (_nss_files_init): Set it here.
35868 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
35870         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
35871         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
35872         unsigned.
35874 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
35876         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
35878 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35880         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
35881         size just once.
35883 2013-04-21  David S. Miller  <davem@davemloft.net>
35885         * po/ru.po: Update Russion translation from translation project.
35887 2013-04-17  Adam Conrad  <adconrad@0c3.net>
35889         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
35890         and setfsgid.
35892 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
35894         * configure.in: Remove i386 configure warning. Remove i386 case.
35895         * configure: Regenerate.
35896         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
35897         Add example to error message.
35898         * sysdeps/i386/configure: Regenerate.
35900 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
35902         * benchtests/Makefile (bench): Add cos, tan, slowcos and
35903         slowtan.
35904         * benchtests/cos-inputs: New file.
35905         * benchtests/slowcos-inputs: New file.
35906         * benchtests/slowcos.c: New file.
35907         * benchtests/slowtan-inputs: New file.
35908         * benchtests/slowtan.c: New file.
35909         * benchtests/tan-inputs: New file.
35911 2013-04-16  Roland McGrath  <roland@hack.frob.com>
35913         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
35914         considered kosher.
35916 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35918         * benchtests/Makefile: Include cppflags-iterator.mk to add
35919         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
35921         * Makefile.in (bench-clean): New target.
35922         * benchtests/Makefile (bench-clean): Likewise.
35924 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
35926         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
35928 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
35930         * stdio-common/tstdiomisc.c: Fix coding-style violation.
35932 2013-04-15  Andreas Schwab  <schwab@suse.de>
35934         * nscd/grpcache.c (cache_addgr): Properly check for short write.
35935         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35936         * nscd/pwdcache.c (cache_addpw): Likewise.
35937         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
35938         more than recsize.
35940 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35942         * benchtests/Makefile (bench): Write all output to
35943         bench-out.tmp together.
35945 2013-04-15  Andreas Schwab  <schwab@suse.de>
35947         * nscd/nscd.c (main): Don't fork again after closing files.
35949 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35951         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
35953         * benchtests/Rules (bench-deps): Collect dependencies into a
35954         single variable.  Add Makefile to dependencies.
35955         ($(objpfx)bench-%.c): Depend on bench-deps.
35957 2013-04-12  Roland McGrath  <roland@hack.frob.com>
35958             Xavier Roche  <roche+kml2@exalead.com>
35960         [BZ #15361]
35961         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
35962         just that it's a file descriptor.
35963         * manual/llio.texi (Synchronizing AIO Operations): Update description
35964         for EBADF error from aio_fsync.
35966 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35968         * Rules (bench): Move target definition...
35969         * benchtests/Makefile: ... here.
35971 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
35973         * math/libm-test.inc (cos_test): Fix PI/2 test.
35974         (sincos_test): Likewise.
35975         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
35976         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
35978 2013-04-11  Andreas Schwab  <schwab@suse.de>
35980         [BZ #13988]
35981         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
35982         accept exponent character only when digits were seen.
35983         * stdio-common/Makefile (tests): Add bug26.
35984         * stdio-common/bug26.c: New file.
35986         [BZ #14293]
35987         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
35988         non-freeable.
35990 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35992         * Makeconfig (rtld-prefix): Define built linker prefix.
35993         * Rules (run-bench): Use it.
35994         * math/Makefile (run-regen-ulps): Likewise.
35996         * Rules (bench): Remove eval.
35998 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35999             Roland McGrath  <roland@hack.frob.com>
36000             Ondrej Bilka  <neleai@seznam.cz>
36002         [BZ #15346]
36003         * time/getdate.c: Include ctype.h and alloca.h.
36004         (__getdate_r): Trim leading and trailing spaces of input.
36005         * time/tst-getdate.c (tests): Add tests with leading and
36006         trailing spaces.
36008 2013-04-08  Roland McGrath  <roland@hack.frob.com>
36010         [BZ #14280]
36011         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
36012         when computing value.
36014 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36016         * math/README.libm-test (How can I generate "libm-test-ulps"?):
36017         Use testrun.sh to run libm tests.
36019         [BZ #15309]
36020         * elf/dl-open.c (dl_open_worker): memset all of seen array.
36022 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
36024         [BZ #15264]
36025         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
36027 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36029         * Makefile.in (regen-ulps): New target.
36030         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
36031         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
36032         [ifneq (no,$(PERL)] (regen-ulps): New target.
36033         [ifeq (no,$(PERL)] (regen-ulps): New target.
36034         * math/libm-test.inc (ulps_file_name): Define.
36035         (output_dir): New variable.
36036         (options): Add "output-dir" option.
36037         (parse_opt): Handle 'o' case.
36038         (main): If output_dir is non-NULL use it as a prefix
36039         otherwise use "".
36040         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
36042 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36044         [BZ #10060, #10062]
36045         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
36046         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
36047         fail configure if __sync_val_compare_and_swap is not inlined.
36048         * sysdeps/i386/configure: Regenerate.
36049         * configure.in: Build for i686 when configured for i386.
36050         * configure: Regenerate.
36051         * README: Remove i386 reference.
36053 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36055         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
36056         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36058 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
36060         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
36061         (lmsnanval): New variables.
36062         (F): Add conversion tests.
36063         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
36064         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
36066         * stdio-common/tstdiomisc.c (F): Properly collect individual
36067         tests' results.
36069         [BZ #14686, #15336]
36070         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
36071         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
36072         Instead, use input NaN values or generate a qNaN by arithmetic
36073         operation.  Also fix bugs to comply with the standard.
36074         * math/libm-test.inc (remainder_test): Add more tests.
36076         [BZ #15335, #15342]
36077         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
36078         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
36079         input NaN values or generate a qNaN by arithmetic operation.
36081         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
36082         unreachable code.
36084         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
36085         definitions.
36087 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
36089         [BZ #14478]
36090         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
36091         underflowed result.
36092         * math/s_cexpf.c (__cexpf): Likewise.
36093         * math/s_cexpl.c (__cexpl): Likewise.
36094         * math/libm-test.inc (cexp_test): Add more tests.
36096 2013-04-03  Andreas Schwab  <schwab@suse.de>
36098         [BZ #15330]
36099         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
36100         order arrays from heap if bigger than alloca cutoff.
36102 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
36104         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
36105         (SNAN_TESTS_double): Refer to GCC PR56831.
36106         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
36107         GCC PR56828.
36109 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36111         * Rules (bench): Move bench.out after the run is complete.
36113         * Rules (bench): Echo currently running benchmark.
36115         * benchtests/Makefile (bench): Add atan and slowatan.
36116         * benchtests/atan-inputs: New file.
36117         * benchtests/slowatan-inputs: New file.
36118         * benchtests/slowatan.c: New file.
36120         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
36121         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
36122         its value.
36124         [BZ #15305]
36125         * sysdeps/unix/sysv/linux/kernel-features.h
36126         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
36127         __ASSUME_XFS_RESTRICTED_CHOWN.
36128         * sysdeps/unix/sysv/linux/pathconf.c
36129         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
36130         Save and restore errno.
36132 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
36134         [BZ #15327]
36135         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
36136         arguments using __kernel_casinh.
36137         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
36138         arguments using __kernel_casinhf.
36139         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
36140         arguments using __kernel_casinhl.
36141         * math/libm-test.inc (cacosh_test): Add more tests.
36142         * sysdeps/i386/fpu/libm-test-ulps: Update.
36143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36145 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36147         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
36148         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
36150         * bench/Makefile (bench): Add sin and slowsin.
36151         * benchtests/sin-inputs: New file.
36152         * benchtests/slowsin-inputs: New file.
36153         * benchtests/slowsin.c: New file.
36155         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
36156         (bench): Add slowexp and slowpow.
36157         (exp-ITER): Increase iterations.
36158         (pow-ITER): Likewise.
36159         * benchtests/exp-inputs: Change input.
36160         * benchtests/pow-inputs: Likewise.
36161         * benchtests/slowexp-inputs: New file.
36162         * benchtests/slowexp.c: New file.
36163         * benchtests/slowpow-inputs: New file.
36164         * benchtests/slowpow.c: New file.
36166 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36168         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
36169         instructions.
36170         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36171         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
36172         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
36173         * benchtests/Makefile: Add rint benchtest.
36174         * benchtests/rint-inputs: Input for rint benchtest.
36176 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
36178         * Versions.def (libm): Add GLIBC_2.18.
36179         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
36180         hidden libm prototypes.
36181         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
36182         * math/Makefile (libm-calls): Add s_issignaling.
36183         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
36184         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
36185         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
36186         declaration.
36187         * math/math.h [__USE_GNU] (issignaling): New macro.
36188         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
36189         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
36190         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
36191         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
36192         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
36193         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
36194         * manual/arith.texi (issignaling): New section.
36195         * manual/libm-err-tab.pl (@all_functions): Update comment.
36196         * math/gen-libm-test.pl (parse_args): Apply special handling for
36197         issignaling.
36198         * math/libm-test.inc (print_float, issignaling_test): New
36199         functions.
36200         (check_float_internal): Add issignaling checks.
36201         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
36202         default definition.
36203         * sysdeps/powerpc/math-tests.h: New file.
36204         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
36205         tests.
36206         * math/test-snan.c (TEST_FUNC): Likewise.
36208 2013-03-30  David S. Miller  <davem@davemloft.net>
36210         * po/de.po: Update from translation team.
36212 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
36214         [BZ #10357]
36215         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36216         imaginary part less than 1.0 and real part less than 0.5
36217         specially.
36218         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36219         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36220         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
36221         (cacos_test): Add more tests.
36222         (casin_test): Likewise.
36223         (casinh_test): Likewise.
36224         * sysdeps/i386/fpu/libm-test-ulps: Update.
36225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36227 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36229         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
36230         ONE with its value.
36232         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
36233         (__pow_mp): Replace ONE and MONE with their values.
36234         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36235         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
36236         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36237         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
36238         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36239         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36241         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
36243         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
36244         (__pow_mp): Replace ZERO and MZERO with their values.
36245         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36246         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36247         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36248         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36249         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36250         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
36251         (__sqr): Likewise.
36253         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
36255         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
36257 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36259         * include/stdlib.h [!SHARED] (__call_tls_dtors):
36260         Declare with __attribute__ ((weak)).
36261         * stdlib/exit.c (__libc_atexit) [!SHARED]:
36262         Call __call_tls_dtors only if it's not NULL.
36264 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36266         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
36267         didn't do it already, then set _dl_phdr and _dl_phnum based on the
36268         magic __ehdr_start linker symbol if it's defined.
36269         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
36270         them up here if it was already done.
36272         * elf/dl-support.c (_dl_phdr): Make pointer to const.
36273         (_dl_aux_init): Use const in cast when setting it.
36274         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
36275         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
36276         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
36278         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
36279         Declare them here.
36280         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
36281         * csu/libc-tls.c: Nor here.
36282         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
36284         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
36285         (__libc_message): Never call vsyslog.
36287 2013-03-28  Alan Modra  <amodra@gmail.com>
36289         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
36290         Define as empty.
36291         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
36292         Likewise.
36294 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36296         [BZ #15214]
36297         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
36298         underflow.
36299         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36301 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36303         [BZ #15304]
36304         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
36305         Don't add gid passed as argument.
36307         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
36309 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
36311         [BZ #15307]
36312         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36313         imaginary part between 1.0 and 1.5 and real part less than 0.5
36314         specially.
36315         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36316         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36317         * math/libm-test.inc (cacos_test): Add more tests.
36318         (casin_test): Likewise.
36319         (casinh_test): Likewise.
36320         * sysdeps/i386/fpu/libm-test-ulps: Update.
36321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36323 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36325         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
36326         constants.
36327         (norm): Likewise.
36328         (denorm): Likewise.
36329         (__dbl_mp): Likewise.
36330         (add_magnitudes): Likewise.
36331         (sub_magnitudes): Likewise.
36332         (__add): Likewise.
36333         (__sub): Likewise.
36334         (__mul): Likewise.
36335         (__sqr): Likewise.
36336         (__inv): Likewise.
36337         (__dvd): Likewise.
36339         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
36340         commented code.
36341         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
36342         (__dubcos): Likewise.
36343         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
36344         (__ieee754_acos): Likewise.
36345         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36346         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
36347         (__exp1): Likewise.
36348         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36349         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36350         (log1): Likewise.
36351         (my_log2): Likewise.
36352         (checkint): Likewise.
36353         * sysdeps/ieee754/dbl-64/e_remainder.c
36354         (__ieee754_remainder): Likewise.
36355         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36356         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
36357         (bsloww): Likewise.
36358         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36360         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36361         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
36362         MANTISSA_STORE_T to store computations on mantissa.  Use
36363         macros for rounding and division.
36364         (denorm): Likewise.
36365         (__dbl_mp): Likewise.
36366         (add_magnitudes): Likewise.
36367         (sub_magnitudes): Likewise.
36368         (__mul): Likewise.
36369         (__sqr): Likewise.
36370         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
36371         powers of two in terms of TWOPOW macro.
36372         (mp_no): Make type of mantissa as MANTISSA_T.
36373         [!RADIXI]: Define RADIXI.
36374         [!TWO52]: Define TWO52.
36375         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36377 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36379         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
36380         llroundl symbol when building for PPC32.
36382 2013-03-24  Mark H Weaver  <mhw@netris.org>
36384         * manual/arith.texi (Normalization Functions): Fix prototypes for
36385         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
36387 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36389         [BZ #13889]
36390         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
36391         high value to check if expl overflow.
36392         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
36393         to check for underflow and overflow.
36394         * math/libm-test.inc: Add exp test.
36396 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
36398         [BZ #11120]
36399         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
36400         with NOT_IN_libc.
36402 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36404         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
36405         symbol.
36407 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
36409         * math/gen-libm-test.pl (parse_args, special_functions): Properly
36410         wrap blocks consisting of several statements.
36412         * sysdeps/generic/math-tests.h: New file.
36413         * sysdeps/i386/fpu/math-tests.h: Likewise.
36414         * math/test-snan.c: Include it.
36415         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
36417 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
36419         [BZ #15285]
36420         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
36421         (__ieee754_j0l): Do not improve calculations using cos of twice
36422         input for inputs above LDBL_MAX / 2.0L.
36423         (__ieee754_y0l): Likewise.
36424         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
36425         (__ieee754_j1l): Do not improve calculations using cos of twice
36426         input for inputs above LDBL_MAX / 2.0L.
36427         (__ieee754_y1l): Likewise.
36428         * math/libm-test.inc (j0_test): Add another test.
36429         (j1_test): Likewise.
36430         (y0_test): Likewise.
36431         (y1_test): Likewise.
36432         * sysdeps/i386/fpu/libm-test-ulps: Update.
36434 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36436         * Rules ($(objpfx)bench-%.c): Include code from a C source
36437         file.
36439 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
36441         [BZ #15287]
36442         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36443         imaginary part 1.0 and real part less than 0.5 specially.
36444         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36445         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36446         * math/libm-test.inc (cacos_test): Add more tests.
36447         (casin_test): Likewise.
36448         (casinh_test): Likewise.
36449         * sysdeps/i386/fpu/libm-test-ulps: Update.
36450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36452 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36454         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
36455         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
36457 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
36459         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
36460         * config.make.in (config-cflags-sse4): Remove variable.
36461         (config-cflags-avx): Likewise.
36462         (config-cflags-sse2avx): Likewise.
36463         (config-cflags-novzeroupper): Likewise.
36464         (config-asflags-i686): Likewise.
36465         (have-mfma4): Likewise.
36466         (have-as-vis3): Likewise.
36467         (MIG): Likewise.
36468         * configure.in (MIG): Do not AC_SUBST.
36469         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
36470         (libc_cv_cc_sse4): Do not AC_SUBST.
36471         (libc_cv_cc_avx): Likewise.
36472         (libc_cv_cc_sse2avx): Likewise.
36473         (libc_cv_cc_novzeroupper): Likewise.
36474         (libc_cv_cc_fma4): Likewise.
36475         (libc_cv_as_i686): Likewise.
36476         (libc_cv_sparc_as_vis3): Likewise.
36477         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
36478         LIBC_CONFIG_VAR.
36479         (config-asflags-i686): Likewise.
36480         (config-cflags-avx): Likewise.
36481         (config-cflags-sse2avx): Likewise.
36482         (have-mfma4): Likewise.
36483         (config-cflags-novzeroupper): Likewise.
36484         * sysdeps/mach/configure.in (MIG): Likewise.
36485         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
36486         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
36487         LIBC_CONFIG_VAR.
36488         (config-cflags-avx): Likewise.
36489         (config-cflags-sse2avx): Likewise.
36490         (have-mfma4): Likewise.
36491         (config-cflags-novzeroupper): Likewise.
36492         * configure: Regenerated.
36493         * sysdeps/i386/configure: Likewise.
36494         * sysdeps/mach/configure: Likewise.
36495         * sysdeps/sparc/configure: Likewise.
36496         * sysdeps/x86_64/configure: Likewise.
36498 2013-03-20  Roland McGrath  <roland@hack.frob.com>
36500         [BZ #14812]
36501         * locale/programs/localedef.c (options): Put N_ translation marker
36502         on argument names, not just descriptions.
36504 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36506         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
36508 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
36510         [BZ #14176]
36511         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
36513 2013-03-19  Roland McGrath  <roland@hack.frob.com>
36515         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
36516         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
36517         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
36518         [!BEFORE_ABORT] (before_abort): New function.
36519         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
36520         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
36521         (writev_for_fatal): New function.
36522         (WRITEV_FOR_FATAL): New macro; call that.
36523         (backtrace_and_maps): New function.
36524         (BEFORE_ABORT): New macro; call that.
36525         (struct str_list): Type removed.
36526         (__libc_message, __libc_fatal): Functions removed.
36527         Include <sysdeps/posix/libc_fatal.c> instead.
36529 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
36531         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
36532         constants.
36533         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
36534         double constants.
36536 2013-03-19  Andreas Schwab  <schwab@suse.de>
36538         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
36539         * sysdeps/gnu/configure: Regenerate.
36541         * configure.in: Substitute libc_cv_rtlddir.
36542         * configure: Regenerate.
36543         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
36544         * Makeconfig (rtlddir, inst_rtlddir): New variables.
36545         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
36546         * elf/Makefile (install-others, CFLAGS-interp.c)
36547         (ldso_install, common-ldd-rewrite): Likewise.
36548         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
36549         $(inst_slibdir)/$(rtld-installed-name).
36550         * scripts/rellns-sh: Add -p option.
36551         * Makerules (make-shlib-link): Use rellns-sh to get relative name
36552         for source.
36554 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36556         * manual/nptl.texi: Renamed to ...
36557         * manual/threads.texi: ... this.
36558         * manual/Makefile (chapters): Update.
36560 2013-03-18  Roland McGrath  <roland@hack.frob.com>
36562         [BZ #14812]
36563         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
36564         on argument names, not just descriptions.
36565         * malloc/memusagestat.c (options): Likewise.
36566         * nss/getent.c (options): Likewise.
36568 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
36570         [BZ #14812]
36571         * iconv/iconv_prog.c (options): Put N_ translation marker
36572         on argument names, not just descriptions.
36573         * iconv/iconvconfig.c (options): Likewise.
36575 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
36577         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
36578         implementation which is faster on all x86_64 architectures.
36579         Tested on AMD, Intel Nehalem, SNB, IVB.
36580         * sysdeps/x86_64/strnlen.S: Likewise.
36582         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36583         Remove all multiarch strlen and strnlen versions.
36584         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
36585         Remove strlen and strnlen related parts.
36587         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
36588         Inline strlen part.
36589         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
36591         * sysdeps/x86_64/multiarch/strlen.S: Remove.
36592         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
36593         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
36594         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
36595         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36596         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
36598 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
36600         * manual/memory.texi (Malloc Tunable Parameters):
36601         Sort parameters alphabetically. Add comments for missing entries.
36603 2013-03-17  David S. Miller  <davem@davemloft.net>
36605         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36607 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
36609         [BZ #15283]
36610         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
36611         for arguments at most half maximum finite value.
36612         * math/libm-test.inc (j0_test): Add more tests.
36613         (j1_test): Likewise.
36614         (y0_test): Likewise.
36615         (y1_test): Likewise.
36616         * sysdeps/i386/fpu/libm-test-ulps: Update.
36617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36619         [BZ #14155]
36620         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
36621         1 / x and functions P and Q for arguments above 0x1p256L.
36622         (__ieee754_y0l): Likewise.
36623         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
36624         (__ieee754_y1l): Likewise.
36625         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
36626         (j1_test): Likewise.
36627         (y0_test): Likewise.
36628         (y1_test): Likewise.
36630 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
36632         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
36633         variable.
36635 2013-03-15  Roland McGrath  <roland@hack.frob.com>
36637         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
36638         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
36639         zero since it's initialized to EXEC_PAGESIZE.
36641         * sysdeps/unix/sysv/linux/ldsodefs.h
36642         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
36643         * sysdeps/generic/ldsodefs.h: ... here.
36645 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
36647         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
36649         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
36650         math/test-snan.c.
36651         * math/test-snan.c: Renamed from
36652         sysdeps/powerpc/fpu/test-powerpc-snan.c.
36653         * math/Makefile (tests): Add test-snan.
36654         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
36655         test-powerpc-snan.
36657         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
36658         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
36659         functions.
36660         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
36661         __builtin_nan family of functions.
36662         * math/libm-test.inc (initialize): Initialize qnan_value with
36663         __builtin_nan family of functions.
36664         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
36665         Remove variables.
36666         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
36667         Remove functions.
36668         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
36669         storage class.  Initialize qNaN_var and sNaN_var with
36670         __builtin_nan and __builtin_nans families of functions,
36671         respectively.
36673         * math/libm-test.inc (acosh_test): Also test with qNaN input.
36674         (sqrt_test): Remove duplicate test with qNaN input.
36675         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
36676         (round_test, signbit_test, significand_test): Note missing +/-Inf
36677         as well as qNaN tests.
36679         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
36680         qNaN_var.  Fix a few strings, too.
36681         * math/libm-test.inc (nan_value): Rename to qnan_value.
36682         * math/gen-libm-test.pl (%beautify): Adjust to that.
36683         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
36684         * math/test-misc.c (main): Likewise.
36685         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
36686         to __qnan_bytes, and __qnan_union, respectively.
36687         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
36688         Likewise.
36689         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
36690         and lqnanval, respectively.
36691         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
36692         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
36693         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
36694         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
36696         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
36697         * math/test-misc.c (main) [__x86_64__]: Enable test for long
36698         doubles.
36700         * math/test-misc.c (main): Fix copy'n'pastos.
36701         * misc/tst-efgcvt.c (special): Likewise.
36703         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
36704         Remove declarations.
36706 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36708         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
36709         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
36710         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
36711         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
36713 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36715         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
36716         macro to return vdso values correctly in IFUNC implementations.
36717         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
36718         Optimization by using IFUNC.
36720 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36721             Richard Henderson  <rth@redhat.com>
36722             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36724         * Makefile.in (bench): New target.
36725         * NEWS: Mention the benchmark framework.
36726         * Rules (bench): Likewise.
36727         (binaries-bench): Generate binaries for functions to
36728         benchmark.
36729         * benchtests/Makefile: New makefile for benchmark tests.
36730         * benchtests/bench-skeleton.c: New skeleton file for benchmark
36731         programs.
36732         * benchtests/exp-inputs: New input file for EXP function.
36733         * benchtests/pow-inputs: New input file for POW function.
36734         * scripts/bench.pl: New script to generate source files for
36735         benchmark programs.
36737 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36739         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36740         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
36741         computations on mantissa.  Use macros for rounding and
36742         division.
36743         (denorm): Likewise.
36744         (__dbl_mp): Likewise.
36745         (add_magnitudes): Likewise.
36746         (sub_magnitudes): Likewise.
36747         (__mul): Likewise.
36748         (__sqr): Likewise.
36749         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
36750         powers of two in terms of TWOPOW macro.
36751         (mp_no): Make type of mantissa as MANTISSA_T.
36752         [!RADIXI]: Define RADIXI.
36753         [!TWO52]: Define TWO52.
36754         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36756         * manual/nptl.texi (cindex): Modify threads to pthreads.
36758 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
36760         * sysdeps/x86_64/preconfigure: Regenerated.
36762 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
36764         [BZ #14155]
36765         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
36766         0x1p28 and above.
36767         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
36768         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
36769         0x1p28 and above.
36770         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
36771         * math/libm-test.inc (j0_test): Do not allow one spurious
36772         underflow exception.
36773         (y1_test): Likewise.
36775 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36777         * manual/Makefile (chapters): Add nptl.
36778         * manual/debug.texi (Debugging Support): Add link to Threads
36779         chapter.
36780         * manual/nptl.texi: New file.
36782         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
36784 2013-03-14  Petr Baudis  <pasky@ucw.cz>
36786         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
36787         for non-NULL pointer before the memory validity test. Pointed
36788         out by Holger Brunck <holger.brunck@keymile.com>.
36790 2013-03-13  Andreas Schwab  <schwab@suse.de>
36792         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
36793         instead of .os.
36795 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
36797         * timezone/zic.c: Update from tzcode 2013b.
36799 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
36801         * manual/install.texi (Configuring and compiling):
36802         Mention i686 and i586.
36803         * INSTALL: Regenerate.
36805 2013-03-12  Roland McGrath  <roland@hack.frob.com>
36807         * sysdeps/init_array/elf-init.c: New file.
36808         * csu/elf-init.c
36809         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
36810         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
36812         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
36813         __gmon_start__ as global, but as static with a .preinit_array pointer.
36814         * sysdeps/init_array/gmon-start.c: New file.  Use that.
36815         * sysdeps/init_array/crti.S: New file, empty except for comments.
36816         * sysdeps/init_array/crtn.S: Likewise.
36818 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
36820         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
36821         definining bcopy.
36822         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36823         Remove Prefer_SSE_for_memop.
36824         * sysdeps/x86_64/multiarch/init-arch.h: Remove
36825         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
36826         HAS_PREFER_SSE_FOR_MEMOP.
36827         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
36828         memset-x86-64.
36829         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36830         Remove bzero, memset ifunc support.
36831         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
36832         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
36833         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36834         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36836 2013-03-11  Andreas Schwab  <schwab@suse.de>
36838         [BZ #15234]
36839         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
36840         by SHLIB_COMPAT.
36841         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
36842         (GLIBC_2.16): Remove pthread_atfork.
36844 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
36846         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
36847         (ptestcases.h): Likewise.
36849 2013-03-08  Roland McGrath  <roland@hack.frob.com>
36851         * Makeconfig ($(common-objpfx)config.status): Depend on
36852         sysdeps/*/preconfigure{,.in} too.
36854 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
36856         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
36857         (__free_hook): Use void * instead of __malloc_ptr_t.
36858         (__malloc_hook): Likewise.
36859         (__realloc_hook): Likewise.
36860         (__memalign_hook): Likewise.
36861         (__after_morecore_hook): Likewise.
36862         * malloc/arena.c (save_malloc_hook): Likewise.
36863         (save_free_hook): Likewise.
36864         * malloc/hooks.c (malloc_hook_ini): Likewise.
36865         (realloc_hook_ini): Likewise.
36866         (memalign_hook_ini): Likewise.
36867         * malloc/malloc.c (malloc_hook_ini): Likewise.
36868         (realloc_hook_ini): Likewise.
36869         (memalign_hook_ini): Likewise.
36870         (__free_hook): Likewise.
36871         (__malloc_hook): Likewise.
36872         (__realloc_hook): Likewise.
36873         (__memalign_hook): Likewise.
36874         (__libc_malloc): Likewise.
36875         (__libc_free): Likewise.
36876         (__libc_realloc): Likewise.
36877         (__libc_memalign): Likewise.
36878         (__libc_valloc): Likewise.
36879         (__libc_pvalloc): Likewise.
36880         (__libc_calloc): Likewise.
36881         (__posix_memalign): Likewise.
36882         * malloc/morecore.c (__sbrk): Likewise.
36883         (__default_morecore): Likewise.
36885         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
36887         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
36888         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
36889         __malloc_ptrdiff_t.
36891         * malloc/malloc.h (__malloc_size_t): Remove macro.
36892         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
36893         __malloc_size_t.
36894         (old_memalign_hook): Likewise.
36895         (old_realloc_hook): Likewise.
36896         (struct hdr): Likewise.
36897         (flood): Likewise.
36898         (mallochook): Likewise.
36899         (memalignhook): Likewise.
36900         (reallochook): Likewise.
36901         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
36902         (tr_old_realloc_hook): Likewise.
36903         (tr_old_memalign_hook): Likewise.
36904         (tr_mallochook): Likewise.
36905         (tr_reallochook): Likewise.
36906         (tr_memalignhook): Likewise.
36908 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36910         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
36911         default_ldbl_pack and using as default implementation.
36912         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
36913         implementation.
36914         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
36915         redundant definition.
36916         (ldbl_insert_mantissa): Likewise.
36917         (ldbl_canonicalize): Likewise.
36918         (ldbl_nearbyint): Likewise.
36919         (ldbl_pack): Rename to ldbl_pack_ppc.
36920         (ldbl_unpack): Rename to ldbl_unpack_ppc.
36921         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
36922         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
36924 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
36926         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
36927         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
36928         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
36929         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
36930         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
36931         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
36932         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
36933         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
36935 2013-03-07  Andreas Jaeger  <aj@suse.de>
36937         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36938         bits/mman-linux.h.
36940 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
36942         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
36943         Include mpa.h and declare __MPEXP.
36944         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
36945         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
36946         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
36947         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
36948         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
36949         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
36950         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
36952         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
36953         (__slowpow): Use long double EXPL and LOGL functions to
36954         compute POW.
36955         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
36956         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
36957         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
36958         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
36959         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
36960         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
36962         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
36963         intermediate variable to calculate exponent.
36964         (__sqr): Likewise.
36965         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36966         Likewise.
36967         (__sqr): Likewise.
36969         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
36970         [!NO__SQR]: Define __sqr.
36971         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
36972         and NO__SQR.  Remove all code except __mul and __sqr.  Include
36973         sysdeps/ieee754/dbl-64/mpa.c.
36974         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36976         [BZ #12723]
36977         * posix/Makefile (tests): Add tst-pathconf.
36978         * posix/tst-pathconf.c: New test case.
36979         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
36980         _PC_PIPE_BUF.
36981         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
36983 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
36985         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
36987 2013-03-06  Andreas Jaeger  <aj@suse.de>
36989         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
36990         definition via __MAP_ANONYMOUS.
36992         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
36993         it's not part of Linux headers.
36995         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
36996         (MAP_HUGE_MASK): Define.
36998         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36999         Define.
37000         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37001         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37002         Define.
37003         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37004         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37005         Define.
37006         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37007         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
37008         Define.
37009         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37011         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
37012         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
37013         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
37014         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
37015         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
37016         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
37018         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37019         Handle f2fs.
37021         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37022         Handle f2fs and efivarfs.
37024         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
37025         f2fs.
37027         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
37028         (EFIVARFS_MAGIC): Add.
37029         (F2FS_LINK_MAX): Add.
37031 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37033         * stdio-common/vfprintf.c: Replace __builtin_expect with
37034         __glibc_unlikely.
37036 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
37038         [BZ #13550]
37039         * sysdeps/generic/bp-sym.h: Remove file.
37040         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
37041         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
37042         <bp-sym.h> and <bp-asm.h>.
37043         (__longjmp): Don't use BP_SYM.
37044         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
37045         and <bp-asm.h>.
37046         (memcpy): Don't use BP_SYM.
37047         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
37048         <bp-sym.h> and <bp-asm.h>.
37049         (memcpy): Don't use BP_SYM.
37050         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
37051         <bp-asm.h>.
37052         (memcpy): Don't use BP_SYM.
37053         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
37054         <bp-asm.h>.
37055         (memset): Don't use BP_SYM.
37056         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37057         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37058         (__bzero): Don't use BP_SYM.
37059         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37060         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37061         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
37062         <bp-sym.h> and <bp-asm.h>.
37063         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37064         pointers.
37065         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
37066         <bp-sym.h> and <bp-asm.h>.
37067         (memcpy): Don't use BP_SYM.
37068         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
37069         <bp-sym.h> and <bp-asm.h>.
37070         (memset): Don't use BP_SYM.
37071         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37072         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37073         (__bzero): Don't use BP_SYM.
37074         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37075         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37076         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
37077         <bp-sym.h> and <bp-asm.h>.
37078         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37079         pointers.
37080         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
37081         <bp-sym.h> and <bp-asm.h>.
37082         (memcpy): Don't use BP_SYM.
37083         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
37084         <bp-sym.h> and <bp-asm.h>.
37085         (memset): Don't use BP_SYM.
37086         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37087         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37088         (__bzero): Don't use BP_SYM.
37089         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37090         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37091         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
37092         <bp-sym.h> and <bp-asm.h>.
37093         (__memchr): Don't use BP_SYM.
37094         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
37095         <bp-sym.h> and <bp-asm.h>.
37096         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37097         pointers.
37098         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
37099         <bp-sym.h> and <bp-asm.h>.
37100         (memcpy): Don't use BP_SYM.
37101         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
37102         <bp-sym.h> and <bp-asm.h>.
37103         (__mempcpy): Don't use BP_SYM.
37104         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
37105         <bp-sym.h> and <bp-asm.h>.
37106         (__memrchr): Don't use BP_SYM.
37107         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
37108         <bp-sym.h> and <bp-asm.h>.
37109         (memset): Don't use BP_SYM.
37110         (__bzero): Likewise.
37111         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
37112         <bp-sym.h> and <bp-asm.h>.
37113         (__rawmemchr): Don't use BP_SYM.
37114         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
37115         <bp-sym.h> and <bp-asm.h>.
37116         (__STRCMP): Don't use BP_SYM.
37117         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
37118         <bp-sym.h> and <bp-asm.h>.
37119         (strchr): Don't use BP_SYM.
37120         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
37121         <bp-sym.h> and <bp-asm.h>.
37122         (__strchrnul): Don't use BP_SYM.
37123         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
37124         <bp-sym.h> and <bp-asm.h>.
37125         (strlen): Don't use BP_SYM.
37126         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
37127         <bp-sym.h> and <bp-asm.h>.
37128         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37129         pointers.
37130         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
37131         <bp-sym.h> and <bp-asm.h>.
37132         (__strnlen): Don't use BP_SYM.
37133         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
37134         <bp-sym.h> and <bp-asm.h>.
37135         (__GI__setjmp): Don't use BP_SYM.
37136         (_setjmp): Likewise.
37137         (__sigsetjmp): Likewise.
37138         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
37139         (L(start_addresses)): Don't use BP_SYM.
37140         (_start): Likewise.
37141         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
37142         <bp-asm.h>.
37143         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
37144         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
37145         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37146         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37147         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
37148         <bp-asm.h>.
37149         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
37150         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
37151         about bounded pointers.
37152         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37153         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37154         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
37155         <bp-asm.h>.
37156         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37157         about bounded pointers.  Remove GKM FIXME comments.
37158         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37159         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
37160         <bp-asm.h>.
37161         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
37162         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
37163         Remove GKM FIXME comments.
37164         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37165         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37166         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
37167         <bp-asm.h>.
37168         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37169         about bounded pointers.  Remove GKM FIXME comment.
37170         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
37171         and <bp-asm.h>.
37172         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37173         pointers.
37174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
37175         <bp-sym.h> and <bp-asm.h>.
37176         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
37178         <bp-sym.h> and <bp-asm.h>.
37179         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
37180         comment.
37182 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37184         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
37185         call free(NULL).
37187 2013-03-05  David S. Miller  <davem@davemloft.net>
37189         * po/es.po: Update from translation team.
37191 2013-03-05  Andreas Jaeger  <aj@suse.de>
37193         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
37194         <bits/mman-linux.h>.
37195         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37196         is fine.
37197         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
37198         <bits/mman-linux.h> to end of file.
37199         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37200         is fine.
37201         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
37202         <bits/mman-linux.h> to end of file.
37203         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37204         is fine.
37205         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
37206         <bits/mman-linux.h> to end of file.
37208         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
37209         (MCL_CURRENT, MCL_FUTURE): Define here.
37211 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37213         [BZ #15232]
37214         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
37215         attribute_hidden.
37216         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37218 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37220         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
37221         fourth parameter needed for rt_sigprocmask syscall.
37222         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
37223         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
37224         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
37225         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
37226         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
37227         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
37229 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
37231         [BZ #13550]
37232         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
37233         comment about bounded pointers.
37234         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
37235         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
37237 2013-03-04  Andreas Jaeger  <aj@suse.de>
37239         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
37240         common definitions.
37242         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
37243         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
37244         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
37245         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37246         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37247         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37249 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37251         [BZ #15055]
37252         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
37253         __ieee754_sqrl instead of __sqrl.
37255 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
37257         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
37258         * sysdeps/powerpc/fpu_control.h: ... here.
37259         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
37260         * sysdeps/powerpc/bits/fenvinline.h: ... here.
37261         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
37262         * sysdeps/powerpc/bits/mathinline.h: ... here.
37264 2013-03-01  Roland McGrath  <roland@hack.frob.com>
37266         * elf/dl-hwcaps.c (_dl_important_hwcaps):
37267         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
37268         to just [NEED_DL_SYSINFO_DSO].
37269         * elf/dl-support.c: Likewise.
37270         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
37271         * elf/rtld.c (dl_main): Likewise.
37272         * elf/setup-vdso.h (setup_vdso): Likewise.
37273         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
37274         * sysdeps/unix/sysv/linux/dl-sysdep.c
37275         (_dl_discover_osversion): Likewise.
37277 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
37279         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
37280         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37282 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
37284         * NEWS: Mention libm performance improvements and non-x86 PI
37285         futex support.
37287         * csu/libc-start.c (__pthread_initialize_minimal): Change
37288         function arguments.
37289         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37291 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
37293         [BZ #13550]
37294         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
37295         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
37296         <bp-sym.h> and <bp-asm.h>.
37297         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37298         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
37299         and <bp-asm.h>.
37300         (memcpy): Don't use BP_SYM.
37301         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
37302         <bp-asm.h>.
37303         (__mpn_add_n): Don't use BP_SYM.
37304         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
37305         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
37306         and <bp-asm.h>.
37307         (__mpn_addmul_1): Don't use BP_SYM.
37308         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37309         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
37310         <bp-sym.h>.
37311         (_setjmp): Don't use BP_SYM.
37312         (__novmx_setjmp): Likewise.
37313         (__GI__setjmp): Likewise.
37314         (__vmx_setjmp): Likewise.
37315         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
37316         <bp-sym.h>.
37317         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
37318         (__bzero): Don't use BP_SYM.
37319         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37320         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37321         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
37322         <bp-sym.h> and <bp-asm.h>.
37323         (memcpy): Don't use BP_SYM.
37324         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
37325         <bp-sym.h> and <bp-asm.h>.
37326         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37327         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
37328         <bp-sym.h> and <bp-asm.h>.
37329         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37330         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
37331         <bp-asm.h>.
37332         (__mpn_lshift): Don't use BP_SYM.
37333         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37334         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
37335         <bp-asm.h>.
37336         (memset): Don't use BP_SYM.
37337         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37338         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37339         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
37340         <bp-asm.h>.
37341         (__mpn_mul_1): Don't use BP_SYM.
37342         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37343         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
37344         <bp-sym.h> and <bp-asm.h>.
37345         (memcmp): Don't use BP_SYM.
37346         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
37347         <bp-sym.h> and <bp-asm.h>.
37348         (memcpy): Don't use BP_SYM.
37349         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
37350         <bp-sym.h> and <bp-asm.h>.
37351         (memset): Don't use BP_SYM.
37352         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
37353         <bp-sym.h> and <bp-asm.h>.
37354         (strncmp): Don't use BP_SYM.
37355         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
37356         <bp-sym.h> and <bp-asm.h>.
37357         (memcpy): Don't use BP_SYM.
37358         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
37359         <bp-sym.h> and <bp-asm.h>.
37360         (memset): Don't use BP_SYM.
37361         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
37362         <bp-sym.h> and <bp-asm.h>.
37363         (__memchr): Don't use BP_SYM.
37364         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
37365         <bp-sym.h> and <bp-asm.h>.
37366         (memcmp): Don't use BP_SYM.
37367         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
37368         <bp-sym.h> and <bp-asm.h>.
37369         (memcpy): Don't use BP_SYM.
37370         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
37371         <bp-sym.h> and <bp-asm.h>.
37372         (__mempcpy): Don't use BP_SYM.
37373         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
37374         <bp-sym.h> and <bp-asm.h>.
37375         (__memrchr): Don't use BP_SYM.
37376         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
37377         <bp-sym.h> and <bp-asm.h>.
37378         (memset): Don't use BP_SYM.
37379         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
37380         <bp-sym.h> and <bp-asm.h>.
37381         (__rawmemchr): Don't use BP_SYM.
37382         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
37383         <bp-sym.h> and <bp-asm.h>.
37384         (__STRCMP): Don't use BP_SYM.
37385         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
37386         <bp-sym.h> and <bp-asm.h>.
37387         (strchr): Don't use BP_SYM.
37388         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
37389         <bp-sym.h> and <bp-asm.h>.
37390         (__strchrnul): Don't use BP_SYM.
37391         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
37392         <bp-sym.h> and <bp-asm.h>.
37393         (strlen): Don't use BP_SYM.
37394         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
37395         <bp-sym.h> and <bp-asm.h>.
37396         (strncmp): Don't use BP_SYM.
37397         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
37398         <bp-sym.h> and <bp-asm.h>.
37399         (__strnlen): Don't use BP_SYM.
37400         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
37401         <bp-asm.h>.
37402         (__mpn_rshift): Don't use BP_SYM.
37403         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37404         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
37405         <bp-sym.h> and <bp-asm.h>.
37406         (__sigsetjmp): Don't use BP_SYM.
37407         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
37408         (L(start_addresses)): Don't use BP_SYM.
37409         (_start): Likewise.
37410         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
37411         <bp-asm.h>.
37412         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
37413         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37414         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37415         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
37416         <bp-asm.h>.
37417         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
37418         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37419         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37420         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
37421         <bp-asm.h>.
37422         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
37423         comments.
37424         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37425         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
37426         <bp-asm.h>.
37427         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
37428         FIXME comments.
37429         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37430         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37431         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
37432         <bp-asm.h>.
37433         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
37434         comment.
37435         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
37436         and <bp-asm.h>.
37437         (strncmp): Don't use BP_SYM,
37438         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
37439         <bp-asm.h>.
37440         (__mpn_sub_n): Don't use BP_SYM.
37441         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37442         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
37443         and <bp-asm.h>.
37444         (__mpn_submul_1): Don't use BP_SYM.
37445         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
37447         <bp-sym.h> and <bp-asm.h>.
37448         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
37450         <bp-sym.h> and <bp-asm.h>.
37451         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
37452         comment.
37454 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37456         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
37457         Use ZK to minimize writes to Z.
37458         (sub_magnitudes): Simplify code a bit.
37459         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
37460         Use ZK to minimize writes to Z.
37461         (sub_magnitudes): Simplify code a bit.
37463 2013-02-27  Roland McGrath  <roland@hack.frob.com>
37465         * csu/gmon-start.c: Add special exception to license text.
37467 2013-02-27  Richard Henderson  <rth@redhat.com>
37469         * scripts/config.guess: Update from config.git.
37470         * scripts/config.sub: Likewise.
37472 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37474         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
37476         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
37478         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
37480         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
37482         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
37484 2013-02-26  Roland McGrath  <roland@hack.frob.com>
37486         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
37487         [$(build-shared = yes].
37489 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37491         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
37492         (__mul): Reduce iterations for calculating mantissa.
37494         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
37495         MPTWO.
37496         (__mpranred): Likewise.
37498         [BZ #15160]
37499         * malloc/memusagestat.c (main): Draw graphs for heap and stack
37500         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
37502 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
37504         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
37505         Define __attribute__.
37507 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37509         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
37510         unused.
37511         * posix/regex_internal.h (__attribute): Remove.
37512         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
37513         (re_string_context_at): Likewise.
37514         (bitset_not): Use __attribute__ and mark function as possibly
37515         unused.
37516         (bitset_merge): Likewise.
37517         (bitset_mask): Likewise.
37518         (re_string_char_size_at): Likewise.
37519         (re_string_wchar_at): Likewise.
37520         (re_string_elem_size_at): Likewise.
37522 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37524         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
37525         code.
37526         (cc32): Likewise.
37528         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
37529         (__acr): Likewise.
37530         (__cpy): Likewise.
37531         (norm): Likewise.
37532         (denorm): Likewise.
37533         (__dbl_mp): Likewise.
37534         (add_magnitudes): Likewise.
37535         (sub_magnitudes): Likewise.
37536         (__mul): Likewise.
37537         (__inv): Likewise.
37539         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
37540         style.
37542         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
37543         style.
37545         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
37546         code.
37548         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
37549         up changes with default code.
37550         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
37551         Likewise.
37553 2013-02-24  Allan McRae  <allan@archlinux.org>
37555         * manual/socket.texi (The Internet Namespace): Order menu items
37556         to match that in the file.
37558         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
37559         node listing of the info page menu.
37561 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
37563         [BZ #13550]
37564         * sysdeps/i386/bp-asm.h: Remove file.
37565         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
37566         (PARMS): Do not use macros from bp-asm.h.
37567         (S1): Likewise.
37568         (S2): Likewise.
37569         (SIZE): Likewise.
37570         (__mpn_add_n): Do not use BP_SYM
37571         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
37572         "bp-asm.h".
37573         (PARMS): Do not use macros from bp-asm.h.
37574         (S1): Likewise.
37575         (SIZE): Likewise.
37576         (__mpn_addmul_1): Do not use BP_SYM
37577         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
37578         "bp-asm.h".
37579         (PARMS): Do not use macros from bp-asm.h.
37580         (SIGMSK): Likewise.
37581         (_setjmp): Likewise.  Do not use BP_SYM.
37582         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
37583         "bp-asm.h".
37584         (PARMS): Do not use macros from bp-asm.h.
37585         (SIGMSK): Likewise.
37586         (setjmp): Likewise.  Do not use BP_SYM.
37587         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
37588         "bp-asm.h".
37589         (PARMS): Do not use macros from bp-asm.h.
37590         (__frexp): Do not use BP_SYM.
37591         (frexp): Likewise.
37592         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
37593         "bp-asm.h".
37594         (PARMS): Do not use macros from bp-asm.h.
37595         (__frexpf): Do not use BP_SYM.
37596         (frexpf): Likewise.
37597         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
37598         "bp-asm.h".
37599         (PARMS): Do not use macros from bp-asm.h.
37600         (__frexpl): Do not use BP_SYM.
37601         (frexpl): Likewise.
37602         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
37603         "bp-asm.h".
37604         (PARMS): Do not use macros from bp-asm.h.
37605         (__remquo): Do not use BP_SYM.
37606         (remquo): Likewise.
37607         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
37608         "bp-asm.h".
37609         (PARMS): Do not use macros from bp-asm.h.
37610         (__remquof): Do not use BP_SYM.
37611         (remquof): Likewise.
37612         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
37613         "bp-asm.h".
37614         (PARMS): Do not use macros from bp-asm.h.
37615         (__remquol): Do not use BP_SYM.
37616         (remquol): Likewise.
37617         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
37618         "bp-asm.h".
37619         (PARMS): Do not use macros from bp-asm.h.
37620         (DEST): Likewise.
37621         (SRC): Likewise.
37622         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
37623         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
37624         "bp-asm.h".
37625         (PARMS): Do not use macros from bp-asm.h.
37626         (strlen): Do not use BP_SYM.
37627         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
37628         "bp-asm.h".
37629         (PARMS): Do not use macros from bp-asm.h.
37630         (S1): Likewise.
37631         (S2): Likewise.
37632         (SIZE): Likewise.
37633         (__mpn_add_n): Do not use BP_SYM.
37634         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
37635         "bp-asm.h".
37636         (PARMS): Do not use macros from bp-asm.h.
37637         (S1): Likewise.
37638         (SIZE): Likewise.
37639         (__mpn_addmul_1): Do not use BP_SYM.
37640         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
37641         weak_alias.
37642         (bzero): Likewise.
37643         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
37644         "bp-asm.h".
37645         (PARMS): Do not use macros from bp-asm.h.
37646         (S): Likewise.
37647         (SIZE): Likewise.
37648         (__mpn_lshift): Do not use BP_SYM.
37649         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
37650         "bp-asm.h".
37651         (PARMS): Do not use macros from bp-asm.h.
37652         (DEST): Likewise.
37653         (SRC): Likewise.
37654         (LEN): Likewise.
37655         (memcpy): Likewise.  Do not use BP_SYM.
37656         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
37657         libc_hidden_def and weak_alias.
37658         (mempcpy): Do not use BP_SYM in weak_alias.
37659         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
37660         "bp-asm.h".
37661         (PARMS): Do not use macros from bp-asm.h.
37662         (DEST): Likewise.
37663         (LEN): Likewise.
37664         [!BZERO_P] (CHR): Likewise.
37665         (memset): Likewise.  Do not use BP_SYM.
37666         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
37667         "bp-asm.h".
37668         (PARMS): Do not use macros from bp-asm.h.
37669         (S1): Likewise.
37670         (SIZE): Likewise.
37671         (__mpn_mul_1): Do not use BP_SYM.
37672         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
37673         "bp-asm.h".
37674         (PARMS): Do not use macros from bp-asm.h.
37675         (S): Likewise.
37676         (SIZE): Likewise.
37677         (__mpn_rshift): Do not use BP_SYM.
37678         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
37679         "bp-asm.h".
37680         (PARMS): Do not use macros from bp-asm.h.
37681         (STR): Likewise.
37682         (CHR): Likewise.
37683         (strchr): Likewise.  Do not use BP_SYM.
37684         (index): Do not use BP_SYM in weak_alias.
37685         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
37686         "bp-asm.h".
37687         (PARMS): Do not use macros from bp-asm.h.
37688         (DEST): Likewise.
37689         (SRC): Likewise.
37690         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
37691         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
37692         "bp-asm.h".
37693         (PARMS): Do not use macros from bp-asm.h.
37694         (strlen): Do not use BP_SYM.
37695         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
37696         "bp-asm.h".
37697         (PARMS): Do not use macros from bp-asm.h.
37698         (S1): Likewise.
37699         (S2): Likewise.
37700         (SIZE): Likewise.
37701         (__mpn_sub_n): Do not use BP_SYM.
37702         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
37703         "bp-asm.h".
37704         (PARMS): Do not use macros from bp-asm.h.
37705         (S1): Likewise.
37706         (SIZE): Likewise.
37707         (__mpn_submul_1): Do not use BP_SYM.
37708         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
37709         "bp-asm.h".
37710         (PARMS): Do not use macros from bp-asm.h.
37711         (S1): Likewise.
37712         (S2): Likewise.
37713         (SIZE): Likewise.
37714         (__mpn_add_n): Do not use BP_SYM.
37715         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
37716         weak_alias.
37717         (bzero): Likewise.
37718         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
37719         "bp-asm.h".
37720         (PARMS): Do not use macros from bp-asm.h.
37721         (BLK2): Likewise.
37722         (LEN): Likewise.
37723         (memcmp): Do not use BP_SYM.
37724         (bcmp): Do not use BP_SYM in weak_alias.
37725         * sysdeps/i386/i686/memcpy.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         (memcpy): Likewise.  Do not use BP_SYM.
37732         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
37733         "bp-asm.h".
37734         (PARMS): Do not use macros from bp-asm.h.
37735         (DEST): Likewise.
37736         (SRC): Likewise.
37737         (LEN): Likewise.
37738         (memmove): Likewise.  Do not use BP_SYM.
37739         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
37740         "bp-asm.h".
37741         (PARMS): Do not use macros from bp-asm.h.
37742         (DEST): Likewise.
37743         (SRC): Likewise.
37744         (LEN): Likewise.
37745         (__mempcpy): Likewise.  Do not use BP_SYM.
37746         (mempcpy): Do not use BP_SYM in weak_alias.
37747         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
37748         "bp-asm.h".
37749         (PARMS): Do not use macros from bp-asm.h.
37750         (DEST): Likewise.
37751         (LEN): Likewise.
37752         [!BZERO_P] (CHR): Likewise.
37753         (memset): Likewise.  Do not use BP_SYM.
37754         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
37755         "bp-asm.h".
37756         (PARMS): Do not use macros from bp-asm.h.
37757         (STR2): Likewise.
37758         (strcmp): Do not use BP_SYM.
37759         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
37760         "bp-asm.h".
37761         (PARMS): Do not use macros from bp-asm.h.
37762         (STR): Likewise.
37763         (DELIM): Likewise.
37764         [USE_AS_STRTOK_R] (SAVE): Likewise.
37765         (FUNCTION): Likewise.  Do not use BP_SYM.
37766         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
37767         aliases.
37768         (strtok_r): Likewise.
37769         (__GI___strtok_r): Likewise.
37770         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37771         (PARMS): Do not use macros from bp-asm.h.
37772         (S): Likewise.
37773         (SIZE): Likewise.
37774         (__mpn_lshift): Do not use BP_SYM.
37775         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37776         (PARMS): Do not use macros from bp-asm.h.
37777         (STR): Likewise.
37778         (CHR): Likewise.
37779         (__memchr): Do not use BP_SYM.
37780         (memchr): Do not use BP_SYM in weak_alias.
37781         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37782         (PARMS): Do not use macros from bp-asm.h.
37783         (BLK2): Likewise.
37784         (LEN): Likewise.
37785         (memcmp): Do not use BP_SYM.
37786         (bcmp): Do not use BP_SYM in weak_alias.
37787         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
37788         (PARMS): Do not use macros from bp-asm.h.
37789         (S1): Likewise.
37790         (SIZE): Likewise.
37791         (__mpn_mul_1): Do not use BP_SYM.
37792         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
37793         "bp-asm.h".
37794         (PARMS): Do not use macros from bp-asm.h.
37795         (STR): Likewise.
37796         (CHR): Likewise.
37797         (__rawmemchr): Do not use BP_SYM.
37798         (rawmemchr): Do not use BP_SYM in weak_alias.
37799         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37800         (PARMS): Do not use macros from bp-asm.h.
37801         (S): Likewise.
37802         (SIZE): Likewise.
37803         (__mpn_rshift): Do not use BP_SYM.
37804         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37805         (PARMS): Do not use macros from bp-asm.h.
37806         (SIGMSK): Likewise.
37807         (__sigsetjmp): Likewise.  Do not use BP_SYM.
37808         * sysdeps/i386/start.S: Do not include "bp-sym.h".
37809         (_start): Do not use BP_SYM.
37810         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
37811         (PARMS): Do not use macros from bp-asm.h.
37812         (DEST): Likewise.
37813         (SRC): Likewise.
37814         (__stpcpy): Likewise.  Do not use BP_SYM.
37815         (stpcpy): Do not use BP_SYM in weak_alias.
37816         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
37817         "bp-asm.h".
37818         (PARMS): Do not use macros from bp-asm.h.
37819         (DEST): Likewise.
37820         (SRC): Likewise.
37821         (LEN): Likewise.
37822         (__stpncpy): Likewise.  Do not use BP_SYM.
37823         (stpncpy): Do not use BP_SYM in weak_alias.
37824         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37825         (PARMS): Do not use macros from bp-asm.h.
37826         (STR): Likewise.
37827         (CHR): Likewise.
37828         (strchr): Likewise.  Do not use BP_SYM.
37829         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
37830         "bp-asm.h".
37831         (PARMS): Do not use macros from bp-asm.h.
37832         (STR): Likewise.
37833         (CHR): Likewise.
37834         (__strchrnul): Likewise.  Do not use BP_SYM.
37835         (strchrnul): Do not use BP_SYM in weak_alias.
37836         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
37837         "bp-asm.h".
37838         (PARMS): Do not use macros from bp-asm.h.
37839         (STOP): Likewise.
37840         (strcspn): Do not use BP_SYM.
37841         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
37842         "bp-asm.h".
37843         (PARMS): Do not use macros from bp-asm.h.
37844         (STR): Likewise.
37845         (STOP): Likewise.
37846         (strpbrk): Likewise.  Do not use BP_SYM.
37847         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
37848         "bp-asm.h".
37849         (PARMS): Do not use macros from bp-asm.h.
37850         (STR): Likewise.
37851         (CHR): Likewise.
37852         (strrchr): Likewise.  Do not use BP_SYM.
37853         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
37854         (PARMS): Do not use macros from bp-asm.h.
37855         (SKIP): Likewise.
37856         (strspn): Do not use BP_SYM.
37857         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
37858         (PARMS): Do not use macros from bp-asm.h.
37859         (STR): Likewise.
37860         (DELIM): Likewise.
37861         (SAVE): Likewise.
37862         (FUNCTION): Likewise.  Do not use BP_SYM.
37863         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
37864         aliases.
37865         (strtok_r): Likewise.
37866         (__GI___strtok_r): Likewise.
37867         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
37868         (PARMS): Do not use macros from bp-asm.h.
37869         (S1): Likewise.
37870         (S2): Likewise.
37871         (SIZE): Likewise.
37872         (__mpn_sub_n): Do not use BP_SYM.
37873         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
37874         "bp-asm.h".
37875         (PARMS): Do not use macros from bp-asm.h.
37876         (S1): Likewise.
37877         (SIZE): Likewise.
37878         (__mpn_submul_1): Do not use BP_SYM.
37879         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
37880         <bp-sym.h>.
37881         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
37882         and <bp-asm.h>.
37883         (PARMS): Do not use macros from bp-asm.h.
37884         (FLAGS): Likewise.
37885         (PTID): Likewise.
37886         (TLS): Likewise.
37887         (CTID): Likewise.
37888         (__clone): Do not use BP_SYM.
37889         (clone): Do not use BP_SYM in weak_alias.
37890         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
37891         and <bp-asm.h>.
37892         (PARMS): Do not use macros from bp-asm.h.
37893         (LEN): Likewise.
37894         (__mmap64): Do not use BP_SYM.
37895         (mmap64): Do not use BP_SYM in weak_alias.
37896         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37897         <bp-sym.h> and <bp-asm.h>.
37898         (PARMS): Do not use macros from bp-asm.h.
37899         (__posix_fadvise64_l64): Do not use BP_SYM.
37900         * sysdeps/unix/sysv/linux/i386/semtimedop.S
37901         (PARMS): Do not use macros from bp-asm.h.
37902         (NSOPS): Likewise.
37903         (semtimedop): Do not use BP_SYM.
37904         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
37905         and <bp-asm.h>.
37907 2013-02-21  Allan McRae  <allan@archlinux.org>
37909         * manual/message.texi (Charset conversion in gettext):
37910         Move @end statement to beginning of line.
37912 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37914         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
37915         static.
37916         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
37917         Likewise.
37919         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
37920         (denorm): Likewise.
37921         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
37922         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
37924 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37926         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
37927         tail-call to the resolved function if pltexit isn't needed.
37929 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37931         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
37932         or Y being zero as being unlikely.
37933         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
37934         Likewise.
37936 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
37938         * manual/nss.texi (System Databases and Name Service Switch):
37939         Remove frobnicate @pxref.
37941 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
37943         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
37944         __attribute__ ((unused)) to __attribute__ ((__unused__)).
37946 2013-02-20  Petr Machata  <pmachata@redhat.com>
37948         * elf/elf.h (R_ARM_TARGET1): New macro.
37949         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
37950         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
37951         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
37952         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
37953         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
37954         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
37955         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
37956         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
37957         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
37958         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
37959         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
37960         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
37961         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
37962         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
37963         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
37964         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
37965         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
37966         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
37967         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
37968         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
37969         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
37970         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
37971         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
37972         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
37973         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
37974         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
37975         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
37976         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
37977         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
37978         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
37979         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
37980         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
37981         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
37982         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
37983         (R_ARM_THM_GOT_BREL12): Likewise.
37984         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
37985         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
37986         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
37987         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
37988         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
37989         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
37990         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
37991         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
37992         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
37994 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
37996         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
37997         __attribute_used__ to __attribute__ ((unused)).
37999 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38001         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
38002         powerpc mpa.c.
38003         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
38004         comment formatting.
38005         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
38007 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
38009         [BZ #13550]
38010         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
38011         Remove macro.
38012         (ENTER): Remove both macro definitions.
38013         (LEAVE): Likewise.
38014         (CHECK_BOUNDS_LOW): Likewise.
38015         (CHECK_BOUNDS_HIGH): Likewise.
38016         (CHECK_BOUNDS_BOTH): Likewise.
38017         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
38018         (RETURN_BOUNDED_POINTER): Likewise.
38019         (RETURN_NULL_BOUNDED_POINTER): Likewise.
38020         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
38021         (POP_ERRNO_LOCATION_RETURN): Likewise.
38022         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
38023         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38024         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
38025         macros.
38026         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38027         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
38028         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
38029         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
38030         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
38031         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
38032         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
38033         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
38034         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
38035         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
38036         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
38037         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
38038         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38039         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
38040         removed macros.
38041         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38042         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
38043         macros.
38044         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38045         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
38046         * sysdeps/i386/i586/memset.S (memset): Likewise.
38047         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
38048         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38049         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
38050         macros.
38051         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38052         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
38053         Change uses of L(2) to L(out).
38054         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
38055         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
38056         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
38057         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38058         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
38059         removed macros.
38060         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38061         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
38062         macros.
38063         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38064         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
38065         (RETURN): Do not use macro LEAVE.
38066         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
38067         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
38068         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
38069         * sysdeps/i386/i686/memset.S (memset): Likewise.
38070         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
38071         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
38072         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38073         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
38074         Likewise.
38075         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38076         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
38077         L(1_2) and L(1_3) into L(1).
38078         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38079         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
38080         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38081         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
38082         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38083         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
38084         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
38085         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38086         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
38087         macros.
38088         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
38089         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38090         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
38091         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
38092         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
38093         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38094         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
38095         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
38096         * sysdeps/i386/strcspn.S (strcspn): Likewise.
38097         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
38098         * sysdeps/i386/strrchr.S (strrchr): Likewise.
38099         * sysdeps/i386/strspn.S (strspn): Likewise.
38100         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
38101         conditional code.
38102         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38103         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
38104         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38105         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
38106         L(1_3) into L(1_1).
38107         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
38108         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38109         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
38110         macros.
38111         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38113 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
38115         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
38116         macro.
38118 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38120         * math/atest-exp.c (exp_mpn): Remove ROUND.
38121         * math/atest-exp2.c (exp_mpn): Likewise.
38122         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
38124         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
38125         * stdlib/tst-tls-atexit-lib.c: Likewise.
38126         * stdlib/tst-tls-atexit.c: Likewise.
38128 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38130         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
38131         and __attribute_alloc_size__.
38133 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38135         * include/programs/xmalloc.h: Change __attribute_alloc_size to
38136         __attribute_alloc_size__.
38137         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
38138         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
38140 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38142         * include/programs/xmalloc.h: New file.
38143         * catgets/gencat.c: Include it.
38144         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
38145         * elf/pldd.c: Likewise.
38146         * iconv/iconv_charmap.c: Likewise.
38147         * iconv/iconvconfig.c: Likewise.
38148         * iconv/strtab.c: Likewise.
38149         * locale/programs/locale.c: Likewise.
38150         * locale/programs/localedef.h: Likewise.
38151         * locale/programs/simple-hash.c: Likewise.
38152         * nscd/nscd.h: Likewise.
38153         * nss/makedb.c: Likewise.
38154         * sysdeps/generic/ldconfig.h: Likewise.
38156 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38158         * Versions.def: Add GLIBC_2.18.
38159         * include/link.h (struct link_map): New member l_tls_dtor_count.
38160         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
38161         (__call_tls_dtors): Likewise.
38162         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
38163         __cxa_thread_atexit_impl.
38164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38165         Likewise.
38166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38167         Likewise.
38168         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38169         Likewise.
38170         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38171         Likewise.
38172         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38173         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
38174         Likewise.
38175         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
38176         Likewise.
38177         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38178         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38179         Likewise.
38180         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
38181         (tests): Add test case tst-tls-atexit.
38182         (modules-names): Add shared library for tst-tls-atexit.
38183         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
38184         (GLIBC_PRIVATE): Add __call_tls_dtors.
38185         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
38186         for libstdc++.
38187         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
38188         * stdlib/tst-tls-atexit.c: New test case.
38189         * stdlib/tst-tls-atexit-lib.c: New test case.
38191         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
38193         * elf/Versions (ld): Add _dl_find_dso_for_object.
38194         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
38195         * elf/dl-open.c (_dl_find_dso_for_object): New function.
38196         (dl_open_worker): Use _dl_find_dso_for_object.
38197         * elf/dl-sym.c (do_sym): Likewise.
38198         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
38200 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38202         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
38203         Syntactic changes only.
38204         (_dl_runtime_profile): Do a tail-call to the resolved function.
38206 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
38208         [BZ #13550]
38209         * sysdeps/x86_64/bp-asm.h: Remove file.
38210         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
38211         <bp-sym.h> and <bp-asm.h>.
38212         (__clone): Do not use BP_SYM.
38213         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
38214         <bp-sym.h> and <bp-asm.h>.
38215         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38216         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
38217         "bp-asm.h".
38218         (_setjmp): Do not use BP_SYM.
38219         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
38220         "bp-asm.h".
38221         (setjmp): Do not use BP_SYM.
38222         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
38223         libc_hidden_def.
38224         (mempcpy): Do not use BP_SYM in weak_alias.
38225         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
38226         "bp-asm.h".
38227         (strchr): Do not use BP_SYM.
38228         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
38229         "bp-asm.h".
38230         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
38231         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
38232         (_start): Do not use BP_SYM.
38233         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
38234         "bp-asm.h".
38235         (strcat): Do not use BP_SYM.
38236         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
38237         "bp-asm.h".
38238         (STRCMP): Do not use BP_SYM.
38239         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
38240         "bp-asm.h".
38241         (STRCPY): Do not use BP_SYM.
38242         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
38243         "bp-asm.h".
38244         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
38245         "bp-asm.h".
38246         (FUNCTION): Do not use BP_SYM.
38247         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
38248         weak_alias.
38249         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
38251 2013-02-17  Andreas Jaeger  <aj@suse.de>
38253         * time/Versions: Sort entries.
38254         * string/Versions: Likewise.
38255         * resolv/Versions: Likewise.
38256         * posix/Versions: Likewise.
38257         * iconv/Versions: Likewise.
38258         * elf/Versions: Likewise.
38259         * wcsmbs/Versions: Likewise.
38261 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38263         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
38264         loop termination condition.
38266         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
38267         variable to calculate EZ.
38268         (__sqr): Likewise.
38270         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
38271         the lower precision input.
38273 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
38275         [BZ #13550]
38276         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
38277         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
38278         (run-via-rtld-prefix): Do not handle %-bp tests.
38279         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
38280         (all-object-suffixes): Remove .ob.
38281         (bppfx): Remove variable.
38282         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
38283         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
38284         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
38285         [$(build-bounded) = yes] (libtype.ob): Likewise.
38286         * Makerules (elide-routines.ob): Remove variable.
38287         (do-tests-clean): Do not handle *-bp.out.
38288         (common-mostlyclean): Do not handle *-bp and *-bp.out.
38289         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
38290         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
38291         (tests): Do not include $(tests-bp.out).
38292         (xtests): Do not include $(xtests-bp.out).
38293         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
38294         [$(build-bounded) = yes] ($(addprefix
38295         $(objpfx),$(binaries-bounded))): Remove rule.
38296         ($(objpfx)%-bp.out): Remove rule.
38297         * config.make.in (build-bounded): Remove variable.
38298         * crypt/Makefile [$(build-bounded) = yes]
38299         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
38300         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
38301         append to variable.
38302         [$(build-bounded) = yes] (install-lib): Likewise.
38303         [$(build-bounded) = yes] (generated): Likewise.
38304         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
38305         Remove rule.
38306         * intl/Makefile [$(build-bounded) = yes]
38307         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
38308         * math/Makefile [$(build-bounded) = yes]
38309         ($(tests:%=$(objpfx)%-bp): Likewise.
38310         * misc/Makefile [$(build-bounded) = yes]
38311         ($(objpfx)tst-tsearch-bp): Likewise.
38312         * nptl/Makeconfig (bounded-thread-library): Remove variable.
38313         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
38314         Remove dependency.
38315         * string/Makefile (o-objects.ob): Remove variable.
38316         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
38317         (CFLAGS-.ob): Remove variable.
38318         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
38319         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
38320         both definitions of variable.
38321         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
38322         (ASFLAGS-.ob): Remove variable.
38324 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
38326         [BZ #13550]
38327         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
38328         Remove __BOUNDED_POINTERS__ from condition.
38329         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
38330         * string/bits/string2.h [!__NO_STRING_INLINES &&
38331         !__BOUNDED_POINTERS__]: Likewise.
38332         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
38333         Likewise.
38334         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
38335         Remove conditional code.
38336         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
38337         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
38338         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
38339         condition.
38341         [BZ #13550]
38342         * csu/libc-start.c: Do not include <bp-sym.h>.
38343         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
38344         * elf/dl-open.c: Do not include <bp-sym.h>.
38345         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
38346         * math/fegetenv.c: Do not include <bp-sym.h>.
38347         (fegetenv): Do not use BP_SYM in versioned symbols.
38348         * nptl/sysdeps/pthread/bits/libc-lockP.h
38349         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
38350         <bp-sym.h>.
38351         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38352         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
38353         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38354         (__pthread_mutex_destroy): Likewise.
38355         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38356         (__pthread_mutex_lock): Likewise.
38357         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38358         (__pthread_mutex_trylock): Likewise.
38359         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38360         (__pthread_mutex_unlock): Likewise.
38361         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38362         (__pthread_mutexattr_init): Likewise.
38363         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38364         (__pthread_mutexattr_destroy): Likewise.
38365         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38366         (__pthread_mutexattr_settype): Likewise.
38367         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38368         (__pthread_rwlock_init): Likewise.
38369         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38370         (__pthread_rwlock_destroy): Likewise.
38371         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38372         (__pthread_rwlock_rdlock): Likewise.
38373         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38374         (__pthread_rwlock_tryrdlock): Likewise.
38375         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38376         (__pthread_rwlock_wrlock): Likewise.
38377         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38378         (__pthread_rwlock_trywrlock): Likewise.
38379         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38380         (__pthread_rwlock_unlock): Likewise.
38381         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38382         (__pthread_key_create): Likewise.
38383         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38384         (__pthread_setspecific): Likewise.
38385         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38386         (__pthread_getspecific): Likewise.
38387         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
38388         Likewise.
38389         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38390         (_pthread_cleanup_push_defer): Likewise.
38391         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38392         (_pthread_cleanup_pop_restore): Likewise.
38393         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38394         (pthread_setcancelstate): Likewise.
38395         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
38396         <bp-sym.h>.
38397         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
38398         (memchr): Do not use BP_SYM in weak_alias.
38399         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
38400         (fegetenv): Do not use BP_SYM in versioned symbols.
38401         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
38402         (fesetenv): Do not use BP_SYM in versioned symbols.
38403         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
38404         (feupdateenv): Do not use BP_SYM in versioned symbols.
38405         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
38406         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
38407         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
38408         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
38409         (open64): Do not use BP_SYM in weak_alias.
38410         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
38411         (fegetenv): Do not use BP_SYM in versioned symbols.
38412         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
38413         (fesetenv): Do not use BP_SYM in versioned symbols.
38414         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
38415         (feupdateenv): Do not use BP_SYM in versioned symbols.
38416         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
38417         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
38418         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
38419         (feraiseexcept): Do not use BP_SYM in versioned symbols.
38420         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
38421         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
38422         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
38423         <bp-sym.h>.
38424         (__libc_start_main): Do not use BP_SYM.
38426 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38428         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
38429         redundant return line.
38430         (norm): Likewise.
38431         (denorm): Likewise.
38432         (dbl_mp): Likewise.
38433         (sub_magnitudes): Likewise.
38434         (__add): Likewise.
38435         (__sub): Likewise.
38436         (__mul): Likewise.
38437         (__inv): Likewise.
38438         (__dvd): Likewise.
38439         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
38440         (norm): Likewise.
38441         (denorm): Likewise.
38442         (dbl_mp): Likewise.
38443         (sub_magnitudes): Likewise.
38444         (__add): Likewise.
38445         (__sub): Likewise.
38446         (__mul): Likewise.
38447         (__inv): Likewise.
38448         (__dvd): Likewise.
38450         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
38451         instead of __mul.
38452         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38453         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
38454         (cc32): Likewise.
38456         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
38457         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
38458         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
38459         of __mul for squares.
38460         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
38461         function
38462         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
38463         Likewise.
38464         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
38465         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38467 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
38469         [BZ #13550]
38470         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
38471         code.
38472         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
38473         prototype or function definition.  Rename ubp_* variables and
38474         parameters.  Remove argv definitions conditional on
38475         [__BOUNDED_POINTERS__].
38476         * debug/backtrace.c (__backtrace): Do not use __unbounded.
38477         * elf/dl-runtime.c (_dl_fixup): Likewise.
38478         * include/set-hooks.h (RUN_HOOK): Likewise.
38479         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
38480         definition.
38481         * string/strcpy.c (strcpy): Do not use __unbounded.
38482         * sysdeps/generic/frame.h (struct layout): Likewise.
38483         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
38484         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
38485         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
38486         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
38487         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
38488         (__backtrace): Likewise.
38489         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
38490         use __ptrvalue.
38491         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
38492         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
38493         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
38494         Likewise.
38495         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
38496         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
38497         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
38498         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
38499         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
38500         Do not use __unbounded.
38501         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
38502         Rename __unboundedrlimits parameter to rlimits in prototype.
38503         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
38504         Do not use __unbounded.
38505         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
38506         not use __ptrvalue.
38507         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
38508         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
38509         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
38510         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
38511         __ptrvalue or __unbounded.
38512         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
38513         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
38514         use __unbounded.
38515         (__new_msgctl): Do not use __ptrvalue.
38516         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
38517         __unbounded.
38518         (__libc_msgrcv): Do not use __ptrvalue.
38519         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
38520         startup_info): Do not use __unbounded.
38521         (__libc_start_main): Likewise.  Rename ubp_* variables and
38522         parameters.  Remove argv definitions conditional on
38523         [__BOUNDED_POINTERS__].
38524         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
38525         __ptrvalue.
38526         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
38527         use __unbounded.
38528         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
38529         or __ptrvalue.
38530         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
38531         use __unbounded.
38532         (__new_shmctl): Do not use __ptrvalue.
38533         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
38534         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
38535         Likewise.
38536         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
38537         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
38538         (__libc_sigaction): Likewise.
38539         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
38540         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
38541         Likewise.
38542         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
38544 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
38546         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
38548         * string/mempcpy.c: Implement by calling memcpy.
38550 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
38552         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
38554         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
38555         evaluation.
38557         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
38558         values in the mantissa.
38560         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
38561         minimize writes to Z.
38562         (sub_magnitudes): Simplify code a bit.
38564 2013-02-12  Roland McGrath  <roland@hack.frob.com>
38566         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
38567         from the message.  The linker prefixes all warnings with that already.
38569 2013-02-12  Andreas Schwab  <schwab@suse.de>
38571         [BZ #15078]
38572         * posix/regexec.c (extend_buffers): Add parameter min_len.
38573         (check_matching): Pass minimum needed length.
38574         (clean_state_log_if_needed): Likewise.
38575         (get_subexp): Likewise.
38576         * posix/Makefile (tests): Add bug-regex34.
38577         (bug-regex34-ENV): Define.
38578         * posix/bug-regex34.c: New file.
38580         [BZ #11561]
38581         * posix/regcomp.c (parse_bracket_exp): When looking up collating
38582         elements compare against the byte sequence of it, not its name.
38583         * posix/Makefile (tests): Add bug-regex35.
38584         (bug-regex35-ENV): Define.
38585         * posix/bug-regex35.c: New file.
38587 2013-02-11  Tom de Vries  <tom@codesourcery.com>
38589         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
38590         comment.
38591         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
38592         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
38593         (CHECK_EOL): Add undef.
38595 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
38597         * bits/stdlib-bsearch.h: New file.
38598         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
38599         * stdlib/stdlib.h: Likewise.
38601 2013-02-11  Roland McGrath  <roland@hack.frob.com>
38603         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
38604         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
38605         declaration.
38606         * manual/search.texi (Array Search Function): Add missing const in
38607         lfind prototype.
38608         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
38609         declaration to use rlim_t.
38610         (Basic Scheduling Functions): Remove erroneous const from
38611         sched_getparam prototype.  Remove erroneous * from
38612         sched_get_priority_max and sched_get_priority_min prototypes.
38613         (Resource Usage): Fix summary @comment on vtimes to refer to
38614         sys/vtimes.h rather than vtimes.h.
38615         Add missing *s in vtimes prototype.
38616         (Limits on Resources): Fix ulimit prototype to return long int.
38617         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
38618         prototypes to use long int rather than double.
38619         (BSD Random): Fix initstate and setstate to use char *, not void *.
38620         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
38621         prototype to make second argument 'struct aiocb64 *const[]'.
38622         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
38623         (Status of AIO Operations): Remove erroneous const in aio_return and
38624         aio_return64 prototypes.
38625         (Synchronizing I/O): Fix sync prototype to return void.
38626         * manual/startup.texi (Suboptions): Remove an erroneous const in
38627         getsubopt prototype.
38628         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
38629         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
38630         use size_t rather than int.
38631         (Scanning All Users): Likewise for getpwent_r.
38632         (Setting Groups): Add missing const to setgroups prototype.
38633         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
38634         * manual/socket.texi (Host Names): Fix gethostbyaddr and
38635         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
38636         'const void *' rather than 'const char *'.
38637         (Host Address Functions): Likewise for inet_ntop.
38638         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
38639         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
38640         ssize_t for return value.
38641         (Sending Data): Likewise for send, sendto, sendmsg.
38642         (Socket Option Functions): Add a missing const in setsockopt prototype.
38643         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
38644         use wchar_t for the argument.
38645         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
38646         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
38647         take no arguments.
38648         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
38649         double/float/long double for second argument.
38650         Fix return types of significand, significandf, significandl.
38651         * manual/filesys.texi (Setting Permissions): Use mode_t for second
38652         argument in fchmod prototype.
38653         (File Owner): Use uid_t and gid_t in fchown prototype.
38654         (File Times): Add const to utimes, futimes, and lutimes prototypes.
38655         (Making Special Files): Use mode_t and dev_t in mknod prototype.
38656         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
38657         use 'const struct dirent **' as argument types to CMP function pointer
38658         argument.
38659         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
38660         (File Times): Fix summary magic @comment for struct utimbuf and utime
38661         to refer to utime.h, not time.h.
38662         * manual/string.texi (Argz Functions): Add missing const in
38663         argz_extract and argz_next prototypes.
38664         (Finding Tokens in a String): Likewise for basename.
38665         (String/Array Comparison): Fix typo in wcscasecmp prototype.
38666         (Copying and Concatenation): Fix typo in wmemmove prototype.
38667         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
38668         (Signal Stack): Remove erroneous const in sigstack prototype.
38669         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
38670         prototype.
38671         (Simple Calendar Time): Likewise for stime.
38672         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
38673         prototype.
38674         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
38675         say sys/sysctl.h instead.
38676         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
38677         and vsyslog prototypes.
38679 2013-02-11  Tom de Vries  <tom@codesourcery.com>
38681         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
38682         Remove.
38684 2013-02-11  Roland McGrath  <roland@hack.frob.com>
38686         * misc/sys/mman.h: Fix typo in mremap comment.
38688 2013-02-08  Roland McGrath  <roland@hack.frob.com>
38690         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
38691         the '\0' terminator.
38693 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
38695         [BZ #13550]
38696         * debug/segfault.c: Don't include <bp-checks.h>.
38697         * sysdeps/generic/bp-checks.h: Remove file.
38698         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
38699         (__GETDENTS): Don't use CHECK_N.
38700         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
38701         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
38702         (__getgroups): Don't use CHECK_N.
38703         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
38704         (setgroups): Don't use CHECK_N.
38705         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
38706         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
38707         (__libc_msgrcv): Don't use CHECK_N.
38708         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
38709         (__libc_msgsnd): Don't use CHECK_N.
38710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
38711         <bp-checks.h>.
38712         (__libc_pread): Don't use CHECK_N.
38713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
38714         include <bp-checks.h>.
38715         (__libc_pread64): Don't use CHECK_N.
38716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
38717         include <bp-checks.h>.
38718         (__libc_pwrite): Don't use CHECK_N.
38719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
38720         include <bp-checks.h>.
38721         (__libc_pwrite64): Don't use CHECK_N.
38722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
38723         <bp-checks.h>.
38724         (__libc_pread): Don't use CHECK_N.
38725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
38726         include <bp-checks.h>.
38727         (__libc_pread64): Don't use CHECK_N.
38728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
38729         include <bp-checks.h>.
38730         (__libc_pwrite): Don't use CHECK_N.
38731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
38732         include <bp-checks.h>.
38733         (__libc_pwrite64): Don't use CHECK_N.
38734         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
38735         (do_pread): Don't use CHECK_N.
38736         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
38737         (do_pread64): Don't use CHECK_N.
38738         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
38739         (do_pwrite): Don't use CHECK_N.
38740         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
38741         (do_pwrite64): Don't use CHECK_N.
38742         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
38743         (__libc_readv): Don't use CHECK_N.
38744         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
38745         (semop): Don't use CHECK_N.
38746         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
38747         <bp-checks.h>.
38748         (semtimedop): Don't use CHECK_N.
38749         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
38750         (__libc_pread): Don't use CHECK_N.
38751         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
38752         <bp-checks.h>.
38753         (__libc_pread64): Don't use CHECK_N.
38754         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
38755         <bp-checks.h>.
38756         (__libc_pwrite): Don't use CHECK_N.
38757         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
38758         <bp-checks.h>.
38759         (__libc_pwrite64): Don't use CHECK_N.
38760         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
38761         <bp-checks.h>.
38762         (__libc_msgrcv): Don't use CHECK_N.
38763         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
38764         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
38765         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
38766         (__libc_writev): Don't use CHECK_N.
38768 2013-02-08  Roland McGrath  <roland@hack.frob.com>
38770         * string/strcpy.c: Removed unused variable.
38772         * Makeconfig (+sysdep-includes): Define with := rather than =.
38773         Use an existing include/ subdir of each sysdeps dir before it.
38775 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38777         * nscd/connection.c (register_traced_file): Comment function.
38778         [HAVE_INOTIFY] (union __inev): Define.
38779         [HAVE_INOTIFY] (inotify_check_files): New function.
38780         [HAVE_INOTIFY] (clear_db_cache): Likewise.
38781         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
38782         clear_db_cache.
38783         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
38785 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38787         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
38788         loaded if not already and that a failure is permanent.
38790 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38792         [BZ #15006]
38793         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
38794         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
38796 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
38798         [BZ #13550]
38799         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
38800         (CHECK_1_NULL_OK): Likewise.
38801         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
38802         (__fxstat): Do not use CHECK_1.
38803         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
38804         <bp-checks.h>.
38805         (___fxstat64): Do not use CHECK_1.
38806         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
38807         <bp-checks.h>.
38808         (__fxstatat): Do not use CHECK_1.
38809         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
38810         <bp-checks.h>.
38811         (__fxstatat64): Do not use CHECK_1.
38812         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
38813         <bp-checks.h>.
38814         (__fxstat): Do not use CHECK_1.
38815         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
38816         <bp-checks.h>.
38817         (__fxstatat): Do not use CHECK_1.
38818         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38819         <bp-checks.h>.
38820         (__getresgid): Do not use CHECK_1.
38821         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38822         <bp-checks.h>.
38823         (__getresuid): Do not use CHECK_1.
38824         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
38825         <bp-checks.h>.
38826         (__lxstat): Do not use CHECK_1.
38827         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38828         <bp-checks.h>.
38829         (__old_msgctl): Do not use CHECK_1.
38830         (__new_msgctl): Likewise.
38831         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
38832         <bp-checks.h>.
38833         (__new_setrlimit): Do not use CHECK_1.
38834         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38835         <bp-checks.h>.
38836         (__old_shmctl): Do not use CHECK_1.
38837         (__new_shmctl): Likewise.
38838         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
38839         <bp-checks.h>.
38840         (__xstat): Do not use CHECK_1.
38841         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
38842         (__lxstat): Do not use CHECK_1.
38843         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
38844         <bp-checks.h>.
38845         (___lxstat64): Do not use CHECK_1.
38846         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
38847         (__old_msgctl): Do not use CHECK_1.
38848         (__new_msgctl): Likewise.
38849         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
38850         <bp-checks.h>.
38851         (__gettimeofday): Do not use CHECK_1.
38852         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
38853         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
38854         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
38855         <bp-checks.h>.
38856         (__gettimeofday): Do not use CHECK_1.
38857         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
38858         (__old_shmctl): Do not use CHECK_1_NULL_OK.
38859         (__new_shmctl): Do not use CHECK_1.
38860         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
38861         <bp-checks.h>.
38862         (do_sigtimedwait): Do not use CHECK_1.
38863         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
38864         <bp-checks.h>.
38865         (do_sigwaitinfo): Do not use CHECK_1.
38866         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
38867         <bp-checks.h>.
38868         (msgctl): Do not use CHECK_1.
38869         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
38870         <bp-checks.h>.
38871         (shmctl): Do not use CHECK_1.
38872         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
38873         (ustat): Do not use CHECK_1.
38874         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
38875         <bp-checks.h>.
38876         (__fxstat): Do not use CHECK_1.
38877         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
38878         <bp-checks.h>.
38879         (__fxstatat): Do not use CHECK_1.
38880         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
38881         <bp-checks.h>.
38882         (__lxstat): Do not use CHECK_1.
38883         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
38884         <bp-checks.h>.
38885         (__xstat): Do not use CHECK_1.
38886         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
38887         (__xstat): Do not use CHECK_1.
38888         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
38889         (___xstat64): Do not use CHECK_1.
38891         [BZ #13550]
38892         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
38893         definitions.
38894         (CHECK_BOUNDS_HIGH): Likewise.
38895         * string/strcpy.c: Do not include <bp-checks.h>.
38896         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
38898 2013-02-07  Roland McGrath  <roland@hack.frob.com>
38900         * nscd/nscd-client.h (__nscd_drop_map_ref):
38901         Add __attribute__ ((unused)).
38902         * nis/nss-nisplus.h (niserr2nss): Likewise.
38904         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
38905         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
38907         * csu/libc-tls.c (init_static_tls, init_slotinfo):
38908         Remove inline keyword.
38909         * include/rounding-mode.h (round_away): Likewise.
38910         * libio/wfileops.c (adjust_wide_data): Likewise.
38911         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
38912         (__m128i_strloadu_tolower): Likewise.
38913         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
38914         (__m128i_strloadu_tolower): Likewise.
38915         * time/mktime.c (ydhms_diff): Likewise.
38916         * locale/elem-hash.h (elem_hash): Likewise.
38917         * locale/setlocale.c (setdata): Likewise.
38918         * posix/regex_internal.h (re_string_char_size_at): Likewise.
38919         (re_string_wchar_at): Likewise.
38920         (bitset_not, bitset_merge, bitset_mask): Likewise.
38921         [!(__GNUC__ > 3)] (inline): Remove macro.
38922         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
38923         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
38924         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
38925         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
38926         * string/memcmp.c (memcmp_bytes): Likewise.
38927         * locale/programs/locarchive.c (compute_hashval): Likewise.
38928         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
38929         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
38930         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
38931         * nss/getent.c (print_rpc, print_protocols): Likewise.
38932         (print_passwd, print_group, print_aliases): Likewise.
38933         * nis/nss-nisplus.h (niserr2nss): Likewise.
38934         * nscd/connections.c (restart_p): Likewise.
38935         Change return type to bool.
38937 2013-02-05  Roland McGrath  <roland@hack.frob.com>
38939         * Makeconfig (all-Depend-files): Add existing
38940         $(sorted-subdirs:=/Depend) files.
38941         (all-subdirs): Remove nss.
38942         * sysdeps/unix/inet/Subdirs: Add it here instead.
38943         * hesiod/Depend: New file.
38945         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
38946         instead of calling alloca.
38948         * io/lseek.c (__lseek): Rename to __libc_lseek.
38949         Define __lseek as an alias.
38951         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
38953 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
38955         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
38956         else clause and remove check for non-standard endianness.
38958 2013-02-04  David S. Miller  <davem@davemloft.net>
38960         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38962 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
38964         [BZ #13550]
38965         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
38966         (__ubp_memchr): Remove prototype.
38967         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
38968         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
38969         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
38970         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
38971         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
38972         Remove alias.
38973         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
38974         (__ubp_memchr): Likewise.
38975         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
38976         (__ubp_memchr): Likewise.
38977         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
38978         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
38979         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
38980         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
38981         CHECK_STRING.
38982         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
38983         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
38984         (__getcwd): Do not use CHECK_STRING.
38985         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
38986         <bp-checks.h>.
38987         (__real_chown): Do not use CHECK_STRING.
38988         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
38989         <bp-checks.h>.
38990         (fchownat): Do not use CHECK_STRING.
38991         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
38992         CHECK_STRING.
38993         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
38994         <bp-checks.h>.
38995         (__lchown): Do not use CHECK_STRING.
38996         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
38997         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
38998         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
38999         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
39000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39001         include <bp-checks.h>.
39002         (truncate64): Do not use CHECK_STRING.
39003         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39004         <bp-checks.h>.
39005         (__real_chown): Do not use CHECK_STRING.
39006         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39007         <bp-checks.h>.
39008         (__lchown): Do not use CHECK_STRING.
39009         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39010         <bp-checks.h>.
39011         (__chown): Do not use CHECK_STRING.
39012         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
39013         <bp-checks.h>.
39014         (truncate64): Do not use CHECK_STRING.
39015         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
39016         Likewise.
39017         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
39018         (__xmknod): Do not use CHECK_STRING.
39019         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
39020         <bp-checks.h>.
39021         (__xmknodat): Do not use CHECK_STRING.
39022         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39023         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
39025 2013-02-04  Andreas Schwab  <schwab@suse.de>
39027         [BZ #14142]
39028         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
39029         * include/netdb.h: Likewise for h_errno.
39030         * elf/tst-stackguard1.c: Include <tls.h>.
39032 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
39034         * elf/link.h (struct link_map): Extend the l_addr comment.
39035         * include/link.h (struct link_map): Likewise.
39037 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
39039         [BZ #13550]
39040         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
39041         (BOUNDED_1): Remove macro.
39042         * debug/backtrace.c: Don't include <bp-checks.h>.
39043         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
39044         (__backtrace): Likewise.
39045         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
39046         <bp-checks.h>.
39047         (__backtrace): Don't use BOUNDED_1.
39048         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
39049         <bp-checks.h>.
39050         (__backtrace): Don't use BOUNDED_1.
39051         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
39052         (__backtrace): Don't use BOUNDED_1.
39053         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
39054         (shmat): Don't use BOUNDED_N.
39056 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
39058         [BZ #13550]
39059         * sysdeps/generic/bp-start.h: Remove file.
39060         * csu/libc-start.c: Don't include <bp-start.h>.
39061         (LIBC_START_MAIN): Set up __environ directly instead of using
39062         INIT_ARGV_and_ENVIRON.
39063         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
39064         <bp-start.h>.
39066         [BZ #13550]
39067         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
39068         definitions.
39069         (CHECK_FCNTL): Likewise.
39070         (CHECK_N_PAGES): Likewise.
39072         [BZ #13550]
39073         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
39074         definitions.
39075         (CHECK_SIGSET_NULL_OK): Likewise.
39076         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
39077         <bp-checks.h>.
39078         (sigpending): Don't use CHECK_SIGSET.
39079         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
39080         <bp-checks.h>.
39081         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39082         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
39083         <bp-checks.h>.
39084         (do_sigsuspend): Don't use CHECK_SIGSET.
39085         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
39086         use CHECK_SIGSET.
39087         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
39088         (do_sigwait): Don't use CHECK_SIGSET.
39089         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
39090         use CHECK_SIGSET.
39091         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
39092         include <bp-checks.h>.
39093         (sigpending): Don't use CHECK_SIGSET.
39094         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
39095         include <bp-checks.h>.
39096         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39097         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
39098         <bp-checks.h>.
39099         (sigpending): Don't use CHECK_SIGSET.
39100         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
39101         <bp-checks.h>.
39102         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39104         [BZ #13550]
39105         * sysdeps/generic/bp-semctl.h: Remove file.
39106         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
39107         <bp-checks.h> and <bp-semctl.h>.
39108         (__old_semctl): Don't use CHECK_SEMCTL.
39109         (__new_semctl): Likewise.
39110         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
39111         and <bp-semctl.h>.
39112         (__old_semctl): Don't use CHECK_SEMCTL.
39113         (__new_semctl): Likewise.
39114         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
39115         <bp-checks.h> and <bp-semctl.h>.
39116         (__old_semctl): Don't use CHECK_SEMCTL.
39117         (__new_semctl): Likewise.
39118         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
39119         <bp-checks.h> and <bp-semctl.h>.
39120         (semctl): Don't use CHECK_SEMCTL.
39122         [BZ #13550]
39123         * Makerules (elide-bp-thunks): Remove variable.
39124         (elide-routines.oS): Don't use $(elide-bp-thunks).
39125         (elide-routines.os): Likewise.
39126         (elide-routines.o): Likewise.
39127         (elide-routines.op): Likewise.
39128         (elide-routines.og): Likewise.
39129         (objects): Don't use $(bp-thunks).
39130         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
39131         include.
39132         (common-generated): Do not add s-proto-bp.d.
39133         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
39134         (int): Likewise.
39135         (typ): Likewise.
39136         Do not generate makefile rules for bounded-pointer thunks.
39137         * sysdeps/generic/bp-thunks.h: Remove file.
39138         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
39139         * sysdeps/unix/s-proto-bp.S: Likewise.
39141         [BZ #15062]
39142         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
39143         parts of result separately when argument is not close to line from
39144         -i to i and one part of argument is small.
39145         * math/k_casinhf.c (__kernel_casinhf): Likewise.
39146         * math/k_casinhl.c (__kernel_casinhl): Likewise.
39147         * math/libm-test.inc (cacos_test): Add more tests.
39148         (casin_test): Likewise.
39149         (casinh_test): Likewise.
39150         * sysdeps/i386/fpu/libm-test-ulps: Update.
39151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39153 2013-01-31  David S. Miller  <davem@davemloft.net>
39155         * po/de.po: Update from translation team.
39157 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
39159         * time/tzfile.c: Include stdint.h for SIZE_MAX.
39161 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
39163         * configure.in (_AC_PROG_CC_C89): New definition.
39164         * configure: Regenerate.
39166         * configure.in (AC_PROG_CPP): New definition.
39167         * configure: Regenerate.
39169 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39171         * debug/tst-backtrace.h: New file.
39172         * debug/tst-backtrace2.c: Include tst-backtrace.h.
39173         (ret): Remove variable.
39174         (x): Likewise.
39175         (FAIL): Remove macro.
39176         (NO_INLINE): Likewise.
39177         (fn1): Use match function instead of strstr.
39178         * debug/tst-backtrace3.c: Include tst-backtrace.h.
39179         (ret): Remove variable.
39180         (x): Likewise.
39181         (FAIL): Remove macro.
39182         (NO_INLINE): Likewise.
39183         (fn): Use match function instead of strstr.
39184         * debug/tst-backtrace4.c: Include tst-backtrace.h.
39185         (ret): Remove variable.
39186         (x): Likewise.
39187         (FAIL): Remove macro.
39188         (NO_INLINE): Likewise.
39189         (handle_signal): Use match function instead of strstr.
39190         * debug/tst-backtrace5.c: Include tst-backtrace.h.
39191         (ret): Remove variable.
39192         (x): Likewise.
39193         (FAIL): Remove macro.
39194         (NO_INLINE): Likewise.
39195         (handle_signal): Use match function instead of strstr.
39197 2013-01-23  Roland McGrath  <roland@hack.frob.com>
39199         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
39201 2013-01-23  David S. Miller  <davem@davemloft.net>
39203         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
39204         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
39205         argument of CAS if possible.
39206         * sysdeps/sparc/sparc64/bits/atomic.h
39207         (__arch_compare_and_exchange_val_32_acq): Likewise.
39208         (__arch_compare_and_exchange_val_64_acq): Likewise.
39210 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
39212         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
39213         * sysdeps/posix/ulimit.c: ... this.
39214         Include <limits.h>.
39215         * sysdeps/unix/bsd/ulimit.c: Remove file.
39217 2013-01-23  Adam Conrad  <adconrad@0c3.net>
39219         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
39220         (LDFLAGS-tst-array5): Likewise.
39222 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39224         [BZ #15036]
39225         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
39226         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
39227         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
39228         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
39230 2013-01-21  David S. Miller  <davem@davemloft.net>
39232         * sysdeps/sparc/backtrace.c: New file.
39233         * sysdeps/sparc/sparc32/backtrace.h: New file.
39234         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
39235         * sysdeps/sparc/sparc64/backtrace.h: New file.
39236         * sysdeps/sparc/sparc64/backtrace.c: Delete.
39237         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
39238         -funwind-tables.
39240 2013-01-21  Andreas Schwab  <schwab@suse.de>
39242         [BZ #15020]
39243         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
39244         closed its stdout.
39246 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
39248         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
39249         "mpa2.h".
39250         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39252 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
39253             Mark Mitchell  <mark@codesourcery.com>
39254             Tom de Vries  <tom@codesourcery.com>
39255             Paul Pluzhnikov  <ppluzhnikov@google.com>
39257         * debug/tst-backtrace2.c: New file.
39258         * debug/tst-backtrace3.c: Likewise.
39259         * debug/tst-backtrace4.c: Likewise.
39260         * debug/tst-backtrace5.c: Likewise.
39261         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
39262         (CFLAGS-tst-backtrace3.c): Likewise.
39263         (CFLAGS-tst-backtrace4.c): Likewise.
39264         (CFLAGS-tst-backtrace5.c): Likewise.
39265         (LDFLAGS-tst-backtrace2): Likewise.
39266         (LDFLAGS-tst-backtrace3): Likewise.
39267         (LDFLAGS-tst-backtrace4): Likewise.
39268         (LDFLAGS-tst-backtrace5): Likewise.
39269         (tests): Add new tests tst-backtrace2, tst-backtrace3,
39270         tst-backtrace4 and tst-backtrace5.
39272 2013-01-18  Anton Blanchard  <anton@samba.org>
39273             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39275         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
39276         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
39277         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
39278         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
39279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39280         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
39281         "+r" and remove output regs list as redundant.  Add explicit inline
39282         asm to specify register of return val to work around compiler codegen
39283         bug.  Remove (int) cast on return value.  Add return type parameter to
39284         use in macro so that this macro does not truncate return value for
39285         64-bit values.
39286         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
39287         pass to INTERNAL_VSYSCALL_NCS.
39288         (INLINE_VSYSCALL): Add 'long int' as return type to
39289         INTERNAL_VSYSCALL_NCS macro invocation.
39290         (INTERNAL_VSYSCALL): Add 'long int' as return type to
39291         INTERNAL_VSYSCALL_NCS macro invocation.
39292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39294 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39296         [BZ #14496]
39297         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
39298         Fix application of SIMD FP exception mask.
39300         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
39301         mp_no from a power of two.
39302         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
39303         __mpexp_twomm1.  Use __pow_mp.
39305         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
39306         multiplication.
39308 2013-01-17  David S. Miller  <davem@davemloft.net>
39310         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39312 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
39314         [BZ #15023]
39315         * include/complex.h: Condition contents on [!_COMPLEX_H].
39316         (__kernel_casinhf): New prototype.
39317         (__kernel_casinh): Likewise.
39318         (__kernel_casinhl): Likewise.
39319         * math/Makefile (libm_calls): Add k_casinh.
39320         * math/k_casinh.c: New file.
39321         * math/k_casinhf.c: Likewise.
39322         * math/k_casinhl.c: Likewise.
39323         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
39324         finite nonzero arguments.
39325         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
39326         finite nonzero arguments.
39327         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
39328         finite nonzero arguments.
39329         * math/s_casinh.c: Do not include <float.h>.
39330         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
39331         * math/s_casinhf.c: Do not include <float.h>.
39332         (__casinhf): Move code for finite nonzero arguments to
39333         k_casinhf.c.
39334         * math/s_casinhl.c: Do not include <float.h>.
39335         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
39336         redefine.
39337         (__casinhl): Move code for finite nonzero arguments to
39338         k_casinhl.c.
39339         * math/libm-test.inc (cacos_test): Add more tests.
39340         * sysdeps/i386/fpu/libm-test-ulps: Update.
39341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39343 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
39345         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
39346         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
39347         [!HAVE_MREMAP]: Remove [defined linux] case.
39348         * malloc/arena.c: Do not include <malloc-sysdep.h>.
39350 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39352         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
39354 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
39356         * elf/elf.h (R_386_SIZE32): New relocation.
39357         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
39358         R_386_SIZE32.
39359         (elf_machine_rela): Likewise.
39360         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
39361         R_X86_64_SIZE64 and R_X86_64_SIZE32.
39363 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
39365         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
39366         (FP_FAST_FMA): Do not define.
39367         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
39368         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
39369         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
39370         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
39371         !_SOFT_FLOAT]: Likewise.
39372         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
39373         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
39374         value.
39375         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
39376         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
39377         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
39378         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
39379         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
39380         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
39381         file.
39383 2013-01-16  Andreas Schwab  <schwab@suse.de>
39385         [BZ #14327]
39386         * include/stdlib.h (__mktemp): Add declaration.
39387         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
39388         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
39390 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39392         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
39393         definitions.
39394         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39395         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
39396         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
39397         definitions here.
39398         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
39399         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
39400         definitions.
39401         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
39402         and ONE.
39403         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
39404         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
39405         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
39406         definitions.
39407         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
39408         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
39409         definitions.
39410         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
39412         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
39414 2013-01-15  David S. Miller  <davem@davemloft.net>
39416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39417         trunc{,f} to libm-sysdep_routes.
39418         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
39420         file.
39421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
39422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
39423         file.
39424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
39425         file.
39426         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
39427         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
39428         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
39429         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
39430         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
39431         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
39432         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
39433         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
39435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39436         nearbyint{,f} to libm-sysdep_routes.
39437         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
39439         New file.
39440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
39441         file.
39442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
39443         New file.
39444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
39445         file.
39446         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
39447         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
39448         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
39449         file.
39450         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
39451         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
39452         file.
39453         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
39454         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
39455         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
39457         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
39458         libc_feholdexcept and libc_fesetenv.
39460 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
39462         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
39464 2013-01-14  David S. Miller  <davem@davemloft.net>
39466         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
39467         (SPARC_ASM_VIS2_IFUNC): Likewise.
39468         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
39469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
39470         use of 'siam' instruction.
39471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
39472         Likewise.
39473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
39474         Likewise.
39475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
39476         Likewise.
39477         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
39478         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
39479         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
39480         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
39481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
39482         file.
39483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
39484         file.
39485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
39486         file.
39487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
39488         file.
39489         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
39490         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
39491         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
39492         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
39493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
39494         new VIS2 routines.
39495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39498         Likewise.
39499         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39500         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39501         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39502         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
39504         routines to libm-sysdep_routines.
39505         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39508         fdim/fdimf to libm-sysdep_routines.
39509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
39510         file.
39511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
39512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
39513         file.
39514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
39515         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
39516         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
39517         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
39518         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
39519         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
39520         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
39522 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39524         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
39525         to optimize copies.
39527         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
39528         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39529         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39531         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
39532         local variable MPTWO.
39533         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
39534         Likewise.
39536 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39538         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
39539         GLOB_NOESCAPE.
39541 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39543         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
39545 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39547         * manual/pattern.texi (glob_t): Document gl_flags.
39548         (glob64_t): Likewise.
39550 2013-01-11  David S. Miller  <davem@davemloft.net>
39552         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
39553         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
39554         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
39555         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
39556         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
39557         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
39558         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
39559         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
39560         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
39561         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
39562         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
39563         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
39564         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
39566         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
39567         sparc V9 rather than using V8 code.
39568         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39569         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39571         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39572         Move to...
39573         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
39574         Here.
39576 2013-01-11  Roland McGrath  <roland@hack.frob.com>
39578         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
39579         not in the main loop.
39580         * configure: Regenerated.
39582 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
39584         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
39585         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
39586         to just #else.
39587         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
39588         [!__GLIBC_HAVE_LONG_LONG] case.
39589         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
39590         condition to just #else.
39591         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
39592         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
39593         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
39594         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
39595         unconditional.
39596         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
39597         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
39598         #elif condition to just #else.
39599         * sysdeps/unix/sysv/linux/sys/sysmacros.h
39600         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
39601         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
39602         #elif condition to just #else.
39604 2013-01-11  Steve Ellcey  <sellcey@mips.com>
39606         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
39607         (EF_MIPS_ARCH_64): Fix value.
39608         (EF_MIPS_ARCH_32R2): New.
39609         (EF_MIPS_ARCH_64R2): New.
39611 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
39613         * Makeconfig (+link-pie-before-libc): New.
39614         (+link-pie-after-libc): Likewise.
39615         (+link-pie-tests): Likewise.
39616         (+link-pie): Rewritten.
39617         (link-before-libc): Remove $(config-LDFLAGS).
39618         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
39619         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
39620         (config-LDFLAGS): Renamed to ...
39621         (rtld-LDFLAGS): This.
39622         (rtld-tests-LDFLAGS): New macro.
39623         (link-libc-rpath-link): Likewise.
39624         (link-libc-tests-rpath-link): Likewise.
39625         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
39626         (link-libc): Prepand $(link-libc-rpath-link).
39627         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
39628         (test-program-prefix): New macro.
39629         (test-via-rtld-prefix): Likewise.
39630         (test-program-cmd): Likewise.
39631         (host-test-program-cmd): Likewise.
39632         * Makefile ($(common-objpfx)testrun.sh): Replace
39633         $(run-program-prefix) with $(test-program-prefix).
39634         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
39635         $(rtld-LDFLAGS).
39636         ($(common-objpfx)shlib.lds): Likewise.
39637         (build-module-helper): Likewise.
39638         ($(common-objpfx)format.lds): Likewise.
39639         * Rules (binaries-pie-tests): New.
39640         (binaries-pie-notests): Likewise.
39641         (binaries-pie): Rewritten.
39642         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
39643         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
39644         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
39645         (make-test-out): Replace $(host-built-program-cmd) with
39646         $(host-test-program-cmd).
39647         * config.make.in (build-hardcoded-path-in-tests): New variable.
39648         * configure.in (--enable-hardcoded-path-in-tests): New configure
39649         option.
39650         (hardcoded_path_in_tests): New AC_SUBST.
39651         * configure: Regenerated.
39652         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
39653         $(built-program-cmd) with $(test-program-cmd).
39654         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
39655         (test_program_cmd): This.
39656         * elf/Makefile ($(objpfx)order.out): Run test with
39657         $(test-program-prefix).
39658         ($(objpfx)order2.out): Likewise.
39659         ($(objpfx)tst-initorder.out): Likewise.
39660         ($(objpfx)tst-initorder2.out): Likewise.
39661         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
39662         $(test-program-cmd).
39663         ($(objpfx)tst-array1-static.out): Likewise.
39664         ($(objpfx)tst-array2.out): Likewise.
39665         ($(objpfx)tst-array3.out): Likewise.
39666         ($(objpfx)tst-array4.out): Likewise.
39667         ($(objpfx)tst-array5.out): Likewise.
39668         ($(objpfx)tst-array5-static.out): Likewise.
39669         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
39670         $(test-program-cmd).
39671         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
39672         $(run-program-prefix) with $(test-program-prefix).
39673         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
39674         (test_program_prefix): This.
39675         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
39676         $(run-program-prefix) with $(test-program-prefix).
39677         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
39678         (test_program_prefix): This.
39679         * iconvdata/tst-tables.sh: Likewise.
39680         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
39681         $(run-program-prefix) with $(test-program-prefix).
39682         ($(objpfx)tst-translit.out): Likewise.
39683         ($(objpfx)tst-gettext2.out): Likewise.
39684         ($(objpfx)tst-gettext4.out): Likewise.
39685         ($(objpfx)tst-gettext6.out): Likewise.
39686         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
39687         (test_program_prefix): This.
39688         * intl/tst-gettext2.sh: Likewise.
39689         * intl/tst-gettext4.sh  Likewise.
39690         * intl/tst-gettext6.sh: Likewise.
39691         * intl/tst-translit.sh: Likewise.
39692         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
39693         with $(test-program-cmd).
39694         * libio/Makefile ($(objpfx)test-freopen.out): Replace
39695         $(run-program-prefix) with $(test-program-prefix).
39696         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
39697         (test_program_prefix): This.
39698         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
39699         $(run-program-prefix) with $(test-program-prefix).
39700         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
39701         (test_program_prefix): This.
39702         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
39703         * posix/Makefile ($(objpfx)globtest.out): Replace
39704         $(run-via-rtld-prefix) and $(test-wrapper) with
39705         $(test-program-prefix) and $(test-via-rtld-prefix).
39706         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
39707         $(test-program-prefix).
39708         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
39709         $(host-test-program-cmd).
39710         (tst-spawn-ARGS): Likewise.
39711         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
39712         $(test-program-prefix).
39713         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
39714         (test_via_rtld_prefix): This.
39715         (test_wrapper): Renamed to ...
39716         (test_program_prefix): This.
39717         (run_program_prefix): Replaced by test_program_prefix.
39718         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
39719         (test_program_prefix): This.
39720         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
39721         with $(host-test-program-cmd).
39722         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
39723         $(run-program-prefix) with $(test-program-prefix).
39724         ($(objpfx)tst-printf.out): Likewise.
39725         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
39726         $(test-program-cmd).
39727         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
39728         (test_program_prefix): This.
39729         * stdio-common/tst-unbputc.sh: Likewise.
39730         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
39731         $(run-program-prefix) with $(test-program-prefix).
39732         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
39733         (test_program_prefix): This.
39734         * string/Makefile ($(objpfx)tst-svc.out):  Replace
39735         $(built-program-cmd) with $(test-program-cmd).
39737 2013-01-11  Andreas Jaeger  <aj@suse.de>
39739         [BZ #15003]
39740         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
39741         value. Sync with Linux 3.7.
39743 2013-01-10  David S. Miller  <davem@davemloft.net>
39745         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
39746         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39747         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39749 2013-01-10  Roland McGrath  <roland@hack.frob.com>
39751         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
39752         never set.
39753         * configure: Regenerated.
39755 2013-01-10  David S. Miller  <davem@davemloft.net>
39757         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
39758         sparc V9 rather than using V8 code.
39759         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39760         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39762 2013-01-10  Roland McGrath  <roland@hack.frob.com>
39764         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
39765         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
39766         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
39767         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
39768         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
39769         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
39770         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
39771         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
39772         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
39773         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
39774         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
39775         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
39776         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
39777         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
39778         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
39779         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
39780         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
39781         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
39782         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
39783         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
39784         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
39785         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
39786         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
39787         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
39788         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
39789         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
39790         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
39792 2013-01-10  David S. Miller  <davem@davemloft.net>
39794         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39796 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
39798         * posix/Makefile (tests-static): New variable.
39799         (tests): Add $(tests-static).
39800         (tst-exec-static-ARGS): New variable.
39801         (tst-spawn-static-ARGS): Likewise.
39802         * posix/tst-exec-static.c: New file.
39803         * posix/tst-spawn-static.c: Likewise.
39804         * posix/tst-exec.c: Support run directly.
39805         * posix/tst-spawn.c: Likewise.
39807 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
39809         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
39810         long.
39811         * math/bits/mathcalls.h (llrint): Likewise.
39812         (llround): Likewise.
39813         * stdlib/stdlib.h (struct drand48_data): Likewise.
39814         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
39815         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
39816         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
39817         Likewise.
39818         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
39819         Likewise.
39820         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
39821         (elf_greg_t): Likewise.
39822         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
39823         (__jmp_buf): Likewise.
39824         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
39825         definitions.
39826         (llrint): Likewise, for all definitions.
39827         (llrintl): Likewise.
39829         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
39830         Remove [__GNUC__] condition.
39831         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
39832         condition to just [__USE_ISOC99].
39833         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
39835 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
39837         [BZ #14200]
39838         * sysdeps/unix/sysv/linux/x86/bits/environments.h
39839         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
39840         defined.
39841         (_POSIX_V6_ILP32_OFF32): Likewise.
39842         (_XBS5_ILP32_OFF32): Likewise.
39843         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
39844         (__ILP32_OFFBIG_LDFLAGS): Likewise.
39846 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39848         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
39850         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
39851         doubles __mpexp_twomm1.  Adjust usage.
39852         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
39853         Remove.
39855 2013-01-10  Andreas Schwab  <schwab@suse.de>
39857         [BZ #14964]
39858         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
39859         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
39861 2013-01-09  David S. Miller  <davem@davemloft.net>
39863         [BZ #15003]
39864         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
39865         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
39866         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
39867         (TCP_FASTOPEN): Define.
39868         (tcp_repair_opt): New structure.
39869         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
39870         enum values.
39871         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
39872         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
39873         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
39874         (tcp_cookie_transactions): New structure.
39876 2013-01-09  Anton Blanchard  <anton@samba.org>
39878         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
39879         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
39880         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
39881         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
39883 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
39885         * include/features.h (__USE_ANSI): Remove.
39887 2013-01-09  Roland McGrath  <roland@hack.frob.com>
39889         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
39891         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
39893 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
39895         * sysdeps/s390/fpu/libm-test-ulps: Update.
39897         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39899         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
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/powerpc32/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.
39927         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
39928         (__acr): Likewise.
39929         (__cpy): Likewise.
39930         (norm): Likewise.
39931         (denorm): Likewise.
39932         (__mp_dbl): Likewise.
39933         (__dbl_mp): Likewise.
39934         (add_magnitudes): Likewise.
39935         (sub_magnitudes): Likewise.
39936         (__add): Likewise.
39937         (__sub): Likewise.
39938         (__mul): Likewise.
39939         (__inv): Likewise.
39940         (__dvd): Likewise.
39942 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
39944         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
39945         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
39946         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
39947         2 && __USE_EXTERN_INLINES]: Likewise.
39949 2013-01-08  Andreas Jaeger  <aj@suse.de>
39951         [BZ# 14985]
39952         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
39953         Remove.
39954         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
39955         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
39957 2013-01-07  Anton Blanchard  <anton@samba.org>
39959         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
39960         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
39961         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
39962         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
39963         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
39964         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39965         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
39966         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
39967         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39968         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39969         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39970         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39971         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39972         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39973         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
39974         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39975         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39976         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39977         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
39978         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
39979         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
39980         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
39981         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
39982         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
39983         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
39984         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
39985         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39986         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
39987         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
39988         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39989         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
39990         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39991         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39992         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
39993         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
39994         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39995         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39996         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39997         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
39998         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
39999         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
40000         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40001         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
40003 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
40005         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
40006         (__MALLOC_PMT): Likewise.
40007         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
40008         [__GNUC__], only on [_LIBC].
40009         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40010         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
40011         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40012         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
40013         forward declaration.
40014         (realloc_hook_ini): Likewise.
40015         (memalign_hook_ini): Likewise.
40016         (__libc_memalign): Do not use __MALLOC_PMT in variable
40017         declaration.
40018         (__libc_valloc): Likewise.
40019         (__libc_pvalloc): Likewise.
40020         (__libc_calloc): Likewise.
40021         (__posix_memalign): Likewise.
40023         [BZ #14996]
40024         * math/s_casinh.c: Include <float.h>.
40025         (__casinh): Do not do computation with squaring and square root
40026         for large arguments.
40027         * math/s_casinhf.c: Include <float.h>.
40028         (__casinhf): Do not do computation with squaring and square root
40029         for large arguments.
40030         * math/s_casinhl.c: Include <float.h>.
40031         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
40032         (__casinhl): Do not do computation with squaring and square root
40033         for large arguments.
40034         * math/libm-test.inc (casin_test): Add more tests.
40035         (casinh_test): Likewise.
40036         * sysdeps/i386/fpu/libm-test-ulps: Update.
40037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40039 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
40041         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
40042         (__x86_64_raw_data_cache_size): Likewise.
40043         (__x86_64_data_cache_size_half): Likewise.
40044         (__x86_64_raw_data_cache_size_half): Likewise.
40045         (__x86_64_shared_cache_size): Likewise.
40046         (__x86_64_raw_shared_cache_size): Likewise.
40047         (__x86_64_shared_cache_size_half): Likewise.
40048         (__x86_64_raw_shared_cache_size_half): Likewise.
40049         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
40050         to ...
40051         (__x86_data_cache_size): This.
40052         (__x86_64_raw_data_cache_size): Renamed to ...
40053         (__x86_raw_data_cache_size): This.
40054         (__x86_64_data_cache_size_half): Renamed to ...
40055         (__x86_data_cache_size_half): This.
40056         (__x86_64_raw_data_cache_size_half): Renamed to ...
40057         (__x86_raw_data_cache_size_half): This.
40058         (__x86_64_shared_cache_size): Renamed to ...
40059         (__x86_shared_cache_size): This.
40060         (__x86_64_raw_shared_cache_size): Renamed to ...
40061         (__x86_raw_shared_cache_size): This.
40062         (__x86_64_shared_cache_size_half): Renamed to ...
40063         (__x86_shared_cache_size_half): This.
40064         (__x86_64_raw_shared_cache_size_half): Renamed to ...
40065         (__x86_raw_shared_cache_size_half): This.
40066         * sysdeps/x86_64/memcpy.S: Updated.
40067         * sysdeps/x86_64/memset.S: Likewise.
40068         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
40069         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40070         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40072 2013-01-04  David S. Miller  <davem@davemloft.net>
40074         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40076 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
40078         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
40079         1 to avoid redefinition warning.
40080         (__USE_GNU): Don't define.
40081         (init_signaling_nan): Protoize.
40083         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40085 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40087         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
40088         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
40089         (__cpymn): Likewise.
40090         (norm): Remove commented code.
40091         (denorm): Likewise.
40092         (__mp_dbl): Likewise.
40093         (__inv): Likewise.
40094         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
40095         (__cpymn): Likewise.
40096         (norm): Remove commented code.
40097         (denorm): Likewise.
40098         (__mp_dbl): Likewise.
40099         (__inv): Likewise.
40101         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
40102         mp_no value for 1.0 and 2.0.
40103         (norm): Use RADIXI instead of radixi.d.
40104         (denorm): Likewise.
40105         (__mul): Use 0.0 instead of zero.d.
40106         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
40107         mp_no value for 1.0 and 2.0.
40108         (norm): Use RADIXI instead of radixi.d.
40109         (denorm): Likewise.
40110         (__mul): Use 0.0 instead of zero.d.
40112 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
40114         [BZ #14994]
40115         * math/s_casinh.c (__casinh): Reduce finite argument to first
40116         quadrant then set signs of results at the end.
40117         * math/s_casinhf.c (__casinhf): Likewise.
40118         * math/s_casinhl.c (__casinhl): Likewise.
40119         * math/libm-test.inc (casin_test): Add more tests.
40120         (casinh_test): Likewise.
40121         * sysdeps/i386/fpu/libm-test-ulps: Update.
40122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40124 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40126         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
40128         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
40130         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
40131         declarations.
40132         (denorm): Likewise.
40133         (__mp_dbl): Likewise.
40134         (__inv): Likewise.
40136         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
40137         and adjust the header comment.
40139         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
40140         variable name from declaration.
40142 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
40144         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40145         Initialize COMMON_CPUID_INDEX_7 element.
40146         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
40147         (CPUID_RTM): Likewise.
40148         (HAS_RTM): Likewise.
40149         (COMMON_CPUID_INDEX_7): New enum.
40151 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
40153         [BZ #14981]
40154         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
40155         size is zero, record memory as freed.
40157 2013-01-03  Andreas Jaeger  <aj@suse.de>
40159         * po/ia.po: Add new Interlingua translation.
40161 2012-01-03  Allan McRae  <allan@archlinux.org>
40163         * locale/programs/localedef.c: Fix description of '--posix' flag.
40165 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
40167         * NEWS: Update dates in second copyright notice.
40168         * README: Update copyright dates in example.
40169         * manual/libc.texinfo: Update copyright dates.
40170         * scripts/test-installation.pl: Update copyright date in --version
40171         output.
40173         * hurd/ctty-input.c: Fix copyright notice formatting.
40174         * hurd/ctty-output.c: Likewise.
40175         * hurd/dtable.c: Likewise.
40176         * hurd/hurd-raise.c: Likewise.
40177         * hurd/hurdprio.c: Likewise.
40178         * hurd/msgportdemux.c: Likewise.
40179         * misc/sys/file.h: Likewise.
40180         * misc/sys/ioctl.h: Likewise.
40181         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
40182         * sysdeps/mach/hurd/chdir.c: Likewise.
40183         * sysdeps/mach/hurd/fchdir.c: Likewise.
40184         * sysdeps/mach/hurd/rename.c: Likewise.
40185         * sysdeps/mach/hurd/rmdir.c: Likewise.
40186         * sysdeps/mach/hurd/seekdir.c: Likewise.
40187         * sysdeps/mach/hurd/setsid.c: Likewise.
40188         * sysdeps/posix/wait3.c: Likewise.
40190         * All files with FSF copyright notices: Update copyright dates
40191         using scripts/update-copyrights.
40192         * intl/plural.c: Regenerated.
40193         * locale/programs/charmap-kw.h: Likewise.
40194         * locale/programs/locfile-kw.h: Likewise.
40196 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40198         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
40199         four values.
40201         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
40202         calculation loop and add branch prediction.
40204         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
40205         check access beyond bounds of m1np.
40207         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40208         MPTWO.
40209         (__inv): Remove local variable MPTWO to use the global
40210         constant.
40211         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
40212         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40213         variable MPTWO.
40214         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
40215         MP3HALFS static const.
40217 2013-01-01  David S. Miller  <davem@davemloft.net>
40219         * po/ca.po: Update from translation team.
40221 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
40223         * scripts/update-copyrights: New file.
40224         * Makeconfig: Reformat copyright notice.
40225         * ctype/ctype.h: Likewise.
40226         * debug/swprintf_chk.c: Likewise.
40227         * elf/dl-cache.c: Likewise.
40228         * elf/dl-debug.c: Likewise.
40229         * elf/dl-object.c: Likewise.
40230         * grp/initgroups.c: Likewise.
40231         * hurd/Makefile: Likewise.
40232         * hurd/hurd/signal.h: Likewise.
40233         * hurd/hurdfault.c: Likewise.
40234         * hurd/hurdioctl.c: Likewise.
40235         * hurd/hurdlookup.c: Likewise.
40236         * hurd/intr-msg.c: Likewise.
40237         * iconv/gconv_open.c: Likewise.
40238         * libio/swprintf.c: Likewise.
40239         * locale/lc-ctype.c: Likewise.
40240         * locale/nl_langinfo.c: Likewise.
40241         * mach/Machrules: Likewise.
40242         * mach/Makefile: Likewise.
40243         * malloc/obstack.h: Likewise.
40244         * manual/Makefile: Likewise.
40245         * manual/tsort.awk: Likewise.
40246         * misc/bits/stab.def: Likewise.
40247         * nis/nis_print_group_entry.c: Likewise.
40248         * nis/nis_table.c: Likewise.
40249         * nis/nss_compat/compat-pwd.c: Likewise.
40250         * nis/nss_compat/compat-spwd.c: Likewise.
40251         * po/Makefile: Likewise.
40252         * posix/fnmatch.c: Likewise.
40253         * posix/regex.h: Likewise.
40254         * resolv/Makefile: Likewise.
40255         * resolv/nss_dns/dns-network.c: Likewise.
40256         * resolv/res_hconf.c: Likewise.
40257         * scripts/gen-sorted.awk: Likewise.
40258         * soft-fp/soft-fp.h: Likewise.
40259         * stdio-common/printf.h: Likewise.
40260         * stdlib/monetary.h: Likewise.
40261         * stdlib/random.c: Likewise.
40262         * stdlib/random_r.c: Likewise.
40263         * sysdeps/generic/Makefile: Likewise.
40264         * sysdeps/gnu/Makefile: Likewise.
40265         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40266         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40267         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40268         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40269         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40270         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40271         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40272         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40273         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40274         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40275         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40276         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40277         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40278         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40279         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
40280         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40281         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40282         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40283         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40284         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40285         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40286         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40287         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40288         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
40289         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
40290         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40291         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
40292         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
40293         * sysdeps/mach/hurd/errnos.awk: Likewise.
40294         * sysdeps/mach/hurd/fork.c: Likewise.
40295         * sysdeps/mach/hurd/getcwd.c: Likewise.
40296         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
40297         * sysdeps/mach/hurd/mmap.c: Likewise.
40298         * sysdeps/mach/hurd/utimes.c: Likewise.
40299         * sysdeps/mach/hurd/xmknod.c: Likewise.
40300         * sysdeps/posix/profil.c: Likewise.
40301         * sysdeps/posix/readdir_r.c: Likewise.
40302         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40303         * sysdeps/powerpc/bits/setjmp.h: Likewise.
40304         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
40305         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40306         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40307         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40308         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40309         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40310         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40311         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40312         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40313         * sysdeps/pthread/lio_listio.c: Likewise.
40314         * sysdeps/sparc/dl-procinfo.h: Likewise.
40315         * sysdeps/unix/i386/sysdep.S: Likewise.
40316         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
40317         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
40318         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
40319         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
40320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40321         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
40322         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
40323         * sysdeps/unix/sysv/linux/speed.c: Likewise.
40324         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
40325         * sysdeps/wordsize-32/divdi3.c: Likewise.
40326         * time/sys/time.h: Likewise.
40327         * wcsmbs/Makefile: Likewise.
40329 2013-01-01  David S. Miller  <davem@davemloft.net>
40331         * po/fr.po: Update from translation team.
40333         * catgets/gencat.c: Update copyright year.
40334         * csu/version.c: Likewise.
40335         * debug/catchsegv.sh: Likewise.
40336         * debug/pcprofiledump.c: Likewise.
40337         * debug/xtrace.sh: Likewise.
40338         * elf/ldconfig.c: Likewise.
40339         * elf/ldd.bash.in: Likewise.
40340         * elf/pldd.c: Likewise.
40341         * elf/sotruss.ksh: Likewise.
40342         * elf/sprof.c: Likewise.
40343         * iconv/iconv_prog.c: Likewise.
40344         * iconv/iconvconfig.c: Likewise.
40345         * locale/programs/locale.c: Likewise.
40346         * locale/programs/localedef.c: Likewise.
40347         * login/programs/pt_chown.c: Likewise.
40348         * malloc/memusage.sh: Likewise.
40349         * malloc/memusagestat.c: Likewise.
40350         * malloc/mtrace.pl: Likewise.
40351         * nscd/nscd.c: Likewise.
40352         * nss/getent.c: Likewise.
40353         * nss/makedb.c: Likewise.
40354         * posix/getconf.c: Likewise.
40356 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40358         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
40359         numbers.
40361 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
40363         * math/bits/mathcalls.h (modf): Use __nonnull.
40365 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40367         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
40368         (split): Use macro CN instead of the bare value.
40369         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
40370         could be used.
40371         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
40372         instead of the bare value.
40373         (power1): Likewise.
40375 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40377         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
40378         __ATAN_TWOM.
40379         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40381         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
40382         their values.
40383         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
40384         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
40385         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
40386         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
40388 2012-12-28  Andreas Jaeger  <aj@suse.de>
40390         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
40391         values are from Linux 3.7.
40393         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
40394         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
40396 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40398         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
40399         TRUE case.
40401         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
40402         (norm): Likewise.
40403         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
40404         variables with preprocessor constants.
40405         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40406         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40407         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40409 2012-12-27  Bruno Haible  <bruno@clisp.org>
40411         [BZ #14317]
40412         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
40413         only if needed.
40415 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40417         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
40418         and use variable directly.
40419         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
40421         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40422         MPONE.
40423         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
40424         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40425         variable MPONE.
40426         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
40427         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
40428         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
40429         include directive.  Remove local variable MPONE.
40430         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
40431         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
40432         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40434 2012-12-25  David S. Miller  <davem@davemloft.net>
40436         * version.h (RELEASE): Set to "development".
40437         (VERSION): Set to "2.17.90".
40438         * NEWS: Add 2.18 section.
40440 2012-12-21  David S. Miller  <davem@davemloft.net>
40442         * po/hr.po: Update from translation team.
40444 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40446         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
40448 2012-12-19  Steve Ellcey  <sellcey@mips.com>
40450         * NEWS:  Mention new memcpy for MIPS.
40452 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40454         * manual/contrib.texi (Contributors): Spelling correction.
40456 2012-12-15  David S. Miller  <davem@davemloft.net>
40458         * po/ru.po: Update from translation team.
40460 2012-12-13  David S. Miller  <davem@davemloft.net>
40462         * NEWS: Mention IFUNC testsuite enhancements.
40464         * po/pl.po: Update from translation team.
40465         * po/bg.po: Likewise.
40467         * manual/contrib.texi (Contributors): Update entries for Hongjiu
40468         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
40470 2012-12-11  David S. Miller  <davem@davemloft.net>
40472         * po/sv.po: Update from translation team.
40474         * po/vi.po: Update from translation team.
40476         * po/cs.po: Update from translation team.
40478         * po/de.po: Update from translation team.
40479         * po/eo.po: Likewise.
40480         * po/nl.po: Likewise.
40482 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40484         [BZ #14246]
40485         * manual/argp.texi (Argp Helper Functions): Move node to follow
40486         Argp Parsing State.
40488         [BZ #14872]
40489         * manual/conf.texi (Limits on File System Capacity): Mention if
40490         terminating null is included in the max size.
40492 2012-12-10  Andreas Jaeger  <aj@suse.de>
40494         * po/cs.po: Update from translation team.
40496 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40498         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
40499         void pointer and cast to uintptr_t.
40500         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
40501         path.
40502         * sysdeps/s390/s390-64/memcpy.S: Likewise.
40503         * sysdeps/s390/s390-64/memset.S: Likewise.
40505 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
40507         [BZ #14833]
40508         * menual/message.texi (Message Translation): Fix typos.
40509         (Helper programs for gettext): Likewise.
40511 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
40513         [BZ #14898]
40514         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
40515         Change to -1.
40517 2012-12-07  David S. Miller  <davem@davemloft.net>
40519         * po/libc.pot: Update.
40521 2012-12-07  Richard Henderson  <rth@redhat.com>
40523         [BZ #10114]
40524         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
40525         normal/normal case to before the switch.
40526         (_FP_DIV): Likewise.
40528 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
40529             Mike Frysinger  <vapier@gentoo.org>
40531         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
40532         check for __NR_fadvise64_64.
40534 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
40536         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
40537         0, not just to plain "0" as a statement.
40538         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
40539         with cw.
40541 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
40543         * NEWS: Use sourceware.org in Bugzilla URL.
40545 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
40548         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
40550         * stdio-common/tst-put-error.c (do_test): Add newline to the
40551         padded test to ensure flush.
40553 2012-12-05  Jeff Law  <law@redhat.com>
40555         * sunrpc/etc.rpc (fedfs_admin): Add entry.
40557 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
40559         * README: Don't refer to ports add-on as distributed separately.
40560         Mention AArch64 in list of systems supported in the ports add-on.
40562         * LICENSES: Add more non-FSF copyright and license notices.
40564         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
40565         ((unused)).
40567         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
40569         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
40570         10000 as width of padded output.
40572 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
40574         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
40576         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
40577         variable LX with __attribute__ ((unused)).
40578         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
40579         Likewise.
40580         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
40581         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40582         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
40583         with __attribute__ ((unused)).
40585 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
40587         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
40589 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
40591         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
40592         (CFLAGS-nldbl-acos.c): New variable.
40593         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
40594         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
40595         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
40596         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
40597         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
40598         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
40599         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
40600         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
40601         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
40602         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
40603         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
40604         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
40605         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
40606         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
40607         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
40608         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
40609         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
40610         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
40611         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
40612         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
40613         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
40614         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
40615         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
40616         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
40617         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
40618         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
40619         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
40620         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
40621         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
40622         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
40623         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
40624         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
40625         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
40626         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
40627         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
40628         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
40629         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
40630         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
40631         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
40632         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
40633         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
40634         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
40635         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
40636         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
40637         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
40638         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
40639         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
40640         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
40641         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
40642         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
40643         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
40644         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
40645         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
40646         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
40647         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
40648         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
40649         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
40650         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
40651         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
40652         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
40653         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
40654         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
40655         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
40656         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
40657         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
40658         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
40659         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
40660         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
40661         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
40662         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
40663         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
40664         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
40665         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
40666         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
40667         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
40668         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
40669         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
40670         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
40671         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
40672         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
40673         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
40674         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
40675         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
40676         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
40677         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
40678         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
40679         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
40680         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
40681         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
40682         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
40683         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
40684         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
40685         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
40686         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
40687         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
40688         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
40689         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
40691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40692         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
40694         [BZ #14914]
40695         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
40696         whole low double instead of just low 47 bits when splitting values
40697         into two parts.
40699 2012-12-03  Allan McRae  <allan@archlinux.org>
40701         * manual/stdio.texi (Predefined Printf Handlers): Remove
40702         @hsep and @vsep usage.
40704 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
40706         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
40707         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
40709 2012-12-03  Jeff Law  <law@redhat.com>
40711         * time/sys/time.h (settimeofday): Do not mark TV argument
40712         as __nonnull.
40714 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
40716         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
40717         when currently writing and seek to current position when not.
40718         * libio/Makefile (tests): Remove bug-fclose1.
40719         * libio/bug-fclose1.c: Delete.
40721 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
40723         * manual/arith.texi (feenableexcept): Fix typo.
40724         (fedisableexcept): Likewise.
40726 2012-11-30  Roland McGrath  <roland@hack.frob.com>
40728         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
40729         second, differently-typed declaration, rather than a cast.
40731 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40733         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
40734         * include/rpc/svc.h: ... here.
40736 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
40738         [BZ #13013]
40739         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
40740         depending n and resplen2 to catch cases where answer
40741         equals answerp2.
40743 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
40745         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
40746         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
40748 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
40750         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
40752 2012-11-29  Roland McGrath  <roland@hack.frob.com>
40754         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
40756 2012-11-28  Jeff Law  <law@redhat.com>
40758         [BZ #13761]
40759         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
40760         dataset_temporary.  Track alloca usage into alloca_used.
40761         If dataset is large allocate and release it via malloc/free.
40763 2012-06-04  Florian Weimer  <fweimer@redhat.com>
40765         [BZ #14197]
40766         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
40768 2012-11-28  David S. Miller  <davem@davemloft.net>
40770         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40772 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
40774         [BZ #14803]
40775         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
40776         of pi/2 rounded to nearest to 64 bits.
40777         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
40778         nearest to 64 bits.
40779         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
40780         bits.
40782 2012-11-28  Jeff Law <law@redhat.com>
40783             Martin Osvald <mosvald@redhat.com>
40785         [BZ #14889]
40786         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
40787         * sunrpc/svc.c: Include time.h.
40788         (__svc_accept_failed): New function.
40789         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
40790         any reason other than EINTR, call __svc_accept_failed.
40791         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
40792         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
40794 2012-11-28  Andreas Schwab  <schwab@suse.de>
40796         * scripts/abilist.awk: Also handle indirect functions in .opd
40797         section.
40799 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
40801         [BZ #13881]
40802         * sysdeps/x86/fpu/powl_helper.c: New file.
40803         * sysdeps/x86/fpu/Makefile: Likewise.
40804         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
40805         (p3): New object.
40806         (__ieee754_powl): Use __powl_helper for finite arguments except
40807         integer exponents below 8.
40808         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
40809         (p3): New object.
40810         (__ieee754_powl): Use __powl_helper for finite arguments except
40811         integer exponents below 8.
40812         * math/libm-test.inc (pow_test): Add more tests and enable some
40813         previously disabled tests.
40814         * sysdeps/i386/fpu/libm-test-ulps: Update.
40815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40817 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40818             Carlos O'Donell  <carlos_odonell@mentor.com>
40820         * nss/makedb.c (is_prime): Assert that input is odd and greater
40821         than 4.  Note that fact in a comment too.
40822         (next_prime): Add 4 to input.
40824 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40826         [BZ #11741]
40827         * libio/Makefile (tests): Add test case tst-fwrite-error.
40828         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
40829         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
40830         * libio/tst-fwrite-error.c: New test case.
40832 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
40834         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
40835         before casting to void *.
40836         * include/libc-internal.h (__pointer_type): New macro.
40837         (__integer_if_pointer_type_sub): Likewise.
40838         (__integer_if_pointer_type): Likewise.
40839         (cast_to_integer): Likewise.
40840         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
40841         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
40842         before casting to atomic64_t.
40843         (atomic_exchange_acq): Likewise.
40844         (__arch_exchange_and_add_body): Likewise.
40845         (__arch_add_body): Likewise.
40846         (atomic_add_negative): Likewise.
40847         (atomic_add_zero): Likewise.
40849 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
40851         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
40852         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
40853         (add_fdes): Likewise.
40854         (linear_search_fdes): Likewise.
40855         (binary_search_unencoded_fdes): Likewise.
40857 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
40859         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
40861 2012-11-24  Adam Conrad  <adconrad@0c3.net>
40863         * configure.in: Autodetect C++ header directories.
40864         * configure: Regenerated.
40866 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
40868         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
40870 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
40872         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40874 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
40876         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
40877         LDBL_MANT_DIG == 106]: Disable some tests.
40878         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
40879         Likewise.
40880         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
40881         Likewise.
40883         [BZ #14871]
40884         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
40885         input for small inputs.  Return +/- pi/2 for large inputs.
40886         * math/libm-test.inc (atan_test): Add more tests.
40888         * sysdeps/generic/unwind-dw2-fde-glibc.c
40889         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
40890         __attribute__ ((unused)).
40892         [BZ #14645]
40893         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
40894         x * y if x and y are nonzero and z is zero.
40896         [BZ #14811]
40897         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
40898         nonzero exponents with absolute value below 0x1p-117 to +/-
40899         0x1p-117.
40901         [BZ #14869]
40902         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
40903         up arguments below 2**-450, not just those below 2**-500.
40904         * math/libm-test.inc (hypot_test): Add another test.
40906         [BZ #14868]
40907         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
40908         Return a+b for ratio over 2**120, not 2**60.
40909         * math/libm-test.inc (hypot_test): Add another test.
40911         * math/libm-test.inc (clog_test): Use
40912         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
40913         (clog10_test): Likewise.
40915         [BZ #6778]
40916         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
40918 2012-11-22  Andreas Schwab  <schwab@suse.de>
40920         * sysdeps/i386/fpu/libm-test-ulps: Update.
40922 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
40924         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
40925         printf output with newline.
40927 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
40929         [BZ #14865]
40930         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
40931         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
40932         -z nodlopen, -z initfirst and -z execstack support.
40933         * configure: Regenerated.
40935         * elf/elf.h (DF_1_NODIRECT): New macro.
40936         (DF_1_IGNMULDEF): Likewise.
40937         (DF_1_NOKSYMS): Likewise.
40938         (DF_1_NOHDR): Likewise.
40939         (DF_1_EDITED): Likewise.
40940         (DF_1_NORELOC): Likewise.
40941         (DF_1_SYMINTPOSE): Likewise.
40942         (DF_1_GLOBAUDIT): Likewise.
40943         (DF_1_SINGLETON): Likewise.
40944         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
40945         DT_1_SUPPORTED_MASK bits.
40946         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
40948 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
40950         * sysdeps/unix/make-syscalls.sh: Document prefixes.
40952 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
40954         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
40955         macro.
40957         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
40958         (sendmmsg): Move declarations...
40959         * socket/sys/socket.h: ... here.
40960         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
40961         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
40962         include it from...
40963         * socket/recvmmsg.c: ... this new file.
40964         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
40965         (sendmmsg): Rename to __sendmmsg, create weak alias and make
40966         definition of __sendmmsg hidden.
40967         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
40968         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
40969         Move ENOSYS stub into and include it from...
40970         * socket/sendmmsg.c: ... this new file.
40971         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
40972         (sysdep_routines): Move recvmmsg and sendmmsg...
40973         * socket/Makefile (routines): ... here.
40974         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
40975         (GLIBC_PRIVATE): Add __sendmmsg.
40976         * include/sys/socket.h (__sendmmsg): Add declarations.
40977         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
40978         sendmmsg.
40980 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
40982         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
40983         variable I1 with __attribute__ ((unused)).
40984         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40986 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
40988         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
40989         DUMMY variables with __attribute__ ((unused)).
40991         * bits/byteswap.h: Include <bits/types.h>.
40992         (__bswap_64): Use __uint64_t instead of unsigned long long int.
40994 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
40996         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
40997         string_t.  Do not manually set errno.
40998         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
40999         length with __strnlen.  Make sure to both set errno and return it on
41000         failure.
41002 2012-11-19  David S. Miller  <davem@davemloft.net>
41004         With help from Joseph Myers.
41005         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
41006         very large arguments properly.
41007         * math/libm-test.inc (atan_test): New tests.
41008         (atan2_test): New tests.
41009         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41010         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41012 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41014         [BZ #14856]
41015         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
41016         Define to 3.
41018         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
41019         [POSIX] (EADDRNOTAVAIL): Likewise.
41020         [POSIX] (EAFNOSUPPORT): Likewise.
41021         [POSIX] (EALREADY): Likewise.
41022         [POSIX] (ECONNABORTED): Likewise.
41023         [POSIX] (ECONNREFUSED): Likewise.
41024         [POSIX] (ECONNRESET): Likewise.
41025         [POSIX] (EDESTADDRREQ): Likewise.
41026         [POSIX] (EDQUOT): Likewise.
41027         [POSIX] (EHOSTUNREACH): Likewise.
41028         [POSIX] (EIDRM): Likewise.
41029         [POSIX] (EISCONN): Likewise.
41030         [POSIX] (ELOOP): Likewise.
41031         [POSIX] (EMULTIHOP): Likewise.
41032         [POSIX] (ENETDOWN): Likewise.
41033         [POSIX] (ENETUNREACH): Likewise.
41034         [POSIX] (ENOBUFS): Likewise.
41035         [POSIX] (ENODATA): Likewise.
41036         [POSIX] (ENOLINK): Likewise.
41037         [POSIX] (ENOMSG): Likewise.
41038         [POSIX] (ENOPROTOOPT): Likewise.
41039         [POSIX] (ENOSR): Likewise.
41040         [POSIX] (ENOSTR): Likewise.
41041         [POSIX] (ENOTCONN): Likewise.
41042         [POSIX] (ENOTSOCK): Likewise.
41043         [POSIX] (EOPNOTSUPP): Likewise.
41044         [POSIX] (EOVERFLOW): Likewise.
41045         [POSIX] (EPROTO): Likewise.
41046         [POSIX] (EPROTONOSUPPORT): Likewise.
41047         [POSIX] (EPROTOTYPE): Likewise.
41048         [POSIX] (ESTALE): Likewise.
41049         [POSIX] (ETIME): Likewise.
41050         [POSIX] (ETXTBSY): Likewise.
41051         [POSIX] (EWOULDBLOCK): Likewise.
41052         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
41053         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
41054         [POSIX] (SEEK_CUR): Likewise.
41055         [POSIX] (SEEK_END): Likewise.
41056         [POSIX || UNIX98] (mode_t): Do not require.
41057         [POSIX] (off_t): Likewise.
41058         [POSIX] (pid_t): Likewise.
41059         [POSIX] (sys/stat.h): Do not allow header.
41060         [POSIX] (unistd.h): Likewise.
41061         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
41062         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
41063         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
41064         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
41065         require.
41066         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
41067         sigevent): Specify elements.
41068         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
41069         entry.
41070         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
41071         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
41073         * conform/data/cpio.h-data [POSIX]: Disable whole file.
41074         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
41075         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
41076         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
41077         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
41078         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
41079         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
41080         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
41081         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
41082         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
41083         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
41084         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
41085         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
41086         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
41087         Likewise.
41088         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
41089         Likewise.
41090         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
41091         Likewise.
41092         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
41093         Likewise.
41094         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
41095         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
41096         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
41097         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
41098         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
41099         Specify lower bound on value.
41100         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
41101         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
41102         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
41103         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
41104         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
41105         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
41106         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
41107         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
41108         value.
41109         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
41110         as optional.
41111         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
41112         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
41113         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
41114         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
41115         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
41116         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
41117         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
41118         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
41119         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
41120         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
41121         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
41122         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
41123         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
41124         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
41125         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
41126         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
41127         entry.
41128         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
41129         optional.
41130         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
41131         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
41132         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
41133         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
41134         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
41135         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
41136         Likewise.
41137         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
41138         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
41139         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
41140         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
41141         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
41142         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
41143         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
41144         as optional.
41145         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
41146         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
41147         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
41148         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
41149         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
41150         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
41151         specify as optional.
41152         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
41153         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
41154         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
41155         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
41156         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
41157         [XPG3] (NL_LANGMAX): Likewise.
41158         [POSIX || XPG3] (NL_MSGMAX): Likewise.
41159         [POSIX || XPG3] (NL_NMAX): Likewise.
41160         [POSIX || XPG3] (NL_SETMAX): Likewise.
41161         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
41162         [XPG3] (NZERO): Likewise.
41163         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
41164         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
41165         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
41166         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
41167         (REG_ERANGE): Expect.
41168         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
41169         optional-constant.
41170         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
41171         Use (void) in prototype.
41172         [POSIX] (*_t): Allow.
41173         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
41174         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
41175         (WRDE_BADVAL): Expect.
41177         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
41178         expect.
41179         [XPG3 || XPG4] (O_RSYNC): Likewise.
41180         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
41181         Likewise.
41182         [XPG3 || XPG4] (pthread_sigmask): Likewise.
41183         [XPG3 || XPG4] (sigqueue): Likewise.
41184         [XPG3 || XPG4] (sigtimedwait): Likewise.
41185         [XPG3 || XPG4] (sigwaitinfo): Likewise.
41186         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
41187         [XPG3 || XPG4] (vsnprintf): Likewise.
41188         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
41189         Likewise.
41190         [XPG3 || XPG4] (blksize_t): Likewise.
41191         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
41192         Likewise.
41193         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
41194         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
41195         [XPG3 || XPG4] (struct itimerspec): Likewise.
41196         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
41197         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
41198         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
41199         [XPG3 || XPG4] (clockid_t): Likewise.
41200         [XPG3 || XPG4] (timer_t): Likewise.
41201         [XPG3 || XPG4] (clock_getres): Likewise.
41202         [XPG3 || XPG4] (clock_gettime): Likewise.
41203         [XPG3 || XPG4] (clock_settime): Likewise.
41204         [XPG3 || XPG4] (nanosleep): Likewise.
41205         [XPG3 || XPG4] (timer_create): Likewise.
41206         [XPG3 || XPG4] (timer_delete): Likewise.
41207         [XPG3 || XPG4] (timer_gettime): Likewise.
41208         [XPG3 || XPG4] (timer_getoverrun): Likewise.
41209         [XPG3 || XPG4] (timer_settime): Likewise.
41210         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
41211         [XPG3 || XPG4] (getlogin_r): Likewise.
41212         [XPG3 || XPG4] (pread): Likewise.
41213         [XPG3 || XPG4] (pthread_atfork): Likewise.
41214         [XPG3 || XPG4] (pwrite): Likewise.
41216         [BZ #14835]
41217         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
41218         <bits/siginfo.h>.
41220 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41222         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
41223         finalizing MALLSTREAM.
41225         * sysdeps/mach/hurd/syncfs.c: New file.
41227 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41229         [BZ #14719]
41230         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
41231         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
41232         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
41233         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
41234         (_nss_dns_gethostbyname4_r): Likewise.
41235         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
41236         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
41238 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
41240         [BZ #13763]
41241         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
41243 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
41245         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
41246         * elf/cache.c (print_entry): Print ",AArch64" for
41247         FLAG_AARCH64_LIB64
41249         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
41250         * elf/cache.c (print_entry): Print ",hard-float" for
41251         FLAG_ARM_LIBHF.
41253 2012-11-18  David S. Miller  <davem@davemloft.net>
41255         With help from Joseph Myers.
41256         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
41257         cutoff to 2**-13.
41258         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
41259         cutoff to 2**-25.
41260         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
41261         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
41262         small.
41263         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
41264         * math/libm-test.inc (y0_test): New tests.
41265         (y1_test): New tests.
41266         * sysdeps/i386/fpu/libm-test-ulps: Update.
41267         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41268         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41270 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
41272         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
41273         64-bit targets.
41274         * configure: Regenerated.
41276 2012-11-17  David S. Miller  <davem@davemloft.net>
41278         [BZ #14811]
41279         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
41280         nonzero exponents with absolute value below 0x1p-128 to +/-
41281         0x1p-128.
41283 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
41285         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
41287         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
41289         * posix/getconf-speclist.c: New file.
41290         * posix/posix-envs.def: Likewise.
41291         * posix/confstr.c (START_ENV_GROUP): New macro.
41292         (END_ENV_GROUP): Likewise.
41293         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41294         (KNOWN_PRESENT_ENV_STRING): Likewise.
41295         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41296         (UNKNOWN_ENVIRONMENT): Likewise.
41297         (confstr): Include posix-envs.def instead of handling
41298         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
41299         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
41300         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
41301         (END_ENV_GROUP): Likewise.
41302         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41303         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41304         (UNKNOWN_ENVIRONMENT): Likewise.
41305         (__sysconf): Include posix-envs.def instead of handling associated
41306         cases directly here.
41307         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
41308         preprocessing getconf-speclist.c rather than running getconf or
41309         generating empty file.
41311 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
41313         * scripts/check-local-headers.sh: Ignore 'mach' headers.
41315 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
41317         [BZ #14672]
41318         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
41320 2012-11-16  David S. Miller  <davem@davemloft.net>
41322         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
41323         smaller than LDBL_EPSILON/2.0L, just return xm1.
41325 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
41327         * elf/tst-array1.c (init): Set constructor priority to 1000.
41328         (fini): Set destructor priority to 1000.
41329         * elf/tst-array2dep.c: Likewise.
41331 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41333         [BZ #11741]
41334         * libio/fileops.c (_IO_new_file_write): Correctly return error.
41335         (_IO_new_file_xsputn): Also return EOF if none of the input
41336         data was written when overflow failed.
41337         * libio/iopadn.c (_IO_padn): Likewise.
41338         * libio/iowpadn.c (_IO_wpadn): Likewise.
41339         * stdio-common/tst-put-error.c: Add copyright notice.
41340         (do_test): Add case for printing padded string.
41341         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
41342         _IO_padn returned error.
41343         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
41344         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
41345         return EOF.
41347 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41349         * libio/libioP.h: Add comment note that the references to C++
41350         bits are now obsolete.
41352 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41354         * math/libm-test.inc (check_complex): Use asprintf.
41356 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
41358         * debug/pcprofiledump.c (print_version): Update copyright year.
41359         * malloc/memusagestat.c (print_version): Likewise.
41361 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
41363         [BZ #14831]
41364         * elf/Makefile (tests): Add tst-audit8.
41365         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
41366         ($(objpfx)tst-audit8.out): New target.
41367         (tst-audit8-ENV): New variable.
41368         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
41369         audit if l_reloc_result is NULL.
41370         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
41371         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
41372         * elf/tst-audit8.c: New file.
41374 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41376         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
41377         * misc/Makefile (CFLAGS-select.c): Define.
41378         * posix/Makefile (CFLAGS-pause.c): Define.
41380 2012-11-13  David S. Miller  <davem@davemloft.net>
41382         * crypt/Makefile: Move test targets after toplevel Rules
41383         inclusion.  Grab any necessary sysdep routines when linking.
41384         * crypt/md5.c (md5_process_block): Remove define, we will always
41385         name it __md5_process_block.
41386         (md5_finish_ctx): Update md5_process_block call.
41387         (md5_stream): Likewise.
41388         (md5_process_bytes): Likewise.
41389         (md5_process_block): Rename to __md5_process_block and move to ...
41390         * crypt/md5-block.c: ... here.
41391         * crypt/sha256.c (sha256_process_block): Move to ...
41392         * crypt/sha256-block.c: ... here.
41393         * crypt/sha512.c (sha512_process_block): Move to ...
41394         * crypt/sha512-block.c: ... here.
41395         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
41396         path.
41397         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
41398         * sysdeps/sparc/sparc64/multiarch/Makefile
41399         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
41400         crypt subdir.
41401         (localedef-aux): Add md5 crypto assembler when in locale subdir.
41402         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
41403         multiarch changes.
41404         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
41405         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
41406         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
41407         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
41408         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
41409         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
41410         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
41411         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
41412         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
41413         file.
41414         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
41415         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
41416         file.
41417         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
41419 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
41421         * timezone/tzselect.ksh: Update from tzcode git revision
41422         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
41423         * timezone/zdump.c: Likewise.
41424         * timezone/zic.c: Likewise.
41425         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
41426         in TZVERSION setting, not $(PKGVERSION).
41427         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
41428         REPORT_BUGS_TO settings.
41430         [BZ #14838]
41431         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
41432         macro.
41434 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41436         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
41437         detection to immediately after _FP_ROUND().
41438         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
41439         bits are 0.
41441 2012-11-11  David S. Miller  <davem@davemloft.net>
41443         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
41444         inttypes.h
41445         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
41446         __close rather than their public counterparts.
41448 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
41450         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
41451         file.
41452         [UNIX98] (sem_timedwait): Do not expect.
41453         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
41454         [XPG4 || UNIX98] (sockatmark): Do not expect.
41455         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
41456         (clock_getcpuclockid): Do not expect.
41457         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
41458         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
41459         Do not expect.
41460         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
41461         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
41462         [UNIX98] (vwscanf): Likewise.
41463         [UNIX98] (vswscanf): Likewise.
41465 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
41467         * timezone/version.h: Remove file.
41468         * timezone/README: Do not refer to version.h.
41469         * timezone/Makefile ($(objpfx)zic.o): New dependency on
41470         $(objpfx)version.h.
41471         ($(objpfx)zdump.o): Likewise.
41472         ($(objpfx)version.h): New target.
41474         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
41475         2012i.
41476         * timezone/README: Don't mention modification to tzselect.ksh.
41477         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
41478         work on unmodified tzselect.ksh.  Substitute version numbers in
41479         tzselect.ksh.
41481         * Makefile (format-me): Remove.
41482         (INSTALL): Adjust indentation.  Use commands directly instead of
41483         using $(format-me).
41485         * aclocal.m4 (ACX_PKGVERSION): New macro.
41486         (ACX_BUGURL): Likewise.
41487         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
41488         (PKGVERSION): New AC_DEFINE_UNQUOTED.
41489         (REPORT_BUGS_TO): Likewise.
41490         * configure: Regenerated.
41491         * config.h.in (PKGVERSION): New macro.
41492         (REPORT_BUGS_TO): Likewise.
41493         * config.make.in (PKGVERSION): New variable.
41494         (PKGVERSION_TEXI): Likewise.
41495         (REPORT_BUGS_TO): Likewise.
41496         (REPORT_BUGS_TEXI): Likewise.
41497         * Makefile (format-me): Use -I$(common-objpfx)manual.
41498         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
41499         ($(common-objpfx)manual/%): New target.
41500         (manual/%): Remove target.
41501         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
41502         (print_version): Use PKGVERSION.
41503         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
41504         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
41505         and REPORT_BUGS_TO.
41506         ($(objpfx)xtrace): Likewise.
41507         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
41508         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
41509         (print_version): Use PKGVERSION.
41510         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
41511         (do_version): Use PKGVERSION.
41512         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
41513         REPORT_BUGS_TO.
41514         (common-ldd-rewrite): Likewise.
41515         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
41516         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
41517         (print_version): Use PKGVERSION.
41518         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
41519         * elf/pldd.c (argp_program_bug_address): Remove variable.
41520         (more_help): New function.
41521         (argp): Use more_help.
41522         (print_version): Use PKGVERSION.
41523         * elf/sln.c (main): Use PKGVERSION.
41524         (usage): Use REPORT_BUGS_TO.
41525         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
41526         (top level): Use PKGVERSION.
41527         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
41528         (print_version): Use PKGVERSION.
41529         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
41530         (print_version): Use PKGVERSION.
41531         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
41532         (print_version): Use PKGVERSION.
41533         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
41534         (print_version): Use PKGVERSION.
41535         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
41536         (print_version): Use PKGVERSION.
41537         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
41538         (print_version): Use PKGVERSION.
41539         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
41540         and BUGURL.
41541         ($(objpfx)memusage): Likewise.
41542         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
41543         (do_version): Use PKGVERSION.
41544         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
41545         (print_version): Use PKGVERSION.
41546         * malloc/mtrace.pl ($PACKAGE): Remove variable.
41547         ($PKGVERSION): New variable.
41548         ($REPORT_BUGS_TO): Likewise.
41549         (usage): Use $REPORT_BUGS_TO.
41550         (top level): Use $PKGVERSION.
41551         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
41552         ($(objpfx)pkgvers.texi): New rule.
41553         ($(objpfx)stamp-pkgvers): Likewise.
41554         * manual/install.texi: Include pkgvers.texi.
41555         (--with-pkgversion): Document new configure option.
41556         (--with-bugurl): Likewise.
41557         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
41558         than necessarily for this particular distribution.  Use
41559         REPORT_BUGS_TO for where to report bugs.
41560         * INSTALL: Regenerated.
41561         * manual/libc.texinfo: Include pkgvers.texi.
41562         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
41563         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
41564         (print_version): Use PKGVERSION.
41565         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
41566         (print_version): Use PKGVERSION.
41567         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
41568         (print_version): Use PKGVERSION.
41569         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
41570         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
41571         macro.
41572         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
41573         (print_version): Use PKGVERSION.
41574         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
41575         (print_version): Use PKGVERSION.
41576         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
41577         and PKGVERSION.
41579         * timezone/checktab.awk: Update from tzcode 2012i.
41580         * timezone/ialloc.c: Likewise.
41581         * timezone/private.h: Likewise.
41582         * timezone/scheck.c: Likewise.
41583         * timezone/tzfile.h: Likewise.
41584         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
41585         (TZVERSION): Hardcode tzcode version number.
41586         * timezone/zdump.c: Update from tzcode 2012i.
41587         * timezone/zic.c: Likewise.
41588         * timezone/version.h: New file.
41589         * timezone/README: Describe version.h.  Update upstream location.
41591         [BZ #14824]
41592         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
41593         (mktemp): Enable declaration.
41594         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
41595         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
41596         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
41597         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
41598         Likewise.
41599         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
41600         Likewise.
41601         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
41602         Likewise.
41603         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
41604         Likewise.
41605         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
41606         Likewise.
41607         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
41608         Likewise.
41610         [BZ #14821]
41611         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
41612         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
41613         for copies of such integer values.
41614         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
41615         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
41617 2012-11-09  Andreas Jaeger  <aj@suse.de>
41619         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
41620         definitions and declarations that are provided by
41621         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41623 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41625         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
41626         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
41627         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
41628         definition.
41630 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41632         * elf/elf.h: Update comment before AArch64 relocations.
41634 2012-11-07  David S. Miller  <davem@davemloft.net>
41636         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
41637         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
41638         (__start_context): Declare.
41639         (__makecontext_ret): Delete.
41640         (__makecontext): Hook up __start_context instead of
41641         __makecontext_ret.
41642         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
41643         (sysdep_routines): Add __start_context when in stdlib.
41645 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41647         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
41648         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
41649         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
41650         hardcoded "nm".
41651         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
41652         (READELF): New variable.  Use it instead of hardcoded "readelf".
41654 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
41656         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
41657         * sysdeps/x86/Makefile: Here.
41658         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
41659         * sysdeps/x86/tst-xmmymm.sh: This.
41661 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41663         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
41664         expectations.
41665         [UNIX98] (pthread_barrier_t): Do not expect.
41666         [UNIX98] (pthread_barrierattr_t): Likewise.
41667         [UNIX98] (pthread_spinlock_t): Likewise.
41668         [UNIX98] (pthread_barrier_destroy): Likewise.
41669         [UNIX98] (pthread_barrier_init): Likewise.
41670         [UNIX98] (pthread_barrier_wait): Likewise.
41671         [UNIX98] (pthread_barrierattr_destroy): Likewise.
41672         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
41673         [UNIX98] (pthread_barrierattr_init): Likewise.
41674         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
41675         [UNIX98] (pthread_getcpuclockid): Likewise.
41676         [UNIX98] (pthread_mutex_timedlock): Likewise.
41677         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
41678         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
41679         [UNIX98] (pthread_sigmask): Likewise.
41680         [UNIX98] (pthread_spin_destroy): Likewise.
41681         [UNIX98] (pthread_spin_init): Likewise.
41682         [UNIX98] (pthread_spin_lock): Likewise.
41683         [UNIX98] (pthread_spin_trylock): Likewise.
41684         [UNIX98] (pthread_spin_unlock): Likewise.
41685         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
41686         Do not expect.
41687         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
41688         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
41689         [XPG3 || XPG4] (pthread_cond_t): Likewise.
41690         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
41691         [XPG3 || XPG4] (pthread_key_t): Likewise.
41692         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
41693         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
41694         [XPG3 || XPG4] (pthread_once_t): Likewise.
41695         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
41696         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
41697         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
41698         [XPG3 || XPG4] (pthread_t): Likewise.
41700         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
41701         not expect.
41702         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
41704         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
41705         Change function return type to int.
41707         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
41708         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
41709         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
41710         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
41711         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
41712         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
41713         [!POSIX] (posix_madvise): Likewise.
41714         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
41715         && !UNIX98].
41716         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
41717         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
41718         (mode_t): Likewise.
41719         (posix_mem_offset): Likewise.
41720         (posix_typed_mem_get_info): Likewise.
41721         (posix_typed_mem_open): Likewise.
41723         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
41724         Change condition to [XOPEN2K8].
41726         * conform/conformtest.pl: Preprocess allow-header data with -x c
41727         instead of from stdin.
41728         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
41729         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
41730         [C99-based standards] (cerfc): Likewise.
41731         [C99-based standards] (cexp2): Likewise.
41732         [C99-based standards] (cexpm1): Likewise.
41733         [C99-based standards] (clog10): Likewise.
41734         [C99-based standards] (clog1p): Likewise.
41735         [C99-based standards] (clog2): Likewise.
41736         [C99-based standards] (clgamma): Likewise.
41737         [C99-based standards] (ctgamma): Likewise.
41738         [C99-based standards] (cerff): Likewise.
41739         [C99-based standards] (cerfcf): Likewise.
41740         [C99-based standards] (cexp2f): Likewise.
41741         [C99-based standards] (cexpm1f): Likewise.
41742         [C99-based standards] (clog10f): Likewise.
41743         [C99-based standards] (clog1pf): Likewise.
41744         [C99-based standards] (clog2f): Likewise.
41745         [C99-based standards] (clgammaf): Likewise.
41746         [C99-based standards] (ctgammaf): Likewise.
41747         [C99-based standards] (cerfl): Likewise.
41748         [C99-based standards] (cerfcl): Likewise.
41749         [C99-based standards] (cexp2l): Likewise.
41750         [C99-based standards] (cexpm1l): Likewise.
41751         [C99-based standards] (clog10l): Likewise.
41752         [C99-based standards] (clog1pl): Likewise.
41753         [C99-based standards] (clog2l): Likewise.
41754         [C99-based standards] (clgammal): Likewise.
41755         [C99-based standards] (ctgammal): Likewise.
41756         * conform/data/inttypes.h-data [C99-based standards]: Include
41757         stdint.h-data.  Remove all expectations for stdint.h contents.
41758         [C99-based standards] (PRI*): Do not allow.
41759         [C99-based standards] (SCN*): Likewise.
41760         [C99-based standards] (*_t): Likewise.
41761         [C99-based-standards] (PRId8): Expect macro.
41762         [C99-based-standards] (PRIi8): Likewise.
41763         [C99-based-standards] (PRIo8): Likewise.
41764         [C99-based-standards] (PRIu8): Likewise.
41765         [C99-based-standards] (PRIx8): Likewise.
41766         [C99-based-standards] (PRIX8): Likewise.
41767         [C99-based-standards] (SCNd8): Likewise.
41768         [C99-based-standards] (SCNi8): Likewise.
41769         [C99-based-standards] (SCNo8): Likewise.
41770         [C99-based-standards] (SCNu8): Likewise.
41771         [C99-based-standards] (SCNx8): Likewise.
41772         [C99-based-standards] (PRIdLEAST8): Likewise.
41773         [C99-based-standards] (PRIiLEAST8): Likewise.
41774         [C99-based-standards] (PRIoLEAST8): Likewise.
41775         [C99-based-standards] (PRIuLEAST8): Likewise.
41776         [C99-based-standards] (PRIxLEAST8): Likewise.
41777         [C99-based-standards] (PRIXLEAST8): Likewise.
41778         [C99-based-standards] (SCNdLEAST8): Likewise.
41779         [C99-based-standards] (SCNiLEAST8): Likewise.
41780         [C99-based-standards] (SCNoLEAST8): Likewise.
41781         [C99-based-standards] (SCNuLEAST8): Likewise.
41782         [C99-based-standards] (SCNxLEAST8): Likewise.
41783         [C99-based-standards] (PRIdFAST8): Likewise.
41784         [C99-based-standards] (PRIiFAST8): Likewise.
41785         [C99-based-standards] (PRIoFAST8): Likewise.
41786         [C99-based-standards] (PRIuFAST8): Likewise.
41787         [C99-based-standards] (PRIxFAST8): Likewise.
41788         [C99-based-standards] (PRIXFAST8): Likewise.
41789         [C99-based-standards] (SCNdFAST8): Likewise.
41790         [C99-based-standards] (SCNiFAST8): Likewise.
41791         [C99-based-standards] (SCNoFAST8): Likewise.
41792         [C99-based-standards] (SCNuFAST8): Likewise.
41793         [C99-based-standards] (SCNxFAST8): Likewise.
41794         [C99-based-standards] (PRId16): Likewise.
41795         [C99-based-standards] (PRIi16): Likewise.
41796         [C99-based-standards] (PRIo16): Likewise.
41797         [C99-based-standards] (PRIu16): Likewise.
41798         [C99-based-standards] (PRIx16): Likewise.
41799         [C99-based-standards] (PRIX16): Likewise.
41800         [C99-based-standards] (SCNd16): Likewise.
41801         [C99-based-standards] (SCNi16): Likewise.
41802         [C99-based-standards] (SCNo16): Likewise.
41803         [C99-based-standards] (SCNu16): Likewise.
41804         [C99-based-standards] (SCNx16): Likewise.
41805         [C99-based-standards] (PRIdLEAST16): Likewise.
41806         [C99-based-standards] (PRIiLEAST16): Likewise.
41807         [C99-based-standards] (PRIoLEAST16): Likewise.
41808         [C99-based-standards] (PRIuLEAST16): Likewise.
41809         [C99-based-standards] (PRIxLEAST16): Likewise.
41810         [C99-based-standards] (PRIXLEAST16): Likewise.
41811         [C99-based-standards] (SCNdLEAST16): Likewise.
41812         [C99-based-standards] (SCNiLEAST16): Likewise.
41813         [C99-based-standards] (SCNoLEAST16): Likewise.
41814         [C99-based-standards] (SCNuLEAST16): Likewise.
41815         [C99-based-standards] (SCNxLEAST16): Likewise.
41816         [C99-based-standards] (PRIdFAST16): Likewise.
41817         [C99-based-standards] (PRIiFAST16): Likewise.
41818         [C99-based-standards] (PRIoFAST16): Likewise.
41819         [C99-based-standards] (PRIuFAST16): Likewise.
41820         [C99-based-standards] (PRIxFAST16): Likewise.
41821         [C99-based-standards] (PRIXFAST16): Likewise.
41822         [C99-based-standards] (SCNdFAST16): Likewise.
41823         [C99-based-standards] (SCNiFAST16): Likewise.
41824         [C99-based-standards] (SCNoFAST16): Likewise.
41825         [C99-based-standards] (SCNuFAST16): Likewise.
41826         [C99-based-standards] (SCNxFAST16): Likewise.
41827         [C99-based-standards] (PRId32): Likewise.
41828         [C99-based-standards] (PRIi32): Likewise.
41829         [C99-based-standards] (PRIo32): Likewise.
41830         [C99-based-standards] (PRIu32): Likewise.
41831         [C99-based-standards] (PRIx32): Likewise.
41832         [C99-based-standards] (PRIX32): Likewise.
41833         [C99-based-standards] (SCNd32): Likewise.
41834         [C99-based-standards] (SCNi32): Likewise.
41835         [C99-based-standards] (SCNo32): Likewise.
41836         [C99-based-standards] (SCNu32): Likewise.
41837         [C99-based-standards] (SCNx32): Likewise.
41838         [C99-based-standards] (PRIdLEAST32): Likewise.
41839         [C99-based-standards] (PRIiLEAST32): Likewise.
41840         [C99-based-standards] (PRIoLEAST32): Likewise.
41841         [C99-based-standards] (PRIuLEAST32): Likewise.
41842         [C99-based-standards] (PRIxLEAST32): Likewise.
41843         [C99-based-standards] (PRIXLEAST32): Likewise.
41844         [C99-based-standards] (SCNdLEAST32): Likewise.
41845         [C99-based-standards] (SCNiLEAST32): Likewise.
41846         [C99-based-standards] (SCNoLEAST32): Likewise.
41847         [C99-based-standards] (SCNuLEAST32): Likewise.
41848         [C99-based-standards] (SCNxLEAST32): Likewise.
41849         [C99-based-standards] (PRIdFAST32): Likewise.
41850         [C99-based-standards] (PRIiFAST32): Likewise.
41851         [C99-based-standards] (PRIoFAST32): Likewise.
41852         [C99-based-standards] (PRIuFAST32): Likewise.
41853         [C99-based-standards] (PRIxFAST32): Likewise.
41854         [C99-based-standards] (PRIXFAST32): Likewise.
41855         [C99-based-standards] (SCNdFAST32): Likewise.
41856         [C99-based-standards] (SCNiFAST32): Likewise.
41857         [C99-based-standards] (SCNoFAST32): Likewise.
41858         [C99-based-standards] (SCNuFAST32): Likewise.
41859         [C99-based-standards] (SCNxFAST32): Likewise.
41860         [C99-based-standards] (PRId64): Likewise.
41861         [C99-based-standards] (PRIi64): Likewise.
41862         [C99-based-standards] (PRIo64): Likewise.
41863         [C99-based-standards] (PRIu64): Likewise.
41864         [C99-based-standards] (PRIx64): Likewise.
41865         [C99-based-standards] (PRIX64): Likewise.
41866         [C99-based-standards] (SCNd64): Likewise.
41867         [C99-based-standards] (SCNi64): Likewise.
41868         [C99-based-standards] (SCNo64): Likewise.
41869         [C99-based-standards] (SCNu64): Likewise.
41870         [C99-based-standards] (SCNx64): Likewise.
41871         [C99-based-standards] (PRIdLEAST64): Likewise.
41872         [C99-based-standards] (PRIiLEAST64): Likewise.
41873         [C99-based-standards] (PRIoLEAST64): Likewise.
41874         [C99-based-standards] (PRIuLEAST64): Likewise.
41875         [C99-based-standards] (PRIxLEAST64): Likewise.
41876         [C99-based-standards] (PRIXLEAST64): Likewise.
41877         [C99-based-standards] (SCNdLEAST64): Likewise.
41878         [C99-based-standards] (SCNiLEAST64): Likewise.
41879         [C99-based-standards] (SCNoLEAST64): Likewise.
41880         [C99-based-standards] (SCNuLEAST64): Likewise.
41881         [C99-based-standards] (SCNxLEAST64): Likewise.
41882         [C99-based-standards] (PRIdFAST64): Likewise.
41883         [C99-based-standards] (PRIiFAST64): Likewise.
41884         [C99-based-standards] (PRIoFAST64): Likewise.
41885         [C99-based-standards] (PRIuFAST64): Likewise.
41886         [C99-based-standards] (PRIxFAST64): Likewise.
41887         [C99-based-standards] (PRIXFAST64): Likewise.
41888         [C99-based-standards] (SCNdFAST64): Likewise.
41889         [C99-based-standards] (SCNiFAST64): Likewise.
41890         [C99-based-standards] (SCNoFAST64): Likewise.
41891         [C99-based-standards] (SCNuFAST64): Likewise.
41892         [C99-based-standards] (SCNxFAST64): Likewise.
41893         [C99-based-standards] (PRIdMAX): Likewise.
41894         [C99-based-standards] (PRIiMAX): Likewise.
41895         [C99-based-standards] (PRIoMAX): Likewise.
41896         [C99-based-standards] (PRIuMAX): Likewise.
41897         [C99-based-standards] (PRIxMAX): Likewise.
41898         [C99-based-standards] (PRIXMAX): Likewise.
41899         [C99-based-standards] (SCNdMAX): Likewise.
41900         [C99-based-standards] (SCNiMAX): Likewise.
41901         [C99-based-standards] (SCNoMAX): Likewise.
41902         [C99-based-standards] (SCNuMAX): Likewise.
41903         [C99-based-standards] (SCNxMAX): Likewise.
41904         [C99-based-standards] (PRIdPTR): Likewise.
41905         [C99-based-standards] (PRIiPTR): Likewise.
41906         [C99-based-standards] (PRIoPTR): Likewise.
41907         [C99-based-standards] (PRIuPTR): Likewise.
41908         [C99-based-standards] (PRIxPTR): Likewise.
41909         [C99-based-standards] (PRIXPTR): Likewise.
41910         [C99-based-standards] (SCNdPTR): Likewise.
41911         [C99-based-standards] (SCNiPTR): Likewise.
41912         [C99-based-standards] (SCNoPTR): Likewise.
41913         [C99-based-standards] (SCNuPTR): Likewise.
41914         [C99-based-standards] (SCNxPTR): Likewise.
41915         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
41916         allow.
41917         * conform/data/stdint.h-data: Update comments to clarify
41918         requirements.
41919         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
41920         type.
41921         [C99-based standards] (INT8_MAX): Likewise.
41922         [C99-based standards] (INT16_MIN): Likewise.
41923         [C99-based standards] (INT16_MAX): Likewise.
41924         [C99-based standards] (INT32_MIN): Likewise.
41925         [C99-based standards] (INT32_MAX): Likewise.
41926         [C99-based standards] (INT64_MIN): Likewise.
41927         [C99-based standards] (INT64_MAX): Likewise.
41928         [C99-based standards] (UINT8_MAX): Likewise.
41929         [C99-based standards] (UINT16_MAX): Likewise.
41930         [C99-based standards] (UINT32_MAX): Likewise.
41931         [C99-based standards] (UINT64_MAX): Likewise.
41932         [C99-based standards] (INT_LEAST8_MIN): Likewise.
41933         [C99-based standards] (INT_LEAST8_MAX): Likewise.
41934         [C99-based standards] (INT_LEAST16_MIN): Likewise.
41935         [C99-based standards] (INT_LEAST16_MAX): Likewise.
41936         [C99-based standards] (INT_LEAST32_MIN): Likewise.
41937         [C99-based standards] (INT_LEAST32_MAX): Likewise.
41938         [C99-based standards] (INT_LEAST64_MIN): Likewise.
41939         [C99-based standards] (INT_LEAST64_MAX): Likewise.
41940         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
41941         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
41942         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
41943         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
41944         [C99-based standards] (INT_FAST8_MIN): Likewise.
41945         [C99-based standards] (INT_FAST8_MAX): Likewise.
41946         [C99-based standards] (INT_FAST16_MIN): Likewise.
41947         [C99-based standards] (INT_FAST16_MAX): Likewise.
41948         [C99-based standards] (INT_FAST32_MIN): Likewise.
41949         [C99-based standards] (INT_FAST32_MAX): Likewise.
41950         [C99-based standards] (INT_FAST64_MIN): Likewise.
41951         [C99-based standards] (INT_FAST64_MAX): Likewise.
41952         [C99-based standards] (UINT_FAST8_MAX): Likewise.
41953         [C99-based standards] (UINT_FAST16_MAX): Likewise.
41954         [C99-based standards] (UINT_FAST32_MAX): Likewise.
41955         [C99-based standards] (UINT_FAST64_MAX): Likewise.
41956         [C99-based standards] (INTPTR_MIN): Likewise.
41957         [C99-based standards] (INTPTR_MAX): Likewise.
41958         [C99-based standards] (UINTPTR_MAX): Likewise.
41959         [C99-based standards] (INTMAX_MIN): Likewise.
41960         [C99-based standards] (INTMAX_MAX): Likewise.
41961         [C99-based standards] (UINTMAX_MAX): Likewise.
41962         [C99-based standards] (PTRDIFF_MIN): Likewise.
41963         [C99-based standards] (PTRDIFF_MAX): Likewise.
41964         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
41965         [C99-based standards] (SIZE_MAX): Likewise.
41966         [C99-based standards] (WCHAR_MAX): Likewise.
41967         [C99-based standards] (WINT_MAX): Likewise.
41968         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
41969         constraint on value.
41970         [C99-based standards] (WCHAR_MIN): Likewise.
41971         [C99-based standards] (WINT_MIN): Likewise.
41972         [C99-based standards] (*_t): Allow.
41973         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
41974         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
41975         Include math.h-data and complex.h-data.  Remove all expectations
41976         of math.h and complex.h contents.
41977         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
41978         at end of line.
41979         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
41980         (struct tm): Expect tag.
41981         [C99-based-standards] (wcstof): Expect function.
41982         [C99-based-standards] (wcstold): Likewise.
41983         [C99-based-standards] (wcstoll): Likewise.
41984         [C99-based-standards] (wcstoull): Likewise.
41985         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
41986         macro-int-constant.  Specify type.
41987         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
41988         constraint on value.
41989         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
41990         Specify type.
41991         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
41992         Specify value.
41993         [ISO C standards]: Do not allow headers.
41994         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
41995         wcs[abcdefghijklmnopqrstuvwxyz]*.
41996         [ISO C standards] (*_t): Do not allow.
41997         * conform/data/wctype.h-data [C99-based standards] (iswblank):
41998         Expect function.
41999         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
42000         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42001         Specify type.
42002         [ISO C standards]: Do not allow headers.
42003         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
42004         is[abcdefghijklmnopqrstuvwxyz]*.
42005         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
42006         to[abcdefghijklmnopqrstuvwxyz]*.
42007         [ISO C standards] (*_t): Do not allow.
42008         * conform/data/stdalign.h-data: New file.
42009         * conform/data/stdbool.h-data: Likewise.
42010         * conform/data/stdnoreturn.h-data: Likewise.
42012 2012-11-07  Roland McGrath  <roland@hack.frob.com>
42014         [BZ #14815]
42015         * manual/filesys.texi (Directory Entries): Typo fix.
42016         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
42018 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42020         * elf/elf.h (EM_AARCH64): New macro.
42021         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
42022         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
42023         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
42024         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
42025         (R_AARCH64_TLSDESC): Likewise.
42026         (NT_ARM_TLS): Likewise.
42027         (NT_ARM_HW_BREAK): Likewise.
42028         (NT_ARM_HW_WATCH): Likewise.
42030 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42032         [BZ #14811]
42033         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
42034         (__ieee754_powl): Saturate nonzero exponents with absolute value
42035         below 0x1p-79 to +/- 0x1p-79.
42036         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
42037         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
42038         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
42039         nonzero exponents with absolute value below 0x1p-32 to +/-
42040         0x1p-32.
42041         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
42042         (__ieee754_powl): Saturate nonzero exponents with absolute value
42043         below 0x1p-79 to +/- 0x1p-79.
42044         * math/libm-test.inc (pow_test): Add more tests.
42046 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42048         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
42049         _dl_s390_cap_flags with kernel. Increase string length.
42050         (_dl_s390_platforms): Add z196 and zEC12.
42052 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42054         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
42055         Change XOPEN21K to XOPEN2K.
42057 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
42059         * string/memmove.c: Use memcpy when possible.
42061 2012-11-06  Andreas Jaeger  <aj@suse.de>
42063         * po/eo.po: Update from translation team.
42065 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
42067         [BZ #14793]
42068         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
42069         exponent and small x and y exponents, scale x or y up.  Increase
42070         by 2 the exponent used in scaling up.
42071         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42072         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42073         * math/libm-test.inc (fma_test): Add more tests.
42074         (fma_test_towardzero): Likewise.
42075         (fma_test_downward): Likewise.
42076         (fma_test_upward): Likewise.
42078 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
42080         [BZ #14805]
42081         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
42082         fenv_t *.
42084         [BZ #14801]
42085         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
42086         namespace for names of struct fields.
42087         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
42088         fenv_t fields.
42089         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
42090         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
42092 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42094         [BZ #3665]
42095         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
42097 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42099         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
42100         PTR_DEMANGLE.
42102         [BZ #5246]
42103         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
42104         PTR_DEMANGLE.
42106 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
42108         [BZ #14797]
42109         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
42110         definitely overflow as x * y not x * y + z.
42111         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42112         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42113         * math/libm-test.inc (fma_test): Add more tests.
42114         (fma_test_towardzero): Likewise.
42115         (fma_test_downward): Likewise.
42116         (fma_test_upward): Likewise.
42118 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42120         [BZ #157]
42122         * include/stub-tag.h: Remove file.
42123         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
42124         '#include' of it.
42125         * manual/maint.texi (Porting): Don't reference it.
42126         * Makerules ($(objpfx)stubs): Likewise.
42127         * dirent/closedir.c: Don't include <stub-tag.h>.
42128         * dirent/dirfd.c: Likewise.
42129         * dirent/fdopendir.c: Likewise.
42130         * dirent/getdents.c: Likewise.
42131         * dirent/getdents64.c: Likewise.
42132         * dirent/opendir.c: Likewise.
42133         * dirent/readdir.c: Likewise.
42134         * dirent/readdir64.c: Likewise.
42135         * dirent/readdir64_r.c: Likewise.
42136         * dirent/readdir_r.c: Likewise.
42137         * dirent/rewinddir.c: Likewise.
42138         * dirent/seekdir.c: Likewise.
42139         * dirent/telldir.c: Likewise.
42140         * gmon/profil.c: Likewise.
42141         * grp/setgroups.c: Likewise.
42142         * inet/if_index.c: Likewise.
42143         * io/access.c: Likewise.
42144         * io/chdir.c: Likewise.
42145         * io/chmod.c: Likewise.
42146         * io/chown.c: Likewise.
42147         * io/close.c: Likewise.
42148         * io/dup.c: Likewise.
42149         * io/dup2.c: Likewise.
42150         * io/dup3.c: Likewise.
42151         * io/euidaccess.c: Likewise.
42152         * io/faccessat.c: Likewise.
42153         * io/fchdir.c: Likewise.
42154         * io/fchmod.c: Likewise.
42155         * io/fchmodat.c: Likewise.
42156         * io/fchown.c: Likewise.
42157         * io/fchownat.c: Likewise.
42158         * io/fcntl.c: Likewise.
42159         * io/flock.c: Likewise.
42160         * io/fstatfs.c: Likewise.
42161         * io/fstatfs64.c: Likewise.
42162         * io/fstatvfs.c: Likewise.
42163         * io/fstatvfs64.c: Likewise.
42164         * io/futimens.c: Likewise.
42165         * io/fxstat.c: Likewise.
42166         * io/fxstat64.c: Likewise.
42167         * io/fxstatat.c: Likewise.
42168         * io/fxstatat64.c: Likewise.
42169         * io/getcwd.c: Likewise.
42170         * io/isatty.c: Likewise.
42171         * io/lchmod.c: Likewise.
42172         * io/lchown.c: Likewise.
42173         * io/link.c: Likewise.
42174         * io/linkat.c: Likewise.
42175         * io/lseek.c: Likewise.
42176         * io/lseek64.c: Likewise.
42177         * io/lxstat64.c: Likewise.
42178         * io/mkdir.c: Likewise.
42179         * io/mkdirat.c: Likewise.
42180         * io/mkfifo.c: Likewise.
42181         * io/mkfifoat.c: Likewise.
42182         * io/open.c: Likewise.
42183         * io/open64.c: Likewise.
42184         * io/openat.c: Likewise.
42185         * io/openat64.c: Likewise.
42186         * io/pipe.c: Likewise.
42187         * io/pipe2.c: Likewise.
42188         * io/poll.c: Likewise.
42189         * io/posix_fadvise.c: Likewise.
42190         * io/posix_fadvise64.c: Likewise.
42191         * io/posix_fallocate.c: Likewise.
42192         * io/posix_fallocate64.c: Likewise.
42193         * io/read.c: Likewise.
42194         * io/readlink.c: Likewise.
42195         * io/readlinkat.c: Likewise.
42196         * io/rmdir.c: Likewise.
42197         * io/sendfile.c: Likewise.
42198         * io/sendfile64.c: Likewise.
42199         * io/statfs.c: Likewise.
42200         * io/statfs64.c: Likewise.
42201         * io/statvfs.c: Likewise.
42202         * io/statvfs64.c: Likewise.
42203         * io/symlink.c: Likewise.
42204         * io/symlinkat.c: Likewise.
42205         * io/ttyname.c: Likewise.
42206         * io/ttyname_r.c: Likewise.
42207         * io/umask.c: Likewise.
42208         * io/unlink.c: Likewise.
42209         * io/unlinkat.c: Likewise.
42210         * io/utime.c: Likewise.
42211         * io/utimensat.c: Likewise.
42212         * io/write.c: Likewise.
42213         * io/xmknod.c: Likewise.
42214         * io/xmknodat.c: Likewise.
42215         * io/xstat.c: Likewise.
42216         * io/xstat64.c: Likewise.
42217         * login/getpt.c: Likewise.
42218         * login/grantpt.c: Likewise.
42219         * login/unlockpt.c: Likewise.
42220         * math/e_acoshl.c: Likewise.
42221         * math/e_acosl.c: Likewise.
42222         * math/e_asinl.c: Likewise.
42223         * math/e_atan2l.c: Likewise.
42224         * math/e_atanhl.c: Likewise.
42225         * math/e_coshl.c: Likewise.
42226         * math/e_expl.c: Likewise.
42227         * math/e_fmodl.c: Likewise.
42228         * math/e_gammal_r.c: Likewise.
42229         * math/e_hypotl.c: Likewise.
42230         * math/e_j0l.c: Likewise.
42231         * math/e_j1l.c: Likewise.
42232         * math/e_jnl.c: Likewise.
42233         * math/e_lgammal_r.c: Likewise.
42234         * math/e_log10l.c: Likewise.
42235         * math/e_log2l.c: Likewise.
42236         * math/e_logl.c: Likewise.
42237         * math/e_powl.c: Likewise.
42238         * math/e_rem_pio2l.c: Likewise.
42239         * math/e_sinhl.c: Likewise.
42240         * math/e_sqrtl.c: Likewise.
42241         * math/fclrexcpt.c: Likewise.
42242         * math/fedisblxcpt.c: Likewise.
42243         * math/feenablxcpt.c: Likewise.
42244         * math/fegetenv.c: Likewise.
42245         * math/fegetexcept.c: Likewise.
42246         * math/fegetround.c: Likewise.
42247         * math/feholdexcpt.c: Likewise.
42248         * math/fesetenv.c: Likewise.
42249         * math/fesetround.c: Likewise.
42250         * math/feupdateenv.c: Likewise.
42251         * math/fgetexcptflg.c: Likewise.
42252         * math/fraiseexcpt.c: Likewise.
42253         * math/fsetexcptflg.c: Likewise.
42254         * math/ftestexcept.c: Likewise.
42255         * math/k_cosl.c: Likewise.
42256         * math/k_rem_pio2l.c: Likewise.
42257         * math/k_sinl.c: Likewise.
42258         * math/k_tanl.c: Likewise.
42259         * math/s_asinhl.c: Likewise.
42260         * math/s_atanl.c: Likewise.
42261         * math/s_cbrtl.c: Likewise.
42262         * math/s_erfl.c: Likewise.
42263         * math/s_expm1l.c: Likewise.
42264         * math/s_log1pl.c: Likewise.
42265         * math/s_tanhl.c: Likewise.
42266         * misc/acct.c: Likewise.
42267         * misc/brk.c: Likewise.
42268         * misc/chflags.c: Likewise.
42269         * misc/chroot.c: Likewise.
42270         * misc/fchflags.c: Likewise.
42271         * misc/fgetxattr.c: Likewise.
42272         * misc/flistxattr.c: Likewise.
42273         * misc/fremovexattr.c: Likewise.
42274         * misc/fsetxattr.c: Likewise.
42275         * misc/fsync.c: Likewise.
42276         * misc/ftruncate.c: Likewise.
42277         * misc/futimes.c: Likewise.
42278         * misc/futimesat.c: Likewise.
42279         * misc/getdomain.c: Likewise.
42280         * misc/getdtsz.c: Likewise.
42281         * misc/gethostid.c: Likewise.
42282         * misc/gethostname.c: Likewise.
42283         * misc/getloadavg.c: Likewise.
42284         * misc/getpagesize.c: Likewise.
42285         * misc/getsysstats.c: Likewise.
42286         * misc/getxattr.c: Likewise.
42287         * misc/gtty.c: Likewise.
42288         * misc/ioctl.c: Likewise.
42289         * misc/lgetxattr.c: Likewise.
42290         * misc/listxattr.c: Likewise.
42291         * misc/llistxattr.c: Likewise.
42292         * misc/lremovexattr.c: Likewise.
42293         * misc/lsetxattr.c: Likewise.
42294         * misc/lutimes.c: Likewise.
42295         * misc/madvise.c: Likewise.
42296         * misc/mincore.c: Likewise.
42297         * misc/mlock.c: Likewise.
42298         * misc/mlockall.c: Likewise.
42299         * misc/mmap.c: Likewise.
42300         * misc/mprotect.c: Likewise.
42301         * misc/msync.c: Likewise.
42302         * misc/munlock.c: Likewise.
42303         * misc/munlockall.c: Likewise.
42304         * misc/munmap.c: Likewise.
42305         * misc/preadv.c: Likewise.
42306         * misc/preadv64.c: Likewise.
42307         * misc/ptrace.c: Likewise.
42308         * misc/pwritev.c: Likewise.
42309         * misc/pwritev64.c: Likewise.
42310         * misc/readv.c: Likewise.
42311         * misc/reboot.c: Likewise.
42312         * misc/remap_file_pages.c: Likewise.
42313         * misc/removexattr.c: Likewise.
42314         * misc/revoke.c: Likewise.
42315         * misc/select.c: Likewise.
42316         * misc/setdomain.c: Likewise.
42317         * misc/setegid.c: Likewise.
42318         * misc/seteuid.c: Likewise.
42319         * misc/sethostid.c: Likewise.
42320         * misc/sethostname.c: Likewise.
42321         * misc/setregid.c: Likewise.
42322         * misc/setreuid.c: Likewise.
42323         * misc/setxattr.c: Likewise.
42324         * misc/sstk.c: Likewise.
42325         * misc/stty.c: Likewise.
42326         * misc/swapoff.c: Likewise.
42327         * misc/swapon.c: Likewise.
42328         * misc/sync.c: Likewise.
42329         * misc/syncfs.c: Likewise.
42330         * misc/syscall.c: Likewise.
42331         * misc/truncate.c: Likewise.
42332         * misc/ualarm.c: Likewise.
42333         * misc/usleep.c: Likewise.
42334         * misc/ustat.c: Likewise.
42335         * misc/utimes.c: Likewise.
42336         * misc/vhangup.c: Likewise.
42337         * misc/writev.c: Likewise.
42338         * posix/_exit.c: Likewise.
42339         * posix/alarm.c: Likewise.
42340         * posix/execve.c: Likewise.
42341         * posix/fexecve.c: Likewise.
42342         * posix/fork.c: Likewise.
42343         * posix/fpathconf.c: Likewise.
42344         * posix/getaddrinfo.c: Likewise.
42345         * posix/getegid.c: Likewise.
42346         * posix/geteuid.c: Likewise.
42347         * posix/getgid.c: Likewise.
42348         * posix/getgroups.c: Likewise.
42349         * posix/getlogin.c: Likewise.
42350         * posix/getlogin_r.c: Likewise.
42351         * posix/getpgid.c: Likewise.
42352         * posix/getpid.c: Likewise.
42353         * posix/getppid.c: Likewise.
42354         * posix/getresgid.c: Likewise.
42355         * posix/getresuid.c: Likewise.
42356         * posix/getsid.c: Likewise.
42357         * posix/getuid.c: Likewise.
42358         * posix/glob64.c: Likewise.
42359         * posix/nanosleep.c: Likewise.
42360         * posix/pathconf.c: Likewise.
42361         * posix/pause.c: Likewise.
42362         * posix/posix_madvise.c: Likewise.
42363         * posix/pread.c: Likewise.
42364         * posix/pread64.c: Likewise.
42365         * posix/pwrite.c: Likewise.
42366         * posix/pwrite64.c: Likewise.
42367         * posix/sched_getaffinity.c: Likewise.
42368         * posix/sched_getp.c: Likewise.
42369         * posix/sched_gets.c: Likewise.
42370         * posix/sched_primax.c: Likewise.
42371         * posix/sched_primin.c: Likewise.
42372         * posix/sched_rr_gi.c: Likewise.
42373         * posix/sched_setaffinity.c: Likewise.
42374         * posix/sched_setp.c: Likewise.
42375         * posix/sched_sets.c: Likewise.
42376         * posix/sched_yield.c: Likewise.
42377         * posix/setgid.c: Likewise.
42378         * posix/setlogin.c: Likewise.
42379         * posix/setpgid.c: Likewise.
42380         * posix/setresgid.c: Likewise.
42381         * posix/setresuid.c: Likewise.
42382         * posix/setsid.c: Likewise.
42383         * posix/setuid.c: Likewise.
42384         * posix/sleep.c: Likewise.
42385         * posix/spawni.c: Likewise.
42386         * posix/sysconf.c: Likewise.
42387         * posix/times.c: Likewise.
42388         * posix/wait.c: Likewise.
42389         * posix/wait3.c: Likewise.
42390         * posix/wait4.c: Likewise.
42391         * posix/waitpid.c: Likewise.
42392         * resolv/gai_sigqueue.c: Likewise.
42393         * resource/getpriority.c: Likewise.
42394         * resource/getrlimit.c: Likewise.
42395         * resource/getrusage.c: Likewise.
42396         * resource/nice.c: Likewise.
42397         * resource/setpriority.c: Likewise.
42398         * resource/setrlimit.c: Likewise.
42399         * resource/ulimit.c: Likewise.
42400         * rt/aio_cancel.c: Likewise.
42401         * rt/aio_fsync.c: Likewise.
42402         * rt/aio_read.c: Likewise.
42403         * rt/aio_sigqueue.c: Likewise.
42404         * rt/aio_suspend.c: Likewise.
42405         * rt/aio_write.c: Likewise.
42406         * rt/clock_getres.c: Likewise.
42407         * rt/clock_gettime.c: Likewise.
42408         * rt/clock_nanosleep.c: Likewise.
42409         * rt/clock_settime.c: Likewise.
42410         * rt/lio_listio.c: Likewise.
42411         * rt/mq_close.c: Likewise.
42412         * rt/mq_getattr.c: Likewise.
42413         * rt/mq_notify.c: Likewise.
42414         * rt/mq_open.c: Likewise.
42415         * rt/mq_receive.c: Likewise.
42416         * rt/mq_send.c: Likewise.
42417         * rt/mq_setattr.c: Likewise.
42418         * rt/mq_timedreceive.c: Likewise.
42419         * rt/mq_timedsend.c: Likewise.
42420         * rt/mq_unlink.c: Likewise.
42421         * rt/shm_open.c: Likewise.
42422         * rt/shm_unlink.c: Likewise.
42423         * rt/timer_create.c: Likewise.
42424         * rt/timer_delete.c: Likewise.
42425         * rt/timer_getoverr.c: Likewise.
42426         * rt/timer_gettime.c: Likewise.
42427         * rt/timer_settime.c: Likewise.
42428         * setjmp/__longjmp.c: Likewise.
42429         * setjmp/setjmp.c: Likewise.
42430         * signal/kill.c: Likewise.
42431         * signal/killpg.c: Likewise.
42432         * signal/raise.c: Likewise.
42433         * signal/sigaction.c: Likewise.
42434         * signal/sigaltstack.c: Likewise.
42435         * signal/sigblock.c: Likewise.
42436         * signal/sigignore.c: Likewise.
42437         * signal/sigintr.c: Likewise.
42438         * signal/signal.c: Likewise.
42439         * signal/sigpause.c: Likewise.
42440         * signal/sigpending.c: Likewise.
42441         * signal/sigqueue.c: Likewise.
42442         * signal/sigreturn.c: Likewise.
42443         * signal/sigset.c: Likewise.
42444         * signal/sigsetmask.c: Likewise.
42445         * signal/sigstack.c: Likewise.
42446         * signal/sigsuspend.c: Likewise.
42447         * signal/sigtimedwait.c: Likewise.
42448         * signal/sigvec.c: Likewise.
42449         * signal/sigwait.c: Likewise.
42450         * signal/sigwaitinfo.c: Likewise.
42451         * signal/sysv_signal.c: Likewise.
42452         * socket/accept.c: Likewise.
42453         * socket/accept4.c: Likewise.
42454         * socket/bind.c: Likewise.
42455         * socket/connect.c: Likewise.
42456         * socket/getpeername.c: Likewise.
42457         * socket/getsockname.c: Likewise.
42458         * socket/getsockopt.c: Likewise.
42459         * socket/isfdtype.c: Likewise.
42460         * socket/listen.c: Likewise.
42461         * socket/recv.c: Likewise.
42462         * socket/recvfrom.c: Likewise.
42463         * socket/recvmsg.c: Likewise.
42464         * socket/send.c: Likewise.
42465         * socket/sendmsg.c: Likewise.
42466         * socket/sendto.c: Likewise.
42467         * socket/setsockopt.c: Likewise.
42468         * socket/shutdown.c: Likewise.
42469         * socket/sockatmark.c: Likewise.
42470         * socket/socket.c: Likewise.
42471         * socket/socketpair.c: Likewise.
42472         * stdio-common/ctermid.c: Likewise.
42473         * stdio-common/cuserid.c: Likewise.
42474         * stdio-common/remove.c: Likewise.
42475         * stdio-common/rename.c: Likewise.
42476         * stdio-common/renameat.c: Likewise.
42477         * stdio-common/tempname.c: Likewise.
42478         * stdlib/getcontext.c: Likewise.
42479         * stdlib/makecontext.c: Likewise.
42480         * stdlib/setcontext.c: Likewise.
42481         * stdlib/swapcontext.c: Likewise.
42482         * stdlib/system.c: Likewise.
42483         * streams/fattach.c: Likewise.
42484         * streams/fdetach.c: Likewise.
42485         * streams/getmsg.c: Likewise.
42486         * streams/getpmsg.c: Likewise.
42487         * streams/putmsg.c: Likewise.
42488         * streams/putpmsg.c: Likewise.
42489         * sysdeps/unix/bsd/getpt.c: Likewise.
42490         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
42491         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
42492         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42494         Likewise.
42495         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
42496         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42497         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
42498         * sysvipc/msgctl.c: Likewise.
42499         * sysvipc/msgget.c: Likewise.
42500         * sysvipc/msgrcv.c: Likewise.
42501         * sysvipc/msgsnd.c: Likewise.
42502         * sysvipc/semctl.c: Likewise.
42503         * sysvipc/semget.c: Likewise.
42504         * sysvipc/semop.c: Likewise.
42505         * sysvipc/semtimedop.c: Likewise.
42506         * sysvipc/shmat.c: Likewise.
42507         * sysvipc/shmctl.c: Likewise.
42508         * sysvipc/shmdt.c: Likewise.
42509         * sysvipc/shmget.c: Likewise.
42510         * termios/tcdrain.c: Likewise.
42511         * termios/tcflow.c: Likewise.
42512         * termios/tcflush.c: Likewise.
42513         * termios/tcgetattr.c: Likewise.
42514         * termios/tcgetpgrp.c: Likewise.
42515         * termios/tcsendbrk.c: Likewise.
42516         * termios/tcsetattr.c: Likewise.
42517         * termios/tcsetpgrp.c: Likewise.
42518         * time/adjtime.c: Likewise.
42519         * time/clock.c: Likewise.
42520         * time/getitimer.c: Likewise.
42521         * time/gettimeofday.c: Likewise.
42522         * time/setitimer.c: Likewise.
42523         * time/settimeofday.c: Likewise.
42524         * time/stime.c: Likewise.
42525         * time/time.c: Likewise.
42527 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
42529         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
42530         /usr/old/bin.
42532         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
42533         instead of spaces.
42534         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
42536 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
42538         [BZ #14796]
42539         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
42540         FE_TONEAREST before applying Dekker multiplication and Knuth
42541         addition.  Clear inexact exceptions and check for exact zero
42542         results afterwards.
42543         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42544         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42545         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42546         * math/libm-test.inc (fma_test): Add more tests.
42547         (fma_test_towardzero): Likewise.
42548         (fma_test_downward): Likewise.
42549         (fma_test_upward): Likewise.
42550         * sysdeps/generic/math_private.h (default_libc_fesetround): New
42551         function.
42552         (libc_fesetround): New macro.
42553         (libc_fesetroundf): Likewise.
42554         (libc_fesetroundl): Likewise.
42555         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
42556         function.
42557         (libc_fesetround_387): Likewise.
42558         (libc_fesetroundf): New macro.
42559         (libc_fesetround): Likewise.
42560         (libc_fesetroundl): Likewise.
42561         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
42562         function.
42563         (libc_fesetroundf): New macro.
42564         (libc_fesetround): Likewise.
42565         (libc_fesetroundl): Likewise.
42566         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
42567         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
42568         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
42569         libm_hidden_ver.
42570         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
42571         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
42572         libm_hidden_def.
42573         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
42574         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
42575         libm_hidden_ver.
42576         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
42577         libm_hidden_def.
42579         [BZ #3439]
42580         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
42581         integer constant usable in #if and use that to give value to enum
42582         constant.
42583         (FE_DIVBYZERO): Likewise.
42584         (FE_UNDERFLOW): Likewise.
42585         (FE_OVERFLOW): Likewise.
42586         (FE_INVALID): Likewise.
42587         (FE_INVALID_SNAN): Likewise.
42588         (FE_INVALID_ISI): Likewise.
42589         (FE_INVALID_IDI): Likewise.
42590         (FE_INVALID_ZDZ): Likewise.
42591         (FE_INVALID_IMZ): Likewise.
42592         (FE_INVALID_COMPARE): Likewise.
42593         (FE_INVALID_SOFTWARE): Likewise.
42594         (FE_INVALID_SQRT): Likewise.
42595         (FE_INVALID_INTEGER_CONVERSION): Likewise.
42596         (FE_TONEAREST): Likewise.
42597         (FE_TOWARDZERO): Likewise.
42598         (FE_UPWARD): Likewise.
42599         (FE_DOWNWARD): Likewise.
42600         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
42601         (FE_DIVBYZERO): Likewise.
42602         (FE_OVERFLOW): Likewise.
42603         (FE_UNDERFLOW): Likewise.
42604         (FE_INEXACT): Likewise.
42605         (FE_TONEAREST): Likewise.
42606         (FE_DOWNWARD): Likewise.
42607         (FE_UPWARD): Likewise.
42608         (FE_TOWARDZERO): Likewise.
42609         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
42610         (FE_UNDERFLOW): Likewise.
42611         (FE_OVERFLOW): Likewise.
42612         (FE_DIVBYZERO): Likewise.
42613         (FE_INVALID): Likewise.
42614         (FE_TONEAREST): Likewise.
42615         (FE_TOWARDZERO): Likewise.
42616         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
42617         (FE_OVERFLOW): Likewise.
42618         (FE_UNDERFLOW): Likewise.
42619         (FE_DIVBYZERO): Likewise.
42620         (FE_INEXACT): Likewise.
42621         (FE_TONEAREST): Likewise.
42622         (FE_TOWARDZERO): Likewise.
42623         (FE_UPWARD): Likewise.
42624         (FE_DOWNWARD): Likewise.
42625         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
42626         (FE_DIVBYZERO): Likewise.
42627         (FE_OVERFLOW): Likewise.
42628         (FE_UNDERFLOW): Likewise.
42629         (FE_INEXACT): Likewise.
42630         (FE_TONEAREST): Likewise.
42631         (FE_DOWNWARD): Likewise.
42632         (FE_UPWARD): Likewise.
42633         (FE_TOWARDZERO): Likewise.
42635 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
42637         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
42639 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
42641         * scripts/cross-test-ssh.sh (command): Use newlines to separate
42642         commands.  Quote $PWD.
42643         (blacklist_exports): Don't use remove_newlines.  Replace "declare
42644         -x" by "export".
42645         (remove_newlines): Remove.
42647 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
42649         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
42650         * stdlib/stdlib.h (atof): Moved to ...
42651         * include/bits/stdlib-float.h: Here.  New file.
42652         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
42653         * stdlib/bits/stdlib-float.h: New file.
42654         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
42655         -mno-sse -mno-mmx.
42656         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
42657         <xmmintrin.h>.
42659 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
42661         * conform/conformtest.pl (@headers): Add fenv.h.
42662         * conform/data/fenv.h-data: New file.
42663         * include/fenv.h [_ISOMAC]: Disable all contents of file except
42664         include of <math/fenv.h>.
42666         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
42667         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
42668         && !UNIX98].  Enables tests for XOPEN2K8.
42669         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
42670         POSIX2008]: Likewise.
42672         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
42673         (struct rusage): Do not expect type or its members.
42675         [BZ #3439]
42676         * math/math.h (FP_NAN): Define macro to integer constant usable in
42677         #if and use that to give value to enum constant.
42678         (FP_INFINITE): Likewise.
42679         (FP_ZERO): Likewise.
42680         (FP_SUBNORMAL): Likewise.
42681         (FP_NORMAL): Likewise.
42683 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
42685         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
42686         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
42687         arguments.
42689 2012-11-02  Roland McGrath  <roland@hack.frob.com>
42691         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
42692         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
42693         autoconf-time if not.
42694         * configure.in: Remove AC_PREREQ.
42696 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42698         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
42699         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
42700         of the internal implementation.
42702 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
42704         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
42705         except include of <misc/sys/syslog.h>.
42707 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
42710         function returns with a NULL context exit with zero.
42712 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42714         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
42716 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
42718         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
42719         (run_program_cmd): This.
42720         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
42721         (tst_langinfo): New variable.  Use it.
42723 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
42725         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
42726         floating point opcodes.
42728 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42730         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
42731         variable.
42733         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
42735         * sysdeps/mach/hurd/powerpc: Remove directory.
42736         * sysdeps/mach/powerpc: Likewise.
42738 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42740         * scripts/check-local-headers.sh: Ignore c++ headers.
42742 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42744         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
42745         __libc_cleanup_region_start argument.
42747 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
42749         [BZ #14784]
42750         [BZ #14785]
42751         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
42752         x * y using scaling, not as x * y + z.
42753         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42754         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42755         * math/libm-test.inc (fma_test): Add more tests.
42756         (fma_test_towardzero): Likewise.
42757         (fma_test_downward): Likewise.
42758         (fma_test_upward): Likewise.
42760 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42762         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
42764 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
42766         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
42767         New variable.
42769 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
42771         * rt/tst-shm.c (worker): Correct checking for mmap failure.
42773 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
42775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42776         Fix sort order.
42777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42778         Likewise.
42780 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42783         Fix the order of the list for glibc 2.17.
42784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42785         Likewise.
42787 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
42789         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42791 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
42793         [BZ #14610]
42794         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
42795         for low part of x being zero before using __atanl (y).
42796         * math/libm-test.inc (atan2_test): Add another test.
42798         * manual/install.texi (Configuring and compiling): Document
42799         general use of test-wrapper and test-wrapper-env.
42800         * INSTALL: Regenerated.
42802         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
42803         (__fma): Do not extract and scale down low bits on after-rounding
42804         systems when result rounded to normal precision would have normal
42805         exponent.
42806         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
42807         (__fmal): Do not extract and scale down low bits on after-rounding
42808         systems when result rounded to normal precision would have normal
42809         exponent.
42810         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
42811         (__fmal): Do not extract and scale down low bits on after-rounding
42812         systems when result rounded to normal precision would have normal
42813         exponent.
42814         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
42815         macro.
42816         (fma_test): Add more tests.
42817         (fma_test_towardzero): Likewise.
42818         (fma_test_downward): Likewise.
42819         (fma_test_upward): Likewise.
42821 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
42823         * sysdeps/i386/tininess.h: Renamed to ...
42824         * sysdeps/x86/tininess.h: This.
42825         * sysdeps/x86_64/tininess.h: Removed.
42827 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
42829         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
42830         input.  Use $(build-program-cmd).
42831         ($(objpfx)tst-array1-static.out): Likewise.
42832         ($(objpfx)tst-array2.out): Likewise.
42833         ($(objpfx)tst-array3.out): Likewise.
42834         ($(objpfx)tst-array4.out): Likewise.
42835         ($(objpfx)tst-array5.out): Likewise.
42836         ($(objpfx)tst-array5-static.out): Likewise.
42838 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
42840         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
42841         if defined.
42843         * nss/nsswitch.h (nss_interface_function): Provide new
42844         macro for use with NSS functions.
42845         * grp/initgroups.c: Use new macro.
42846         * nss/getXXbyYY.c: Likewise.
42847         * nss/getXXbyYY_r.c: Likewise.
42848         * nss/getXXent.c: Likewise.
42849         * nss/getXXent_r.c: Likewise.
42850         * sysdeps/posix/getaddrinfo.c: Likewise.
42852 2012-10-30  Andreas Jaeger  <aj@suse.de>
42854         * po/ru.po: Update Russion translation from translation project.
42856 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
42858         [BZ #14152]
42859         [BZ #14783]
42860         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
42861         result and shift together with sticky bit instead of replicating
42862         round-to-nearest rounding.
42863         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42864         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42865         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
42866         missing underflow exceptions.
42867         (fma_test_towardzero): Add more tests.
42868         (fma_test_downward): Likewise.
42869         (fma_test_upward): Likewise.
42871         [BZ #14047]
42872         * sysdeps/generic/tininess.h: New file.
42873         * sysdeps/i386/tininess.h: Likewise.
42874         * sysdeps/sh/tininess.h: Likewise.
42875         * sysdeps/x86_64/tininess.h: Likewise.
42876         * stdlib/tst-strtod-underflow.c: Likewise.
42877         * stdlib/tst-tininess.c: Likewise.
42878         * stdlib/strtod_l.c: Include <tininess.h>.
42879         (round_and_return): Do not set errno for exact underflow cases.
42880         Force an underflow exception when setting errno for underflow.
42881         Determine underflow based on rounding to normal precision if
42882         TININESS_AFTER_ROUNDING.
42883         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
42884         ERANGE for exact underflow cases.
42885         * stdlib/Makefile (tests): Add tst-tininess and
42886         tst-strtod-underflow.
42887         ($(objpfx)tst-tininess): Use $(link-libm).
42888         ($(objpfx)tst-strtod-underflow): Likewise.
42890 2012-10-30  Andreas Jaeger  <aj@suse.de>
42892         [BZ#14767]
42893         * elf/Makefile (tests): Remove conditional for have-initfini-array
42894         since this is now always required and the variable does not exist
42895         anymore.
42896         (tests-static): Likewise.
42897         (modules-names): Likewise.
42899         * po/eo.po: Add Esperanto translation from translation project.
42901         * elf/tst-array1.c (fini_array): Make writeable so that it can be
42902         merged with constructor/destructor.
42903         (init_array): Likewise.
42904         * elf/tst-array2dep.c (fini_array): Likewise.
42905         (init_array): Likewise.
42907 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
42909         * manual/message.texi: Delete @cartouche tags.
42911 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
42913         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
42914         EOPNOTSUPP.
42915         * sysdeps/mach/hurd/fsync.c: Likewise.
42917         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
42918         [_POSIX_REALTIME_SIGNALS]: Change condition to
42919         [_POSIX_REALTIME_SIGNALS > 0].
42921 2012-10-27  Andreas Jaeger  <aj@suse.de>
42923         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
42924         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
42925         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
42926         [__WORDSIZE != 64]: Likewise.
42928 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
42930         *  iconvdata/tst-table.sh: Remove ${SHELL}.
42931         *  iconvdata/tst-tables.sh: Likewise.
42933 2012-10-25  David S. Miller  <davem@davemloft.net>
42935         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42936         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
42937         of strtoull.
42939         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
42940         ifunc-impl-list.c
42941         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42942         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
42943         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
42944         file.
42946 2012-10-25  Roland McGrath  <roland@hack.frob.com>
42948         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42949         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
42950         __getdirentries.
42952 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
42953             Jim Blandy  <jimb@codesourcery.com>
42955         * scripts/cross-test-ssh.sh: New file.
42956         * manual/install.texi (Configuring and compiling): Document use of
42957         cross-test-ssh.sh.
42958         * INSTALL: Regenerated.
42960 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
42962         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
42963         EOPNOTSUPP.
42965 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
42967         * Makeconfig (run-program-prefix): Fix comment.
42969 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
42970             Jim Blandy  <jimb@codesourcery.com>
42972         * Makeconfig (test-wrapper): New variable,
42973         (test-wrapper-env): Likewise.
42974         [$(cross-compiling) = yes && $(test-wrapper) != ""]
42975         (run-built-tests): Define to yes.
42976         (run-program-prefix): Use $(test-wrapper).
42977         (built-program-cmd): Likewise.
42978         * Rules (make-test-out): Use $(test-wrapper-env) and
42979         $(host-built-program-cmd).
42980         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
42981         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
42982         tst-pathopt.sh.
42983         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
42984         $(test-wrapper-env) to tst-rtld-load-self.sh.
42985         ($(objpfx)order2.out): Use $(test-wrapper).
42986         ($(objpfx)tst-initorder.out): Likewise.
42987         ($(objpfx)tst-initorder2.out): Likewise.
42988         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
42989         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
42990         (test_wrapper_env): New variable.  Use it to run ld.so.
42991         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
42992         Use it to run ld.so.
42993         (test_wrapper_env): Likewise.
42994         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
42995         $(test-wrapper) to run-iconv-test.sh.
42996         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
42997         (ICONV): Use $test_wrapper.
42998         * posix/Makefile ($(objpfx)globtest.out): Pass
42999         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
43000         globtest.sh, not $(run-program-prefix).
43001         * posix/globtest.sh (run_via_rtld_prefix): New variable.
43002         (test_wrapper): Likewise.
43003         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
43004         set together with run_via_rtld_prefix.
43005         (run_program_prefix): Define in terms of test_wrapper and
43006         run_via_rtld_prefix.
43008 2012-10-24  Roland McGrath  <roland@hack.frob.com>
43010         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
43011         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
43012         Targets removed.
43014         [BZ #14743]
43015         * include/time.h: Remove librt_hidden_proto (clock_gettime).
43016         Declare __clock_getres, __clock_gettime, __clock_settime,
43017         __clock_nanosleep, and __clock_getcpuclockid.
43018         * rt/clock_gettime.c: Define __clock_gettime as an alias.
43019         Remove librt_hidden_def (clock_gettime).
43020         * sysdeps/unix/clock_gettime.c: Likewise.
43021         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
43022         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
43023         * rt/clock_getres.c: Define __clock_getres as an alias.
43024         * sysdeps/posix/clock_getres.c: Likewise.
43025         * rt/clock_settime.c: Define __clock_settime as an alias.
43026         * sysdeps/unix/clock_settime.c: Likewise.
43027         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
43028         * sysdeps/unix/clock_nanosleep.c: Likewise.
43029         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
43030         * rt/clock-compat.c: New file.
43031         * rt/Makefile (librt-routines): Add clock-compat and move
43032         $(clock-routines) to ...
43033         (routines): ... here, new variable.
43034         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
43035         Don't add get_clockfreq here.
43036         * rt/Versions (libc: GLIBC_2.17): New version set.
43037         Add clock_* symbols here.
43038         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
43039         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
43040         (GLIBC_2.17): Add clock_* symbols.
43041         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43042         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43043         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43045         Likewise.
43046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43047         Likewise.
43048         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43049         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43050         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43051         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43052         * NEWS: Mention the move.
43054         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
43055         Use __open, __read, __close rather than their public counterparts.
43056         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43057         (__get_clockfreq_via_cpuinfo): Likewise.
43058         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
43059         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
43061         * config.h.in (HAVE_IFUNC): New #undef.
43062         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
43063         was successful.
43064         * configure: Regenerated.
43066 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43068         * configure.in: Move READELF check to start of file.
43069         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
43070         libc_cv_asm_gnu_indirect_function in the process.
43071         * configure: Regenerated.
43073 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43075         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
43076         send the output to /dev/null.
43077         (libc_cv_cc_with_libunwind): Likewise.
43078         (libc_cv_as_noexecstack): Likewise.
43079         * configure: Regenerate.
43081 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43083         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
43085         * posix/globtest.sh (TMPDIR): Do not set.
43086         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
43087         (testout): Likewise.
43089 2012-10-24  Andreas Jaeger  <aj@suse.de>
43091         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
43092         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
43093         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
43094         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
43095         posix_fadvise64, posix_fallocate64.
43097         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
43098         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
43099         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
43100         Likewise.
43101         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
43102         Likewise.
43103         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
43105         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
43106         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
43107         <bits/fcntl-linux.h>.
43108         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
43110         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
43111         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
43112         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
43113         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
43114         [__WORDSIZE != 64]: Likewise.
43116 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43118         * Makeconfig (run-built-tests): New variable.
43119         * Rules [$(cross-compiling) = yes]: Change condition to
43120         [$(run-built-tests) = no].
43121         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
43122         to [$(run-built-tests) = yes].
43123         * elf/Makefile [$(cross-compiling) = no]: Likewise
43124         * grp/Makefile [$(cross-compiling) = no]: Likewise.
43125         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
43126         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
43127         * intl/Makefile [$(cross-compiling) = no]: Likewise.
43128         * io/Makefile [$(cross-compiling) = no]: Likewise.
43129         * libio/Makefile [$(cross-compiling) = no]: Likewise.
43130         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
43131         * misc/Makefile [$(cross-compiling) = no]: Likewise.
43132         * posix/Makefile [$(cross-compiling) = no]: Likewise.
43133         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
43134         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
43135         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
43136         * string/Makefile [$(cross-compiling) = no]: Likewise.
43138         * posix/Makefile ($(objpfx)globtest.out): Pass
43139         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
43140         $(rtld-installed-name).
43141         * posix/globtest.sh (elf_objpfx): Remove variable.
43142         (rtld_installed_name): Likewise.
43143         (library_path): Likewise.
43144         (run_program_prefix): New variable.  Use for running globtest
43145         binary.
43147 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
43148             Joseph Myers  <joseph@codesourcery.com>
43150         * Makeconfig (host-built-program-cmd): New variable.
43151         * elf/Makefile (tst-stackguard1-ARGS): Use
43152         $(host-built-program-cmd).
43153         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
43154         (tst-spawn-ARGS): Likewise.
43155         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
43157 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43158             Jim Blandy  <jimb@codesourcery.com>
43160         * Makeconfig (run-via-rtld-prefix): New variable.
43161         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
43162         (built-program-cmd): Likewise.
43164 2012-10-22  Andreas Jaeger  <aj@suse.de>
43166         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
43167         __O_RSYNC if it exists, otherwise to O_SYNC.
43169 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
43170             Joseph Myers  <joseph@codesourcery.com>
43172         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
43173         /dev/null.
43174         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
43175         from /dev/null
43176         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
43177         /dev/null.
43179 2012-10-22  Andreas Jaeger  <aj@suse.de>
43181         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
43182         Define always.
43183         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
43185         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43186         bits/fcntl-linux.h.
43188         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
43189         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
43191         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
43192         to __O_LARGEFILE.
43193         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
43194         to __O_LARGEFILE.
43196 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
43197             Joseph Myers  <joseph@codesourcery.com>
43199         * config.make.in (NM): New variable.
43201 2012-10-21  Andreas Jaeger  <aj@suse.de>
43203         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
43204         definitions and declarations that are provided by
43205         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43207 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43209         [BZ #14683]
43210         * elf/Makefile (tests-static): Add tst-leaks1-static.
43211         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
43212         ($(objpfx)tst-leaks1-static): New rule.
43213         ($(objpfx)tst-leaks1-static-mem): Likewise.
43214         (tst-leaks1-static-ENV): New macro.
43215         * elf/dl-open.c (dl_open_worker): Check the main application
43216         only if SHARED is defined.
43217         * elf/tst-leaks1-static.c: New file.
43219 2012-10-20  Andreas Jaeger  <aj@suse.de>
43221         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
43222         generic values for Linux.
43223         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
43224         and declarations that are provided by <bits/fcntl-linux.h> and
43225         include <bits/fcntl-linux.h>.
43226         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43227         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43229 2012-10-20  Roland McGrath  <roland@hack.frob.com>
43231         * io/fcntl.h: Move include of <bits/types.h> to the top and
43232         include it unconditionally.
43234 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43236         * wcsmbs/Makefile (tests-ifunc): New variable.
43237         (tests): Add $(tests-ifunc).
43238         * wcsmbs/test-wcschr-ifunc.c: New file.
43239         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
43240         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
43241         * wcsmbs/test-wcslen-ifunc.c: Likewise.
43242         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
43243         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
43245         * string/Makefile (tests-ifunc): New variable.
43246         (tests): Add $(tests-ifunc).
43247         * string/test-memccpy.c (TEST_NAME): New macro.
43248         * string/test-memchr.c (TEST_NAME): Likewise.
43249         * string/test-memcmp.c (TEST_NAME): Likewise.
43250         * string/test-memcpy.c (TEST_NAME): Likewise.
43251         * string/test-memmem.c (TEST_NAME): Likewise.
43252         * string/test-memmove.c (TEST_NAME): Likewise.
43253         * string/test-memset.c (TEST_NAME): Likewise.
43254         * string/test-rawmemchr.c (TEST_NAME): Likewise.
43255         * string/test-stpcpy.c (TEST_NAME): Likewise.
43256         * string/test-stpncpy.c (TEST_NAME): Likewise.
43257         * string/test-strcasecmp.c (TEST_NAME): Likewise.
43258         * string/test-strcasestr.c (TEST_NAME): Likewise.
43259         * string/test-strcat.c (TEST_NAME): Likewise.
43260         * string/test-strchr.c (TEST_NAME): Likewise.
43261         * string/test-strcmp.c(TEST_NAME): Likewise.
43262         * string/test-strcpy.c (TEST_NAME): Likewise.
43263         * string/test-strcspn.c (TEST_NAME): Likewise.
43264         * string/test-strlen.c (TEST_NAME): Likewise.
43265         * string/test-strncasecmp.c (TEST_NAME): Likewise.
43266         * string/test-strncmp.c (TEST_NAME): Likewise.
43267         * string/test-strncpy.c (TEST_NAME): Likewise.
43268         * string/test-strnlen.c (TEST_NAME): Likewise.
43269         * string/test-strpbrk.c (TEST_NAME): Likewise.
43270         * string/test-strrchr.c (TEST_NAME): Likewise.
43271         * string/test-strspn.c (TEST_NAME): Likewise.
43272         * string/test-strstr.c (TEST_NAME): Likewise.
43273         * string/test-bcopy-ifunc.c: New file.
43274         * string/test-bzero-ifunc.c: Likewise.
43275         * string/test-memccpy-ifunc.c: Likewise.
43276         * string/test-memchr-ifunc.c: Likewise.
43277         * string/test-memcmp-ifunc.c: Likewise.
43278         * string/test-memcpy-ifunc.c: Likewise.
43279         * string/test-memmem-ifunc.c: Likewise.
43280         * string/test-memmove-ifunc.c: Likewise.
43281         * string/test-mempcpy-ifunc.c: Likewise.
43282         * string/test-memset-ifunc.c: Likewise.
43283         * string/test-rawmemchr-ifunc.c: Likewise.
43284         * string/test-stpcpy-ifunc.c: Likewise.
43285         * string/test-stpncpy-ifunc.c: Likewise.
43286         * string/test-strcasecmp-ifunc.c: Likewise.
43287         * string/test-strcasestr-ifunc.c: Likewise.
43288         * string/test-strcat-ifunc.c: Likewise.
43289         * string/test-strchr-ifunc.c: Likewise.
43290         * string/test-strchrnul-ifunc.c: Likewise.
43291         * string/test-strcmp-ifunc.c: Likewise.
43292         * string/test-strcpy-ifunc.c: Likewise.
43293         * string/test-strcspn-ifunc.c: Likewise.
43294         * string/test-strlen-ifunc.c: Likewise.
43295         * string/test-strncasecmp-ifunc.c: Likewise.
43296         * string/test-strncat-ifunc.c: Likewise.
43297         * string/test-strncmp-ifunc.c: Likewise.
43298         * string/test-strncpy-ifunc.c: Likewise.
43299         * string/test-strnlen-ifunc.c: Likewise.
43300         * string/test-strpbrk-ifunc.c: Likewise.
43301         * string/test-strrchr-ifunc.c: Likewise.
43302         * string/test-strspn-ifunc.c: Likewise.
43303         * string/test-strstr-ifunc.c: Likewise.
43305         * debug/Makefile (tests-ifunc): New variable.
43306         (tests): Add $(tests-ifunc).
43307         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
43308         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
43309         * debug/test-stpcpy_chk-ifunc.c: New file.
43310         * debug/test-strcpy_chk-ifunc.c: Likewise.
43312 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43314         [BZ #13601]
43315         * elf/dl-load.c (open_verify): Retry read if the entire ELF
43316         header is not read in.
43318 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
43320         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
43321         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
43322         directly.  Pass built executable to script as
43323         $(built-program-cmd).
43324         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
43325         $testprogram without using LD_LIBRARY_PATH and $ldso.
43327         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
43328         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
43329         $(rtld-installed-name).
43330         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
43331         (rtld_installed_name): Likewise.
43332         (library_path): Likewise.
43333         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
43334         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
43335         $(run-program-prefix) to tst-tables.sh.
43336         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
43337         it to run tst-table-from and tst-table-to.
43338         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
43339         Pass it to tst-table.sh.
43340         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
43341         $(run-program-prefix) to tst-gettext.sh.
43342         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
43343         tst-translit.sh.
43344         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
43345         tst-gettext2.sh.
43346         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
43347         to run tst-gettext.
43348         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
43349         to run tst-gettext2.
43350         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
43351         to run tst-translit.
43352         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
43353         $(run-program-prefix) to tst-mtrace.sh.
43354         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
43355         to run tst-mtrace.
43356         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
43357         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
43358         $(rtld-installed-name).
43359         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
43360         (rtld_installed_name): Likewise.
43361         (run_program_prefix): New variable.  Use it to run wordexp-test.
43363         * Makeconfig (ARCH): Remove all definitions.
43364         (machine): Likewise.
43365         [ARCH]: Remove conditional code.
43366         [!objdir]: Give error.
43367         [!objdir] (objpfx): Remove.
43368         [!objdir] (common-objpfx): Likewise.
43369         [!objdir] (common-objdir): Likewise.
43370         * configure.in (config_makefile): Remove.  Hardcode Makefile in
43371         AC_CONFIG_FILES call.
43372         * configure: Regenerated.
43374         [BZ #13888]
43375         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
43376         or TMPDIR.
43377         (testout): Likewise.
43379         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
43380         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
43381         $(rtld-installed-name).
43382         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
43383         (rtld_installed_name): Likwise.
43384         (runit): Remove function.
43385         (run_getconf): New variable,  Use it for running getconf binary.
43387 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
43389         [BZ #14716]
43390         * string/test-memmem.c (check_result): New function.
43391         (do_one_test): Use it.
43392         (check1): New function.
43393         (test_main): Use it.
43395 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
43397         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
43399 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
43401         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
43402         (_G_LSEEK64): Likewise.
43403         (_G_MMAP64): Likewise.
43404         (_G_FSTAT64): Likewise.
43405         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
43406         (_G_LSEEK64): Likewise.
43407         (_G_MMAP64): Likewise.
43408         (_G_FSTAT64): Likewise.
43409         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
43410         unconditional.  Call __mmap64 directly.
43411         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
43412         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
43413         __lseek64 directly.
43414         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
43415         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
43416         __mmap64 directly.
43417         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
43418         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
43419         __lseek64 directly.
43420         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
43421         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
43422         __lseek64 directly.
43423         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
43424         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
43425         __lseek64 directly.
43426         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
43427         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
43428         __fxstat64 directly.
43429         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
43430         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
43431         unconditional.
43432         (freopen64) [!_G_OPEN64]: Remove conditional code.
43433         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
43434         unconditional.
43435         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
43436         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
43437         unconditional.
43438         (ftello64) [!_G_LSEEK64]: Remove conditional code.
43439         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
43440         unconditional.
43441         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
43442         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
43443         unconditional.
43444         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
43445         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
43446         unconditional.
43447         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
43448         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
43449         unconditional.
43450         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
43451         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
43452         unconditional.
43453         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
43455 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43457         [BZ #12140]
43458         * manual/memory.texi (Malloc Tunable Parameters): Add note
43459         about free list pointers overwriting some perturb bytes.
43460         Wording suggested by Roland McGrath.
43462 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
43464         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
43465         (lgamma_test): Likewise.
43466         (tgamma_test): Likewise.
43468 2012-10-16  Florian Weimer  <fweimer@redhat.com>
43470         [BZ #14700]
43471         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
43472         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
43474 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
43476         * NEWS: Mention BZ #14716.
43477         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
43478         when removing AVAILABLE1_USES_J macro.
43480 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
43482         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
43483         (__bswap_64): __uint64_t for unsigned 64-bit int.
43485 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
43487         * include/string.h (memmem): Declare libc hidden alias.
43488         * string/memmem.c (memmem): Define libc hidden alias.
43489         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
43490         __read, __close instead of open, read, close.
43492 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
43494         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
43495         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
43496         global and hidden.
43497         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
43498         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
43499         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
43500         Likewise.
43501         (__rawmemchr_sse2): Likewise.
43502         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
43503         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
43504         (__strchr_sse2): Likewise.
43505         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
43506         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
43507         (__strcasecmp_sse2): Likewise.
43508         (__strncasecmp_sse2): Likewise.
43509         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
43510         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
43511         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
43512         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
43513         (__strrchr_sse2): Likewise.
43514         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
43515         ifunc-impl-list.c.
43516         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
43517         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
43518         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
43519         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43520         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
43521         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
43522         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43523         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43524         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
43525         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
43526         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
43527         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
43528         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
43529         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
43530         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
43531         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43532         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
43533         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
43534         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
43535         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
43536         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
43537         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
43538         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
43539         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
43540         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
43541         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43542         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
43543         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43544         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
43545         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
43547         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
43548         global and hidden.
43549         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
43550         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
43551         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
43552         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
43553         Likewise.
43554         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
43555         Likewise.
43556         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
43557         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
43558         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
43559         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
43560         ifunc-impl-list.c.
43561         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43562         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43563         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43564         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43565         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43566         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43567         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43568         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43569         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43570         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43571         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43572         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43573         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43574         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
43575         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
43576         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43577         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
43578         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
43579         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43580         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43581         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43582         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43583         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43584         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43585         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43586         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
43587         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
43588         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
43589         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
43590         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43591         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
43592         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43593         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43594         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
43595         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43596         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43597         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43598         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43599         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43600         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43601         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
43603         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
43604         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
43605         * include/ifunc-impl-list.h: New file.
43606         * misc/ifunc-impl-list.c: Likewise.
43607         * misc/Makefile (routines): Add ifunc-impl-list.
43608         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
43609         * string/test-string.h: Include <ifunc-impl-list.h>.
43610         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
43611         TEST_NAME]: New variables.
43612         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
43613         are defined.
43614         (test_init): Call __libc_ifunc_impl_list to initialize
43615         func_list if TEST_IFUNC and TEST_NAME are defined.
43617         * string/Makefile (strop-tests): Add bcopy and bzero.
43618         * string/test-bcopy.c: New file.
43619         * string/test-bzero.c: Likewise.
43620         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
43621         defined.
43622         * string/test-memset.c: Support bzero test if TEST_BZERO is
43623         defined.
43624         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
43625         __libc_memmove.
43626         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
43627         __libc_memset.
43628         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
43629         of memset.
43631 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
43633         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
43634         * configure: Regenerated.
43636         * Makeconfig (+link-static-before-libc): Don't include
43637         $(link-static-libc).
43639         * libio/libio.h (_IO_pos_t): Remove.
43641 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43643         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
43644         McGrath.
43646 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43648         * crypt/crypt-entry.c: Include fips-private.h.
43649         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
43650         * crypt/md5c-test.c (main): Tolerate disabled MD5.
43651         * sysdeps/unix/sysv/linux/fips-private.h: New file.
43652         * sysdeps/generic/fips-private.h: New file, dummy fallback.
43654 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43656         * crypt/crypt-private.h: Include stdbool.h.
43657         (_ufc_setup_salt_r): Return bool.
43658         * crypt/crypt-entry.c: Include errno.h.
43659         (__crypt_r): Return NULL with EINVAL for bad salt.
43660         * crypt/crypt_util.c (bad_for_salt): New.
43661         (_ufc_setup_salt_r): Check that salt is long enough and within
43662         the specified alphabet.
43663         * crypt/badsalttest.c: New file.
43664         * crypt/Makefile (tests): Add it.
43665         ($(objpfx)badsalttest): New.
43667 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
43669         * NEWS: Add entry for BZ #14602.
43671 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
43673         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
43674         type-generic.
43675         * math/libm-test.inc: Update comment listing what functions and
43676         macros are tested.
43677         (isgreater_test): New function.
43678         (isgreaterequal_test): Likewise.
43679         (isless_test): Likewise.
43680         (islessequal_test): Likewise.
43681         (islessgreater_test): Likewise.
43682         (isunordered_test): Likewise.
43683         (main): Call the new functions.
43685 2012-10-09  Roland McGrath  <roland@hack.frob.com>
43687         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
43688         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
43689         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
43690         * sysdeps/i386/configure: Regenerated.
43691         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
43692         * sysdeps/mach/configure: Regenerated.
43693         * sysdeps/mach/hurd/configure: Regenerated.
43694         * sysdeps/powerpc/configure: Regenerated.
43695         * sysdeps/powerpc/powerpc32/configure: Regenerated.
43696         * sysdeps/powerpc/powerpc64/configure: Regenerated.
43697         * sysdeps/s390/s390-32/configure: Regenerated.
43698         * sysdeps/s390/s390-64/configure: Regenerated.
43699         * sysdeps/sh/configure: Regenerated.
43700         * sysdeps/sparc/configure: Regenerated.
43701         * sysdeps/unix/sysv/linux/configure: Regenerated.
43702         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
43703         * sysdeps/x86_64/configure: Regenerated.
43705         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
43706         defined.  Don't check if MAP is NULL.
43708 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
43710         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
43711         (_G_stat64): Likewise.
43712         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
43713         (_G_stat64): Likewise.
43714         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
43715         instead of struct _G_stat64.
43716         * libio/fileops.c (mmap_remap_check): Likewise.
43717         (decide_maybe_mmap): Likewise.
43718         (_IO_new_file_seekoff): Likewise.
43719         (_IO_file_stat): Likewise.
43720         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
43721         _G_off64_t.
43722         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
43723         instead of struct _G_stat64.
43724         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43726 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
43728         [BZ #14602]
43729         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43730         Replace with ...
43731         (CHECK_EOL): New macro.
43732         (two_way_short_needle): Check beginning of haystack for EOL.  Use
43733         CHECK_EOL.
43734         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43735         Replace with CHECK_EOL.
43736         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43737         Replace with CHECK_EOL.
43739 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
43741         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
43742         type-generic.
43743         * math/libm-test.inc: Update comment listing what functions and
43744         macros are tested.
43745         (finite_test): New function.
43746         (isinf_test): Likewise.
43747         (isnan_test): Likewise.
43748         (fpclassify_test): Test subnormal input.
43749         (isfinite_test): Likewise.
43750         (isnormal_test): Likewise.
43751         (main): Call the new functions.
43753 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
43755         [BZ #14660]
43756         * Makerules (%.dynsym): Force C locale when running
43757         $(OBJDUMP) --dynamic-syms.
43759 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
43761         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
43762         <stdint.h>.
43764 2012-10-06  David S. Miller  <davem@davemloft.net>
43766         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
43767         upper 32-bits of the length value in %o2 since we use branch-on-register
43768         tests which consider the entire 64-bit register.
43770 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
43772         * string/test-strstr.c (check2): Add a test for page boundary.
43774 2012-10-05  David S. Miller  <davem@davemloft.net>
43776         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
43777         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
43778         file.
43779         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
43780         sysdep_routines.
43781         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
43782         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
43783         and bzero when HWCAP_SPARC_CRYPTO is present.
43785 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
43787         [BZ #14602]
43788         * string/test-strstr.c (check2): New function.
43789         (test_main): Call check2.
43791         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
43792         and bug-strchr1.
43793         * string/bug-strcasestr1.c (do_test): Moved to ...
43794         * string/test-strcasestr.c (check1): Here.  New function.
43795         (do_one_test): Break out result checking code into ...
43796         (check_result): This.  New function.
43797         (do_one_test): Call check_result.
43798         (test_main): Call check1.
43799         * string/bug-strchr1.c (do_test): Moved to ...
43800         * string/test-strchr.c (check1): Here.  New function.
43801         (do_one_test): Break out result checking code into ...
43802         (check_result): This.  New function.
43803         (do_one_test): Call check_result.
43804         (test_main): Call check1.
43805         * string/bug-strstr1.c (main): Moved to ...
43806         * string/test-strstr.c (check1): Here.  New function.
43807         (do_one_test): Break out result checking code into ...
43808         (check_result): This.  New function.
43809         (do_one_test): Call check_result.
43810         (test_main): Call check1.
43811         * string/bug-strcasestr1.c: Removed.
43812         * string/bug-strchr1.c: Likewise.
43813         * string/bug-strstr1.c: Likewise.
43815         * elf/Makefile (dl-routines): Add hwcaps.
43816         * elf/dl-support.c (_dl_important_hwcaps): Removed.
43817         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
43818         (_dl_important_hwcaps): Moved to ...
43819         * elf/dl-hwcaps.c: Here.  New file.
43820         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
43822         [BZ #14557]
43823         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
43824         if IS_IN_rtld isn't defined.
43826         * elf/dl-support.c (_dl_sysinfo_map): New.
43827         Include "get-dynamic-info.h" and "setup-vdso.h".
43828         (_dl_non_dynamic_init): Call setup_vdso.
43829         * elf/dynamic-link.h: Don't include <assert.h>.
43830         (elf_get_dynamic_info): Moved to ...
43831         * elf/get-dynamic-info.h: Here.  New file.
43832         * elf/dynamic-link.h: Include "get-dynamic-info.h".
43833         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
43834         * elf/setup-vdso.h: Here.  New file.
43835         * elf/rtld.c: Include "setup-vdso.h".
43836         (dl_main): Call setup_vdso.
43838 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
43840         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
43841         creal in comment listing functions tested.  List finite, isinf,
43842         isnan, isless, islessequal, isgreater, isgreaterequal,
43843         islessgreater, isunordered, lgamma_r and pow10 as functions and
43844         macros not tested.  Mention which functions not tested are aliases
43845         for other functions.  Fix typo.  Note that signs of NaNs are not
43846         tested.
43848         * scripts/config.guess: Update from config.git.
43849         * scripts/config.sub: Likewise.
43851 2012-10-04  Roland McGrath  <roland@hack.frob.com>
43853         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
43854         * misc/madvise.c (madvise): Renamed to __madvise.
43855         Make madvise a weak alias.
43856         * include/sys/mman.h: Declare __madvise.
43857         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
43858         * sysdeps/unix/syscalls.list
43859         (madvise): Make __madvise the strong name, and madvise a weak alias.
43860         * sysdeps/unix/sysv/linux/syscalls.list
43861         (madvise, mmap): Remove redundant entries.
43862         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
43863         * malloc/malloc.c (mtrim): Likewise.
43864         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
43866 2012-10-03  Roland McGrath  <roland@hack.frob.com>
43868         * sysdeps/mach/hurd/dl-cache.c: File removed.
43869         * config.h.in (USE_LDCONFIG): New #undef.
43870         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
43871         * configure: Regenerated.
43872         * elf/Makefile (dl-routines): Add dl-cache only under
43873         [$(use-ldconfig) = yes].
43874         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
43875         cache on [USE_LDCONFIG].
43876         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
43877         [USE_LDCONFIG].
43878         * elf/rtld.c (dl_main): Likewise.
43880 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
43882         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
43883         _SC_LEVEL4_CACHE_LINESIZE.
43885 2012-10-03  Roland McGrath  <roland@hack.frob.com>
43887         * sysdeps/unix/bsd/confstr.h: File removed.
43889 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
43891         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
43892         sys/sdt-config.h.
43894 2012-10-02  Roland McGrath  <roland@hack.frob.com>
43896         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
43897         Make 'mapoff' field ElfW(Off) rather than off_t.
43899 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
43901         * nscd/Makefile: Remove nscd-cflags and all its users.
43902         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
43903         (CFLAGS-nonlib): Add compiler flags for nscd modules.
43905         [BZ #10631]
43906         * malloc.c (malloc_printerr): Clarify error message.
43908 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
43910         [BZ #14648]
43911         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43912         Set bit_FMA_Usable if FMA is supported.
43913         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
43914         macro.
43915         (bit_FMA4_Usable): Updated.
43916         (index_FMA_Usable): New macro.
43917         (CPUID_FMA): Likewise
43918         (HAS_FMA): Defined with bit_FMA_Usable.
43920 2012-10-01  Roland McGrath  <roland@hack.frob.com>
43922         * bits/types.h (__swblk_t): Type removed.
43923         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
43924         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
43925         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43926         (__SWBLK_T_TYPE): Likewise.
43927         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43928         (__SWBLK_T_TYPE): Likewise.
43929         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43930         (__SWBLK_T_TYPE): Likewise.
43931         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43932         (__SWBLK_T_TYPE): Likewise.
43934 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
43935             Honza Horak <hhorak@redhat.com>
43937         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
43938         (xdr_mapname): Use YPMAXMAP as maxsize.
43939         (xdr_peername): Use YPMAXPEER as maxsize.
43940         (xdr_keydat): Use YPAXRECORD as maxsize.
43941         (xdr_valdat): Use YPMAXRECORD as maxsize.
43943 2012-10-01  Roland McGrath  <roland@hack.frob.com>
43945         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
43947         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
43948         * csu/init-first.c: ... here.
43949         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
43950         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
43951         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
43952         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
43953         * sysdeps/i386/init-first.c: File removed.
43954         * sysdeps/sh/init-first.c: File removed.
43956 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
43958         [BZ #14645]
43959         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
43960         if x * y might underflow to zero and z is zero.
43961         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43962         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43963         * math/libm-test.inc (min_subnorm_value): New variable.
43964         (fma_test): Add more tests.
43965         (fma_test_towardzero): Likewise.
43966         (fma_test_downward): Likewise
43967         (fma_test_upward): Likewise.
43968         (initialize): Set min_subnorm_value.
43970 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
43972         [BZ #14638]
43973         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
43974         0 + 0.
43975         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
43976         mode for addition resulting in exact zero.
43977         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
43978         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
43979         exact 0 + 0.
43980         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43981         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43982         * math/libm-test.inc (fma_test): Add more tests.
43983         (fma_test_towardzero): New function.
43984         (fma_test_downward): Likewise.
43985         (fma_test_upward): Likewise.
43986         (main): Call the new functions.
43988 2012-09-28  David S. Miller  <davem@davemloft.net>
43990         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
43992 2012-09-28  Roland McGrath  <roland@hack.frob.com>
43994         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
43995         instead of SIGALRM.
43997         * sysdeps/gnu/_G_config.h: Moved to ...
43998         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
43999         * sysdeps/mach/hurd/_G_config.h: Moved to ...
44000         * sysdeps/generic/_G_config.h: ... here.
44002         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
44004         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
44006         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
44007         Conditionalize target on [libnss_test1.so-version].
44009         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
44011         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
44012         (elfobjdir): Move out of conditionals.
44014         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
44015         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
44016         (__nss_lookup_function): Conditionalize label remove_from_tree on
44017         [!DO_STATIC_NSS || SHARED], matching its only use.
44019 2012-09-28  David S. Miller  <davem@davemloft.net>
44021         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
44022         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
44023         file.
44024         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44025         sysdep_routines.
44026         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44027         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
44028         when HWCAP_SPARC_CRYPTO is present.
44030 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44032         * io/tst-mknodat.c: Create a FIFO instead of a socket.
44034 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
44036         [BZ #6530]
44037         * stdio-common/vfprintf.c (process_string_arg): Revert
44038         2000-07-22 change.
44040 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
44042         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
44043         for testcase.
44044         * stdio-common/tst-sprintf.c: Include <locale.h>
44045         (main): Test sprintf's handling of incomplete multibyte
44046         characters.
44048 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
44050         * elf/dl-runtime.c (VERSYMIDX): Removed.
44051         * elf/dl-version.c (VERSYMIDX): Likewise.
44052         * elf/do-rel.h (VERSYMIDX): Likewise.
44053         (VALIDX): Likewise.
44054         * elf/dynamic-link.h (VERSYMIDX): Likewise.
44055         * elf/rtld.c (VALIDX): Likewise.
44056         (ADDRIDX): Likewise.
44057         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
44058         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
44059         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
44060         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
44061         (VALIDX): Likewise.
44062         (ADDRIDX): Likewise.
44064 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44066         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
44068 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
44070         [BZ #11438]
44071         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
44072         to global scope.
44073         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
44074         addresses are in the same scope as 192.0.2/24.
44075         * posix/gai.conf: Document new scope table defaults.
44077 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44079         [BZ #5298]
44080         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
44081         for ftell.  Compute offsets from write pointers instead.
44082         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44084 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44086         [BZ #14543]
44087         * libio/Makefile (tests): New test case tst-fseek.
44088         * libio/tst-fseek.c: New test case to verify that fseek/ftell
44089         combination works in wide mode.
44090         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
44091         state when the external buffer state changes.
44093 2012-09-27  David S. Miller  <davem@davemloft.net>
44095         [BZ #14376]
44096         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
44097         pass reloc->r_addend in as the 'high' argument to
44098         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
44100         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44102 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44104         * rt/tst-aio2.c: Include <pthread.h>.
44105         * rt/tst-aio3.c: Likewise.
44107 2012-09-27  Steve Ellcey  <sellcey@mips.com>
44109         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
44111 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
44113         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
44114         contents on [SHARED].
44116 2012-09-26  Marek Polacek  <polacek@redhat.com>
44118         [BZ #14530]
44119         [BZ #13741]
44120         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
44121         for C++ and GCC <4.3 as well as for non GCC compilers.
44123 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
44125         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44127 2012-09-25  Roland McGrath  <roland@hack.frob.com>
44129         * Makefile.in (all, install): Declare with .PHONY.
44130         Reported by Michael Hope <michael.hope@linaro.org>.
44132 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44134         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
44135         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
44136         system header.
44137         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
44138         Likewise.
44139         (sydep_routines): Add the new and the internal functions.
44140         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
44141         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
44142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
44143         (GLIBC_2.17): Add the new function.
44144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44145         (GLIBC_2.17): Likewise.
44146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
44147         (GLIBC_2.17): Likewise.
44148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
44149         (GLIBC_2.17): Likewise.
44150         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
44152 2012-09-25  Alan Modra  <amodra@gmail.com>
44154         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
44155         Add release barrier before setting once_control to say
44156         initialisation is done.  Add hints on lwarx.  Use macro in
44157         place of isync.
44158         (clear_once_control): Add release barrier.
44160 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44162         [BZ #13629]
44163         * math/s_clog.c (__clog): Handle more values close to |z| = 1
44164         specially.
44165         * math/s_clog10.c (__clog10): Likewise.
44166         * math/s_clog10f.c (__clog10f): Likewise.
44167         * math/s_clog10l.c (__clog10l): Likewise.
44168         * math/s_clogf.c (__clogf): Likewise.
44169         * math/s_clogl.c (__clogl): Likewise.
44170         * math/Makefile (libm-calls): Add x2y2m1.
44171         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
44172         (__x2y2m1): Likewise.
44173         (__x2y2m1l): Likewise.
44174         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
44175         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
44176         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
44177         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
44178         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
44179         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
44180         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
44181         * sysdeps/i386/fpu/libm-test-ulps: Update.
44182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44184         [BZ #14621]
44185         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
44186         int as type of variable DEPTH.
44187         (glob): Use size_t instead of int as type of variables NEWCOUNT
44188         and OLD_PATHC.
44190 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44192         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44193         Add s_sincosf-sse2.
44194         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
44195         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
44196         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
44197         macros for using routine as __sincosf_ia32.
44198         Use macro for function declaration and weak_alias.
44199         * sysdeps/i386/fpu/libm-test-ulps: Update.
44201         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
44202         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44204         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
44205         subnormal argument.
44206         * math/s_cexpf.c (__cexpf): Likewise.
44207         * math/s_csinf.c (__csinf): Likewise.
44208         * math/s_csinhf.c (__csinhf): Likewise.
44209         * math/s_ctanf.c (__ctanf): Likewise.
44210         * math/s_ctanhf.c (__ctanhf): Likewise.
44211         * math/s_ccosh.c (__ccoshf): Likewise.
44212         * math/s_cexp.c (__cexpl): Likewise.
44213         * math/s_csin.c (__csin): Likewise.
44214         * math/s_csinh.c (__csinh): Likewise.
44215         * math/s_ctan.c (__ctan): Likewise.
44216         * math/s_ctanh.c (ctanh): Likewise.
44217         * math/s_ccoshl.c (__ccoshl): Likewise.
44218         * math/s_cexpl.c (__cexpl): Likewise.
44219         * math/s_csinl.c (__csinl): Likewise.
44220         * math/s_csinhl.c (__csinhl): Likewise.
44221         * math/s_ctanl.c (__ctanl): Likewise.
44222         * math/s_ctanhl.c (__ctanhl): Likewise.
44224 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44226         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
44227         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
44228         (_IO_off_t): Define to __off_t, not _G_off_t.
44229         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
44230         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
44231         (_IO_wint_t): Define to wint_t, not _G_wint_t.
44232         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
44233         type of __dummy and __dummy2 fields.
44234         * sysdeps/generic/_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.
44241         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
44242         (_G_ssize_t): Likewise.
44243         (_G_off_t): Likewise.
44244         (_G_pid_t): Likewise.
44245         (_G_uid_t): Likewise.
44246         (_G_wchar_t): Likewise.
44247         (_G_wint_t): Likewise.
44248         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
44249         (_G_ssize_t): Likewise.
44250         (_G_off_t): Likewise.
44251         (_G_pid_t): Likewise.
44252         (_G_uid_t): Likewise.
44253         (_G_wchar_t): Likewise.
44254         (_G_wint_t): Likewise.
44256 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44258         * malloc/arena.c: Include malloc-sysdep.h.
44259         (shrink_heap): Use check_may_shrink_heap to decide if madvise
44260         is sufficient to shrink the heap or an unmap is needed.
44261         * sysdeps/generic/malloc-sysdep.h: New file.  Define
44262         new function check_may_shrink_heap.
44263         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
44264         new function check_may_shrink_heap.
44266 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44268         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
44269         comments.
44271 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
44273         * catgets/test-gencat.sh: Add "set -e".
44274         * elf/tst-pathopt.sh: Likewise.
44275         * grp/tst_fgetgrent.sh: Likewise.
44276         * iconvdata/run-iconv-test.sh: Likewise.
44277         * intl/tst-gettext.sh: Likewise.
44278         * intl/tst-gettext2.sh: Likewise.
44279         * intl/tst-gettext4.sh: Likewise.
44280         * intl/tst-gettext6.sh: Likewise.
44281         * intl/tst-translit.sh: Likewise.
44282         * io/ftwtest-sh: Likewise.
44283         * libio/test-freopen.sh: Likewise.
44284         * malloc/tst-mtrace.sh: Likewise.
44285         * posix/globtest.sh: Likewise.
44286         * posix/tst-getconf.sh: Likewise.
44287         * posix/wordexp-tst.sh: Likewise.
44288         * stdio-common/tst-printf.sh: Likewise.
44289         * stdio-common/tst-unbputc.sh: Likewise.
44290         * stdlib/tst-fmtmsg.sh: Likewise.
44291         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44292         * catgets/Makefile: Do not specify -e option when running
44293         testsuite shell scripts.
44294         * elf/Makefile: Likewise.
44295         * grp/Makefile: Likewise.
44296         * iconvdata/Makefile: Likewise.
44297         * intl/Makefile: Likewise.
44298         * io/Makefile: Likewise.
44299         * libio/Makefile: Likewise.
44300         * malloc/Makefile: Likewise.
44301         * posix/Makefile: Likewise.
44302         * stdio-common/Makefile: Likewise.
44303         * stdlib/Makefile: Likewise.
44304         * sysdeps/x86_64/Makefile: Likewise.
44306         * io/ftwtest-sh: Add copyright header.
44307         * posix/globtest.sh: Likewise.
44308         * posix/tst-getconf.sh: Likewise.
44309         * posix/wordexp-tst.sh: Likewise.
44310         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44312 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
44314         [BZ #13679]
44315         * Makeconfig (+link): Defined as $(+link-static) if
44316         $(build-shared) isn't yes.
44317         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
44318         isn't yes.
44319         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
44321         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
44323         [BZ #14562]
44324         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
44325         new chunk size with MALLOC_ALIGN_MASK.
44327 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
44329         [BZ #5044]
44330         * stdio-common/printf_fphex.c: Include <stdbool.h> and
44331         <rounding-mode.h>.
44332         (__printf_fphex): Determine rounding using get_rounding_mode and
44333         round_away.
44334         * stdio-common/tst-printf-round.c (struct hex_test): New
44335         structure.
44336         (hex_tests): New variable.
44337         (test_hex_in_one_mode): New function.
44338         (do_test): Also run tests for hex float output.
44340 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
44342         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44343         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44344         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
44345         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44346         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44347         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
44348         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44349         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44351 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
44353         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
44354         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
44355         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
44356         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
44358 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
44360         [BZ #14579]
44361         * elf/rtld.c (dl_main): Limit the check for self loading to normal
44362         mode only.
44363         * elf/tst-rtld-load-self.sh: New test.
44364         * elf/Makefile: Run it.
44366 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
44368         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
44369         (tst-writev-ENV): Remove.
44370         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
44372 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
44374         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
44376 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
44378         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
44379         unconditional.
44380         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
44381         Likewise.
44382         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
44383         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
44384         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
44385         Likewise.
44387 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
44389         [BZ #14587]
44390         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
44391         * config.make.in (have-cpp-asm-debuginfo): Removed.
44392         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
44393         * configure: Regenerated.
44395 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
44397         [BZ #5044]
44398         * stdio-common/printf_fp.c: Include <stdbool.h> and
44399         <rounding-mode.h>.
44400         (___printf_fp): Determine rounding using get_rounding_mode and
44401         round_away.
44402         * stdio-common/tst-printf-round.c: New file.
44403         * stdio-common/Makefile (tests): Add tst-printf-round.
44404         (link-libm): New variable.
44405         ($(objpfx)tst-printf-round): Depend in $(link-libm).
44407 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
44409         [BZ #14576]
44410         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
44411         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
44412         Likewise.
44413         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
44414         Likewise.
44416 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
44418         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
44419         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44420         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44421         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44423 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
44425         [BZ #14518]
44426         * include/rounding-mode.h: New file.
44427         * sysdeps/generic/get-rounding-mode.h: Likewise.
44428         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
44429         * stdlib/strtod_l.c: Include <rounding-mode.h>.
44430         (MAX_VALUE): New macro.
44431         (MIN_VALUE): Likewise.
44432         (overflow_value): New function.
44433         (underflow_value): Likewise.
44434         (round_and_return): Use overflow_value and underflow_value to
44435         determine return values in overflow and underflow cases.  Use
44436         round_away to determine rounding depending on rounding mode.
44437         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
44438         determine return values in overflow and underflow cases.
44439         * stdlib/tst-strtod-round.c: Include <fenv.h>.
44440         (struct test_results): New structure.
44441         (struct test): Use struct test_results to store expected results
44442         for all rounding modes.
44443         (TEST): Include expected results for all rounding modes.
44444         (test_in_one_mode): New function.
44445         (do_test): Use test_in_one_mode to compute and check results.
44446         Check results for all rounding modes.
44447         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
44448         $(link-libm).
44450 2012-12-09  Allan McRae  <allan@archlinux.org>
44452         * sysdeps/i386/fpu/libm-test-ulps: Update
44454 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
44456         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
44457         (_G_int32_t): Likewise.
44458         (_G_uint16_t): Likewise.
44459         (_G_uint32_t): Likewise.
44460         (_G_HAVE_BOOL): Likewise.
44461         (_G_HAVE_ATEXIT): Likewise.
44462         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44463         (_G_HAVE_IO_FILE_OPEN): Likewise.
44464         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
44465         (_G_int32_t): Likewise.
44466         (_G_uint16_t): Likewise.
44467         (_G_uint32_t): Likewise.
44468         (_G_HAVE_BOOL): Likewise.
44469         (_G_HAVE_ATEXIT): Likewise.
44470         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44471         (_G_HAVE_IO_FILE_OPEN): Likewise.
44472         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
44473         (_G_int32_t): Likewise.
44474         (_G_uint16_t): Likewise.
44475         (_G_uint32_t): Likewise.
44476         (_G_HAVE_BOOL): Likewise.
44477         (_G_HAVE_ATEXIT): Likewise.
44478         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44479         (_G_HAVE_IO_FILE_OPEN): Likewise.
44481 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
44483         * csu/libc-tls.c: Update copyright years.
44485 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
44487         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
44488         [!_G_USING_THUNKS]: Remove conditional code.
44489         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
44490         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
44492         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
44493         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
44494         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44495         (_G_VTABLE_LABEL_PREFIX): Likewise.
44496         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44497         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44498         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44499         (_G_VTABLE_LABEL_PREFIX): Likewise.
44500         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
44501         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44502         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44503         (_G_VTABLE_LABEL_PREFIX): Likewise.
44504         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
44506 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
44508         * libio/Makefile: Include ../Makeconfig before tests.
44509         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
44510         only if $(build-shared) is yes.
44512         * iconv/gconv_db.c: Update copyright years.
44514 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44516         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
44517         unwind info if defined PIC. Fix special cases description.
44518         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
44520         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
44521         DP_HI_MASK entry.
44522         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
44524 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
44526         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
44528         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
44529         is NULL.
44531         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
44532         (LDLIBS-tst-chk4): This.
44533         (LDFLAGS-tst-chk5): Renamed to ...
44534         (LDLIBS-tst-chk5): This.
44535         (LDFLAGS-tst-chk6): Renamed to ...
44536         (LDLIBS-tst-chk6): This.
44537         (LDFLAGS-tst-lfschk4): Renamed to ...
44538         (LDLIBS-tst-lfschk4): This.
44539         (LDFLAGS-tst-lfschk5): Renamed to ...
44540         (LDLIBS-tst-lfschk5): This.
44541         (LDFLAGS-tst-lfschk6): Renamed to ...
44542         (LDLIBS-tst-lfschk6): This.
44544         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
44545         on $(common-objpfx)soversions.mk.
44547 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
44549         [BZ #10014]
44550         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
44551         example host name.
44553 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
44555         * malloc/arena.c (arena_get_retry): New function that gets
44556         another arena for the caller to try its request on.
44557         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
44558         current arena cannot fulfill the request.
44559         (__libc_memalign): Likewise.
44560         (__libc_memalign): Likewise.
44561         (__libc_pvalloc): Likewise.
44562         (__libc_calloc): Likewise.
44564 2012-09-05  John Tobey  <john.tobey@gmail.com>
44566         [BZ #13542]
44567         * manual/arith.texi (Operations on Complex): Fix description
44568         of carg branch cut.
44570 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
44572         [BZ #10014]
44573         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
44574         host name.
44576         [BZ #10038]
44577         * manual/memory.texi (Memory): Make order of menu items match
44578         order of sections.
44580 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44582         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
44583         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
44584         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
44586 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44588         * csu/libc-tls.c (static_dtv): Renamed to ...
44589         (_dl_static_dtv): This.  Make it global.
44590         (_dl_initial_dtv): Removed.
44591         (__libc_setup_tls): Updated.
44592         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
44593         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
44594         DL_INITIAL_DTV.
44596 2012-09-06  Petr Machata  <pmachata@redhat.com>
44598         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
44599         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
44600         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
44601         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
44603 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44605         [BZ #14545]
44606         * csu/libc-tls.c (_dl_initial_dtv): New variable.
44607         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
44608         freeing dtv[-1].
44610 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44612         [BZ #14544]
44613         * Makeconfig (link-static-before-libc): Replace $(+prector)
44614         with $(+prectorT).
44615         (link-static-after-libc): Replace $(+postctor) with
44616         $(+postctorT).
44617         (link-bounded): Replace $(+prector)/$(+postctor) with
44618         $(+prectorT)/$(+postctorT).
44619         (+prectorT): New macro.
44620         (+postctorT): Likewise.
44622 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
44624         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
44625         (round_str): Handle values above the maximum for IBM long double
44626         as inexact.
44627         * stdlib/tst-strtod-round.c (tests): Regenerated.
44629 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44631         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
44632         assembler flag.
44633         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
44634         zarch_nohighgprs around the zarch optimized routines.
44635         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
44636         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
44637         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
44638         for zarch.
44640 2012-09-05  David S. Miller  <davem@davemloft.net>
44642         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44644         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
44645         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
44646         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
44647         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44648         entries.
44650 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44652         * malloc/arena.c: Fold copyright years.
44653         * malloc/mcheck.c, malloc/memusage.c: Likewise.
44655 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44657         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
44659 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44661         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
44663 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44665         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
44666         change internal state upon failure.
44668 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44670         * malloc/mcheck.c (mcheck_check_all): Fix typo.
44671         * malloc/memusage.c (mmap): Likewise.
44672         (mmap64, mremap): Likewise.  Adjust name in comment.
44674 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44676         * libio/fileops.c: Fix typos in comments.
44677         * libio/oldfileops.c: Likewise.
44678         * libio/wfileops.c: Likewise.
44680 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44682         [BZ #1349]
44683         * malloc/Makefile (tests): Add tst-malloc-usable test case.
44684         (tst-malloc-usable-ENV): Set environment for test case.
44685         * malloc/hooks.c (malloc_check_get_size): New function to get
44686         requested size.
44687         * malloc/malloc.c (musable): Use malloc_check_get_size.
44688         * malloc/tst-malloc-usable.c: New test case.
44690 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44692         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
44694 2012-09-05  Allan McRae  <allan@archlinux.org>
44696         [BZ #13966]
44697         * configure.in (CXX_SYSINCLUDES): Use compiler output to
44698         determine header location.
44699         * configure: Regenerated.
44701 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44703         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
44704         float format.
44705         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
44706         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
44707         format.
44708         (test): Regenerate.
44710 2012-09-04  David S. Miller  <davem@davemloft.net>
44712         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
44713         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
44714         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
44716 2012-09-04  Florian Weimer  <fweimer@redhat.com>
44718         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
44719         failures.
44721         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
44723 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
44725         [BZ #9914]
44726         * libio/iogetdelim.c: Include <limits.h>.
44727         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
44728         + len + 1 would overflow.
44730 2012-09-03  Andreas Jaeger  <aj@suse.de>
44732         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44733         * sysdeps/i386/fpu/libm-test-ulps: Update.
44735 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44737         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44738         Add s_sinf-sse2, s_conf-sse2.
44740         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
44741         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
44742         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
44743         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
44745         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
44746         for using routine as __sinf_ia32.
44747         Use macro for function declaration and weak_alias.
44748         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
44749         for using routine as __cosf_ia32.
44750         Use macro for function declaration and weak_alias.
44752         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
44753         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
44755         * sysdeps/x86_64/fpu/s_sinf.S: New file.
44756         * sysdeps/x86_64/fpu/s_cosf.S: New file.
44757         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44759         * math/libm-test.inc (cos_test): Add more test cases.
44760         (sin_test): Likewise.
44761         (sincos_test): Likewise.
44763 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44765         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
44766         (IFUNC_RESOLVE): Make pointers to the specialized implementations
44767         hidden.
44768         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
44770 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
44772         [BZ #14538]
44773         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
44774         first element of the GOT.
44775         (elf_machine_load_address): Return the difference between
44776         the runtime address of _DYNAMIC and elf_machine_dynamic ().
44778 2012-09-01  Allan McRae  <allan@archlinux.org>
44780         [BZ #13412]
44781         * configure.in (AWK): Require gawk version 3.0 or later.
44782         * configure: Regenerated.
44784 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
44786         * sysdeps/unix/sysv/linux/kernel-features.h
44787         (__ASSUME_POSIX_CPU_TIMERS): Remove.
44788         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44789         [__NR_clock_getres]: Make code unconditional.
44790         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
44791         (clock_getcpuclockid): Remove code left unreachable by removal of
44792         conditionals.
44793         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
44794         code unconditional.
44795         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44796         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44797         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
44798         Make code unconditional.
44799         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44800         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44801         * sysdeps/unix/sysv/linux/clock_settime.c
44802         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
44803         conditional code.
44804         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
44805         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44807 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
44809         [BZ #14476]
44810         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
44811         scripts/test-installation.pl.
44813         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
44814         and $ld_so_version if it is set.
44816 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44818         [BZ #14516]
44819         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
44820         failure if reading from procfs failed.
44821         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
44823 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
44825         * sysdeps/unix/sysv/linux/kernel-features.h
44826         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
44827         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44828         Remove conditional code.
44829         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44830         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
44831         Remove conditional code.
44832         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44833         * sysdeps/unix/sysv/linux/i386/fxstat.c
44834         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44835         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44836         * sysdeps/unix/sysv/linux/i386/fxstatat.c
44837         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44838         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44839         * sysdeps/unix/sysv/linux/i386/lxstat.c
44840         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44841         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44842         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
44843         Remove conditional code.
44844         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44845         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44846         Remove conditional code.
44847         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44848         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
44849         <kernel-features.h>.
44850         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
44851         Remove.
44852         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
44853         Remove conditional code.
44854         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44855         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
44856         Remove conditional.
44858 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
44860         [BZ #5400]
44861         * NEWS: Add fixed bug number.
44863 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
44865         [BZ #14519]
44866         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
44867         underflowing exponent in case of negative sign.
44868         * stdlib/tst-strtod-round-data: Add more tests.
44869         * stdlib/tst-strtod-round.c (tests): Regenerated.
44871         [BZ #3479]
44872         * stdlib/strtod_l.c (NDIG): Remove.
44873         (HEXNDIG): Likewise.
44874         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
44875         smallest representable value.
44876         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
44877         lie within an exact representation of 1/2 ulp of the result.
44878         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
44879         unconditionally.
44880         (TENS_P9_IDX): Define unconditionally.
44881         (TENS_P9_SIZE): Likewise.
44882         (TENS_P10_IDX): Likewise.
44883         (TENS_P10_SIZE): Likewise.
44884         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
44885         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
44886         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
44887         entries for 10^2^13 and 10^2^14.
44888         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
44889         (TENS_P13_IDX): Define.
44890         (TENS_P13_SIZE): Likewise.
44891         (TENS_P14_IDX): Likewise.
44892         (TENS_P14_SIZE): Likewise.
44893         (_fpioconst_pow10): Change array size to
44894         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
44895         unconditional.
44896         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
44897         1024]: Add entries for 10^2^13 and 10^2^14.
44898         [LAST_POW10 > _LAST_POW10]: Remove #error.
44899         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
44900         (_fpioconst_pow10): Change array size to
44901         FPIOCONST_POW10_ARRAY_SIZE.
44902         * stdlib/gen-fpioconst.c: New file.
44903         * stdlib/gen-tst-strtod-round.c: Likewise.
44904         * stdlib/tst-strtod-round-data: Likewise.
44905         * stdlib/tst-strtod-round.c: Likewise.
44906         * stdlib/Makefile (tests): Add tst-strtod-round.
44908         [BZ #14459]
44909         * stdlib/strtod_l.c: Include <stdint.h>.
44910         (NDEBUG): Do not define.
44911         (round_and_return): Change EXPONENT parameter to type intmax_t.
44912         Rearrange calculations to avoid internal overflow possibilities.
44913         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
44914         Rearrange calculations to avoid internal overflow possibilities.
44915         Assert that number fits inside MPNSIZE limbs.
44916         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
44917         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
44918         calculations and add assertions to avoid internal overflow
44919         possibilities.  Add casts to avoid signed/unsigned operations.
44920         * stdlib/tst-strtod-overflow.c: New file.
44921         * stdlib/Makefile (tests): Add tst-strtod-overflow.
44923 2012-08-25  Marek Polacek  <polacek@redhat.com>
44925         * time/time.h: Fix some typos in comments.
44927 2012-08-23  Roland McGrath  <roland@hack.frob.com>
44929         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
44930         * posix/tst-rfc3484-2.c: Likewise.
44931         * posix/tst-rfc3484-3.c: Likewise.
44933 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
44935         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
44936         (EF_ARM_ABI_FLOAT_HARD): Likewise.
44938 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
44940         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
44941         #include of fxstatat64.c.
44943 2012-08-22  Roland McGrath  <roland@hack.frob.com>
44945         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
44946         * shadow/getspent_r.c: Likewise.
44947         * shadow/getspnam.c: Likewise.
44948         * shadow/getspnam_r.c: Likewise.
44949         * gshadow/getsgent.c: Likewise.
44950         * gshadow/getsgent_r.c: Likewise.
44951         * gshadow/getsgnam.c: Likewise.
44952         * gshadow/getsgnam_r.c: Likewise.
44953         * inet/getnetbyad.c: Likewise.
44954         * inet/getnetbyad_r.c: Likewise.
44955         * inet/getnetbynm.c: Likewise.
44956         * inet/getnetbynm_r.c: Likewise.
44957         * inet/getnetent.c: Likewise.
44958         * inet/getnetent_r.c: Likewise.
44959         * inet/getproto.c: Likewise.
44960         * inet/getproto_r.c: Likewise.
44961         * inet/getprtent.c: Likewise.
44962         * inet/getprtent_r.c: Likewise.
44963         * inet/getprtname.c: Likewise.
44964         * inet/getprtname_r.c: Likewise.
44965         * inet/getrpcbyname.c: Likewise.
44966         * inet/getrpcbyname_r.c: Likewise.
44967         * inet/getrpcbynumber.c: Likewise.
44968         * inet/getrpcbynumber_r.c: Likewise.
44969         * inet/getrpcent.c: Likewise.
44970         * inet/getrpcent_r.c: Likewise.
44971         * inet/getaliasent.c: Likewise.
44972         * inet/getaliasent_r.c: Likewise.
44973         * inet/getaliasname.c: Likewise.
44974         * inet/getaliasname_r.c: Likewise.
44975         * nscd/getgrgid_r.c: Likewise.
44976         * nscd/getgrnam_r.c: Likewise.
44977         * nscd/gethstbyad_r.c: Likewise.
44978         * nscd/gethstbynm3_r.c: Likewise.
44979         * nscd/getpwnam_r.c: Likewise.
44980         * nscd/getpwuid_r.c: Likewise.
44981         * nscd/getsrvbynm_r.c: Likewise.
44982         * nscd/getsrvbypt_r.c: Likewise.
44983         * nscd/gai.c: Likewise.
44985         * configure.in (build_nscd): New substituted variable, set
44986         by --disable-build-nscd and defaults to $use_nscd.
44987         * configure: Regenerated.
44988         * config.make.in (build-nscd): New substituted variable.
44989         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
44990         Change conditional to require [$(build-nscd) = yes] as well.
44991         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
44993         [BZ# 13696]
44994         * configure.in (use_nscd): New substituted variable, set by
44995         --disable-nscd.  If enabled, define USE_NSCD.
44996         * configure: Regenerated.
44997         * config.h.in: Add USE_NSCD.
44998         * config.make.in (use-nscd): New substituted variable.
44999         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
45000         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
45001         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
45002         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
45003         (CFLAGS-getgrnam_r.c): Likewise.
45004         (CFLAGS-initgroups.c): Likewise.
45005         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
45006         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
45007         Variables removed.
45008         * inet/getnetgrent_r.c
45009         (nscd_setnetgrent): New function, broken out of ...
45010         (setnetgrent): ... here.  Call it.
45011         (innetgr): Conditionalize nscd bits on [USE_NSCD].
45012         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
45013         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
45014         * nscd/Makefile (routines, aux): Move definitions after include of
45015         Makeconfig.  Conditionalize on [$(use-nscd) != no].
45016         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
45017         Conditionalize on [USE_NSCD].
45018         (is_nscd, nscd_init_cb): Likewise.
45019         (nss_load_library): Conditionalize init callback on [USE_NSCD].
45020         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
45021         * nss/nss_db/db-init.c: Likewise.
45022         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
45023         [USE_NSCD].
45024         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
45025         (make_request): Use it.
45026         (cache_valid_p): New function.
45027         (__check_pf): Use it.
45028         * NEWS: Add item for --disable-nscd.
45030 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
45032         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
45033         to support sed >= 4.2.1-20-ga9bf076.
45034         * configure: Regenerated.
45036 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45038         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
45039         Conditionalize whole body on [IREL].
45041 2012-08-22  Jeff Law <law@redhat.com>
45043         [BZ #14505]
45044         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
45045         if the family is PF_UNSPEC.
45047 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
45049         * Makerules (lib-version): Rename from V.
45050         (install-lib-nosubdir): Change V to lib-version.
45052 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
45054         [BZ #14252]
45055         * powerpc32/power6/wcschr.c: New file.
45056         * powerpc32/power6/wcscpy.c: New file.
45057         * powerpc32/power6/wcsrchr.c: New file.
45058         * powerpc64/power6/wcschr.c: New file.
45059         * powerpc64/power6/wcscpy.c: New file.
45060         * powerpc64/power6/wcsrchr.c: New file.
45062 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45064         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
45065         (two_way_short_needle): Use it.
45066         * string/strstr.c (AVAILABLE1_USES_J): Define.
45067         * string/strcasestr.c: Likewise.
45069         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
45070         array references.
45071         * string/strcasestr.c (TOLOWER): Make side-effect safe.
45073         [BZ #11607]
45074         * NEWS: Add an entry.
45075         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
45076         define their defaults.
45077         (two_way_short_needle): Detect end-of-string on-the-fly.
45078         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
45079         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
45080         * string/bug-strcasestr1.c: New test.
45081         * string/Makefile: Run it.
45083 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45085         [BZ #11607]
45086         * string/str-two-way.h (two_way_short_needle): Optimize matching of
45087         the first character.
45089 2012-08-21  Roland McGrath  <roland@hack.frob.com>
45091         * csu/elf-init.c (__libc_csu_irel): Function removed.
45092         * csu/libc-start.c (apply_irel): New function.
45093         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
45095 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
45097         * sysdeps/unix/sysv/linux/kernel-features.h
45098         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
45099         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
45100         <kernel-features.h>.
45101         [__NR_fadvise64_64]: Make code unconditional.
45102         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
45103         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45104         !__NR_fadvise64_64)]: Likewise.
45105         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45106         !__NR_fadvise64_64))]: Likewise.
45107         [__NR_fadvise64]: Make code unconditional.
45108         [!__NR_fadvise64]: Remove conditional code.
45109         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
45110         <kernel-features.h>.
45111         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45112         unconditional.
45113         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45114         conditional code.
45115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
45116         not include <kernel-features.h>.
45117         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45118         unconditional.
45119         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45120         conditional code.
45121         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
45122         include <kernel-features.h>.
45123         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45124         unconditional.
45125         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45126         conditional code.
45128 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
45130         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
45131         slight instruction rearrangements per scrollpipe analysis.
45132         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
45134 2012-08-20  Roland McGrath  <roland@hack.frob.com>
45136         * manual/syslog.texi (syslog; vsyslog, closelog):
45137         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
45138         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
45140         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
45141         DSOCAPS to match condition on defining it.
45143 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
45145         * sysdeps/unix/sysv/linux/kernel-features.h
45146         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
45147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
45148         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45149         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
45151         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45152         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
45154         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45155         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45157         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
45158         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
45160         * sysdeps/unix/sysv/linux/kernel-features.h
45161         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
45162         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
45163         unconditional.
45164         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45165         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
45166         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45167         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45168         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
45169         Make code unconditional.
45170         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45171         (__mmap64) [!__NR_mmap2]: Likewise.
45172         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
45173         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45174         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45175         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
45176         [__NR_mmap2]: Make code unconditional.
45177         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45178         (__mmap64) [!__NR_mmap2]: Likewise.
45180 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45182         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
45184 2012-08-18  Andreas Jaeger  <aj@suse.de>
45186         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
45188 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45190         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
45191         * include/unistd.h (__have_sock_cloexec): Likewise.
45192         (__have_pipe2): Likewise.
45193         (__have_dup3): Likewise.
45195 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45197         [BZ #9685]
45198         * include/unistd.h (__have_pipe2): Change define into an extern int.
45199         (__have_dup3): Likewise.
45200         * socket/have_sock_cloexec.c: Include fcntl.h.
45201         (__have_pipe2): New variable.
45202         (__have_dup3): Likewise.
45204 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
45206         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
45208 2012-08-17  Marek Polacek  <polacek@redhat.com>
45210         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
45211         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
45213 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45215         * configure.in: Add AC_SUBST for sysheaders.
45216         * configure: Regenerated.
45217         * config.make.in (sysheaders): New substituted variable.
45219         * sysdeps/unix/mkfifo.c: Moved ...
45220         * sysdeps/posix/mkfifo.c: ... here.
45221         * sysdeps/unix/mkfifoat.c: Moved ...
45222         * sysdeps/posix/mkfifoat.c: ... here.
45224         * sysdeps/unix/utime.c: Moved ...
45225         * sysdeps/posix/utime.c: ... here.
45227         * sysdeps/unix/time.c: Moved ...
45228         * sysdeps/posix/time.c: ... here.
45229         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
45230         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
45232         * sysdeps/unix/nice.c: Moved ...
45233         * sysdeps/posix/nice.c: ... here.
45235         * sysdeps/unix/alarm.c: Moved ...
45236         * sysdeps/posix/alarm.c: ... here.
45238         * intl/Makefile ($(codeset_mo)): Depend on the input file.
45240 2012-08-17  Jeff Law <law@redhat.com>
45242         * intl/Makefile (codeset_mo): New variable.
45243         ($(codeset_mo)): New target.
45244         (tst-codeset.out): Depend on that.  Remove explicit rule.
45245         (tst-gettext3.out, tst-gettext5.out): Likewise.
45246         (LOCPATH-ENV, tst-codeset-ENV): New variables.
45247         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
45248         * intl/tst-codeset.sh: Remove.
45249         * intl/tst-gettext3.sh: Likewise.
45250         * intl/tst-gettext5.sh: Likewise.
45252 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45254         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
45255         * sysdeps/unix/syscalls.list: ... here.
45257         * sysdeps/posix/getaddrinfo.c
45258         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
45259         (gaiconf_init, gaiconf_reload): Use them.
45260         [!_STATBUF_ST_NSEC]
45261         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
45262         Define using time_t rather than struct timespec.
45264         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
45265         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
45266         Macros removed.
45267         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
45268         [!NO_THREADS].
45269         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
45270         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
45271         Likewise.
45273         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
45274         __libc_cleanup_push argument.
45276         * bits/param.h: New file.
45277         * misc/sys/param.h: New file.
45278         * include/sys/param.h: New file.
45279         * misc/Makefile (headers): Add bits/param.h.
45280         * sysdeps/generic/sys/param.h: File removed.
45281         * sysdeps/unix/sysv/linux/bits/param.h: New file.
45282         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
45283         * sysdeps/mach/hurd/bits/param.h: New file.
45284         * sysdeps/mach/hurd/sys/param.h: File removed.
45286         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
45287         last change.
45289         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
45290         [_IO_MTSAFE_IO].
45291         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
45292         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
45293         New macros.
45295         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
45296         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
45297         rather than -D_IO_MTSAFE_IO conditionally.
45298         * stdio-common/Makefile (CPPFLAGS): Likewise.
45299         * wcsmbs/Makefile (CPPFLAGS): Likewise.
45300         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
45301         Use $(libio-mtsafe).
45302         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
45303         of -D_IO_MTSAFE_IO.
45304         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
45305         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
45306         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
45307         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
45308         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
45309         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
45310         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
45311         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
45312         (CFLAGS-fread_u_chk.c): Likewise.
45313         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
45314         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
45315         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
45316         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
45317         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
45318         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
45319         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
45320         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
45321         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
45323         * libio/Makefile: Test [$(libc-reentrant) = yes]
45324         instead of [$(filter %REENTRANT, $(defines)) nonempty].
45326         * Makeconfig
45327         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
45328         * sysdeps/pthread/configure: File removed.
45329         * sysdeps/pthread/Makeconfig: New file.
45330         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
45331         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
45333 2012-08-16  Gary Benson  <gbenson@redhat.com>
45335         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
45336         unmapping the first object in a namespace.
45338 2012-08-16  Roland McGrath  <roland@hack.frob.com>
45340         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
45341         (__internal_setnetgrent): ... this.  Add internal_function to
45342         definition.  Add libc_hidden_def.
45343         (setnetgrent): Update caller.
45344         (internal_endnetgrent): Renamed to ...
45345         (__internal_endnetgrent): ... this.  Add internal_function to
45346         definition.  Add libc_hidden_def.
45347         (endnetgrent): Update caller.
45348         (internal_getnetgrent_r): Renamed to ...
45349         (__internal_getnetgrent_r): ... this.  Add internal_function to
45350         definition.  Add libc_hidden_def.
45351         (__getnetgrent_r): Update caller.
45352         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
45354 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
45356         * stdlib/longlong.h: Update from GCC.
45358 2012-08-16  Roland McGrath  <roland@hack.frob.com>
45360         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
45361         on _QL, which is set by umul_ppmm but never used.
45362         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
45363         variables, which are set by GMP macros but never used.
45364         * stdio-common/_itowa.c (_itowa): Likewise.
45365         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
45366         * stdlib/mod_1.c (mpn_mod_1): Likewise.
45368 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
45370         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
45371         struct La_sh_regs is not constant.
45372         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
45373         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
45374         and struct La_sparc64_regs are not constant.
45376 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
45378         * sysdeps/unix/sysv/linux/kernel-features.h
45379         (__ASSUME_POSIX_TIMERS): Remove.
45380         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45381         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45382         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
45383         Make code unconditional.
45384         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45385         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
45386         Make code unconditional.
45387         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45388         * sysdeps/unix/sysv/linux/clock_nanosleep.c
45389         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
45390         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45391         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
45392         Make code unconditional.
45393         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45394         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
45395         (__libc_missing_posix_timers): Remove.
45397 2012-08-15  Roland McGrath  <roland@hack.frob.com>
45399         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
45400         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
45402         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
45404         * elf/dl-sym.c: Include <stdlib.h>.
45406         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
45407         constants, which avoids warnings in 32-bit builds.
45409         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
45410         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
45412         * misc/lseek.c: File moved to ...
45413         * io/lseek.c: ... here.
45415         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
45417         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
45418         shifting LEN more than 31 bits at once.
45420 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45422         [BZ #14195]
45423         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
45424         segmentation fault for a case of two empty input strings.
45425         * string/test-strncasecmp.c (check1): Renamed to...
45426         (bz12205): ...this.
45427         (bz14195): Add new testcase for two empty input strings and N > 0.
45428         (test_main): Call new testcase, adapt for renamed function.
45430 2012-08-15  Andreas Jaeger  <aj@suse.de>
45432         [BZ #14090]
45433         * crypt/md5test2.c: New test, based on test supplied by Serge
45434         Belyshev <belyshev@depni.sinp.msu.ru>.
45435         * crypt/Makefile (xtests): Add md5test-giant..
45436         * crypt/Makefile ($(objpfx)md5test-giant): Add.
45438 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
45440         [BZ #14090]
45441         * crypt/md5.c (md5_process_block): Don't assume the buffer
45442         length is less than 2**32.
45443         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
45444         length is less than 2**64.
45446 2012-08-15  Roland McGrath  <roland@hack.frob.com>
45448         * string/str-two-way.h: Include <sys/param.h>.
45449         (MAX): Macro removed.
45451         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
45452         Move #define and #undef of memmove to just before and after
45453         including <string.h>.
45455         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
45456         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
45457         and after including <string.h>.  Move declarations of
45458         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
45459         to before #include "string/memmove.c".
45461         * include/dirent.h: Declare __getdirentries.
45463         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
45464         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
45466 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
45468         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
45469         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
45470         * sysdeps/i386/configure: Regenerated.
45471         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
45472         STABS_CURRENT_FILE, and STABS_FUN.
45473         (END): Remove call to STABS_FUN_END.
45474         (STABS_CURRENT_FILE1): Delete.
45475         (STABS_CURRENT_FILE): Likewise.
45476         (STABS_FUN): Likewise.
45477         (STABS_FUN_END): Likewise.
45478         (STABS_FUN2): Likewise.
45479         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
45480         * sysdeps/x86_64/configure: Regenerated.
45482 2012-08-14  Roland McGrath  <roland@hack.frob.com>
45484         * elf/dl-open.c: Include <atomic.h>.
45485         * elf/dl-lookup.c: Likewise.
45487 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
45489         * sysdeps/unix/sysv/linux/kernel-features.h
45490         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
45491         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
45492         unconditionally.
45493         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
45494         unconditionally.
45495         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
45496         condition on __ASSUME_CLONE_THREAD_FLAGS.
45498 2012-08-14  Andreas Jaeger  <aj@suse.de>
45500         * sysdeps/i386/fpu/libm-test-ulps: Update.
45502 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
45504         * include/atomic.h (atomic_exchange_and_add): Split into ...
45505         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
45506         New atomic macros.
45508 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
45510         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45512 2012-08-13  Jeff Law <law@redhat.com>
45514         * manual/stdio.texi (snprintf): Clarify handling of the trailing
45515         null byte in the output string.
45517 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
45519         * sysdeps/unix/sysv/linux/kernel-features.h
45520         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
45521         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
45522         (__ASSUME_ARG_MAX_STACK_BASED): Define.
45523         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
45524         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
45525         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
45526         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
45528 2012-08-09  Jeff Law <law@redhat.com>
45530         [BZ #13939]
45531         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
45532         When avoid_arena is set, don't retry in the that arena.  Pick the
45533         next one, whatever it might be.
45534         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
45535         (arena_lock): Pass in new parameter to arena_get2.
45536         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
45537         arena_get2.
45538         (__libc_malloc): Unify retrying after main arena failure with
45539         __libc_memalign version.
45540         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
45542 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
45544         [BZ #14166]
45545         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
45546         to __redirect_strstr.
45547         (__strstr_sse42): Use typeof __redirect_strstr.
45548         (__strstr_ia32): Likewise.
45549         (__libc_strstr): New prototype.
45550         (strstr): Renamed to ...
45551         (__libc_strstr): This.
45552         (strstr): New strong alias of __libc_strstr.
45553         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
45554         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
45555         __redirect_time.
45556         Include <time.h>.
45557         (__libc_time): New prototype.
45558         (time_ifunc): Replace time with __libc_time.
45559         (time): New strong alias and hidden definition of __libc_time.
45560         (__GI_time): Remove strong alias.
45561         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
45562         Include <stddef.h>.
45563         (memmove): Redefined to __redirect_memmove.
45564         (__memmove_sse2): Use typeof __redirect_memmove.
45565         (__memmove_ssse3): Likewise.
45566         (__memmove_ssse3_back): Likewise.
45567         (__libc_memmove): New prototype.
45568         (memmove): Renamed to ...
45569         (__libc_memmove): This.
45570         (memmove): New strong alias of __libc_memmove.
45572 2012-08-08  Mark Salter  <msalter@redhat.com>
45574         * elf/elf.h
45575         (R_MN10300_TLS_GD): Define.
45576         (R_MN10300_TLS_LD): Likewise.
45577         (R_MN10300_TLS_LDO): Likewise.
45578         (R_MN10300_TLS_GOTIE): Likewise.
45579         (R_MN10300_TLS_IE): Likewise.
45580         (R_MN10300_TLS_LE): Likewise.
45581         (R_MN10300_TLS_DTPMOD): Likewise.
45582         (R_MN10300_TLS_DTPOFF): Likewise.
45583         (R_MN10300_TLS_TPOFF): Likewise.
45584         (R_MN10300_SYM_DIFF): Likewise.
45585         (R_MN10300_ALIGN): Likewise.
45586         (R_MN10300_NUM): Update.
45588 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
45590         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
45591         Remove.
45593 2012-08-08  Roland McGrath  <roland@hack.frob.com>
45595         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
45597         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
45598         sysdeps/unix -> sysdeps/posix move.
45599         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
45601 2012-08-07      Allan McRae     <allan@archlinux.org>
45603         [BZ #14303]
45604         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
45605         (SUNOS_CPP): Likewise.
45606         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
45607         not found.
45608         (open_input): Call CPP using execvp.
45610 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
45612         * sysdeps/unix/sysv/linux/kernel-features.h
45613         (__ASSUME_PROT_GROWSUPDOWN): Remove.
45614         (__ASSUME_NO_CLONE_DETACHED): Likewise.
45615         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45616         (__ASSUME_WAITID_SYSCALL): Likewise.
45617         * sysdeps/unix/sysv/linux/dl-execstack.c
45618         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
45619         code unconditional.
45620         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
45621         conditional code.
45622         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
45623         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
45624         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
45625         code.
45626         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
45627         unconditional.
45628         [__ASSUME_WAITID_SYSCALL]: Likewise.
45629         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
45631 2012-08-07  Roland McGrath  <roland@hack.frob.com>
45633         * sysdeps/unix/closedir.c: Renamed to ...
45634         * sysdeps/posix/closedir.c: ... here.
45635         * sysdeps/unix/dirfd.c: Renamed to ...
45636         * sysdeps/posix/dirfd.c: ... here.
45637         * sysdeps/unix/dirstream.h: Renamed to ...
45638         * sysdeps/posix/dirstream.h: ... here.
45639         * sysdeps/unix/fdopendir.c: Renamed to ...
45640         * sysdeps/posix/fdopendir.c: ... here.
45641         * sysdeps/unix/opendir.c: Renamed to ...
45642         * sysdeps/posix/opendir.c: ... here.
45643         * sysdeps/unix/readdir.c: Renamed to ...
45644         * sysdeps/posix/readdir.c: ... here.
45645         * sysdeps/unix/readdir_r.c: Renamed to ...
45646         * sysdeps/posix/readdir_r.c: ... here.
45647         * sysdeps/unix/rewinddir.c: Renamed to ...
45648         * sysdeps/posix/rewinddir.c: ... here.
45649         * sysdeps/unix/seekdir.c: Renamed to ...
45650         * sysdeps/posix/seekdir.c: ... here.
45651         * sysdeps/unix/telldir.c: Renamed to ...
45652         * sysdeps/posix/telldir.c: ... here.
45653         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
45654         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
45655         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
45656         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
45658         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
45659         * bits/fcntl.h: ... here.
45661         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
45662         not 0.
45663         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
45664         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
45665         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
45666         (struct flock): Move l_start, l_len to the beginning.
45667         Use __pid_t for l_pid.
45668         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
45669         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
45670         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
45671         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
45672         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
45673         [__USE_LARGEFILE64] (struct flock64): New type.
45674         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
45676         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
45677         * bits/dirent.h: ... here.
45679         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
45680         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
45682 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
45684         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45685         Change from 2.6.0 to 2.6.16.
45686         * sysdeps/unix/sysv/linux/configure: Regenerated.
45687         * sysdeps/unix/sysv/linux/kernel-features.h
45688         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
45689         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
45690         version.
45691         (__ASSUME_UTIMES): Likewise.
45692         (__ASSUME_CLONE_STOPPED): Remove.
45693         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
45694         architectures, not kernel version.
45695         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
45696         (__ASSUME_NO_CLONE_DETACHED): Likewise.
45697         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45698         (__ASSUME_WAITID_SYSCALL): Likewise.
45699         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
45700         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
45701         * README: State 2.6.16 as minimum Linux kernel version.  Do not
45702         refer to older versions.
45704 2012-08-06  Roland McGrath  <roland@hack.frob.com>
45706         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
45707         Define alphasort64 as an alias.
45708         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
45709         Define versionsort64 as an alias.
45710         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
45711         Define scandir64 as an alias.
45712         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
45713         Define scandirat64 as an alias.
45714         * dirent/alphasort64.c (alphasort64):
45715         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
45716         * dirent/versionsort64.c: Likewise.
45717         * dirent/scandir64.c: Likewise.
45718         * dirent/scandirat64.c: Likewise.
45719         * sysdeps/wordsize-64/alphasort.c: File removed.
45720         * sysdeps/wordsize-64/alphasort64.c: File removed.
45721         * sysdeps/wordsize-64/scandir.c: File removed.
45722         * sysdeps/wordsize-64/scandir64.c: File removed.
45723         * sysdeps/wordsize-64/scandirat.c: File removed.
45724         * sysdeps/wordsize-64/scandirat64.c: File removed.
45725         * sysdeps/wordsize-64/versionsort.c: File removed.
45726         * sysdeps/wordsize-64/versionsort64.c: File removed.
45727         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
45728         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
45729         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
45730         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
45731         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
45732         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
45733         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
45734         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
45736         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
45737         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45738         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
45739         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45740         [defined __arch64__ || defined __sparcv9]
45741         (__INO_T_MATCHES_INO64_T): New macro.
45742         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45743         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
45744         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
45745         * sysdeps/unix/sysv/linux/bits/dirent.h
45746         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
45747         (_DIRENT_MATCHES_DIRENT64): New macro.
45749         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
45750         Define lockf64 as an alias.
45751         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
45752         Define fseeko64 as an alias.
45753         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
45754         Define ftello64 as an alias.
45755         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
45756         Define _IO_fgetpos64 and fgetpos64 as aliases.
45757         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
45758         Define _IO_fsetpos64 and fsetpos64 as aliases.
45759         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
45760         Conditionalize body on this.
45761         * libio/fseeko64.c: Likewise.
45762         * libio/ftello64.c: Likewise.
45763         * libio/iofgetpos64.c: Likewise.
45764         * libio/iofsetpos64.c: Likewise.
45765         * sysdeps/wordsize-64/lockf.c: File removed.
45766         * sysdeps/wordsize-64/lockf64.c: File removed.
45767         * sysdeps/wordsize-64/fseeko.c: File removed.
45768         * sysdeps/wordsize-64/fseeko64.c: File removed.
45769         * sysdeps/wordsize-64/ftello.c: File removed.
45770         * sysdeps/wordsize-64/ftello64.c: File removed.
45771         * sysdeps/wordsize-64/iofgetpos.c: File removed.
45772         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
45773         * sysdeps/wordsize-64/iofsetpos.c: File removed.
45774         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
45775         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
45776         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
45777         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
45778         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
45779         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
45780         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
45781         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
45782         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
45783         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
45784         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
45786         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45787         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45788         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
45789         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45790         [defined __arch64__ || defined __sparcv9]
45791         (__OFF_T_MATCHES_OFF64_T): New macro.
45792         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45793         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45794         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45795         (__OFF_T_MATCHES_OFF64_T): New macro.
45797 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
45799         * stdlib/secure-getenv.c (__secure_getenv): Replace
45800         GLIBC_2_16 with GLIBC_2_17.
45802 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
45804         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
45805         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
45807 2012-08-03  David S. Miller  <davem@davemloft.net>
45809         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45811 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
45813         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
45814         Remove.
45815         (__ASSUME_CORRECT_SI_PID): Likewise.
45816         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
45817         (__ASSUME_TMPFS_NAME): Likewise.
45818         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
45819         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
45820         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
45821         (HAVE_AUX_SECURE): Make definition unconditional.
45822         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
45823         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
45825 2012-08-03  Roland McGrath  <roland@hack.frob.com>
45827         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
45828         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
45829         * sysdeps/mach/hurd/eloop-threshold.h: New file.
45830         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
45831         __eloop_threshold instead of SYMLOOP_MAX.
45833         * sysdeps/generic/eloop-threshold.h: New file.
45834         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
45835         of MAXSYMLINKS.
45836         * elf/chroot_canon.c (chroot_canon): Likewise.
45838 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
45840         [BZ #13717]
45841         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45842         Change to 2.6.0 everywhere.
45843         * sysdeps/unix/sysv/linux/configure: Regenerated.
45844         * sysdeps/unix/sysv/linux/kernel-features.h
45845         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
45846         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
45847         kernel versions.
45848         (__ASSUME_POSIX_TIMERS): Define unconditionally.
45849         (__ASSUME_FUTEX_REQUEUE): Remove.
45850         (__ASSUME_STATFS64): Define unconditionally.
45851         (__ASSUME_AT_SECURE): Likewise.
45852         (__ASSUME_CORRECT_SI_PID): Likewise.
45853         (__ASSUME_TGKILL): Define without depending on kernel version for
45854         i386.
45855         (__ASSUME_UTIMES): Likewise.
45856         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
45857         kernel version.
45858         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
45859         (__ASSUME_TMPFS_NAME): Likewise.
45860         * README: Update reference to Linux kernel versions.
45862 2012-08-02  Marek Polacek  <polacek@redhat.com>
45864         [BZ# 14150]
45865         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
45866         libc_cv_asm_type_prefix with %.
45867         * configure: Regenerated.
45868         * include/libc-symbols.h: Remove comment about
45869         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
45870         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
45871         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
45872         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
45873         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
45874         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
45875         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
45876         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
45877         * elf/tst-unique2mod1.c: Likewise.
45878         * elf/tst-unique1mod2.c: Likewise.
45879         * elf/tst-unique1mod1.c: Likewise.
45880         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
45881         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
45882         Replace ASM_TYPE_DIRECTIVE with .type.
45883         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45884         * sysdeps/i386/sysdep.h: Likewise.
45885         * sysdeps/x86_64/sysdep.h: Likewise.
45886         * sysdeps/sh/sysdep.h: Likewise.
45887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45888         Do not define ASM_TYPE_DIRECTIVE.
45889         * sysdeps/powerpc/sysdep.h: Likewise.
45890         * sysdeps/powerpc/powerpc32/sysdep.h:
45891         Replace ASM_TYPE_DIRECTIVE with .type.
45892         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45893         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45894         * sysdeps/i386/fpu/e_powf.S: Likewise.
45895         * sysdeps/i386/fpu/e_expl.S: Likewise.
45896         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45897         * sysdeps/i386/fpu/e_acosh.S: Likewise.
45898         * sysdeps/i386/fpu/e_pow.S: Likewise.
45899         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
45900         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45901         * sysdeps/i386/fpu/s_expm1.S: Likewise.
45902         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
45903         * sysdeps/i386/fpu/e_log2.S: Likewise.
45904         * sysdeps/i386/fpu/e_log2l.S: Likewise.
45905         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45906         * sysdeps/i386/fpu/e_powl.S: Likewise.
45907         * sysdeps/i386/fpu/e_log10f.S: Likewise.
45908         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
45909         * sysdeps/i386/fpu/e_logl.S: Likewise.
45910         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
45911         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
45912         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
45913         * sysdeps/i386/fpu/e_log2f.S: Likewise.
45914         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45915         * sysdeps/i386/fpu/e_log.S: Likewise.
45916         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45917         * sysdeps/i386/fpu/e_logf.S: Likewise.
45918         * sysdeps/i386/fpu/e_log10l.S: Likewise.
45919         * sysdeps/i386/fpu/e_atanh.S: Likewise.
45920         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
45921         * sysdeps/i386/fpu/e_log10.S: Likewise.
45922         * sysdeps/i386/fpu/s_frexp.S: Likewise.
45923         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45924         * sysdeps/i386/fpu/s_asinh.S: Likewise.
45925         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
45926         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45927         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
45928         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
45929         * sysdeps/i386/i686/strtok.S: Likewise.
45930         * sysdeps/i386/i386-mcount.S: Likewise.
45931         * sysdeps/i386/strtok.S: Likewise.
45932         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
45933         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45934         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45935         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45936         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45937         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45938         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
45939         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
45940         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45941         * sysdeps/x86_64/_mcount.S: Likewise.
45942         * sysdeps/x86_64/strtok.S: Likewise.
45943         * sysdeps/sh/_mcount.S: Likewise.
45945 2012-08-01  Roland McGrath  <roland@hack.frob.com>
45947         * libio/iofopen.c: Include <fcntl.h>.
45948         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
45949         (_IO_fopen64, fopen64): Define as aliases.
45950         * libio/iofopen64.c: Include <fcntl.h>.
45951         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
45952         Conditionalize body on this.
45953         * sysdeps/wordsize-64/iofopen.c: File removed.
45954         * sysdeps/wordsize-64/iofopen64.c: File removed.
45956 2012-08-01  Marek Polacek  <polacek@redhat.com>
45958         * libc/Makeconfig: Use elf in place of binfmt-subdir.
45959         Use dlfcn directly instead of a variable.
45960         (binfmt-subdir): Do not define.
45961         (dlfcn): Likewise.
45963 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
45965         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
45966         Remove all definitions.
45967         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
45968         <kernel-features.h>.
45969         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
45970         (miss_F_GETOWN_EX): Remove all definitions.
45971         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
45972         macro definition.
45973         [!__ASSUME_FCNTL64]: Remove conditional code.
45974         [__ASSUME_FCNTL64]: Make code unconditional.
45975         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
45976         <kernel-features.h>.
45977         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
45978         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
45979         (lockf64) [__NR_fcntl64]: Make code unconditional.
45980         (lockf64) [__ASSUME_FCNTL64]: Likewise.
45982         * sysdeps/unix/sysv/linux/kernel-features.h
45983         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
45984         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
45985         Make code unconditional.
45986         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45987         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
45989         [__NR_vfork]: Make code unconditional.
45990         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45991         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
45993         [__NR_vfork]: Make code unconditional.
45994         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45995         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45997 2012-08-01  Roland McGrath  <roland@hack.frob.com>
45999         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
46000         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
46002         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46003         Define mkstemp64 as an alias.
46004         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46005         Define mkstemps64 as an alias.
46006         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46007         Define mkostemp64 as an alias.
46008         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46009         Define mkostemps64 as an alias.
46010         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
46011         Conditionalize body on this.
46012         * misc/mkostemp64.c: Likewise.
46013         * misc/mkostemps64.c: Likewise.
46014         * misc/mkstemps64.c: Likewise.
46015         * sysdeps/wordsize-64/mkstemp64.c: File removed.
46016         * sysdeps/wordsize-64/mkostemp64.c: File removed.
46017         * sysdeps/wordsize-64/mkostemp.c: File removed.
46018         * sysdeps/wordsize-64/mkstemp.c: File removed.
46019         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
46020         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
46021         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
46022         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
46024         [BZ #14138]
46025         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
46026         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
46027         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
46028         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
46030         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
46031         compat_symbol macros from <shlib-compat.h> rather than the underlying
46032         default_symbol_version and symbol_version macros, so that DEFAULT
46033         lines in shlib-versions are respected.
46034         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
46036 2012-08-01  Florian Weimer  <fweimer@redhat.com>
46038         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
46039         Declare with warn_unused_result.
46040         (setgid, setregid, setegid, setresgid): Likewise.
46041         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
46042         Likewise.
46043         * WUR-REPORT: Remove set*id functions.
46045 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
46047         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
46049 2012-07-31  Roland McGrath  <roland@hack.frob.com>
46051         [BZ #10191]
46052         * include/sys/socket.h (__libc_accept, __libc_accept4):
46053         Add attribute_hidden.
46054         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
46056         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
46057         use of PTR_MANGLE.
46058         * inet/getnetgrent_r.c (setup): Likewise.
46060         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
46062 2012-07-31  David S. Miller  <davem@davemloft.net>
46064         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46066 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
46068         [BZ #13629]
46069         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
46070         value between 1.0 and 2.0 and smaller part has absolute value less
46071         than 1.0.
46072         * math/s_clog10.c (__clog10): Likewise.
46073         * math/s_clog10f.c (__clog10f): Likewise.
46074         * math/s_clog10l.c (__clog10l): Likewise.
46075         * math/s_clogf.c (__clogf): Likewise.
46076         * math/s_clogl.c (__clogl): Likewise.
46077         * math/libm-test.inc (clog_test): Add more tests.
46078         (clog10_test): Likewise.
46079         * sysdeps/i386/fpu/libm-test-ulps: Update.
46080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46082 2012-07-31  Florian Weimer  <fweimer@redhat.com>
46084         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
46085         Exit with zero in case no suitable GID is found, and write a
46086         message to standard error.
46088 2012-07-30  Roland McGrath  <roland@hack.frob.com>
46090         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
46091         rather than to 1.
46092         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
46093         (MAXPATHLEN): Removed.
46094         (NOGROUP, NODEV): New macros.
46095         (setbit, clrbit, isset, isclr): New macros.
46096         (howmany, roundup, powerof2): New macros.
46097         (DEV_BSIZE): New macro.
46099         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
46100         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
46102         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
46103         definition on [!__NO_LONG_DOUBLE_MATH].
46105         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
46106         PTR_MANGLE and PTR_DEMANGLE.
46108         * socket/accept4.c (accept4): Rename to __libc_accept4.
46109         Define accept4 as a weak alias.
46111         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
46112         on [_DIRENT_HAVE_D_TYPE].
46113         * io/ftw.c (ftw_dir): Likewise.
46115         * io/xmknod.c (__xmknod): Don't check PATH for being null.
46117         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
46119         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
46120         Use the BSD numbers rather than the arbitrary ones we had.
46121         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
46122         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
46123         (SIGXCPU, SIGXFSZ): New macros.
46124         (_NSIG): Now 32.
46126         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
46127         initializer on [_LIBC_REENTRANT].
46129         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
46130         definitions inside [_POSIX_MAPPED_FILES].
46132         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
46134         * dirent/opendir.c: Include <fcntl.h>.
46136         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
46137         (__libc_getspecific): Likewise.
46138         (__libc_key_create): Likewise.
46140         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
46141         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
46142         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
46143         (tmpfile64): Define as alias.
46144         * sysdeps/wordsize-64/tmpfile.c: File removed.
46145         * sysdeps/wordsize-64/tmpfile64.c: File removed.
46146         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
46147         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
46149         * stdio-common/vfscanf.c: Include <stdbool.h>.
46150         * nss/makedb.c: Likewise.
46151         * stdio-common/_i18n_number.h: Likewise.
46152         * argp/argp-help.c: Likewise.
46153         * posix/wordexp.c: Likewise.
46154         * sysdeps/posix/spawni.c: Likewise.
46155         * nss/nss_files/files-initgroups.c: Likewise.
46156         * stdio-common/reg-modifier.c: Include <stdlib.h>.
46157         * nss/nss_files/files-initgroups.c: Likewise.
46158         * nss/nss_db/db-netgrp.c: Likewise.
46159         * nss/nss_db/db-initgroups.c: Likewise.
46160         * io/fchmodat.c: Include <sys/stat.h>.
46162         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
46163         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
46165         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
46166         [HAVE_MMAP].
46168         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
46169         Add multiple inclusion protection.
46171 2012-07-27  David S. Miller  <davem@davemloft.net>
46173         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46175 2012-07-27  Gary Benson  <gbenson@redhat.com>
46177         [BZ #14298]
46178         * elf/rtld.c: Include <stap-probe.h>.
46179         (dl_main): Added static probes "init_start" and "init_complete".
46180         * elf/dl-load.c: Include <stap-probe.h>.
46181         (lose): Take new parameter "nsid".
46182         Added static probe "map_failed".
46183         (_dl_map_object_from_fd): Pass namespace id to lose.
46184         Added static probe "map_start".
46185         (open_verify): Pass namespace id to lose.
46186         * elf/dl-open.c: Include <stap-probe.h>.
46187         (dl_open_worker) Added static probes "map_complete", "reloc_start"
46188         and "reloc_complete".
46189         * elf/dl-close.c: Include <stap-probe.h>.
46190         (_dl_close_worker): Added static probes "unmap_start" and
46191         "unmap_complete".
46192         * elf/rtld-debugger-interface.txt: New file documenting the above.
46194 2012-07-26  Roland McGrath  <roland@hack.frob.com>
46196         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
46197         rather than a string variable.
46198         * sunrpc/rpc_main.c (h_output): Likewise.
46199         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
46201 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
46203         * inet/check_native.c: New file.
46205 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
46207         [BZ #13629]
46208         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
46209         if larger part has absolute value 1.0.
46210         * math/s_clog10.c (__clog10): Likewise.
46211         * math/s_clog10f.c (__clog10f): Likewise.
46212         * math/s_clog10l.c (__clog10l): Likewise.
46213         * math/s_clogf.c (__clogf): Likewise.
46214         * math/s_clogl.c (__clogl): Likewise.
46215         * math/libm-test.inc (clog_test): Add more tests.
46216         (clog10_test): Likewise.
46217         * sysdeps/i386/fpu/libm-test-ulps: Update.
46218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46220         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
46221         (pltexit): Likewise.
46222         (La_regs): Likewise.
46223         (La_retval): Likewise.
46224         (int_retval): Likewise.
46225         Update #error for removed macros to refer only to definitions in
46226         tst-audit.h.
46227         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
46228         macro.
46229         (pltexit): Likewise.
46230         (La_regs): Likewise.
46231         (La_retval): Likewise.
46232         (int_retval): Likewise.
46233         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
46234         macro.
46235         (pltexit): Likewise.
46236         (La_regs): Likewise.
46237         (La_retval): Likewise.
46238         (int_retval): Likewise.
46239         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
46240         macro.
46241         (pltexit): Likewise.
46242         (La_regs): Likewise.
46243         (La_retval): Likewise.
46244         (int_retval): Likewise.
46245         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
46246         macro.
46247         (pltexit): Likewise.
46248         (La_regs): Likewise.
46249         (La_retval): Likewise.
46250         (int_retval): Likewise.
46251         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
46252         macro.
46253         (pltexit): Likewise.
46254         (La_regs): Likewise.
46255         (La_retval): Likewise.
46256         (int_retval): Likewise.
46257         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
46258         macro.
46259         (pltexit): Likewise.
46260         (La_regs): Likewise.
46261         (La_retval): Likewise.
46262         (int_retval): Likewise.
46263         * sysdeps/generic/tst-audit.h: Update comment to refer only to
46264         macro definitions in tst-audit.h.
46265         * sysdeps/i386/tst-audit.h: New file.
46266         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
46267         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
46268         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
46269         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
46270         * sysdeps/sh/tst-audit.h: Likewise.
46271         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
46272         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
46273         * sysdeps/x86_64/tst-audit.h: Likewise.
46275 2012-07-26  Andreas Jaeger  <aj@suse.de>
46277         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
46278         ptrace.
46280         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
46281         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
46282         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
46283         PTRACE_O_MASK.
46284         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
46285         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
46286         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
46288         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
46289         value.
46291         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
46292         _sigsys.
46293         (si_call_addr, si_syscall, si_arch): Define new macro.
46294         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
46295         _sigsys.
46296         (si_call_addr, si_syscall, si_arch): Define new marcro.
46297         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
46298         _sigsys.
46299         (si_call_addr, si_syscall, si_arch): Define new macro.
46300         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
46301         _sigsys.
46302         (si_call_addr, si_syscall, si_arch): Define new macro.
46304 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
46306         [BZ #13717]
46307         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46308         Change to 2.4.21 where previously 2.4.1.
46309         * sysdeps/unix/sysv/linux/configure: Regenerated.
46310         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
46311         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
46312         Linux kernel version.
46313         (__ASSUME_STD_AUXV): Remove.
46314         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
46315         kernel version.
46316         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
46317         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
46318         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
46319         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
46320         (__ASSUME_NETLINK_SUPPORT): Likewise.
46321         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
46322         (__no_netlink_support): Remove conditional definition.
46323         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
46324         Remove.
46325         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46326         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
46327         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
46328         (if_nameindex_ioctl): Remove.
46329         (if_nameindex_netlink): Do not handle __no_netlink_support.
46330         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46331         code.
46332         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
46333         Remove conditional code.
46334         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46335         code.
46336         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
46337         unconditional.
46338         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46339         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
46340         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
46341         Remove.
46342         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
46343         [!__ASSUME_STD_AUXV]: Remove conditional code.
46344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
46345         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
46346         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
46347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
46348         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
46349         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46350         code.
46351         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46353         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
46354         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46355         conditional code.
46356         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
46358         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46359         code.
46360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46361         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46362         conditional code.
46363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
46364         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46365         code unconditional.
46366         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46367         conditional code.
46368         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46369         unconditional.
46370         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46371         conditional code.
46372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46373         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46374         unconditional.
46375         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46376         conditional code.
46377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
46378         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46379         code unconditional.
46380         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46381         conditional code.
46382         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46383         unconditional.
46384         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46385         conditional code.
46386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
46387         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46388         code unconditional.
46389         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46390         conditional code.
46391         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46392         unconditional.
46393         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46394         conditional code.
46396 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
46398         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
46399         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
46400         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
46401         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
46402         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
46403         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
46404         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
46405         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
46406         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
46407         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
46408         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
46409         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
46410         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
46411         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
46412         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
46413         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
46414         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
46415         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
46416         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
46417         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
46418         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
46419         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
46420         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
46422 2012-07-25  Florian Weimer  <fweimer@redhat.com>
46424         * Versions.def: Add GLIBC_2.17.
46425         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
46426         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
46427         Introduce __libc_secure_getenv.
46428         * stdlib/Versions (2.17): Add secure_getenv
46429         (GLIBC_PRIVATE): Add __libc_secure_getenv.
46430         * stdlib/secure-getenv.c: Rename __secure_getenv to
46431         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
46432         symbol __secure_getenv for GLIBC_2.0.
46433         * stdlib/tst-secure-getenv.c: New.
46434         * stdlib/Makefile (tests): Add testcase.
46435         * manual/startup.texi (Environment Access): Document
46436         secure_getenv.
46437         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
46438         __libc_secure_getenv.
46439         * inet/ruserpass.c (ruserpass): Likewise.
46440         * malloc/mtrace.c (mtrace): Likewise.
46441         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
46442         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
46443         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
46444         * sysdeps/posix/tempname.c: Likewise.  Evaluate
46445         HAVE_SECURE_GETENV.
46446         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
46447         __secure_getenv to __libc_secure_getenv.
46448         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
46449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46450         Likewise.
46451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46452         Likewise.
46453         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
46454         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
46455         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
46456         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
46457         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
46458         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
46459         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
46461 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
46463         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
46464         (struct La_i86_retval): Likewise.
46465         (struct La_x86_64_regs): Likewise.
46466         (struct La_x86_64_retval): Likewise.
46467         (struct La_x32_regs): Likewise.
46468         (struct La_x32_retval): Likewise.
46469         (struct La_ppc32_regs): Likewise.
46470         (struct La_ppc32_retval): Likewise.
46471         (struct La_ppc64_regs): Likewise.
46472         (struct La_ppc64_retval): Likewise.
46473         (struct La_sh_regs): Likewise.
46474         (struct La_sh_retval): Likewise.
46475         (struct La_s390_32_regs): Likewise.
46476         (struct La_s390_32_retval): Likewise.
46477         (struct La_s390_64_regs): Likewise.
46478         (struct La_s390_64_retval): Likewise.
46479         (struct La_sparc32_regs): Likewise.
46480         (struct La_sparc32_retval): Likewise.
46481         (struct La_sparc64_regs): Likewise.
46482         (struct La_sparc64_retval): Likewise.
46483         (struct audit_ifaces): Remove architecture-specific pltenter and
46484         pltexit members.
46485         * sysdeps/i386/ldsodefs.h: New file.
46486         * sysdeps/powerpc/ldsodefs.h: Likewise.
46487         * sysdeps/s390/ldsodefs.h: Likewise.
46488         * sysdeps/sh/ldsodefs.h: Likewise.
46489         * sysdeps/sparc/ldsodefs.h: Likewise.
46490         * sysdeps/x86_64/ldsodefs.h: Likewise.
46492 2012-07-25  Marek Polacek  <polacek@redhat.com>
46494         [BZ #6808]
46495         * math/libm-test.inc (yn_test): Add another test.
46496         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
46497         to ERANGE when the result is +-Inf.
46498         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
46499         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
46500         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
46501         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
46503 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
46505         * conform/data/time.h-data (NULL): Use macro-constant.  Require
46506         equal to 0.
46507         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
46508         clock_t.
46509         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
46511 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
46513         * configure.in <sysdeps resolving>: Correct printing
46514         Implies_before.
46515         * configure: Regenerate.
46517 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
46519         * math/w_ilogb.c: Include <limits.h>.
46520         * math/w_ilogbl.c: Likewise.
46522 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
46524         * manual/lang.texi (__va_copy): Document primarily as ISO C99
46525         va_copy.  Document allowing for unavailable va_copy only as
46526         pre-C99 compatibility.
46527         * manual/string.texi (Copying and Concatenation): Use va_copy
46528         instead of __va_copy in concat example.
46530 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
46532         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
46533         (__sendto): Use create_address_port.  Initialize APORT and deallocate
46534         it if not null.
46536         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
46537         with O_NOLINK passed to __file_name_lookup.
46539         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
46540         with O_NOLINK passed to __file_name_lookup.
46542         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
46543         negative N or less than NGIDS.
46545         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
46546         type to string_t.  Set ERANGE as errno and return it if NAME is not big
46547         enough.  Use memcpy instead of strncpy.
46549 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
46551         * elf/Makefile (check-data): Remove.
46552         (localplt.data): New vpath directive.
46553         ($(objpfx)check-localplt.out): Use localplt.data from vpath
46554         instead of $(check-data).
46555         * scripts/data/localplt-generic.data: Move to ...
46556         * sysdeps/generic/localplt.data: ... here.
46557         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
46558         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
46559         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
46560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
46561         ... here.
46562         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
46563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
46564         ... here.
46565         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
46566         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
46567         ... here.
46568         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
46569         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
46570         ... here.
46571         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
46572         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
46573         ... here.
46574         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
46575         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
46576         ... here.
46578 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46580         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
46581         PPC32 and PPC64 files.
46582         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
46583         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
46585 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46587         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
46588         __makecontext_ret to ...
46589         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
46590         ... here and call exit if uc_link is NULL.  New file.
46591         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
46592         __makecontext_ret.S.
46593         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
46594         __makecontext_ret to ...
46595         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
46596         ... here and call exit if uc_link is NULL.  New file.
46597         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
46598         __makecontext_ret.S.
46600 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46602         * elf/elf.h (R_390_IRELATIVE): New definition.
46603         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
46604         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
46605         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
46606         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
46607         (elf_machine_lazy_rel): Likewise.
46608         * sysdeps/s390/dl-irel.h: New file.
46609         * sysdeps/s390/s390-64/memcpy.S: New asm code.
46610         * sysdeps/s390/s390-64/memset.S: New asm code.
46611         * sysdeps/s390/s390-64/memcmp.S: New asm code.
46612         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
46613         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
46614         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
46615         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
46616         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
46617         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
46618         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
46619         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
46620         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
46621         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
46622         * sysdeps/s390/s390-32/memcpy.S: New asm code.
46623         * sysdeps/s390/s390-32/memset.S: New asm code.
46624         * sysdeps/s390/s390-32/memcmp.S: New asm code.
46626 2012-07-17  Marek Polacek  <polacek@redhat.com>
46628         [BZ #14349]
46629         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
46630         * sysdeps/s390/s390-64/configure.in: Likewise.
46631         * sysdeps/sparc/configure.in: Likewise.
46632         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
46633         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
46634         * sysdeps/i386/configure.in: Likewise.
46635         * sysdeps/x86_64/configure.in: Likewise.
46636         * sysdeps/sh/configure.in: Likewise.
46637         * sysdeps/s390/s390-32/configure: Regenerated.
46638         * sysdeps/s390/s390-64/configure: Likewise.
46639         * sysdeps/x86_64/configure: Likewise.
46640         * sysdeps/sh/configure: Likewise.
46641         * sysdeps/powerpc/powerpc64/configure: Likewise.
46642         * sysdeps/powerpc/powerpc32/configure: Likewise.
46643         * sysdeps/sparc/configure: Likwise.
46644         * sysdeps/i386/configure: Likewise.
46646         * elf/dl-open.c: Comment fixes.
46648 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
46650         * Makefile [CXX] (check-data): Remove.
46651         [CXX] (c++-types.data): New vpath directive.
46652         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
46653         vpath.  Do not allow for C++ type data being missing.
46654         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
46655         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
46656         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
46657         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
46658         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
46659         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
46660         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
46661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
46662         ... here.
46663         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
46664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
46665         ... here.
46666         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
46667         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
46668         ... here.
46669         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
46670         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
46671         ... here.
46672         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
46673         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
46674         ... here.
46675         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
46676         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
46677         ... here.
46678         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
46679         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
46680         ... here.
46681         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
46682         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
46684         * elf/tls-macros.h (TLS_LE): Move architecture-specific
46685         definitions to architecture-specific files.
46686         (TLS_IE): Likewise.
46687         (TLS_LD): Likewise.
46688         (TLS_GD): Likewise.
46689         * sysdeps/i386/tls-macros.h: New file.
46690         * sysdeps/powerpc/tls-macros.h: Likewise.
46691         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
46692         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
46693         * sysdeps/sh/tls-macros.h: Likewise.
46694         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
46695         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
46696         * sysdeps/x86_64/tls-macros.h: Likewise.
46698 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
46700         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
46701         zero value for regular exit case.
46703         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
46704         (__start_context): Preserve zero value for regular exit case.
46706 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
46707             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46709         * manual/setjmp.texi (setcontext): Clarify normal process
46710         termination when uc_link is the null pointer.
46711         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
46712         exit call.
46714 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
46716         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
46717         preprocessor.  Test for each exception mask separately.
46719 2012-07-16  Andreas Jaeger  <aj@suse.de>
46721         * po/ru.po: Update from translation team.
46723 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
46725         * conform/data/string.h-data (NULL): Use macro-constant.  Require
46726         equal to 0.
46727         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46728         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46729         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
46730         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
46731         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46733 2012-07-13  Andreas Jaeger  <aj@suse.de>
46735         * po/fr.po: Update from translation team.
46737 2012-07-12  Marek Polacek  <polacek@redhat.com>
46739         [BZ #14173]
46740         * math/libm-test.inc (yn_test): Add test for BZ #14173.
46741         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
46742         loop condition.
46744 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
46746         [BZ #13717]
46747         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46748         Change to 2.4.1 where previously 2.4.0.
46749         * sysdeps/unix/sysv/linux/configure: Regenerated.
46750         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
46751         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
46752         version.
46753         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
46754         (__ASSUME_AT_CLKTCK): Remove.
46755         (__ASSUME_AT_PAGESIZE): Likewise.
46756         (__ASSUME_AT_XID): Likewise.
46757         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
46758         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
46759         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
46760         unconditionally.
46761         (HAVE_AUX_PAGESIZE): Likewise.
46762         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
46763         [__ASSUME_AT_CLKTCK]: Make code unconditional.
46764         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
46766 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
46768         [BZ #14307]
46769         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
46770         the temporary buffer used to invoke __gethostbyname2_r,
46771         __gethostbyaddr_r and gethostbyname4_r to make room for struct
46772         host_data / struct gaih_addrtuple.
46773         * resolv/nss_dns/dns-host.c (global scope): Move definition of
46774         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
46775         header file nss/nsswitch.h.
46776         * nss/nsswitch.h (global scope): Add definition of implementation
46777         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
46778         resolv/nss_dns/dns-host.c).
46780 2012-07-11  Andreas Jaeger  <aj@suse.de>
46782         * po/fr.po: Update from translation team.
46784         * po/sv.po: Update from translation team
46785         * po/fr.po: Another update from translation team.
46787 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46789         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
46790         for subnormals or multiply small sinh result by itself.
46791         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46792         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46794 2012-07-11  David S. Miller  <davem@davemloft.net>
46796         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46798 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
46800         [BZ #14347]
46801         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
46802         (INTERNAL_MARK): Shift it here.
46804 2012-07-10  Marek Polacek  <polacek@redhat.com>
46806         [BZ #14151]
46807         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
46808         libc_cv_asm_global_directive with .globl.
46809         * configure: Regenerated.
46810         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
46811         with .globl.
46812         * sysdeps/i386/configure: Regenerated.
46813         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
46814         with .globl.
46815         * sysdeps/x86_64/configure: Regenerated.
46816         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
46817         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
46818         * elf/tst-unique2mod2.c: Likewise.
46819         * elf/tst-unique2mod1.c: Likewise.
46820         * elf/tst-unique1mod2.c: Likewise.
46821         * elf/tst-unique1mod1.c: Likewise.
46822         * sysdeps/s390/s390-32/sysdep.h: Likewise.
46823         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
46824         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46825         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46826         * sysdeps/mach/sysdep.h: Likewise.
46827         * sysdeps/i386/sysdep.h: Likewise.
46828         * sysdeps/i386/i386-mcount.S: Likewise.
46829         * sysdeps/x86_64/_mcount.S: Likewise.
46830         * sysdeps/x86_64/sysdep.h: Likewise.
46831         * sysdeps/sh/_mcount.S: Likewise.
46832         * sysdeps/sh/sysdep.h: Likewise.
46833         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
46834         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
46835         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
46836         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46837         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
46838         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
46839         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
46840         * locale/localeinfo.h: Likewise.
46841         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
46842         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
46844 2012-07-09  Roland McGrath  <roland@hack.frob.com>
46846         [BZ #14336]
46847         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
46848         system".
46849         * manual/message.texi (The Uniforum approach): Likewise.
46850         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
46851         (glibc iconv Implementation): Likewise.
46853 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
46855         [BZ #14337]
46856         * math/s_clog.c (__clog): Avoid scaling a value down where that
46857         could result in underflow.
46858         * math/s_clog10.c (__clog10): Likewise.
46859         * math/s_clog10f.c (__clog10f): Likewise.
46860         * math/s_clog10l.c (__clog10l): Likewise.
46861         * math/s_clogf.c (__clogf): Likewise.
46862         * math/s_clogl.c (__clogl): Likewise.
46863         * math/libm-test.inc (clog_test): Add more tests.
46864         (clog10_test): Likewise.
46865         * sysdeps/i386/fpu/libm-test-ulps: Update.
46866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46868 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
46870         [BZ #14283]
46871         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
46872         by 7 not 8 to examine high bit of fractional part.
46874         [BZ #14042]
46875         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
46876         for call to __mcount_internal.
46877         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
46878         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
46879         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
46881 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
46883         [BZ #14154]
46884         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
46885         approximation for values within 0x1p-13f of an odd multiple of
46886         pi/4.
46887         * math/libm-test.inc (tan_test): Do not allow spurious underflow
46888         exception.  Add more tests.
46889         * sysdeps/i386/fpu/libm-test-ulps: Update.
46891         [BZ #6778]
46892         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
46893         inputs and return -1 for them.  Do not check for +Inf in case not
46894         reachable for +Inf.
46895         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
46896         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
46897         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
46898         and return -1 for them.  Do not check for +Inf in case not
46899         reachable for +Inf.
46900         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
46901         define.
46902         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
46903         and return -1 for them.  Do not check for +Inf in case not
46904         reachable for +Inf.
46905         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
46906         spurious underflow.
46907         * sysdeps/i386/fpu/libm-test-ulps: Update.
46908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46910 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
46912         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
46914 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
46916         [BZ #14157]
46917         [BZ #14331]
46918         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
46919         could result in spurious underflow.  Scale down values above
46920         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
46921         * math/s_csqrtf.c (__csqrtf): Likewise.
46922         * math/s_csqrtl.c (__csqrtl): Likewise.
46923         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
46924         spurious underflow.
46925         * sysdeps/i386/fpu/libm-test-ulps: Update.
46926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46928 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
46930         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
46931         xopen-msg.sed.
46932         * catgets/xopen-msg.awk: New file.
46933         * catgets/xopen-msg.sed: Removed.
46935         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
46936         po2text.sed.
46937         * intl/po2test.awk: New file.
46938         * intl/po2test.sed: Removed.
46940 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
46942         [BZ #14328]
46943         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
46944         or multiply small sinh result by itself.
46945         * math/s_ctanf.c (__ctanf): Likewise.
46946         * math/s_ctanh.c (__ctanh): Likewise.
46947         * math/s_ctanhf.c (__ctanhf): Likewise.
46948         * math/s_ctanhl.c (__ctanhl): Likewise.
46949         * math/s_ctanl.c (__ctanl): Likewise.
46950         * math/libm-test.inc (ctan_test_tonearest): New function.
46951         (ctan_test_towardzero): Likewise.
46952         (ctan_test_downward): Likewise.
46953         (ctan_test_upward): Likewise.
46954         (ctanh_test_tonearest): Likewise.
46955         (ctanh_test_towardzero): Likewise.
46956         (ctanh_test_downward): Likewise.
46957         (ctanh_test_upward): Likewise.
46958         (main): Call these new functions.
46959         * sysdeps/i386/fpu/libm-test-ulps: Update.
46960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46962 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
46964         * .gitignore: Delete /ports entry.
46966 2012-07-03  Andreas Jaeger  <aj@suse.de>
46968         * po/bg.po: Update from translation team.
46969         * po/cs.po: Likewise.
46970         * po/de.po: Likewise.
46971         * po/hr.po: Likewise.
46972         * po/nl.pl: Likewise.
46973         * po/pl.po: Likewise.
46974         * po/vi.po: Likewise.
46976 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
46978         * Makeconfig [!+link] (+link-before-libc): New variable.
46979         [!+link] (+link-after-libc): Likewise.
46980         [!+link] (+link-tests): Likewise.
46981         [!+link] (+link): Define in terms of $(+link-before-libc) and
46982         $(+link-after-libc).
46983         [!+link-static] (+link-static-before-libc): New variable.
46984         [!+link-static] (+link-static-after-libc): Likewise.
46985         [!+link-static] (+link-static-tests): Likewise.
46986         [!+link-static] (+link-static): Define in terms of
46987         $(+link-static-before-libc) and $(+link-static-after-libc).
46988         [build-shared] (link-libc-before-gnulib): New variable.
46989         [build-shared] (link-libc-tests): Likewise.
46990         [build-shared] (link-libc): Define in terms of
46991         $(link-libc-before-gnulib).
46992         [!build-shared] (link-libc-tests): New variable.
46993         (link-libc-static-tests): New variable.
46994         [!gnulib] (gnulib-arch): New variable.
46995         [!gnulib] (gnulib-tests): Likewise.
46996         [!gnulib] (static-gnulib-arch): Likewise.
46997         [!gnulib] (static-gnulib-tests): Likewise.
46998         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
46999         Define with "=" instead of ":=".
47000         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
47001         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
47002         * Rules (binaries-all-notests): New variable.
47003         (binaries-all-tests): Likewise.
47004         (binaries-static-notests): Likewise.
47005         (binaries-static-tests): Likewise.
47006         (binaries-all): Define using $(binaries-all-notests) and
47007         $(binaries-all-tests).
47008         (binaries-static): Define using $(binaries-static-notests) and
47009         $(binaries-static-tests).
47010         (binaries-shared-tests): New variable.
47011         (binaries-shared-notests): Likewise.
47012         (binaries-shared): Remove variable.
47013         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
47014         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
47015         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
47016         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
47017         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
47018         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
47019         * elf/Makefile (sln-modules): New variable.
47020         (extra-objs): Add $(sln-modules:=.o).
47021         (ldconfig-modules): Add static-stubs.
47022         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
47023         * elf/static-stubs.c: New file.
47025         [BZ #14283]
47026         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
47027         by 7 not 8 to examine high bit of fractional part.  Use volatile
47028         variables when splitting into final array of floats if
47029         __FLT_EVAL_METHOD__ != 0.
47030         * math/libm-test.inc (cos_test): Add another test.
47031         (sin_test): Likewise.
47032         * sysdeps/i386/fpu/libm-test-ulps: Update.
47034         [BZ #14273]
47035         * math/libm-test.inc (cosh_test): Add more tests.
47037         * version.h (RELEASE): Set to "development".
47038         (VERSION): Set to "2.16.90".
47040 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
47042         * NEWS: Update copyright. Remove last-updated date.
47043         Mention math library bug fixes and timezone data changes.
47044         * README: Mention GNU/Hurd, x32, and HPPA support status.
47046 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
47048         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
47050 2012-06-27  Andreas Jaeger  <aj@suse.de>
47052         * manual/contrib.texi (Contributors): Add Samuel Thibault.
47054 2012-06-25  Andreas Jaeger  <aj@suse.de>
47056         * sysdeps/s390/fpu/libm-test-ulps: Update.
47058 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
47059             Thomas Schwinge  <thomas@codesourcery.com>
47061         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
47062         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
47063         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
47064         fanotify_mark.
47066 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
47068         * sysdeps/mach/start.c: Remove file.
47069         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
47070         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
47071         * sysdeps/sh/init-first.c: Likewise.
47073         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
47074         registers for frame unwinding purposes, add CFI directives.
47075         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47076         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
47077         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
47078         Likewise.
47080         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
47081         __fortify_fail returning.
47082         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47084         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
47085         sysdeps/sh/____longjmp_chk.S.
47086         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
47087         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
47088         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
47089         (gen-as-const-headers): Append sigaltstack-offsets.sym.
47091         * sysdeps/sh/abort-instr.h: New file.
47092         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
47093         process in case exit returns.
47095         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
47096         initialize the GOT register before use.
47098         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
47099         calculation of ARGC > 4.
47101         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
47102         meaningful names to some local labels.
47104 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47105             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47107         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
47108         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
47109         (__arch_compare_and_exchange_val_16_acq): Likewise.
47110         (__arch_compare_and_exchange_val_32_acq): Likewise.
47111         (atomic_exchange_and_add): Fix gUSA sequence.
47112         (atomic_add): Likewise.
47113         (atomic_add_negative): Likewise.
47114         (atomic_add_zero): Likewise.
47115         (atomic_bit_test_set): Likewise.
47117 2012-06-22  Andreas Schwab  <schwab@redhat.com>
47119         [BZ #13579]
47120         * include/link.h (struct link_map): Add l_free_initfini.
47121         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
47122         l_initfini.
47123         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
47124         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
47125         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
47126         set.
47128 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
47130         * configure.in: Use AC_LANG_SOURCE.
47131         * configure: Regenerate.
47133 2012-06-22  Roland McGrath  <roland@hack.frob.com>
47135         * configure.in (libc_cv_localstatedir): New substituted variable.
47136         * configure: Regenerated.
47137         * config.make.in (localstatedir): New variable, substituted from
47138         libc_cv_localstatedir.
47139         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
47140         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
47141         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
47142         * sysdeps/gnu/configure: Regenerated.
47144 2012-06-21  Jeff Law  <law@redhat.com>
47146         [BZ #14277]
47147         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
47148         free.  Simplify list management for _LIBC case.
47150 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
47152         [BZ #14273]
47153         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
47154         Clear sign bit of 64-bit integer value before comparing against
47155         overflow value.
47157         * sysdeps/mach/configure: Regenerated.
47159 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
47161         [BZ #14278]
47162         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
47164 2012-06-21  Jeff Law  <law@redhat.com>
47166         [BZ #13882]
47167         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
47168         uint16_t for elements in the "seen" array to avoid char overflows.
47169         * elf/dl-fini.c (_dl_sort_fini): Likewise.
47170         * elf/dl-open.c (dl_open_worker): Likewise.
47172 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
47174         * scripts/list-sources.sh: Scan PORTS for translations.
47175         * po/libc.pot: Regenerated.
47177 2012-06-21  Andreas Jaeger  <aj@suse.de>
47179         [BZ #12194]
47180         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
47181         warning.
47182         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
47183         * bits/byteswap-16.h (__bswap_16): Likewise.
47184         * bits/byteswap.h (__bswap_constant_16): Likewise.
47186 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
47188         [BZ #14117]
47189         * sysdeps/i386/fpu_control.h: Removed.
47190         * sysdeps/x86_64/fpu_control.h: Moved to ...
47191         * sysdeps/x86/fpu_control.h: Here.
47193         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
47194         (_FPU_SETCW): Likewise.
47196 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
47198         [BZ #14117]
47199         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
47200         * sysdeps/x86/fpu/bits/mathinline.h: This.
47201         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
47203         [BZ #14050]
47204         [BZ #14117]
47205         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
47206         functions if __x86_64__ is defined.
47208 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
47210         * string/endian.h: Add !__ASSEMBLER__ condition for including
47211         conversion interfaces.
47213 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
47215         [BZ #14241]
47216         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
47217         of ABS(x) in calculating zero to negative powers other than odd
47218         integers.
47219         * math/libm-test.inc (pow_test): Add more tests.
47221 2012-06-15  Andreas Jaeger  <aj@suse.de>
47223         * manual/contrib.texi (Contributors): Update entry of Liubov
47224         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
47225         Machado Filho.
47227 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
47229         * string/string.h: Add __wur to GNU version of strerror_r.
47231 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
47233         [BZ #14229]
47234         * string/Makefile (tests): Add tst-strtok_r.
47235         * string/tst-strtok_r.c: New file.
47236         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
47237         RAX_LP/RDX_LP on SAVE_PTR.
47239 2012-06-14  Roland McGrath  <roland@hack.frob.com>
47241         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
47243 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
47245         * libm_test.inc (csqrt_test): Allow more spurious underflow
47246         exceptions.
47247         (j0_test): Likewise.
47248         (j1_test): Likewise.
47249         (y0_test): Likewise.
47250         (y1_test): Likewise.
47252 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
47254         * po/Makefile (libc.pot): Use UTF-8 charset.
47256 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
47258         [BZ #14210]
47259         Suppress sign-conversion warning from FD_SET.
47260         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
47261         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
47262         not unsigned long int.
47263         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
47265 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
47267         [BZ #14050]
47268         [BZ #14117]
47269         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
47270         __extern_always_inline instead of __extern_inline.
47271         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
47272         (__signbit): Likewise.
47273         (__signbitl): Support C++ namespace.
47274         (lrintf): New inline function.
47275         (lrint): Likewise.
47276         (llrintf): Likewise.
47277         (llrint): Likewise.
47278         (fmaxf): Likewise.
47279         (fmax): Likewise.
47280         (fminf): Likewise.
47281         (fmin): Likewise.
47282         (rint): Likewise.
47283         (rintf): Likewise.
47284         (ceil): Likewise.
47285         (ceilf): Likewise.
47286         (floor): Likewise.
47287         (floorf): Likewise.
47288         (nearbyint): Likewise.
47289         (nearbyintf): Likewise.
47291 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
47293         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
47294         non-default versions.
47296 2012-06-11  Roland McGrath  <roland@hack.frob.com>
47298         [BZ #14218]
47299         * manual/argp.texi (Argp): Reword argp_parse description slightly.
47301 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
47303         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
47304         (FE_UPWARD, FE_DOWNWARD): Don't define.
47305         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
47306         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47308         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
47309         reading it.
47310         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47311         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47313 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47315         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
47316         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
47317         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
47318         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
47320 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
47322         [BZ #14117]
47323         * sysdeps/i386/fpu/bits/fenv.h: Removed.
47324         * sysdeps/i386/fpu/Implies: New file.
47325         * sysdeps/x86_64/fpu/Implies: Likewise.
47326         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
47327         * sysdeps/x86/fpu/bits/fenv.h: This.
47329         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
47330         __SSE_MATH__.
47332 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47334         [BZ #14134]
47335         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
47336         character 0xffff that matches the last element of the
47337         conversion table.
47339 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47341         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
47342         fmodl commit.
47344 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47346         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
47347         values higher than 25.6283.
47349 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47351         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
47352         subnormal exponent extraction and add some __builtin_expect.
47353         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
47354         Fix for subnormal mantissa calculation.
47356 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
47358         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
47359         cpu2 is -1 and errno is not ENOSYS.
47361 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
47363         [BZ #14117]
47364         * sysdeps/i386/i486/bits/string.h: Renamed to ...
47365         * sysdeps/x86/bits/string.h: This.
47366         * sysdeps/x86_64/bits/string.h: Removed.
47368         * sysdeps/i386/i486/bits/string.h: Define inline functions only
47369         if not compiling for x86-64, but compiling for >= i486.
47371         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
47372         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
47374         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
47375         New macro from Linux kernel 3.4.0.
47376         (FP_XSTATE_MAGIC2): Likewise.
47377         (FP_XSTATE_MAGIC2_SIZE): Likewise.
47378         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
47379         (struct _fpx_sw_bytes): New struct.
47380         (struct _xsave_hdr): Likewise.
47381         (struct _ymmh_state): Likewise.
47382         (struct _xstate): Likewise.
47384         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
47385         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
47386         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
47387         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
47388         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
47389         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
47391         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
47392         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
47393         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
47394         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
47395         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
47396         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
47398 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47400         [BZ #13743]
47401         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
47402         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
47403         (sysdep_headers): Include sys/platform/ppc.h.
47404         * sysdeps/powerpc/test-gettimebase.c: Test for
47405         __ppc_get_timebase() to catch future ISA opcode/insn changes.
47406         * manual/Makefile (appendices): Include platform.texi.
47407         * manual/contrib.texi (Contributors): Update @node pointers.
47408         * manual/maint.texi (Maintenance): Likewise.
47409         (Platform): New node.
47410         * manual/platform.texi: New file.  Document the new features.
47412 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47413             Jakub Jelinek  <jakub@redhat.com>
47415         [BZ #14188]
47416         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
47417         where __builtin_expect is unavailable.
47419 2012-06-03  David S. Miller  <davem@davemloft.net>
47421         * stdlib/longlong.h: Updated from GCC.
47423 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
47425         [BZ #14042]
47426         * sysdeps/powerpc/powerpc32/mcount.c: New file.
47427         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
47428         __mcount_internal.
47429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
47430         (GLIBC_2.16): Likewise.
47432 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47434         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
47436 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
47438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
47439         (default-abi): New variable.
47440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
47441         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
47442         variable.
47443         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
47444         Likewise.
47445         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
47446         Likewise.
47447         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
47448         Likewise.
47450         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
47451         definition.  Document in comment.
47453 2012-06-01  David S. Miller  <davem@davemloft.net>
47455         * stdlib/longlong.h: Updated from GCC.
47457 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47459         [BZ #14117]
47460         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
47461         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
47462         sys/debugreg.h sys/io.h here.
47463         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
47464         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
47465         sys/io.h.
47466         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
47467         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
47468         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
47469         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
47470         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
47471         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
47473         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
47474         Define only if __x86_64__ is defined.
47476 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
47478         [BZ #14048]
47479         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
47480         Use int64_t for variable i.
47481         * math/libm-test.inc (fmod_test): Add more tests.
47483         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
47484         z computation is not scheduled after fetestexcept.
47485         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
47486         Use math_force_eval instead of asm to ensure calculation scheduled
47487         before exception test.
47488         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
47489         Ensure a1 + u.d computation is not scheduled after fetestexcept.
47491 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
47493         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
47494         computation is not scheduled after fetestexcept.
47496 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47498         [BZ #14117]
47499         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
47500         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
47502 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47504         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
47505         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47507 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
47509         [BZ #14117]
47510         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
47511         <bits/wordsize.h>.
47512         (__WCHAR_MIN): Support __WORDSIZE == 64.
47513         (__WCHAR_MAX): Likewise.
47515         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
47516         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
47518         [BZ #14183]
47519         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
47520         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
47522         [BZ #14117]
47523         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
47524         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
47526         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
47527         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
47529         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
47530         Defined to 1 if __x86_64__ isn't defined.
47531         (_STAT_VER_LINUX_OLD): New.
47532         (st_atime): Remove duplicate.
47533         (st_mtime): Likewise.
47534         (st_ctime): Likewise.
47536 2012-05-31  David S. Miller  <davem@davemloft.net>
47538         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
47539         entries.
47541 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
47543         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
47544         gen-libm-test.pl.
47546         [BZ #14132]
47547         * elf/dl-reloc.c: Include <_itoa.h>.
47548         (_dl_reloc_bad_type): Remove use of INTUSE.
47549         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
47550         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
47551         * stdio-common/psiginfo.c (psiginfo): Likewise.
47552         * stdio-common/psignal.c (psignal): Likewise.
47553         * string/strsignal.c (strsignal): Likewise.
47554         * include/signal.h (_sys_siglist): Declare hidden proto.
47555         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
47556         INTVARDEF with libc_hidden_data_def.
47557         * stdio-common/itoa-udigits.c: Likewise.
47558         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
47559         (_itoa_lower_digits_internal): Remove declaration.
47560         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
47561         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
47562         (_sys_sigabbrev_internal): Remove aliases.
47563         (_sys_siglist): Define hidden alias.
47565 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
47567         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47568         bits/sysctl.h.
47570 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
47572         [BZ #14117]
47573         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
47574         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
47576         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
47577         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
47578         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
47579         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
47580         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
47581         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
47583         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
47584         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
47585         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
47587         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
47588         with __addr.
47589         (insw): Likewise.
47590         (insl): Likewise.
47591         (outsb): Likewise.
47592         (outsw): Likewise.
47593         (outsl): Likewise.
47595         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
47596         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
47597         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
47599         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
47600         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
47601         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
47602         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
47603         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
47604         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
47606         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
47607         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
47609         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
47610         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
47612         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
47613         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
47614         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
47616         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
47617         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
47618         to ...
47619         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
47621         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
47622         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
47623         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
47625         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
47626         for x86-64.
47627         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
47629 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
47631         * math/math.h (M_El): Use two more decimal places.
47632         (M_LOG2El): Likewise.
47633         (M_LOG10El): Likewise.
47634         (M_LN2l): Likewise.
47635         (M_LN10l): Likewise.
47636         (M_PIl): Likewise.
47637         (M_PI_2l): Likewise.
47638         (M_PI_4l): Likewise.
47639         (M_1_PIl): Likewise.
47640         (M_2_PIl): Likewise.
47641         (M_2_SQRTPIl): Likewise.
47642         (M_SQRT2l): Likewise.
47643         (M_SQRT1_2l): Likewise.
47645 2012-05-31  David S. Miller  <davem@davemloft.net>
47647         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
47648         values between float registers.
47649         * sysdeps/sparc/sparc64/memset.S: Likewise.
47650         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
47652 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
47654         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
47655         -D_FORTIFY_SOURCE=1.
47656         (CPPFLAGS-tst-longjmp_chk.c): Define.
47657         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
47658         (CPPFLAGS-tst-longjmp_chk2.c): Define.
47659         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
47660         CFLAGS-tst-wchar-h.c.
47662 2012-05-31  Marek Polacek  <polacek@redhat.com>
47664         [BZ #14132]
47665         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
47666         __endmntent_internal): Remove declaration.
47667         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
47668         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
47669         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
47671 2012-05-30  David S. Miller  <davem@davemloft.net>
47673         * sysdeps/sparc/sparc32/soft-fp/q_util.c
47674         (___Q_simulate_exceptions): Use real FP ops rather than writing
47675         into the %fsr.
47676         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
47677         Likewise.
47679 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47681         [BZ #14117]
47682         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
47683         * sysdeps/x86/bits/xtitypes.h: This.
47685         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
47686         * sysdeps/x86/bits/wordsize.h: This.
47688         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
47689         * sysdeps/x86/bits/huge_vall.h: This.
47691         * sysdeps/i386/bits/select.h: Removed.
47692         * sysdeps/x86_64/bits/select.h: Renamed to ...
47693         * sysdeps/x86/bits/select.h: This.
47695         * sysdeps/i386/bits/setjmp.h: Removed.
47696         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
47697         * sysdeps/x86/bits/setjmp.h: This.
47699         * sysdeps/i386/bits/mathdef.h: Removed.
47700         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
47701         * sysdeps/x86/bits/mathdef.h: This.
47703 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
47705         [BZ #14132]
47706         * include/sys/socket.h (__connect_internal)
47707         (__libc_sa_len_internal): Remove declaration.
47708         (__connect, __libc_sa_len): Declare hidden_proto.
47709         (SA_LEN): Remove use of INTUSE.
47710         * socket/connect.c: Add libc_hidden_def.
47711         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
47712         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
47713         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
47714         alias.
47715         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
47716         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
47717         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
47718         of adding _internal alias.
47720 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47722         [BZ #14117]
47723         * sysdeps/i386/bits/link.h: Removed.
47724         * sysdeps/i386/bits/linkmap.h: Likewise.
47725         * sysdeps/x86_64/bits/link.h: Renamed to ...
47726         * sysdeps/x86/bits/link.h: This.
47727         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
47728         * sysdeps/x86/bits/linkmap.h: This.
47730         * sysdeps/i386/bits/endian.h: Removed.
47731         * sysdeps/x86_64/bits/endian.h: Renamed to ...
47732         * sysdeps/x86/bits/endian.h: This.
47734         * sysdeps/i386/bits/byteswap.h: Removed.
47735         * sysdeps/i386/bits/byteswap-16.h: Likewise.
47736         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
47737         * sysdeps/x86/bits/byteswap.h: This.
47738         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
47739         * sysdeps/x86/bits/byteswap-16.h: This.
47740         * sysdeps/i386/Implies: Add x86.
47741         * sysdeps/x86_64/Implies: Likewise.
47743 2012-05-30  David S. Miller  <davem@davemloft.net>
47745         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
47746         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
47747         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
47748         (FP_TRAPPING_EXCEPTIONS): Define.
47749         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
47750         (FP_TRAPPING_EXCEPTIONS): Define.
47751         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
47752         subnormals only when inexact has been signalled or underflow
47753         exceptions are enabled.
47754         (_FP_PACK_CANONICAL): Likewise.
47756 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47758         [BZ #14183]
47759         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
47760         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
47762 2012-05-30  Richard Henderson  <rth@twiddle.net>
47764         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
47765         with #ifndef NOT_IN_libc.
47767         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
47768         marked to avoid plt entry.
47770 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47772         [BZ #14112]
47773         * Makeconfig (default-abi): New macro.
47774         (abi-includes): Likewise.
47775         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
47776         $(abi-$(default-abi)-lib-soname) for soname if defined.
47777         ($(common-objpfx)gnu/lib-names.stmp): Generate from
47778         abi-variants.
47779         * Makefile (installed-stubs): Likewise.
47780         * include/stubs-biarch.h: Removed.
47781         * scripts/lib-names.awk: Only handle one library at a time.
47782         * scripts/soversions.awk: Remove WORDSIZE support.
47783         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
47784         entries.
47785         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
47786         Removed.
47787         (syscall-list-default-condition): Likewise.
47788         (syscall-list-default-condition): Likewise.
47789         (syscall-list-includes): Likewise.
47790         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
47791         syscall-list-* with abi-*.  Handle undefined abi-variants.
47792         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
47793         * sysdeps/unix/sysv/linux/i386/Implies: New file.
47794         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
47795         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
47796         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
47797         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
47798         Removed.
47799         (syscall-list-32-options): Likewise.
47800         (syscall-list-32-condition): Likewise.
47801         (syscall-list-64-options): Likewise.
47802         (syscall-list-64-condition): Likewise.
47803         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
47804         macro.
47805         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
47806         Renamed to ...
47807         (abi-*): This.
47808         (abi-64-ld-soname): New macro.
47809         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
47810         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
47811         Renamed to ...
47812         (abi-*): This.
47813         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
47814         * sysdeps/x86_64/x32/shlib-versions: Likewise.
47816 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
47818         * sysdeps/unix/sysv/linux/kernel-features.h
47819         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
47820         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
47821         include <kernel-features.h>.
47822         [!__NR_ftruncate64]: Remove conditional code.
47823         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47824         [__NR_ftruncate64]: Make code unconditional.
47825         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47826         * sysdeps/unix/sysv/linux/truncate64.c: Do not
47827         include <kernel-features.h>.
47828         [!__NR_ftruncate64]: Remove conditional code.
47829         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47830         [__NR_ftruncate64]: Make code unconditional.
47831         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
47833         include <kernel-features.h>.
47834         [!__NR_ftruncate64]: Remove conditional code.
47835         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47836         [__NR_ftruncate64]: Make code unconditional.
47837         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
47839         include <kernel-features.h>.
47840         [!__NR_ftruncate64]: Remove conditional code.
47841         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47842         [__NR_ftruncate64]: Make code unconditional.
47843         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47845         * configure.in (libc_cv_fpie): Weaken to a compile test using
47846         LIBC_TRY_CC_OPTION.
47847         * configure: Regenerated.
47849 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47851         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
47852         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
47853         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
47854         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47855         Refreshed.
47856         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
47857         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
47858         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
47859         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
47860         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
47861         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47862         Refreshed.
47864 2012-05-27  David S. Miller  <davem@davemloft.net>
47866         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
47867         (___Q_zero): New.
47868         (__Q_simulate_exceptions): Return void.  Change to simulate
47869         exceptions by writing into the %fsr.
47870         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
47871         (__Qp_handle_exceptions): Likewise.
47872         (numbers): Delete.
47873         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
47874         __Qp_handle_exceptions.
47875         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
47876         __Qp_handle_exceptions.
47877         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
47878         as unused and give dummy FP_RND_NEAREST initializer.
47879         (FP_INHIBIT_RESULTS): Define.
47880         (___Q_simulate_exceptions): Update declaration.
47881         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
47882         formatting.
47883         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
47884         as unused and give dummy FP_RND_NEAREST initializer.
47885         (__Qp_handle_exceptions): Update declaration.
47886         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
47887         formatting.
47889 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
47891         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
47892         the temporary FPU control word.
47893         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
47894         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
47895         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
47896         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47897         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
47898         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
47899         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
47900         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47901         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
47902         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
47903         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47905 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47907         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
47908         fields.
47910 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
47912         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
47913         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
47914         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
47915         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
47916         Likewise.
47917         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
47918         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
47919         Likewise.
47921 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
47923         * po/h.po: Update from translation team.
47925 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
47927         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
47929         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
47930         handling of denormals.
47931         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
47932         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
47933         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
47934         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
47935         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47936         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
47937         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
47938         Likewise.
47940 2012-05-26  Marek Polacek  <polacek@redhat.com>
47942         [BZ #14152]
47943         * math/libm-test.inc (fma_test): Don't always expect underflow
47944         exception.
47946 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47948         [BZ #12416]
47949         * elf/tst-execstack.c: Include stackinfo.h.
47950         (do_test): Adjust test case to ensure that pthread_getattr_np
47951         behaviour remains the same after marking stack executable.
47953 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
47955         * sysdeps/unix/sysv/linux/kernel-features.h
47956         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
47957         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
47958         kernel-features.h.
47959         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
47960         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
47961         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
47962         kernel-features.h.
47963         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
47964         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
47966 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
47968         * configure.in: Define the default includes to being none.
47969         * configure: Regenerated.
47971 2012-05-25  Roland McGrath  <roland@hack.frob.com>
47973         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
47974         * sysdeps/x86_64/setjmp.S: Likewise.
47975         * sysdeps/i386/bsd-setjmp.S: Likewise.
47976         * sysdeps/i386/bsd-_setjmp.S: Likewise.
47977         * sysdeps/i386/setjmp.S: Likewise.
47978         * sysdeps/i386/__longjmp.S: Likewise.
47979         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
47980         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
47982         * include/stap-probe.h: New file.
47983         * configure.in: Handle --enable-systemtap.
47984         * configure: Regenerated.
47985         * config.h.in (USE_STAP_PROBE): New #undef.
47986         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
47987         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
47988         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
47990 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
47992         [BZ #13717]
47993         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
47994         to 2.4.0 where earlier.
47995         * sysdeps/unix/sysv/linux/configure: Regenerated.
47996         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
47997         <kernel-features.h>.
47998         [__ASSUME_32BITUIDS]: Make code unconditional.
47999         [!__ASSUME_32BITUIDS]: Remove conditional code.
48000         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
48001         <kernel-features.h>.
48002         [__ASSUME_32BITUIDS]: Make code unconditional.
48003         [!__ASSUME_32BITUIDS]: Remove conditional code.
48004         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
48005         [__ASSUME_32BITUIDS]: Make code unconditional.
48006         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
48007         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
48008         <kernel-features.h>.
48009         [__ASSUME_32BITUIDS]: Make code unconditional.
48010         [!__ASSUME_32BITUIDS]: Remove conditional code.
48011         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
48012         <kernel-features.h>.
48013         [__ASSUME_32BITUIDS]: Make code unconditional.
48014         [!__ASSUME_32BITUIDS]: Remove conditional code.
48015         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
48016         <kernel-features.h>.
48017         [__ASSUME_32BITUIDS]: Make code unconditional.
48018         [!__ASSUME_32BITUIDS]: Remove conditional code.
48019         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
48020         <kernel-features.h>.
48021         [__ASSUME_32BITUIDS]: Make code unconditional.
48022         [!__ASSUME_32BITUIDS]: Remove conditional code.
48023         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
48024         <kernel-features.h>.
48025         [__ASSUME_32BITUIDS]: Make code unconditional.
48026         [!__ASSUME_32BITUIDS]: Remove conditional code.
48027         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
48028         <kernel-features.h>.
48029         [__ASSUME_32BITUIDS]: Make code unconditional.
48030         [!__ASSUME_32BITUIDS]: Remove conditional code.
48031         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
48032         <kernel-features.h>.
48033         [__ASSUME_32BITUIDS]: Make code unconditional.
48034         [!__ASSUME_32BITUIDS]: Remove conditional code.
48035         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
48036         <kernel-features.h>.
48037         [__ASSUME_32BITUIDS]: Make code unconditional.
48038         [!__ASSUME_32BITUIDS]: Remove conditional code.
48039         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
48040         <kernel-features.h>.
48041         [__ASSUME_32BITUIDS]: Make code unconditional.
48042         [!__ASSUME_32BITUIDS]: Remove conditional code.
48043         * sysdeps/unix/sysv/linux/i386/semctl.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/setegid.c: Do not include
48048         <kernel-features.h>.
48049         [__NR_setresgid] (__setresgid): Do not declare.
48050         [__ASSUME_32BITUIDS]: Make code unconditional.
48051         [!__ASSUME_32BITUIDS]: Remove conditional code.
48052         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
48053         <kernel-features.h>.
48054         [__NR_setresuid] (__setresuid): Do not declare.
48055         [__ASSUME_32BITUIDS]: Make code unconditional.
48056         [!__ASSUME_32BITUIDS]: Remove conditional code.
48057         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
48058         <kernel-features.h>.
48059         [__ASSUME_32BITUIDS]: Make code unconditional.
48060         [!__ASSUME_32BITUIDS]: Remove conditional code.
48061         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
48062         <kernel-features.h>.
48063         [__ASSUME_32BITUIDS]: Make code unconditional.
48064         [!__ASSUME_32BITUIDS]: Remove conditional code.
48065         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
48066         <kernel-features.h>.
48067         [__ASSUME_32BITUIDS]: Make code unconditional.
48068         [!__ASSUME_32BITUIDS]: Remove conditional code.
48069         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
48070         <kernel-features.h>.
48071         [__ASSUME_32BITUIDS]: Make code unconditional.
48072         [!__ASSUME_32BITUIDS]: Remove conditional code.
48073         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
48074         <kernel-features.h>.
48075         [__ASSUME_32BITUIDS]: Make code unconditional.
48076         [!__ASSUME_32BITUIDS]: Remove conditional code.
48077         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
48078         <kernel-features.h>.
48079         [__ASSUME_32BITUIDS]: Make code unconditional.
48080         [!__ASSUME_32BITUIDS]: Remove conditional code.
48081         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
48082         <kernel-features.h>.
48083         [__ASSUME_32BITUIDS]: Make code unconditional.
48084         [!__ASSUME_32BITUIDS]: Remove conditional code.
48085         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
48086         <kernel-features.h>.
48087         [__ASSUME_32BITUIDS]: Make code unconditional.
48088         [!__ASSUME_32BITUIDS]: Remove conditional code.
48089         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
48090         <kernel-features.h>.
48091         [__ASSUME_32BITUIDS]: Make code unconditional.
48092         [!__ASSUME_32BITUIDS]: Remove conditional code.
48093         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
48094         <kernel-features.h>.
48095         [__ASSUME_32BITUIDS]: Make code unconditional.
48096         [!__ASSUME_32BITUIDS]: Remove conditional code.
48097         * sysdeps/unix/sysv/linux/kernel-features.h
48098         (__ASSUME_SETRESUID_SYSCALL): Remove.
48099         (__ASSUME_SETRESGID_SYSCALL): Likewise.
48100         (__ASSUME_32BITUIDS): Likewise.
48101         (__ASSUME_LDT_WORKS): Likewise.
48102         (__ASSUME_O_DIRECTORY): Likewise.
48103         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
48104         architecture but not kernel version.
48105         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
48106         (__ASSUME_MMAP2_SYSCALL): Likewise.
48107         (__ASSUME_STAT64_SYSCALL): Likewise.
48108         (__ASSUME_IPC64): Likewise.
48109         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
48110         <kernel-features.h>.
48111         [__ASSUME_32BITUIDS]: Make code unconditional.
48112         [!__ASSUME_32BITUIDS]: Remove conditional code.
48113         * sysdeps/unix/sysv/linux/opendir.c: Do not include
48114         <kernel-features.h>.
48115         [__ASSUME_O_DIRECTORY]: Make code unconditional.
48116         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
48117         132096]: Remove conditional code.
48118         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
48119         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
48120         <kernel-features.h>.
48121         [__ASSUME_32BITUIDS]: Make code unconditional.
48122         [!__ASSUME_32BITUIDS]: Remove conditional code.
48123         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
48124         <kernel-features.h>.
48125         [__ASSUME_32BITUIDS]: Make code unconditional.
48126         [!__ASSUME_32BITUIDS]: Remove conditional code.
48127         * sysdeps/unix/sysv/linux/setegid.c: Do not include
48128         <kernel-features.h>.
48129         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
48130         unconditional.
48131         (__setresgid): Do not declare.
48132         [__ASSUME_32BITUIDS]: Make code unconditional.
48133         [!__ASSUME_32BITUIDS]: Remove conditional code.
48134         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
48135         <kernel-features.h>.
48136         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
48137         unconditional.
48138         (__setresuid): Do not declare.
48139         [__ASSUME_32BITUIDS]: Make code unconditional.
48140         [!__ASSUME_32BITUIDS]: Remove conditional code.
48141         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
48142         <kernel-features.h>.
48143         [__ASSUME_32BITUIDS]: Make code unconditional.
48144         [!__ASSUME_32BITUIDS]: Remove conditional code.
48145         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
48146         <kernel-features.h>.
48147         [__ASSUME_32BITUIDS]: Make code unconditional.
48148         [!__ASSUME_32BITUIDS]: Remove conditional code.
48150 2012-05-25  Richard Henderson  <rth@twiddle.net>
48152         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
48153         dl_hwcap to ifunc resolver.
48154         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
48155         elf_ifunc_invoke.
48156         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
48157         dl_hwcap to ifunc resolver.
48158         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
48160 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48162         [BZ #14153]
48163         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
48164         for |x| <= 2**-26, not 2**-57.
48165         * math/libm-test.inc (acos_test): Do not allow spurious underflow
48166         exception.
48168 2012-05-24  Jeff Law  <law@redhat.com>
48170         * stdio-common/Makefile (tests): Add bug25.
48171         * stdio-common/bug25.c: New test.
48173 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
48175         [BZ #13576]
48176         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
48177         multiple of MALLOC_ALIGNMENT in size.
48178         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
48180 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48182         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
48183         Require >= 256.
48184         (FILENAME_MAX): Use macro-int-constant.
48185         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
48186         (_IOFBF): Use macro-int-constant.
48187         (_IOLBF): Likewise.
48188         (_IONBF): Likewise.
48189         (SEEK_CUR): Likewise.
48190         (SEEK_END): Likewise.
48191         (SEEK_SET): Likewise.
48192         (TMP_MAX): Likewise.
48193         (EOF): Use macro-int-constant.  Require < 0.
48194         (NULL): Use macro-constant.  Require == 0.
48195         (stdin): Require type to be FILE *.
48196         (stdout): Likewise.
48197         (stderr): Likewise.
48198         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
48199         macro-int-constant.
48200         (EXIT_SUCCESS): Likewise.
48201         (NULL): Use macro-constant.  Require == 0.
48202         (RAND_MAX): Use macro-int-constant.
48203         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
48204         [C99-based standards] (strtof): Require function.
48205         [C99-based standards] (strtold): Likewise.
48206         [C99-based standards] (strtoll): Likewise.
48207         [C99-based standards] (strtoull): Likewise.
48208         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48209         [ISO || ISO99 || ISO11] (limits.h): Likewise.
48210         [ISO || ISO99 || ISO11] (math.h): Likewise.
48211         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
48212         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48213         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48215 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
48217         [BZ #14132]
48218         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
48219         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
48220         * intl/dgettext.c (DCGETTEXT): Likewise.
48221         * intl/gettext.c (DCGETTEXT): Likewise.
48222         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
48223         * posix/regex_internal.h (gettext): Likewise.
48224         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
48225         Remove declaration.
48226         * include/argz.h (__argz_count_internal)
48227         (__argz_stringify_internal): Remove declaration.
48228         (__argz_count, __argz_stringify): Declare hidden proto.
48229         * intl/dcgettext.c: Remove use of INTDEF.
48230         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
48231         * string/argz-stringify.c: Likewise.
48232         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48233         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48234         Declare hidden proto.
48235         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48236         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48237         Declare hidden proto.
48238         * include/stdio.h (__asprintf_internal): Don't declare.
48239         (__asprintf): Don't define as macro.  Declare hidden proto.
48240         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
48241         (__fsetlocking): Declare hidden proto.
48242         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
48243         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
48244         hidden proto.
48245         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
48246         (_IO_setlinebuf): Remove use of INTUSE.
48247         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
48248         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
48249         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
48250         Remove declaration.
48251         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
48252         (_IO_do_flush): Remove use of INTUSE.
48253         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
48254         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
48255         (_IO_adjust_column, _IO_least_wmarker)
48256         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
48257         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
48258         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
48259         (_IO_default_doallocate, _IO_wdefault_doallocate)
48260         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
48261         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
48262         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
48263         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
48264         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
48265         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
48266         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
48267         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
48268         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
48269         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
48270         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
48271         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
48272         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
48273         proto.
48274         (_IO_flush_all_internal, _IO_adjust_column_internal)
48275         (_IO_default_uflow_internal, _IO_default_finish_internal)
48276         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
48277         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
48278         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
48279         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
48280         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
48281         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
48282         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
48283         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
48284         (_IO_file_close_internal, _IO_file_close_it_internal)
48285         (_IO_file_underflow_internal, _IO_file_overflow_internal)
48286         (_IO_file_init_internal, _IO_file_attach_internal)
48287         (_IO_file_fopen_internal, _IO_file_read_internal)
48288         (_IO_file_sync_internal, _IO_file_seek_internal)
48289         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
48290         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
48291         (_IO_str_underflow_internal, _IO_str_overflow_internal)
48292         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
48293         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
48294         (_IO_list_all_internal, _IO_link_in_internal)
48295         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
48296         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
48297         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
48298         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
48299         (_IO_do_write_internal, _IO_padn_internal)
48300         (_IO_getline_info_internal, _IO_getline_internal)
48301         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
48302         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
48303         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
48304         (_IO_vfscanf_internal, _IO_vfprintf_internal)
48305         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
48306         (_IO_init_internal, _IO_un_link_internal): Don't declare.
48307         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
48308         with libc_hidden_ver, remove use of INTUSE.
48309         * libio/genops.c: Likewise.
48310         * libio/freopen.c: Likewise.
48311         * libio/freopen64.c: Likewise.
48312         * libio/iofclose.c: Likewise.
48313         * libio/iofdopen.c: Likewise.
48314         * libio/iofflush.c: Likewise.
48315         * libio/iofflush_u.c: Likewise.
48316         * libio/iofgets.c: Likewise.
48317         * libio/iofgets_u.c: Likewise.
48318         * libio/iofopen.c: Likewise.
48319         * libio/iofopncook.c: Likewise.
48320         * libio/iofread.c: Likewise.
48321         * libio/iofread_u.c: Likewise.
48322         * libio/ioftell.c: Likewise.
48323         * libio/iofwrite.c: Likewise.
48324         * libio/iogetline.c: Likewise.
48325         * libio/iogets.c: Likewise.
48326         * libio/iogetwline.c: Likewise.
48327         * libio/iopadn.c: Likewise.
48328         * libio/iopopen.c: Likewise.
48329         * libio/ioseekoff.c: Likewise.
48330         * libio/ioseekpos.c: Likewise.
48331         * libio/iosetbuffer.c: Likewise.
48332         * libio/iosetvbuf.c: Likewise.
48333         * libio/ioungetc.c: Likewise.
48334         * libio/ioungetwc.c: Likewise.
48335         * libio/iovdprintf.c: Likewise.
48336         * libio/iovsprintf.c: Likewise.
48337         * libio/iovsscanf.c: Likewise.
48338         * libio/memstream.c: Likewise.
48339         * libio/obprintf.c: Likewise.
48340         * libio/oldfileops.c: Likewise.
48341         * libio/oldiofclose.c: Likewise.
48342         * libio/oldiofdopen.c: Likewise.
48343         * libio/oldiofopen.c: Likewise.
48344         * libio/oldiopopen.c: Likewise.
48345         * libio/oldstdfiles.c: Likewise.
48346         * libio/putc.c: Likewise.
48347         * libio/setbuf.c: Likewise.
48348         * libio/setlinebuf.c: Likewise.
48349         * libio/stdfiles.c: Likewise.
48350         * libio/strops.c: Likewise.
48351         * libio/vasprintf.c: Likewise.
48352         * libio/vscanf.c: Likewise.
48353         * libio/vsnprintf.c: Likewise.
48354         * libio/vswprintf.c: Likewise.
48355         * libio/wfiledoalloc.c: Likewise.
48356         * libio/wfileops.c: Likewise.
48357         * libio/wgenops.c: Likewise.
48358         * libio/wmemstream.c: Likewise.
48359         * libio/wstrops.c: Likewise.
48360         * libio/__fpurge.c: Likewise.
48361         * libio/__fsetlocking.c: Likewise.
48362         * assert/assert.c: Likewise.
48363         * debug/fgets_chk.c: Likewise.
48364         * debug/fgets_u_chk.c: Likewise.
48365         * debug/fread_chk.c: Likewise.
48366         * debug/fread_u_chk.c: Likewise.
48367         * debug/gets_chk.c: Likewise.
48368         * debug/obprintf_chk.c: Likewise.
48369         * debug/vasprintf_chk.c: Likewise.
48370         * debug/vdprintf_chk.c: Likewise.
48371         * debug/vsnprintf_chk.c: Likewise.
48372         * debug/vsprintf_chk.c: Likewise.
48373         * malloc/mtrace.c: Likewise.
48374         * misc/error.c: Likewise.
48375         * misc/syslog.c: Likewise.
48376         * stdio-common/asprintf.c: Likewise.
48377         * stdio-common/fxprintf.c: Likewise.
48378         * stdio-common/getw.c: Likewise.
48379         * stdio-common/isoc99_fscanf.c: Likewise.
48380         * stdio-common/isoc99_scanf.c: Likewise.
48381         * stdio-common/isoc99_vfscanf.c: Likewise.
48382         * stdio-common/isoc99_vscanf.c: Likewise.
48383         * stdio-common/isoc99_vsscanf.c: Likewise.
48384         * stdio-common/printf-prs.c: Likewise.
48385         * stdio-common/printf_fp.c: Likewise.
48386         * stdio-common/printf_fphex.c: Likewise.
48387         * stdio-common/printf_size.c: Likewise.
48388         * stdio-common/putw.c: Likewise.
48389         * stdio-common/scanf.c: Likewise.
48390         * stdio-common/sprintf.c: Likewise.
48391         * stdio-common/tmpfile.c: Likewise.
48392         * stdio-common/vfprintf.c: Likewise.
48393         * stdio-common/vfscanf.c: Likewise.
48394         * stdlib/strfmon_l.c: Likewise.
48395         * sunrpc/openchild.c: Likewise.
48396         * sunrpc/xdr_stdio.c: Likewise.
48397         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
48398         * sysdeps/mach/hurd/tmpfile.c: Likewise.
48400 2012-05-24  Roland McGrath  <roland@hack.frob.com>
48402         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
48404         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
48405         in the third column, to generate for the shared library an IFUNC
48406         that uses _dl_vdso_vsym.
48407         * Makerules (COMPILE.c, compile-stdin.c): New variables.
48408         * Makeconfig (object-suffixes-noshared): New variable.
48410         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
48411         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
48412         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
48413         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
48415         [BZ #14132]
48416         * include/sys/time.h (__gettimeofday): Remove macro.
48417         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
48418         * time/gettimeofday.c (__gettimeofday): Remove #undef.
48419         Remove INTDEF.
48420         (__gettimeofday): Add libc_hidden_def.
48421         (gettimeofday): Add libc_hidden_weak.
48422         * sysdeps/mach/gettimeofday.c: Likewise.
48423         * sysdeps/posix/gettimeofday.c: Likewise.
48424         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
48425         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
48426         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
48427         (__gettimeofday_internal): Remove strong_alias.
48428         (__gettimeofday): Add libc_hidden_def.
48429         (gettimeofday): Add libc_hidden_weak.
48430         * sysdeps/unix/syscalls.list (gettimeofday):
48431         Remove __gettimeofday_internal alias.
48433 2012-05-24  Daniel Jacobowitz  <drow@false.org>
48434             H.J. Lu  <hongjiu.lu@intel.com>
48436         [BZ #12495]
48437         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
48438         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
48439         (largebin_index_32_big): New.
48440         (largebin_index): Use it for 16-byte alignment.
48441         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
48442         correction with front_misalign.
48444 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
48446         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
48447         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
48448         Likewise.
48449         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
48450         Likewise.
48451         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
48452         Likewise.
48453         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
48454         Likewise.
48455         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
48456         Likewise.
48457         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
48458         Likewise.
48459         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
48460         Likewise.
48461         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
48462         Likewise.
48463         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
48464         Likewise.
48465         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
48466         Likewise.
48467         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
48468         Likewise.
48469         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
48470         Likewise.
48472         * scripts/data/c++-types-x32-linux-gnu.data: New file.
48473         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
48475 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48477         [BZ #10846]
48478         [BZ #14036]
48479         * math/libm-test.inc (exp_test): Add test from bug 14036.
48480         (pow_test): Add test from bug 10846.
48482         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
48483         and other flags.
48484         (special_function): Do not include flags in test name.
48485         (parse_args): Likewise.
48486         * sysdeps/i386/fpu/libm-test-ulps: Update.
48487         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48488         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48489         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48492         * math/gen-libm-test.pl (%beautify): Add entries for underflow
48493         exceptions.
48494         * math/libm-test.inc ("Philosophy"): Update comment about
48495         exception testing.
48496         (UNDERFLOW_EXCEPTION): New macro.
48497         (UNDERFLOW_EXCEPTION_OK): Likewise.
48498         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
48499         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
48500         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
48501         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
48502         (INVALID_EXCEPTION_OK): Update value.
48503         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48504         (OVERFLOW_EXCEPTION_OK): Likewise.
48505         (IGNORE_ZERO_INF_SIGN): Likewise.
48506         (test_exceptions): Handle underflow exceptions.
48507         (acos_test): Update for underflow exception expectations.
48508         (cexp_test): Likewise.
48509         (clog_test): Likewise.
48510         (clog10_test): Likewise.
48511         (csqrt_test): Likewise.
48512         (ctan_test): Likewise.
48513         (ctanh_test): Likewise.
48514         (exp_test): Likewise.
48515         (exp10_test): Likewise.
48516         (exp2_test): Likewise.
48517         (expm1_test): Likewise.
48518         (fma_test): Likewise.
48519         (j0_test): Likewise.
48520         (jn_test): Likewise.
48521         (nexttoward_test): Likewise.
48522         (pow_test): Likewise.
48523         (scalbn_test): Likewise.
48524         (scalbln_test): Likewise.
48525         (tan_test): Likewise.
48526         (y1_test): Likewise.
48527         * sysdeps/i386/fpu/libm-test-ulps: Update.
48528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48530 2012-05-23  David S. Miller  <davem@davemloft.net>
48532         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48533         (__libc_sigaction): Remove unused local variables.
48535 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48537         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
48539 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
48541         mktime: avoid signed integer overflow
48542         * time/mktime.c (__mktime_internal): Do not mishandle the case
48543         where diff == INT_MIN.
48545         mktime: simplify computation of average
48546         * time/mktime.c (ranged_convert): Use new time_t_avg function
48547         instead of rolling our own (probably-slower) code.
48549         mktime: do not assume signed right shift propagates sign bit
48550         * time/mktime.c (isdst_differ): New static function.
48551         (__mktime_internal): No need to normalize tm_isdst now.
48552         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
48553         tm_isdst values.
48555         mktime: merge another wrapv change from gnulib
48556         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
48557         from some compilers.
48559         mktime: remove incorrect attempt at unusual arithmetics
48560         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
48561         The code didn't really work on such machines anyway.
48562         (TYPE_MINIMUM): Assume two's complement.
48563         (twos_complement_arithmetic): Verify that long_int and time_t
48564         are two's complement (or unsigned, in the latter case).
48566         mktime: check signed shifts on long_int and time_t, too
48567         * time/mktime.c (SHR): Check that shifts work as desired
48568         on the types long_int and time_t too, as SHR is used on
48569         such types.
48571         mktime: do not assume 'long' is wide enough
48572         * time/mktime.c (verify): Move decl up.
48573         (long_int): New type.
48574         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
48575         to remove assumption in the code that 'long' is wide enough to
48576         store year values.  This assumption is not true on x32 and on
48577         some non-glibc platforms.
48579         mktime: merge wrapv change from gnulib
48580         * time/mktime.c (WRAPV): New macro.
48581         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
48582         (guess_time_tm, __mktime_internal): Do not assume that signed
48583         integer overflow wraps around; modern compilers generate code
48584         where this assumption is no longer valid.
48586 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48588         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
48589         Replace "jmp L(pseudo_end)" with "ret".
48590         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
48591         Likewise.
48593 2012-05-23  Andreas Jaeger  <aj@suse.de>
48595         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
48596         * sysdeps/unix/sysv/linux/poll.c: Remove file.
48598 2012-05-23  Andreas Jaeger  <aj@suse.de>
48599             Maximilian Attems  <max@stro.at>
48601         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
48602         New macros.
48604 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48606         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
48607         code so that pseudo_end is just ret and the stack pointer is
48608         correct also for static library in error case.
48610 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
48612         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
48613         move to syscalls.list.
48614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
48615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
48616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
48617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
48619         * manual/install.texi (Running make install): Do not mention Linux
48620         kernel version for which pt_chown is not needed.
48621         (Linux): Do not mention problems with nscd with 2.0 kernels.
48622         * INSTALL: Regenerated.
48624 2012-05-23  Andreas Jaeger  <aj@suse.de>
48626         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
48627         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
48628         macro.
48629         * sysdeps/unix/sysv/linux/s390/bits/mman.h
48630         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48631         * sysdeps/unix/sysv/linux/sh/bits/mman.h
48632         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48633         * sysdeps/unix/sysv/linux/i386/bits/mman.h
48634         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48635         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
48636         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48637         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
48638         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48639         * sysdeps/unix/sysv/linux/bits/in.h
48640         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
48642 2012-05-22  Roland McGrath  <roland@hack.frob.com>
48644         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
48645         (PREPARE_VERSION): Just use assert instead, it will be elided
48646         under [NDEBUG] anyway.
48648 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48650         * sysdeps/unix/sysv/linux/Makefile: Include
48651         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
48652         (sysdep_routines): Remove sysctl.
48653         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
48654         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
48655         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
48656         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
48657         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
48659 2012-05-22  Andreas Jaeger  <aj@suse.de>
48661         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
48662         that pseudo_end is just ret and the stack pointer is correct also
48663         for static library in error case.
48665 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
48667         [BZ #14122]
48668         * nss/nsswitch.c (defconfig_entries): New variable.
48669         (__nss_database_lookup): Don't leak defconfig entries.
48670         (nss_parse_service_list): Don't leak on error paths.
48671         (free_database_entries): New function.
48672         (free_defconfig): New function.
48673         (free_mem): Move common code to free_database_entries.
48675 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48677         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
48678         Add arch_prctl.
48679         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
48681         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
48682         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
48683         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
48684         New macro.
48685         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
48686         (INTERNAL_SYSCALL_TYPES): Likewise.
48687         (LOAD_ARGS_TYPES_[1-6]): Likewise.
48688         (LOAD_REGS_TYPES_[1-6]): Likewise.
48689         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
48690         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
48692 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48694         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
48695         copysignl for GLIBC_2_0.
48696         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
48697         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
48698         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
48699         logbl for GLIBC_2_0.
48700         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
48701         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
48703 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48705         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
48706         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48708         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
48709         Use "neg %eax".
48711         * time/mktime.c: Update copyright years.
48713 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
48715         mktime: merge comment-quoting-style change from gnulib
48716         * time/mktime.c: Quote 'like this' in comments.
48717         The GNU coding standards suggest that we no longer quote `like this',
48718         as "`" and "'" are typically rendered asymmetrically nowadays.
48719         The typical gnulib style is to quote 'like this' when quoting
48720         code, and "like this" when quoting English.
48722         * time/mktime.c (compile-command): Add "-I.".
48724         mktime: merge mktime-internal.h change from gnulib
48725         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
48727         mktime: merge time_r change from gnulib
48728         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
48730         mktime: merge DEBUG change from gnulib
48731         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
48732         case system <time.h> has a #define.
48734         mktime: merge <sys/types.h> change from gnulib
48735         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
48736         since <time.t> is now guaranteed to define time_t.
48738         mktime: merge HAVE_CONFIG_H change from gnulib
48739         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
48741 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48743         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48744         Use "neg %eax".
48746         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
48747         __rlim_t cast.
48748         (struct rusage): Use anonymous union to pad each field to
48749         __syscall_slong_t.
48751 2012-05-21  David S. Miller  <davem@davemloft.net>
48753         * Makefules (o-iterator): Remove .s cases.
48754         (compile-command.s): Delete.
48755         (COMPILE.s): Delete.
48756         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
48758 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
48760         * configure.in (libc_cv_predef_stack_protector): Only consider
48761         "foobar" and "__stack_chk_fail" lines in libc_undefs.
48762         * configure: Regenerated.
48764 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48766         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48767         New macro.  Use R*LP on int and pointer.
48768         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
48769         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
48770         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
48771         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
48773         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
48774         [__WORDSIZE_TIME64_COMPAT32] instead of
48775         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
48776         (struct utmp): Likewise.
48777         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
48778         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
48779         Renamed to ...
48780         (__WORDSIZE_TIME64_COMPAT32): This.
48781         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
48782         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
48783         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
48784         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
48785         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
48786         (__WORDSIZE_TIME64_COMPAT32): New macro.
48788 2012-05-21  Andreas Jaeger  <aj@suse.de>
48790         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
48791         only if [SHARED]. Add prototype for __wcschr_ia32.
48793 2012-05-21  Roland McGrath  <roland@hack.frob.com>
48795         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
48796         of %rbp unmolested in the jmp_buf while mangling the low bits.
48797         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
48798         unmolested high bits of %rbp while demangling the low bits.
48799         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48801 2012-05-21  Andreas Jaeger  <aj@suse.de>
48803         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
48804         * sunrpc/svc_simple.c: Use it for registerrpc.
48805         * sunrpc/xcrypt.c: Use it for passwd2des.
48807         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
48809 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48811         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
48812         Don't define if [__SYSCALL_WORDSIZE != 32].
48813         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
48814         New macro.
48816 2012-05-21  Bruno Haible  <bruno@clisp.org>
48817             Andreas Jaeger  <aj@suse.de>
48819         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
48820         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
48821         inptr and inend for must_buffer_ch.
48822         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
48823         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
48824         * stdio-common/Makefile (tests): Remove bug15.
48825         (bug15-ENV): Remove macro.
48826         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
48827         anymore.
48829 2012-05-19  Andreas Jaeger  <aj@suse.de>
48830             Roland McGrath  <roland@hack.frob.com>
48832         * manual/contrib.texi: Completely rewritten. It contains now an
48833         alphabetical list of contributors and their contributions.
48835 2012-05-21  Richard Henderson  <rth@twiddle.net>
48837         * misc/getauxval.c (__getauxval): Use unsigned long int.
48838         * misc/sys/auxv.h: Include <sys/cdefs.h>.
48839         (getauxval): Use unsigned long int.
48841 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48843         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
48845 2012-05-21  Roland McGrath  <roland@hack.frob.com>
48847         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
48848         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
48849         __alignof__ (long double).
48851 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48853         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48855 2012-05-20  Richard Henderson  <rth@twiddle.net>
48857         * misc/getauxval.c: New file.
48858         * misc/sys/auxv.h: New file.
48859         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
48860         (routines): Add getauxval.
48861         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
48862         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
48863         * elf/dl-sysdep.c (_dl_auxv): Remove.
48864         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
48865         * elf/dl-support.c (_dl_auxv): New variable.
48866         (_dl_aux_init): Initialize it.
48867         * manual/startup.texi (Auxiliary Vector): New node.
48868         * sysdeps/generic/bits/hwcap.h: New file.
48869         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
48870         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
48871         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
48872         * sysdeps/sparc/sysdep.h: ... here.  Include it.
48873         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
48874         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
48875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48876         Update.
48877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
48878         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
48879         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
48880         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
48881         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
48882         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
48883         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
48884         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
48886 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48888         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48890 2012-05-19  David S. Miller  <davem@davemloft.net>
48892         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48894 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
48896         [BZ #14123]
48897         * math/s_ccosh.c: Include <float.h>
48898         (__ccosh): Avoid internal overflow calculating sinh and cosh
48899         values before multiplying by sin and cos values.
48900         * math/s_ccoshf.c: Likewise.
48901         * math/s_ccoshl.c: Likewise.
48902         * math/s_csin.c: Likewise.
48903         * math/s_csinf.c: Likewise.
48904         * math/s_csinl.c: Likewise.
48905         * math/s_csinh.c: Likewise.
48906         * math/s_csinhf.c: Likewise.
48907         * math/s_csinhl.c: Likewise.
48908         * math/libm-test.inc (ccos_test): Add more tests.
48909         (ccosh_test): Likewise.
48910         (csin_test): Likewise.
48911         (csinh_test): Likewise.
48912         * sysdeps/i386/fpu/libm-test-ulps: Update.
48913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48915 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
48917         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
48918         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
48920         * sysdeps/x86_64/x32/_itoa.h: Add comment.
48922 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
48924         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
48925         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
48926         * sysdeps/powerpc/soft-fp/Versions: Likewise.
48927         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
48928         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
48929         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
48930         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
48931         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
48932         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
48933         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
48934         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
48935         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
48936         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
48937         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
48938         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
48939         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
48940         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
48941         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
48942         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
48943         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
48944         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
48945         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
48946         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
48947         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
48948         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
48949         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
48950         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
48951         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
48952         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
48953         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
48954         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
48956 2012-05-18  Andreas Jaeger  <aj@suse.de>
48958         * csu/.gitignore: Delete.
48960 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
48962         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
48963         (timex): Use __syscall_slong_t.
48965 2012-05-18  Andreas Jaeger  <aj@suse.de>
48966             Carlos O'Donell  <carlos_odonell@mentor.com>
48968         * manual/install.texi (Configuring and compiling): Update
48969         description about files modified in the source directory.
48970         * INSTALL: Regenerated.
48972 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
48974         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
48975         value.  Use "or" to set return value to -1.
48976         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
48977         negate return value.
48979 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48981         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
48982         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
48983         failure if the compiler has Graphite support disabled.
48984         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
48985         Likewise.
48986         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
48987         (CFLAGS-memmove.c): Likewise.
48988         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
48989         Likewise.
48991 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
48993         * sysdeps/x86_64/x32/_itoa.h: New file.
48995         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
48996         getdents system call only if kernel and user dirents have the
48997         same d_ino and d_off.
48999         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
49000         LLONG_MAX != LONG_MAX.
49001         (_itoa_word): Use _ITOA_WORD_TYPE on value.
49002         (_fitoa_word): Likewise.
49004         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
49005         years.
49006         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
49007         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
49008         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
49010         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
49011         include <bits/wordsize.h>.  Check __x86_64__ instead of
49012         __WORDSIZE.
49013         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
49014         if __x86_64__ is defined.  Use anonymous union on fpstate.
49016         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
49017         anonymous union.
49019 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
49021         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
49022         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
49023         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
49024         Refer to _rtld_local_ro instead of _rtld_global_ro.
49025         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
49026         Likewise.
49027         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
49028         Likewise.
49029         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
49030         Likewise.
49031         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
49032         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
49033         of _rtld_global, and rtld_progname instead of _dl_argv[0].
49035         * sysdeps/powerpc/powerpc32/dl-machine.c
49036         (__elf_machine_runtime_setup) [PROF]: Don't reference
49037         _dl_prof_resolve.
49039 2012-05-18  Andreas Jaeger  <aj@suse.de>
49041         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
49042         function only available for GCCs before 3.4 since GCC 3.4
49043         introduced a builtin.
49044         (lrint): Likewise.
49045         (llrintf): Likewise.
49046         (llrint): Likewise.
49047         (fmaxf): Likewise.
49048         (fmax): Likewise.
49049         (fminf): Likewise.
49050         (fmin): Likewise.
49051         (rint): Likewise.
49052         (rintf): Likewise.
49053         (nearbyint): Likewise.
49054         (nearbyintf): Likewise.
49055         (ceil): Likewise.
49056         (ceilf): Likewise.
49057         (floor): Likewise.
49058         (floorf): Likewise.
49060 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49062         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
49063         on both fields and cast pointer to __syscall_ulong_t.
49065         * bits/types.h (__fsword_t): New type.
49066         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
49067         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
49068         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49069         (__FSWORD_T_TYPE): Likewise.
49070         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49071         (__FSWORD_T_TYPE): Likewise.
49072         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49073         (__FSWORD_T_TYPE): Likewise.
49074         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
49075         (__FSWORD_T_TYPE): Likewise.
49076         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
49077         __SWORD_TYPE with __fsword_t.
49078         (statfs64): Likewise.
49080 2012-05-17  David S. Miller  <davem@davemloft.net>
49082         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
49084 2012-05-17  Andreas Jaeger  <aj@suse.de>
49086         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
49087         warning.
49089 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49091         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
49093 2012-05-17  Andreas Jaeger  <aj@suse.de>
49095         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
49096         when it is used.
49098 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49100         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
49102 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49104         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
49105         * sysdeps/x86_64/tst-mallocalign1.c: New file.
49107 2012-05-17  Andreas Jaeger  <aj@suse.de>
49108             Carlos O'Donell  <carlos_odonell@mentor.com>
49110         [BZ #14059]
49111         * sysdeps/x86_64/multiarch/init-arch.h
49112         (bit_YMM_Usable): Rename to...
49113         (bit_AVX_Usable): ... this.
49114         (bit_FMA4_Usable): New macro.
49115         (bit_XMM_state): New macro.
49116         (bit_YMM_state): New macro.
49117         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
49118         [__ASSEMBLER__] (index_AVX_Usable): ... this.
49119         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
49120         (CPUID_OSXSAVE): New macro.
49121         (CPUID_AVX): New macro.
49122         (CPUID_FMA4): New macro.
49123         (index_YMM_Usable): Rename to...
49124         (index_AVX_Usable): ... this.
49125         (HAS_AVX): Use HAS_ARCH_FEATURE.
49126         (HAS_FMA4): Likewise.
49127         (HAS_YMM_USABLE): Remove.
49128         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49129         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
49130         are present.
49131         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
49132         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
49133         * sysdeps/x86_64/multiarch/Makefile: Likewise.
49134         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
49135         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
49137 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49139         * math/libm-test.c: Support platforms without multiple rounding modes.
49140         * math/bug-nextafter.c: Support platforms without FP exceptions.
49141         * math/bug-nexttoward.c: Likewise.
49142         * math/test-fenv.c: Likewise.
49143         * math/test-misc.c: Likewise.
49144         * stdlib/bug-getcontext.c: Likewise.
49146 2012-05-17  Andreas Jaeger  <aj@suse.de>
49148         * manual/examples/search.c (critter_cmp): Change signature to
49149         avoid warnings.
49150         * manual/string.texi (Collation Functions): Likewise.
49152 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49154         * bits/types.h: Fold copyright years.
49155         * bits/typesizes.h: Likewise.
49156         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
49157         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
49158         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
49159         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
49160         * time/time.h: Likewise.
49162 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
49164         [BZ #208]
49165         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
49166         in instead of returning them.  Return void.
49167         (__libc_mallinfo): Accumulate over all arenas.
49168         (__malloc_stats): Adjust for change in int_mallinfo interface.
49170 2012-05-16  Roland McGrath  <roland@hack.frob.com>
49172         [BZ #10375]
49173         * configure.in (NM): Add AC_CHECK_TOOL for it.
49174         (libc_extra_cflags): New substituted variable.
49175         Check for -fstack-protector being used implicitly.
49176         * configure: Regenerated.
49177         * config.make.in (config-extra-cflags): New variable,
49178         gets @libc_extra_cflags@.
49179         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
49181         [BZ #10375]
49182         * configure.in: Check for _FORTIFY_SOURCE being predefined.
49183         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
49184         * configure: Regenerated.
49185         * config.make.in (CPPUNDEFS): New substituted variable.
49186         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
49187         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
49188         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
49190 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49192         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
49193         (mq_attr): Use __syscall_slong_t.
49195 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49197         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
49198         Check __x86_64__ instead of __WORDSIZE.
49199         (_STAT_VER_LINUX): Likewise.
49200         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
49201         __syscall_ulong_t and __syscall_slong_t.
49202         (stat64): Likewise.
49204 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49206         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
49208 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49210         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
49212 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49214         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
49215         __syscall_ulong_t.
49217         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
49218         include <bits/wordsize.h>.  Check __x86_64__ instead of
49219         __WORDSIZE.
49220         (greg_t): Use "__extension__ long long int" if __x86_64__ is
49221         defined.
49222         (mcontext_t): Replace "unsigned long" with "unsigned long long".
49224         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
49225         include <bits/wordsize.h>.  Check __x86_64__ instead of
49226         __WORDSIZE.
49227         (user_regs_struct): Use "__extension__ unsigned long long"
49228         instead of "unsigned long" if __x86_64__ is defined.
49229         (user): Likewise.  Pad after pointer field if __ILP32__ is
49230         defined.
49232 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
49234         * configure.in (makeinfo): Require version 4.5 or later.  Allow
49235         versions 5 to 9.
49236         * configure: Regenerated.
49237         * manual/install.texi (texinfo): Increase version requirement to
49238         4.5 or later.
49239         * INSTALL: Regenerated.
49241         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
49243 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49245         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
49247         * sysdeps/x86_64/x32/ffs.c: New file.
49249         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
49250         __syscall_ulong_t.
49251         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
49252         defined.  Use __syscall_ulong_t.
49253         (shminfo): Use __syscall_ulong_t.
49254         (shm_info): Likewise.
49256         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
49257         __syscall_ulong_t.
49259         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
49260         <bits/wordsize.h>.
49261         (msgqnum_t): Use __syscall_ulong_t.
49262         (msglen_t): Likewise.
49263         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
49264         __syscall_ulong_t.
49266         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
49267         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49269         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
49271         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
49272         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
49274         * sysvipc/sys/msg.h (msgbuf): Replace long int with
49275         __syscall_slong_t.
49277         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
49278         include <bits/wordsize.h>.  Check __x86_64__ instead of
49279         __WORDSIZE.
49281         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
49282         "unsigned long long int" if __x86_64__ is defined.
49283         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
49285         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
49286         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49287         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
49289         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
49290         <stdint.h>.
49291         (GET_PC): Cast to uintptr_t first.
49292         (GET_FRAME): Likewise.
49293         (GET_STACK): Likewise.
49295         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
49296         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
49297         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
49298         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
49299         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
49300         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
49301         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
49302         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
49303         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
49304         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
49305         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
49306         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
49307         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
49308         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
49309         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
49310         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
49311         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
49312         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
49313         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
49314         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
49315         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
49316         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
49317         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
49318         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
49319         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
49320         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
49321         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
49322         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
49323         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
49325 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
49327         * Makerules (+depfiles): Also collect depfiles from .oS in
49328         $(extra-objs).
49329         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
49330         .oS, $(libnldbl-routines)).
49332         * Makerules (native-compile-mkdep-flags): Define.
49333         * sunrpc/Makefile (extra-objs): Add $(addprefix
49334         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
49335         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
49336         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
49337         calling $(make-target-directory).
49339 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49341         * bits/types.h (__snseconds_t): Removed.
49342         * time/time.h (struct timespec): Replace __snseconds_t with
49343         __syscall_slong_t.
49344         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
49345         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
49346         Likewise.
49347         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49348         (__SNSECONDS_T_TYPE): Likewise.
49349         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49350         (__SNSECONDS_T_TYPE): Likewise.
49351         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49352         (__SNSECONDS_T_TYPE): Likewise.
49354 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49356         * sysdeps/mach/hurd/bits/typesizes.h
49357         (__SYSCALL_SLONG_TYPE): New macro.
49358         (__SYSCALL_ULONG_TYPE): Likewise.
49360 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49362         * bits/types.h (__syscall_slong_t): New type.
49363         (__syscall_ulong_t): Likewise.
49365         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
49366         (__SYSCALL_ULONG_TYPE): Likewise.
49367         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49368         (__SYSCALL_SLONG_TYPE): Likewise.
49369         (__SYSCALL_ULONG_TYPE): Likewise.
49370         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49371         (__SYSCALL_SLONG_TYPE): Likewise.
49372         (__SYSCALL_ULONG_TYPE): Likewise.
49373         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49374         (__SYSCALL_SLONG_TYPE): Likewise.
49375         (__SYSCALL_ULONG_TYPE): Likewise.
49377 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49379         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
49380         Add sigaltstack-offsets.sym.
49381         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
49382         <sigaltstack-offsets.h>.
49383         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
49384         longjmp_msg pointer.
49385         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
49386         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
49387         signal stack.
49388         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
49390 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
49392         * elf/stackguard-macros.h: Remove file.
49393         * sysdeps/generic/stackguard-macros.h: New file.
49394         * sysdeps/i386/stackguard-macros.h: Likewise.
49395         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
49396         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
49397         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
49398         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
49399         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
49400         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
49401         * sysdeps/x86_64/stackguard-macros.h: Likewise.
49402         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
49403         <elf/stackguard-macros.h>.
49405         [BZ #14109]
49406         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
49407         __aligned__ in attribute.
49408         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
49409         (gregset_t): Likewise.
49411 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49413         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
49414         * sysdeps/x86_64/64/Implies-after: Here.  New file.
49415         * sysdeps/x86_64/x32/Implies-after: New file.
49417 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49419         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
49420         and access return value for _dl_profile_fixup.  Use R10_LP to
49421         load frame size.
49423 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49425         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
49427 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49429         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
49430         * sysdeps/x86_64/x32/sysdep.h: New file.
49432 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49434         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
49435         * sysdeps/x86_64/setjmp.S: Likewise.
49437 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49439         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
49440         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
49441         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
49442         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
49443         remove unused global constant.
49445 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
49447         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
49448         include of <not-cancel.h>.
49450 2012-05-15  Roland McGrath  <roland@hack.frob.com>
49452         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
49454 2012-05-15  Jeff Law  <law@redhat.com>
49455             Andreas Jaeger  <aj@suse.de>
49457         [BZ #13594]
49458         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
49459         out from...
49460         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
49461         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
49462         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
49463         code changing __hst_map_handle.map.
49465 2012-05-15  Roland McGrath  <roland@hack.frob.com>
49467         * configure.in (sysnames): Look for Implies-before and Implies-after
49468         files.
49469         * configure: Regenerated.
49471 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49473         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
49474         8-byte data alignment with LP_SIZE alignment.
49476 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49478         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
49479         into R10_LP.
49481 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49483         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
49485 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49487         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
49488         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
49489         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
49490         Likewise.
49491         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
49493 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49495         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
49496         (stackinfo_sub_sp): Likewise.
49498 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49500         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
49501         RAX_LP.
49503 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49505         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
49506         into R*_LP.
49508 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49510         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
49511         sizes into R*_LP.
49513 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49515         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
49517 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49519         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
49520         into R11_LP and load __x86_64_shared_cache_size_half into
49521         R8_LP.
49523 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49525         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
49526         R8_LP.
49528 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49530         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
49531         logb for POWER7.
49532         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
49533         logbf for POWER7.
49534         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
49535         logbl for POWER7.
49536         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
49537         powerpc32/power7/fpu/s_logb.c via #include.
49538         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
49539         powerpc32/power7/fpu/s_logbf.c via #include.
49540         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
49541         powerpc32/power7/fpu/s_logbl.c via #include.
49543 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
49545         * README.libm: Remove file.
49547 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49549         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
49550         count for x32.  Use R*_LP and omit operand-size suffix.
49552 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49554         * shlib-versions: Move x86_64-.*-linux.* entries to ...
49555         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
49556         * sysdeps/x86_64/x32/shlib-versions: New file.
49558 2012-05-14  Roland McGrath  <roland@hack.frob.com>
49560         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
49561         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
49562         Use _dl_fatal_printf instead.
49564 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
49566         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
49567         set if not set by the user.  Do not allow for being unset.
49568         * sysdeps/unix/sysv/linux/configure: Regenerated.
49570 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49572         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
49573         the `q' suffix from lea and replace .quad with ASM_ADDR.
49575 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49577         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
49578         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
49579         instead of $17.
49580         (PTR_DEMANGLE): Likewise.
49582 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49584         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
49585         (LP_OP): Likewise.
49586         (ASM_ADDR): Likewise.
49587         (RAX_LP): Likewise.
49588         (RBP_LP): Likewise.
49589         (RBX_LP): Likewise.
49590         (RCX_LP): Likewise.
49591         (RDI_LP): Likewise.
49592         (RSI_LP): Likewise.
49593         (RSP_LP): Likewise.
49594         (R8_LP): Likewise.
49595         (R9_LP): Likewise.
49596         (R10_LP): Likewise.
49597         (R10_LP): Likewise.
49598         (R11_LP): Likewise.
49599         (R12_LP): Likewise.
49600         (R13_LP): Likewise.
49601         (R14_LP): Likewise.
49602         (R15_LP): Likewise.
49604 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49606         * sysdeps/x86_64/x32/dl-machine.h: New file.
49608 2012-05-14  Andreas Jaeger  <aj@suse.de>
49610         * manual/Makefile (subdir): Remove export of subdir.
49611         (all): Remove target.
49612         (.PHONY): Remove all from list.
49613         (mkinstalldirs): Remove.
49614         (.PHONY): Remove installdirs from list.
49615         ($(inst_infodir)/libc.info): Use make-target-directory.
49616         (installdirs): Remove.
49617         (subdir_%): Remove.
49618         (glibc-targets): Remove.
49619         (lib): Remove.
49620         (stubs): Remove.
49621         ($(objpfx)stubs ../po/manual.pot): Remove.
49622         ($(objpfx)stamp%): Remove.
49623         (make-target-directory): Remove.
49624         (subdir_install): Remove.
49625         (routines): Remove.
49626         (aux): Remove.
49627         (sources): Remove.
49628         (objects): Remove.
49629         (headers): Remove.
49631         [BZ #13750]
49632         * manual/.gitignore: Remove, it's not needed anymore.
49633         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
49634         all files in it.
49635         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
49636         directory.
49637         (texis): Renamed to $(objpfx)texis.
49638         (texis-path): New, contains path to generated files.
49639         (chapters.%): Use texis-path for complete path, add extra argument
49640         libc-texinfo.sh.
49641         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
49642         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
49643         (summary,texi, stamp-summary): Use complete path of
49644         files. Generate files in build dir.
49645         (dir-add.texi): Build in build dir.
49646         (libm-err.texi,stamp-libm-err): Likewise.
49647         (version.texi, stamp-version): Likewise.
49648         (.%c.texi): Likewise.
49649         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
49650         (mostlyclean): Remove target.
49651         (realclean): Remove target.
49652         (generated): Add new variable with contents from mostlyclean and
49653         realclean, remove entries duplicated in common-mostlyclean, add
49654         stamp-libm-err and stamp-version.
49655         (generated-dirs): Add libc directory.
49656         ($(inst_infodir)/libc.info): Install files from build dir.
49658         * manual/install.texi (Configuring and compiling): Adjust since
49659         the info files are not part of the tar ball anymore.
49661 2012-05-14  Andreas Jaeger  <aj@suse.de>
49663         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
49664         variable.
49666 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
49668         [BZ #13717]
49669         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
49670         to 2.2.0 where earlier.
49671         * sysdeps/unix/sysv/linux/configure: Regenerated.
49672         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
49673         Remove conditional code.
49674         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
49675         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
49676         Remove conditional code.
49677         [!__NR_lchown]: Likewise.
49678         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49679         [__NR_lchown]: Likewise.
49680         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
49681         comment referencing __ASSUME_LCHOWN_SYSCALL.
49682         * sysdeps/unix/sysv/linux/i386/sigaction.c
49683         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49684         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49685         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
49686         Remove conditional code.
49687         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
49688         (__protocol_available): Remove #if 0 code.
49689         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
49690         conditional code.
49691         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
49692         * sysdeps/unix/sysv/linux/kernel-features.h
49693         (__ASSUME_GETCWD_SYSCALL): Don't define.
49694         (__ASSUME_REALTIME_SIGNALS): Likewise.
49695         (__ASSUME_PREAD_SYSCALL): Likewise.
49696         (__ASSUME_PWRITE_SYSCALL): Likewise.
49697         (__ASSUME_POLL_SYSCALL): Likewise.
49698         (__ASSUME_LCHOWN_SYSCALL): Likewise.
49699         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
49700         non-SPARC.
49701         (__ASSUME_SIOCGIFNAME): Don't define.
49702         (__ASSUME_MSG_NOSIGNAL): Likewise.
49703         (__ASSUME_SENDFILE): Define unconditionally.
49704         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
49705         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
49706         conditional code.
49707         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
49708         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
49709         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49710         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49711         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
49712         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49713         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
49715         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49716         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
49718         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49719         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
49721         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49722         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
49724         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49725         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
49727         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49728         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
49730         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49731         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
49733         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49734         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
49736         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49737         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49738         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
49739         Remove conditional code.
49740         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49741         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49742         Remove conditional code.
49743         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49744         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
49745         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
49746         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49747         Remove conditional code.
49748         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49749         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
49750         Remove conditional code.
49751         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49752         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
49753         Remove conditional code.
49754         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49755         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49756         Remove conditional code.
49757         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49758         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49759         Remove conditional code.
49760         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49761         * sysdeps/unix/sysv/linux/sh/pwrite64.c
49762         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49763         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49764         * sysdeps/unix/sysv/linux/sigaction.c
49765         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49766         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49767         * sysdeps/unix/sysv/linux/sigpending.c
49768         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49769         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49770         * sysdeps/unix/sysv/linux/sigprocmask.c
49771         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49772         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49773         * sysdeps/unix/sysv/linux/sigsuspend.c
49774         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49775         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49776         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
49777         (__libc_missing_rt_sigs): Remove.
49778         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
49779         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
49780         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
49781         Remove conditional code.
49782         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
49783         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
49784         return 1.
49785         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
49786         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
49787         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
49788         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
49790 2012-05-14  Andreas Jaeger  <aj@suse.de>
49792         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
49793         it's not used in glibc.
49794         (__coshm1): Likewise.
49795         (__acosh1p): Likewise.
49796         (__sgn): Likewise.
49798         * manual/string.texi (Copying and Concatenation): Add missing
49799         variable in concat example.
49800         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
49802 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49804         [BZ #14103]
49805         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
49806         __builtin_clzl with __builtin_clzll.
49808 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49810         [BZ #14104]
49811         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
49812         libc_freeres_ptr.
49814 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49816         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
49817         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
49818         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
49819         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
49821 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
49823         * NEWS: Update ia64 info.
49825 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
49827         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
49828         used as bcopy.
49830 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
49832         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
49833         * sysdeps/unix/syscalls.list (dup3): Likewise.
49834         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
49835         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
49837 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
49839         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
49840         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
49842 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
49844         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
49845         thread pointer.
49846         (TLS_IE): Use mov/add instead of movq/addq to load thread
49847         pointer.
49848         (TLS_GD_PREFIX): New.
49849         (TLS_GD): Use it.
49851 2012-05-11  David S. Miller  <davem@davemloft.net>
49853         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
49854         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
49855         (_FPU_SETCW): Likewise.
49857 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49859         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
49860         is 32-byte aligned.
49862 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
49864         [BZ #11837]
49865         * iconvdata/gb18030.c: Update tables.
49866         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
49867         characters specially.
49868         (BODY for TO_LOOP): Add encoding of missing ranges.
49870 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
49872         [BZ #13673]
49873         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
49874         * sysdeps/mach/hurd/dup3.c: Likewise.
49875         * sysdeps/mach/hurd/readlinkat.c: Likewise.
49876         * sysdeps/powerpc/memmove.c:: Likewise.
49878 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49880         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
49881         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
49883 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49885         * elf/elf.h (R_X86_64_RELATIVE64): New.
49886         (R_X86_64_NUM): Updated.
49887         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
49888         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
49889         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
49890         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
49891         tst-quad1pie tst-quad2pie
49892         (modules-names): Add tst-quadmod1 tst-quadmod2.
49893         ($(objpfx)tst-quad1): New dependency.
49894         ($(objpfx)tst-quad2): Likewise.
49895         ($(objpfx)tst-quad1pie): Likewise.
49896         ($(objpfx)tst-quad2pie): Likewise.
49897         * sysdeps/x86_64/tst-quad1.c: New file.
49898         * sysdeps/x86_64/tst-quad1pie.c: New file.
49899         * sysdeps/x86_64/tst-quad2.c: Likewise.
49900         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
49901         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
49902         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
49903         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
49904         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
49906 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49908         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
49909         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
49910         * streams/stropts.h (t_scalar_t): Define type.
49912         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
49913         (_PATH_PRESERVE): Set to "/var/lib".
49914         (_PATH_RWHODIR): Set to "/var/spool/rwho".
49916         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
49917         instead of int.
49919         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
49920         if __dir_mkfile succeeded.
49922         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
49923         checking for _hurd_dtablesize.  Unlock it right after having
49924         finished _hurd_dtable allocation.
49926 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49928         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
49929         * sysdeps/mach/hurd/configure: Regenerated.
49930         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
49931         special-casing to...
49932         * sysdeps/gnu/configure.in: ... this new file.
49933         * sysdeps/unix/sysv/linux/configure: Regenerated.
49934         * sysdeps/gnu/configure: New generated file.
49936         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
49937         for Linux: use nsec instead of usec, as well as:
49938         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
49939         members of type struct timespec.
49940         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
49941         New macros.
49942         (struct stat64): Likewise.
49943         (_STATBUF_ST_NSEC): New macro.
49944         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
49946         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
49947         __strtoul_internal rather than strtoul.
49949 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49951         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
49952         and reject them.
49954 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49956         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
49957         which preserves existing values.
49958         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
49960 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49962         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
49963         TIMEOUT values.  Return EINVAL for NFDS values either negative or
49964         greater than FD_SETSIZE.
49966 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49968         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
49969         allocated, call __vm_protect to finish enabling the existing space, and
49970         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
49971         allocate the remainder.
49973 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49975         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
49976         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
49978 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49980         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
49981         sysdeps/mach/hurd/readlink.c.
49983         * posix/tst-sysconf.c (posix_options): Only use
49984         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
49985         _POSIX_SYNCHRONIZED_IO when they are defined
49986         * sysdeps/mach/hurd/bits/posix_opt.h:
49987         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
49988         (_XOPEN_REALTIME): Undefine macro.
49989         (_XOPEN_REALTIME_THREADS): Undefine macro.
49990         (_XOPEN_SHM): Undefine macro.
49991         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
49992         macro to -1.
49993         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
49994         macro to -1.
49995         (_POSIX_ASYNC_IO): Undefine macro.
49996         (_POSIX_PRIORITIZED_IO): Undefine macro.
49997         (_POSIX_SPIN_LOCKS): Define macro to -1.
49999         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
50000         SA_NODEFER, SA_RESETHAND.
50001         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
50002         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
50003         F_DUPFD_CLOEXEC.
50005 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50007         * elf/Makefile (pldd-modules): Define unconditionally.
50009 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50011         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
50013 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50015         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
50016         Return ENOENT when name is empty.
50017         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
50019 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50021         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
50023         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
50025 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50027         Fix mlock in all cases except non-readable pages.
50028         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
50029         instead of VM_PROT_ALL as parameter to __vm_wire function.
50031         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
50032         (__mkdir): When path is `/', just fail with EEXIST.
50033         * sysdeps/mach/hurd/mkdirat.c: Likewise.
50035 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50037         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
50038         <sys/uio.h> (for writev).
50039         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
50040         and <sys/param.h> (for MIN).
50042 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50044         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
50045         REQUESTED_TIME.  Properly set the remaining time and return EINTR
50046         if interrupted.
50048 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50050         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
50051         Depend on against $(link-rpcuserlibs).
50053 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50055         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
50056         (__libc_stack_end): Do not use attribute_relro.
50057         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
50058         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
50059         to libthread-provided value.
50060         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
50061         attribute_relro.
50063 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50065         [BZ #3748]
50066         * bits/libc-lock.h (__libc_once_get): New macro.
50067         * sysdeps/mach/bits/libc-lock.h: Likewise.
50068         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
50069         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
50070         instead of using implementation details.
50072         * libio/fileops.c: Unconditionally include <kernel-features.h>.
50073         * libio/freopen.c: Likewise.
50074         * libio/freopen64.c: Likewise.
50075         * misc/syslog.c: Likewise.
50076         * nscd/connections.c: Likewise.
50077         * nscd/netgroupcache.c: Likewise.
50078         * sysdeps/posix/getcwd.c: Likewise.
50080 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50082         * math/w_ilogbf.c: Add #include <limits.h>.
50084 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50086         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
50087         path instead of returning without unlocking.
50089         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
50090         immediate-write ioctls.
50091         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
50093 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50095         * sysdeps/mach/hurd/i386/init-first.c (init): Use
50096         __builtin_frame_address instead of making assumptions about the
50097         location of the return address relative to DATA.  Force early load of
50098         the return address.
50099         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
50100         __builtin_frame_address.
50102         dup3 for GNU Hurd.
50103         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
50104         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
50105         implement dup3 and do some further code clean-ups.
50106         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
50107         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
50109 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50111         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
50113         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
50114         HURD_CRITICAL_END around holding _hurd_dtable_lock.
50115         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
50116         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
50117         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
50118         d->port.lock.
50120         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
50121         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
50122         when handler == SIG_ERR, not when handler != SIG_ERR.
50124 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50126         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
50127         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
50128         definitions.
50130         accept4 for GNU Hurd.
50131         * include/sys/socket.h (__libc_accept4): New prototype.
50132         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
50133         to implement __libc_accept4.
50134         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
50135         __libc_accept4.
50136         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
50138         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
50139         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
50140         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
50141         signal-defines.sym.
50143 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50145         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
50147 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50149         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
50150         assertion on O_CLOEXEC flag.
50151         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
50152         * hurd/intern-fd.c: Likewise.
50153         * hurd/port2fd.c: Likewise.
50155 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50157         [BZ #3906]
50158         * bits/in.h (IPV6_PKTINFO): Define new macro.
50159         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
50161 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50163         [BZ #13954]
50164         [BZ #13955]
50165         [BZ #13956]
50166         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
50167         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50168         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
50169         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
50170         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50171         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
50172         * math/libm-test.inc (logb_test) : Additional logb tests.
50174 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
50175             Andreas Jaeger  <aj@suse.de>
50177         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
50178         * configure: Regenerated.
50179         * config.h.in (LINK_OBSOLETE_RPC): New macro.
50180         * config.make.in (link-obsolete-rpc): New substituted variable.
50181         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
50182         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
50183         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50184         (shared-only-routines): Don't set it under [link-obsolete-rpc],
50185         so that libc.a contains the symbols.
50186         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50187         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
50188         * sunrpc/auth_none.c: Likewise.
50189         * sunrpc/auth_unix.c: Likewise.
50190         * sunrpc/authdes_prot.c: Likewise.
50191         * sunrpc/authuxprot.c: Likewise.
50192         * sunrpc/clnt_gen.c: Likewise.
50193         * sunrpc/clnt_perr.c: Likewise.
50194         * sunrpc/clnt_raw.c: Likewise.
50195         * sunrpc/clnt_simp.c: Likewise.
50196         * sunrpc/clnt_tcp.c: Likewise.
50197         * sunrpc/clnt_udp.c: Likewise.
50198         * sunrpc/clnt_unix.c: Likewise.
50199         * sunrpc/des_crypt.c: Likewise.
50200         * sunrpc/des_soft.c: Likewise.
50201         * sunrpc/get_myaddr.c: Likewise.
50202         * sunrpc/key_call.c: Likewise.
50203         * sunrpc/key_prot.c: Likewise.
50204         * sunrpc/netname.c: Likewise.
50205         * sunrpc/pm_getmaps.c: Likewise.
50206         * sunrpc/pm_getport.c: Likewise.
50207         * sunrpc/pmap_clnt.c: Likewise.
50208         * sunrpc/pmap_prot.c: Likewise.
50209         * sunrpc/pmap_prot2.c: Likewise.
50210         * sunrpc/pmap_rmt.c: Likewise.
50211         * sunrpc/publickey.c: Likewise.
50212         * sunrpc/rpc_cmsg.c: Likewise.
50213         * sunrpc/rpc_common.c: Likewise.
50214         * sunrpc/rpc_dtable.c: Likewise.
50215         * sunrpc/rpc_prot.c: Likewise.
50216         * sunrpc/rpc_thread.c: Likewise.
50217         * sunrpc/rtime.c: Likewise.
50218         * sunrpc/svc.c: Likewise.
50219         * sunrpc/svc_auth.c: Likewise.
50220         * sunrpc/svc_raw.c: Likewise.
50221         * sunrpc/svc_run.c: Likewise.
50222         * sunrpc/svc_tcp.c: Likewise.
50223         * sunrpc/svc_udp.c: Likewise.
50224         * sunrpc/svc_unix.c: Likewise.
50225         * sunrpc/svcauth_des.c: Likewise.
50226         * sunrpc/xcrypt.c: Likewise.
50227         * sunrpc/xdr.c: Likewise.
50228         * sunrpc/xdr_array.c: Likewise.
50229         * sunrpc/xdr_float.c: Likewise.
50230         * sunrpc/xdr_intXX_t.c: Likewise.
50231         * sunrpc/xdr_mem.c: Likewise.
50232         * sunrpc/xdr_rec.c: Likewise.
50233         * sunrpc/xdr_ref.c: Likewise.
50234         * sunrpc/xdr_sizeof.c: Likewise.
50235         * sunrpc/xdr_stdio.c: Likewise.
50237 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50239         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
50240         change.  Update copyright years.
50242 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50244         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
50246 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
50247             Joseph Myers  <joseph@codesourcery.com>
50248             Paul Pluzhnikov  <ppluzhnikov@google.com>
50250         [BZ #14012]
50251         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
50252         requiring rpcgen.
50253         [cross-compiling] (extra-libs): Likewise.
50254         [cross-compiling] (extra-libs-others): Likewise.
50255         [cross-compiling] (librpcsvc-routines): Likewise.
50256         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
50257         [cross-compiling] (omit-deps): Likewise.
50258         (sunrpc-CPPFLAGS): New variable.
50259         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
50260         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
50261         (cross-rpcgen-objs): New variable.
50262         (extra-objs): Append $(cross-rpcgen-objs).
50263         ($(cross-rpcgen-objs)): New rule.
50264         ($(objpfx)cross-rpcgen): Likewise.
50265         (rpcgen-cmd): Define to use $(built-program-file).  Expand
50266         comment.
50267         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
50268         ($(objpfx)x%.stmp): Likewise.
50269         * sunrpc/proto.h [IS_IN_build] (_): Define.
50270         [IS_IN_build] (_libc_intl_domainname): Likewise.
50272 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50274         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
50275         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
50276         and R_X86_64_TPOFF64.
50278 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50280         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
50281         sysdeps/unix/sysv/syscalls.list.
50282         (stime): Likewise.
50283         (utime): Likewise.
50284         * sysdeps/unix/sysv/syscalls.list: Remove file.
50286 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
50288         [BZ #3440]
50289         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
50290         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
50291         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
50292         (__LC_IDENTIFICATION): Make these macros useful in #if
50293         expressions, as required by C99.
50295 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
50297         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
50298         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
50299         after this.
50301 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
50303         * stdlib/longlong.h: Updated from GCC.
50305 2012-05-09  Andreas Jaeger  <aj@suse.de>
50307         * nscd/nscd.c (run_modes): Make named enum, reorder so that
50308         default is first entry.
50309         (run_mode): Set type.
50310         (main): Remove informal message about syslog.
50311         (options): Fix typo.
50313         [BZ #14053]
50314         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
50315         to asm.
50316         (lrint): Likewise.
50317         (llrintf): Likewise.
50318         (llrint): Likewise.
50319         (rint): Likewise.
50320         (rintf): Likewise.
50321         (nearbyint): Likewise.
50322         (nearbyintf): Likewise.
50324 2012-05-09  Andreas Jaeger  <aj@suse.de>
50325             Pedro Alves  <palves@redhat.com>
50327         * nscd/nscd.c (run_mode): Use enum.
50328         (main): Cleanup coding style issue.
50330 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
50331             Andreas Jaeger  <aj@suse.de>
50333         * nscd/nscd.c (go_background): Replaced with...
50334         (run_mode): ... this.
50335         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
50336         (options): Add -F --foreground.
50337         (main): Implement it.
50338         (parse_opt): Parse it.
50340 2012-05-09  Andreas Jaeger  <aj@suse.de>
50342         [BZ #14083]
50343         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
50344         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
50345         -Wconversion warning.
50346         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
50347         Likewise.
50349 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
50351         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
50352         == 0.
50353         (LC_ALL): Use macro-int-constant.
50354         (LC_COLLATE): Likewise.
50355         (LC_CTYPE): Likewise.
50356         (LC_MESSAGES): Likewise.
50357         (LC_MONETARY): Likewise.
50358         (LC_NUMERIC): Likewise.
50359         (LC_TIME): Likewise.
50360         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
50361         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
50362         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50363         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
50364         Specify type.
50365         [C99-based standards] (float_t): Expect type.
50366         [C99-based standards] (double_t): Expect type.
50367         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
50368         type.
50369         [C99-based standards] (HUGE_VALL): Likewise.
50370         [C99-based standards] (INFINITY): Likewise.
50371         [C99-based standards] (NAN): Likewise.
50372         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
50373         [C99-based standards] (FP_NAN): Likewise.
50374         [C99-based standards] (FP_NORMAL): Likewise.
50375         [C99-based standards] (FP_SUBNORMAL): Likewise.
50376         [C99-based standards] (FP_ZERO): Likewise.
50377         [C99-based standards] (FP_FAST_FMA): Use
50378         optional-macro-int-constant.  Specify type.  Require == 1.
50379         [C99-based standards] (FP_FAST_FMAF): Likewise.
50380         [C99-based standards] (FP_FAST_FMAL): Likewise.
50381         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
50382         [C99-based standards] (FP_ILOGBNAN): Likewise.
50383         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
50384         Specify type.
50385         [C99-based standards] (MATH_ERREXCEPT): Likewise.
50386         [C99-based standards] (math_errhandling): Specify type.
50387         [ISO99 || ISO11] (signgam): Do not allow.
50388         [non-C99-based standards] (copysignf): Do not allow.
50389         [non-C99-based standards] (exp2f): Likewise.
50390         [non-C99-based standards] (log2f): Likewise.
50391         [non-C99-based standards] (modff): Allow.
50392         [non-C99-based standards] (erff): Do not allow.
50393         [non-C99-based standards] (erfcf): Likewise.
50394         [non-C99-based standards] (gammaf): Likewise.
50395         [non-C99-based standards] (hypotf): Likewise.
50396         [non-C99-based standards] (j0f): Likewise.
50397         [non-C99-based standards] (j1f): Likewise.
50398         [non-C99-based standards] (jnf): Likewise.
50399         [non-C99-based standards] (lgammaf): Likewise.
50400         [non-C99-based standards] (tgammaf): Likewise.
50401         [non-C99-based standards] (y0f): Likewise.
50402         [non-C99-based standards] (y1f): Likewise.
50403         [non-C99-based standards] (ynf): Likewise.
50404         [non-C99-based standards] (isnanf): Likewise.
50405         [non-C99-based standards] (acoshf): Likewise.
50406         [non-C99-based standards] (asinhf): Likewise.
50407         [non-C99-based standards] (atanhf): Likewise.
50408         [non-C99-based standards] (cbrtf): Likewise.
50409         [non-C99-based standards] (expm1f): Likewise.
50410         [non-C99-based standards] (ilogbf): Likewise.
50411         [non-C99-based standards] (log1pf): Likewise.
50412         [non-C99-based standards] (logbf): Likewise.
50413         [non-C99-based standards] (nextafterf): Likewise.
50414         [non-C99-based standards] (remainderf): Likewise.
50415         [non-C99-based standards] (rintf): Likewise.
50416         [non-C99-based standards] (scalbf): Likewise.
50417         [non-C99-based standards] (copysignl): Likewise.
50418         [non-C99-based standards] (exp2l): Likewise.
50419         [non-C99-based standards] (log2l): Likewise.
50420         [non-C99-based standards] (modfl): Allow.
50421         [non-C99-based standards] (erfl): Do not allow.
50422         [non-C99-based standards] (erfcl): Likewise.
50423         [non-C99-based standards] (gammal): Likewise.
50424         [non-C99-based standards] (hypotl): Likewise.
50425         [non-C99-based standards] (j0l): Likewise.
50426         [non-C99-based standards] (j1l): Likewise.
50427         [non-C99-based standards] (jnl): Likewise.
50428         [non-C99-based standards] (lgammal): Likewise.
50429         [non-C99-based standards] (tgammal): Likewise.
50430         [non-C99-based standards] (y0l): Likewise.
50431         [non-C99-based standards] (y1l): Likewise.
50432         [non-C99-based standards] (ynl): Likewise.
50433         [non-C99-based standards] (isnanl): Likewise.
50434         [non-C99-based standards] (acoshl): Likewise.
50435         [non-C99-based standards] (asinhl): Likewise.
50436         [non-C99-based standards] (atanhl): Likewise.
50437         [non-C99-based standards] (cbrtl): Likewise.
50438         [non-C99-based standards] (expm1l): Likewise.
50439         [non-C99-based standards] (ilogbl): Likewise.
50440         [non-C99-based standards] (log1pl): Likewise.
50441         [non-C99-based standards] (logbl): Likewise.
50442         [non-C99-based standards] (nextafterl): Likewise.
50443         [non-C99-based standards] (remainderl): Likewise.
50444         [non-C99-based standards] (rintl): Likewise.
50445         [non-C99-based standards] (scalbl): Likewise.
50446         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50447         [non-C99-based standards] (FP_*): Do not allow.
50448         [C99-based standards] (FP_*): Change to
50449         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
50450         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50451         allow.
50452         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
50453         (SIG_ERR): Likewise.
50454         [X/Open-based standards] (SIG_HOLD): Likewise.
50455         (SIG_IGN): Likewise.
50456         (SIGABRT): Use macro-int-constant.  Specify type.  Require
50457         positive value.
50458         (SIGFPE): Likewise.
50459         (SIGILL): Likewise.
50460         (SIGINT): Likewise.
50461         (SIGSEGV): Likewise.
50462         (SIGTER): Likewise.
50463         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
50464         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
50465         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
50466         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
50467         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
50468         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
50469         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
50470         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
50471         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
50472         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
50473         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
50474         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
50475         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
50476         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
50477         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
50478         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
50479         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
50480         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
50481         [X/Open-based standards] (SIGTRAP): Likewise.
50482         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
50483         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
50484         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
50485         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
50486         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50487         allow.
50489 2012-05-08  Ian Wienand  <ianw@vmware.com>
50491         [BZ #14080]
50492         * time/tzset.c (__tzset_parse_tz): Update default rules for
50493         daylight time changes in the Energy Policy Act of 2005.
50495 2012-05-09  Andreas Jaeger  <aj@suse.de>
50497         [BZ #13983]
50498         * elf/ldconfig.c (parse_conf): Change string to make clear that
50499         ldconfig only issued a warning if ld.so.conf does not exist.
50501 2012-05-08  David S. Miller  <davem@davemloft.net>
50503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
50504         movxtod instead of popping the value on the stack.
50506         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50508 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
50510         * config.h.in: Add HAVE_ARM_PCS_VFP.
50512 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
50514         [BZ #13979]
50515         * include/features.h: Warn if user requests __FORTIFY_SOURCE
50516         checking but the checks are disabled for any reason.
50518 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
50520         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
50521         and ELF64_R_TYPE with ELFW(R_TYPE).
50523 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
50525         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
50526         (ulimit): Likewise.
50528         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
50529         (settimeofday): Likewise.
50531 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
50533         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
50534         a struct th_u2 inside the union, and move tu_block/tu_code into
50535         a new th_u3 union of tu_block/tu_code inside of that.  Move
50536         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
50537         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
50538         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
50539         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
50540         (th_stuff): Change to th_u1.tu_stuff.
50541         (th_data): Define.
50542         (th_msg): Change to th_u1.th_u2.tu_data.
50544 2012-05-07  David S. Miller  <davem@davemloft.net>
50546         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50548         [BZ #14074]
50549         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
50550         (SETUP_PIC_REG): Use it.
50551         (SETUP_PIC_REG_LEAF): Use it.
50553 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
50555         [BZ #13885]
50556         [BZ #13923]
50557         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50558         USE_AS_EXPM1L.
50559         (EXPL_FINITE): Likewise.
50560         (FLDLOG): Likewise.
50561         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
50562         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
50563         e_expl.S.
50564         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50565         USE_AS_EXPM1L.
50566         (EXPL_FINITE): Likewise.
50567         (FLDLOG): Likewise.
50568         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
50569         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
50570         e_expl.S.
50571         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
50572         test of -max_value argument for long double.
50573         * sysdeps/i386/fpu/libm-test-ulps: Update.
50574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50576 2012-05-06  David S. Miller  <davem@davemloft.net>
50578         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
50579         quad soft-float symbols whose references which are compiler
50580         generated.
50581         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50583 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
50585         [BZ #13884]
50586         [BZ #13914]
50587         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50588         USE_AS_EXP10L.
50589         (EXPL_FINITE): Likewise.
50590         (FLDLOG): Likewise.
50591         (c0): Likewise.
50592         (c1): Likewise.
50593         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
50594         Adjust comments for base varying.
50595         (__expl_finite): Change alias to EXPL_FINITE.
50596         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
50597         e_expl.S.
50598         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
50599         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
50600         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
50601         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
50602         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50603         USE_AS_EXP10L.
50604         (EXPL_FINITE): Likewise.
50605         (FLDLOG): Likewise.
50606         (c0): Likewise.
50607         (c1): Likewise.
50608         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
50609         Adjust comments for base varying.
50610         (__expl_finite): Change alias to EXPL_FINITE.
50611         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
50612         tests for bugs.
50613         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50615         [BZ #14064]
50616         * math/libm-test.inc (check_float_internal): Correct ulp
50617         calculation for subnormal expected results.
50619 2012-05-06  Andreas Jaeger  <aj@suse.de>
50621         * Makeconfig (+math-flags): New, set to -frounding-math.
50622         (+cflags): Add +math-flags so that all of glibc gets compiled with
50623         it.
50625         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
50627 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
50629         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
50630         Disable one test.
50632         [BZ #13787]
50633         [BZ #13922]
50634         [BZ #14036]
50635         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
50636         (__ieee754_expl): Allow for and saturate large arguments.
50637         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
50638         (u_threshold): Likewise.
50639         (__exp): Call __ieee754_exp before checking for overflow and
50640         underflow.
50641         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
50642         (u_threshold): Likewise.
50643         (__expf): Call __ieee754_expf before checking for overflow and
50644         underflow.
50645         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
50646         (u_threshold): Likewise.
50647         (__expl): Call __ieee754_expl before checking for overflow and
50648         underflow.
50649         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
50650         (__ieee754_expl): Allow for and saturate large arguments.
50651         * math/libm-test.inc (exp_test): Add another test.  Do not allow
50652         missing overflow exception on overflow.
50653         (expm1_test): Do not allow missing overflow exception on overflow.
50655         * sysdeps/i386/fpu/e_expl.c: Move to ...
50656         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
50657         rather than using inline asm.
50658         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
50659         * sysdeps/x86_64/fpu/e_expl.S: Copy from
50660         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
50662         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
50663         (nice): Likewise.
50664         (poll): Likewise.
50665         (signal): Likewise.
50666         (time): Likewise.
50667         (times): Likewise.
50669 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50671         * sysdeps/unix/syscalls.list (adjtime): Add entry from
50672         sysdeps/unix/common/syscalls.list.
50673         (fchmod): Likewise.
50674         (fchown): Likewise.
50675         (ftruncate): Likewise.
50676         (getrusage): Likewise.
50677         (gettimeofday): Likewise.
50678         (setpgid): Likewise.
50679         (setregid): Likewise.
50680         (setreuid): Likewise.
50681         (sigaction): Likewise.
50682         (truncate): Likewise.
50683         (vhangup): Likewise.
50684         * sysdeps/unix/common/syscalls.list: Remove file.
50685         * sysdeps/unix/bsd/Implies: Don't include unix/common.
50686         * sysdeps/unix/sysv/linux/Implies: Likewise.
50688 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
50690         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
50691         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
50692         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
50693         Moved to ...
50694         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
50695         Here.
50696         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
50697         to ...
50698         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
50699         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
50700         to ...
50701         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
50702         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
50703         to ...
50704         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
50705         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
50706         to ...
50707         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
50708         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
50709         to ...
50710         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
50711         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
50712         to ...
50713         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
50714         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
50715         to ...
50716         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
50717         Here.
50718         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
50719         to ...
50720         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
50721         Here.
50722         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
50723         to ...
50724         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
50725         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
50726         Moved to ...
50727         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
50728         Here.
50729         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
50730         to ...
50731         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
50733 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50735         * sysdeps/unix/common/bits/dirent.h: Remove file.
50736         * sysdeps/unix/common/bits/fcntl.h: Likewise.
50738         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
50739         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
50740         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
50741         * sysdeps/unix/bsd/isatty.c: Likewise.
50742         * sysdeps/unix/bsd/tcdrain.c: Likewise.
50743         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
50744         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
50746 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50748         [BZ #13563]
50749         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
50750         long double comparison inaccuracies.
50751         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
50752         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50754 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
50756         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
50757         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
50759 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50761         [BZ #14049]
50762         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
50763         nonzero digits before rounding a hex value.
50764         * stdlib/tst-strtod.c (tests): Add another test.
50766 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50768         * sysdeps/s390/fpu/libm-test-ulps: Update.
50770 2012-05-03  Andreas Jaeger  <aj@suse.de>
50772         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
50773         does not get optimized out.
50774         (malloc_opt_barrier): New.
50776 2012-05-03  Andreas Jaeger  <aj@suse.de>
50777             Roland McGrath  <roland@hack.frob.com>
50779         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
50780         intermediate file deletion.
50781         (generated): Add .symlist files.
50783 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
50785         [BZ #13775]
50786         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
50787         Redirect under this condition.
50788         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50789         [__USE_GNU] (__dprintf_chk): Not under this condition.
50790         [__USE_GNU] (__vdprintf_chk): Likewise.
50791         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
50792         under this condition.
50793         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50794         [__USE_XOPEN2K8] (dprintf): Define under this condition.
50795         [__USE_XOPEN2K8] (vdprintf): Likewise.
50796         [__USE_GNU] (__dprintf_chk): Not under this condition.
50797         [__USE_GNU] (__vdprintf_chk): Likewise.
50798         [__USE_GNU] (dprintf): Likewise.
50799         [__USE_GNU] (vdprintf): Likewise.
50801 2012-05-03  Roland McGrath  <roland@hack.frob.com>
50803         * elf/Makefile (common-generated): Set this instead of generated for
50804         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
50805         $(all-built-dso)-derived lists.
50807 2012-05-03  Andreas Jaeger  <aj@suse.de>
50809         * sysdeps/i386/fpu/libm-test-ulps: Update.
50811         * FAQ: Removed.
50812         * FAQ.in: Likewise.
50813         * scripts/gen-FAQ.pl: Likewise.
50814         * manual/install.texi (Installation): Point to online location of
50815         FAQ.
50816         * Makefile (files-for-dist): Remove FAQ.
50817         (FAQ): Remove.
50819 2012-05-02  Allan McRae  <allan@archlinux.org>
50821         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
50822         (LDFLAGS-reldepmod5.so): Likewise.
50823         (LDFLAGS-reldep6mod1.so): Likewise.
50824         (LDFLAGS-reldep6mod4.so): Likewise.
50825         (LDFLAGS-reldep8mod3.so): Likewise.
50826         (LDFLAGS-unload4mod1.so): Likewise.
50827         (LDFLAGS-unload4mod2.so): Likewise.
50828         (LDFLAGS-tst-initorder): Likewise.
50829         (LDFLAGS-tst-initordera2.so): Likewise.
50830         (LDFLAGS-tst-initordera3.so): Likewise.
50831         (LDFLAGS-tst-initordera4.so): Likewise.
50832         (LDFLAGS-tst-initorderb2.so): Likewise.
50833         (LDFLAGS-noload): Likewise.
50834         (LDFLAGS-next): Likewise.
50835         (LDFLAGS-order2mod1.so): Likewise.
50836         (LDFLAGS-order2mod2.so): Likewise.
50837         (LDFLAGS-tst-initorder2): Likewise.
50838         (LDFLAGS-tst-initorder2a.so): Likewise.
50839         (LDFLAGS-tst-initorder2b.so): Likewise.
50840         (LDFLAGS-tst-initorder2c.so): Likewise.
50841         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
50843 2012-05-02  David S. Miller  <davem@davemloft.net>
50845         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50847 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
50849         [BZ #14055]
50850         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
50852 2012-05-02  Andreas Jaeger  <aj@suse.de>
50854         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
50855         since we manipulate rounding mode.
50856         (CPPFLAGS-test-idouble.c): Likewise.
50857         (CPPFLAGS-test-ifloat.c): Likewise.
50858         (CFLAGS-test-ldouble.c): Likewise.
50859         (CFLAGS-test-double.c): Likewise.
50860         (CFLAGS-test-float.c): Likewise.
50861         (CFLAGS-test-misc.c): Likewise.
50862         (CFLAGS-test-test-fenv.c): Likewise.
50864 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50866         [BZ #2550]
50867         [BZ #2570]
50868         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
50869         comparisons to determine direction to adjust input.
50871 2012-05-01  Roland McGrath  <roland@hack.frob.com>
50873         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
50874         output to the target.
50876         * scripts/localplt.awk: New file.
50877         * elf/Makefile ($(objpfx)check-localplt): Target removed.
50878         (check-localplt-CFLAGS): Variable removed.
50879         ($(all-built-dso:=.jmprel)): New static pattern rule.
50880         (generated): Add those targets.
50881         (localplt-built-dso): New variable.
50882         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
50884         * elf/check-localplt.c: File removed.
50886         * scripts/check-execstack.awk: New file.
50887         * elf/Makefile ($(objpfx)check-execstack): Target removed.
50888         (check-execstack-CFLAGS): Variable removed.
50889         ($(objpfx)check-execstack.h): Target removed.
50890         ($(objpfx)execstack-default): New target.
50891         (generated): Add that instead of check-execstack.h.
50892         ($(all-built-dso:=.phdr)): New static pattern rule.
50893         (generated): Add those targets.
50894         * elf/check-execstack.c: File removed.
50896         * scripts/check-textrel.awk: New file.
50897         * elf/Makefile ($(objpfx)check-textrel): Target removed.
50898         (check-textrel-CFLAGS): Variable removed.
50899         (all-built-dso): Use := to define.o
50900         ($(all-built-dso:=.dyn)): New static pattern rule.
50901         (generated): Add those targets.
50902         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
50903         * config.make.in (READELF): New substituted variable.
50904         * elf/check-textrel.c: File removed.
50906 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
50908         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50909         allow.
50910         * conform/data/ctype.h-data [C99-based standards] (isblank):
50911         Expect function.
50912         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
50913         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
50914         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50915         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
50916         Specify type.  Require positive value.
50917         (EILSEQ): Likewise.
50918         (ERANGE): Likewise.
50919         [ISO || POSIX] (EILSEQ): Do not expect.
50920         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
50921         Specify type.  Require positive value.
50922         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
50923         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
50924         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
50925         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
50926         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
50927         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
50928         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
50929         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
50930         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
50931         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
50932         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
50933         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
50934         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
50935         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
50936         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
50937         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
50938         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
50939         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
50940         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
50941         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
50942         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
50943         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
50944         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
50945         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
50946         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
50947         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
50948         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
50949         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
50950         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
50951         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
50952         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
50953         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
50954         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
50955         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
50956         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
50957         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
50958         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
50959         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
50960         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
50961         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
50962         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
50963         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
50964         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
50965         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
50966         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
50967         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
50968         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
50969         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
50970         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
50971         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
50972         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
50973         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
50974         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
50975         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
50976         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
50977         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
50978         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
50979         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
50980         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
50981         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
50982         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
50983         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
50984         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
50985         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
50986         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
50987         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
50988         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
50989         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
50990         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
50991         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
50992         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
50993         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
50994         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
50995         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
50996         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
50997         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
50998         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
50999         Require >= 2.
51000         (FLT_ROUNDS): Expect as macro, not constant.
51001         (FLT_MANT_DIG): Use macro-int-constant.
51002         (DBL_MANT_DIG): Likewise.
51003         (LDBL_MANT_DIG): Likewise.
51004         (FLT_DIG): Likewise.
51005         (DBL_DIG): Likewise.
51006         (LDBL_DIG): Likewise.
51007         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
51008         (DBL_MIN_EXP): Likewise.
51009         (LDBL_MIN_EXP): Likewise.
51010         (FLT_MAX_EXP): Use macro-int-constant.
51011         (DBL_MAX_EXP): Likewise.
51012         (LDBL_MAX_EXP): Likewise.
51013         (FLT_MAX_10_EXP): Likewise.
51014         (DBL_MAX_10_EXP): Likewise.
51015         (LDBL_MAX_10_EXP): Likewise.
51016         (FLT_MAX): Use macro-constant.
51017         (DBL_MAX): Likewise.
51018         (LDBL_MAX): Likewise.
51019         (FLT_EPSILON): Use macro-constant.  Give upper bound.
51020         (DBL_EPSILON): Likewise.
51021         (LDBL_EPSILON): Likewise.
51022         (FLT_MIN): Likewise.
51023         (DBL_MIN): Likewise.
51024         (LDBL_MIN): Likewise.
51025         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
51026         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
51027         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
51028         [ISO11] (FLT_HAS_SUBNORM): Likewise.
51029         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
51030         [ISO11] (DBL_DECIMAL_DIG): Likewise.
51031         [ISO11] (FLT_DECIMAL_DIG): Likewise.
51032         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
51033         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
51034         [ISO11] (FLT_TRUE_MIN): Likewise.
51035         [ISO11] (LDBL_TRUE_MIN): Likewise.
51036         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51037         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
51038         (SCHAR_MIN): Use macro-int-constant.  Specify type.
51039         (SCHAR_MAX): Likewise.
51040         (UCHAR_MAX): Likewise.
51041         (CHAR_MIN): Likewise.
51042         (CHAR_MAX): Likewise.
51043         (MB_LEN_MAX): Use macro-int-constant.
51044         (SHRT_MIN): Use macro-int-constant.  Specify type.
51045         (SHRT_MAX): Likewise.
51046         (USHRT_MAX): Likewise.
51047         (INT_MAX): Likewise.
51048         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
51049         bound negative.
51050         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51051         bound with "U".
51052         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51053         bound with "L".
51054         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
51055         bound negative.  Suffix upper bound with "L".
51056         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51057         bound with "UL".
51058         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
51059         Specify type.
51060         [C99-based standards] (LLONG_MAX): Likewise.
51061         [C99-based standards] (ULLONG_MAX): Likewise.
51062         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
51063         == 0.
51064         [ISO11] (max_align_t): Require type.
51065         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51067         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
51068         from $CFLAGS, without defining away __attribute__ calls.
51069         (checknamespace): Use $CFLAGS_namespace.
51071         * conform/conformtest.pl (@keywords): Only include C99 keywords
51072         for standards based on C99 or C11.
51074         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
51075         Disable tests.
51076         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
51077         UNIX98]: Likewise.
51079         * conform/conformtest.pl: Handle "macro-int-constant" and test for
51080         usability of symbols in #if.
51082         * conform/conformtest.pl: If macro or constant types start
51083         "promoted:", expect the symbol to be of the following type
51084         promoted by the integer promotions.
51086         * conform/conformtest.pl: Parse all "constant" and "macro" lines
51087         in one place.  Also handle "macro-constant".
51089         * conform/conformtest.pl: Only accept expected macro values with
51090         "==".  Parse all "macro" lines in one place.
51091         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
51093         * conform/conformtest.pl: Handle braced types on "constant" lines
51094         instead of handling "typed-constant".
51095         * conform/data/signal.h-data: Use "constant" instead of
51096         "typed-constant".
51098         * conform/conformtest.pl: Handle "optional-" at start of lines in
51099         one place rather than duplicating several cases.  Handle each
51100         format of "macro" line with initial "optional-".
51102         * conform/conformtest.pl: Only accept expected constant or
51103         optional-constant values with "==".  Parse all "constant" lines in
51104         one place.  Parse all "optional-constant" lines in one place.
51105         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
51106         * conform/data/fmtmsg.h-data: Likewise.
51107         * conform/data/netinet/in.h-data: Likewise.
51108         * conform/data/tar.h-data: Likewise.
51109         * conform/data/limits.h-data: Use "==" form on "constant" and
51110         "optional-constant" lines.
51112         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
51113         Use -std=c99 for XOPEN2K.
51114         (@knownproblems): Remove.
51115         (newtoken): Don't check %isknown.
51117         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
51118         Do not expect macro.
51119         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
51120         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
51121         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
51122         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
51123         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
51124         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
51125         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
51126         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
51127         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
51128         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
51129         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
51130         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
51131         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
51132         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
51133         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
51134         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
51135         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
51136         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
51137         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
51138         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
51139         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
51140         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
51141         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
51142         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
51143         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
51144         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
51145         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
51146         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
51147         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
51148         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
51149         [XPG3] (acosh): Likewise.
51150         [XPG3] (asinh): Likewise.
51151         [XPG3] (atanh): Likewise.
51152         [XPG3] (cbrt): Likewise.
51153         [XPG3] (expm1): Likewise.
51154         [XPG3] (ilogb): Likewise.
51155         [XPG3] (log1p): Likewise.
51156         [XPG3] (logb): Likewise.
51157         [XPG3] (nextafter): Likewise.
51158         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
51159         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
51160         [XPG3] (remainder): Likewise.
51161         [XPG3] (rint): Likewise.
51162         [XPG3 || XPG4 || UNIX98] (round): Likewise.
51163         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
51164         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
51165         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
51166         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
51167         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
51168         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
51169         [UNIX98 || XOPEN2K] (scalb): Expect.
51170         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
51171         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
51172         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
51173         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
51174         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
51175         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
51176         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
51177         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
51178         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
51179         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
51180         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
51181         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
51182         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
51183         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
51184         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
51185         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
51186         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
51187         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
51188         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
51189         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
51190         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
51191         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
51192         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
51193         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
51194         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
51195         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
51196         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
51197         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
51198         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
51199         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
51200         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
51201         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
51202         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
51203         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
51204         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
51205         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
51206         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
51207         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
51208         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
51209         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
51210         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
51211         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
51212         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
51213         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
51214         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
51215         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
51216         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
51217         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
51218         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
51219         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
51220         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
51221         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
51222         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
51223         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
51224         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
51225         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
51226         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
51227         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
51228         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
51229         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
51230         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
51231         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
51232         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
51233         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
51234         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
51235         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
51236         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
51237         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
51238         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
51239         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
51240         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
51241         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
51242         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
51243         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
51244         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
51245         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
51246         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
51247         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
51248         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
51249         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
51250         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
51251         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
51252         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
51253         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
51254         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
51255         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
51256         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
51257         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
51258         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
51259         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
51260         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
51261         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
51262         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
51263         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
51264         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
51265         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
51266         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
51267         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
51268         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
51269         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
51270         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
51271         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
51272         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
51273         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
51274         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
51275         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
51276         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
51277         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
51278         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
51279         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
51280         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
51281         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
51282         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
51283         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
51284         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
51285         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
51286         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
51287         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
51288         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
51289         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
51290         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
51291         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
51292         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
51293         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
51294         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
51295         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
51296         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
51297         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
51298         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
51299         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
51300         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
51301         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
51302         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
51303         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
51304         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
51305         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
51306         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
51308         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
51309         _XOPEN_SOURCE_EXTENDED for XPG4.
51311         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
51313         * Makeconfig (localtime): Remove variable.
51314         (inst_localtime-file): Likewise.
51316 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
51319         Update.
51320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51321         Update.
51322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
51323         Update.
51324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
51325         Update.
51326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
51327         Update.
51328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
51329         Update.
51330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51331         Update.
51332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
51333         Update.
51334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51335         Update.
51337 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
51339         [BZ #2550]
51340         [BZ #2570]
51341         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
51342         comparisons to determine direction to adjust input.
51343         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
51344         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
51345         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
51346         Likewise.
51347         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
51348         Likewise.
51349         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
51350         Likewise.
51351         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
51352         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
51353         Likewise.
51354         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
51355         Likewise.
51356         * math/libm-test.inc (nexttoward_test): Add more tests.
51358 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51360         [BZ #14040]
51361         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
51362         in version GLIBC_2.1, not GLIBC_2.0.
51363         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
51364         Likewise.
51366 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
51368         [BZ #13942]
51369         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
51370         (1 - x) * (1 + x).
51371         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
51372         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
51373         * math/libm-test.inc (acos_test): Add more tests.
51374         (asin_test): Likewise.
51375         * sysdeps/i386/fpu/libm-test-ulps: Update.
51376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51378         [BZ #14034]
51379         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
51380         of square root.
51381         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
51382         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
51383         * math/libm-test.inc (acos_test_tonearest): New function.
51384         (acos_test_towardzero): Likewise.
51385         (acos_test_downward): Likewise.
51386         (acos_test_upward): Likewise.
51387         (asin_test_tonearest): Likewise.
51388         (asin_test_towardzero): Likewise.
51389         (asin_test_downward): Likewise.
51390         (asin_test_upward): Likewise.
51391         (main): Call the new functions.
51392         * sysdeps/i386/fpu/libm-test-ulps: Update.
51393         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51395         [BZ #13884]
51396         [BZ #13924]
51397         * math/e_exp10.c: Include <float.h>.
51398         (__ieee754_exp10): Handle underflow here rather than multiplying
51399         large negative argument by M_LN10.
51400         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
51401         of __ieee754_expf.
51402         * math/e_exp10l.c: Include <float.h>.
51403         (__ieee754_exp10l): Handle underflow here rather than multiplying
51404         large negative argument by M_LN10l.
51405         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
51406         spurious overflow exception on underflow.
51408 2012-04-29  Marek Polacek  <polacek@redhat.com>
51410         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
51411         (__fortify_function): New macro.
51412         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
51413         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
51414         __extern_always_inline.
51415         * libio/bits/stdio2.h: Likewise.
51416         * libio/bits/stdio.h: Likewise.
51417         * string/string.h: Likewise.
51418         * string/bits/string3.h: Likewise.
51419         * include/stdio.h: Likewise.
51420         * stdlib/bits/stdlib.h: Likewise.
51421         * stdlib/stdlib.h: Likewise.
51422         * rt/bits/mqueue2.h: Likewise.
51423         * rt/mqueue.h: Likewise.
51424         * posix/bits/unistd.h: Likewise.
51425         * posix/unistd.h: Likewise.
51426         * io/bits/poll2.h: Likewise.
51427         * io/bits/fcntl2.h: Likewise.
51428         * io/fcntl.h: Likewise.
51429         * io/sys/poll.h: Likewise.
51430         * misc/bits/syslog.h: Likewise.
51431         * misc/bits/syslog-ldbl.h: Likewise.
51432         * misc/sys/syslog.h: Likewise.
51433         * socket/bits/socket2.h: Likewise.
51434         * socket/sys/socket.h: Likewise.
51435         * debug/tst-chk1.c: Likewise.
51436         * wcsmbs/bits/wchar2.h: Likewise.
51437         * wcsmbs/bits/wchar-ldbl.h: Likewise.
51438         * wcsmbs/wchar.h: Likewise.
51440 2012-04-29  Andreas Jaeger  <aj@suse.de>
51442         * Makerules (tests): Remove enable-check-abi protection.
51443         (check-abi-warn): Remove.
51444         (check-abi-%): Remove check-abi-warn usage.
51446         * configure.in: Remove check-abi configure option.
51447         * configure: Regenerated.
51448         * config.make.in (enable-check-abi): Remove.
51450 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
51452         [BZ #14033]
51453         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
51454         double functions to double *_finite functions.
51456         [BZ #13941]
51457         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
51458         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
51459         LDBL_MIN_EXP.
51460         * stdio-common/Makefile (tests): Add tst-sprintf3.
51461         * stdio-common/tst-sprintf3.c: New file.
51463         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
51464         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
51466 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
51468         * conform/conformtest.pl: Remove duplicate typed-constant
51469         handling.
51471 2012-04-28  David S. Miller  <davem@davemloft.net>
51473         * Makerules (%.abilist): Add vpath on sysdep_dirs.
51474         (check-abi-%): Remove AWK script prerequisite and explicit
51475         abilist directory.
51476         (check-abi): Rewrite to just diff the symlist with the abilist.
51477         (config-tls, config-abi-config): Delete, no longer used.
51478         (update-abi-%): Remove AWK script and explicit abilist directory.
51479         (update-abi): Rewrite to simply compare and conditionally copy the
51480         symlist and the sysdep abilist file.  Remove update-abi-config
51481         checks.
51482         * abilist/ld.abilist: Remove.
51483         * abilist/libBrokenLocale.abilist: Remove.
51484         * abilist/libanl.abilist: Remove.
51485         * abilist/libcrypt.abilist: Remove.
51486         * abilist/libdl.abilist: Remove.
51487         * abilist/librt.abilist: Remove.
51488         * abilist/libthread_db.abilist: Remove.
51489         * abilist/libutil.abilist: Remove.
51490         * scripts/extract-abilist.awk: Remove.
51491         * scripts/merge-abilist.awk: Remove.
51492         * sysdeps/generic/libcidn.abilist: New file.
51493         * sysdeps/generic/libnss_compat.abilist: New file.
51494         * sysdeps/generic/libnss_db.abilist: New file.
51495         * sysdeps/generic/libnss_dns.abilist: New file.
51496         * sysdeps/generic/libnss_files.abilist: New file.
51497         * sysdeps/generic/libnss_hesiod.abilist: New file.
51498         * sysdeps/generic/libnss_nis.abilist: New file.
51499         * sysdeps/generic/libnss_nisplus.abilist: New file.
51500         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
51501         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
51502         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
51503         file.
51504         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
51505         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
51506         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
51507         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
51508         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
51509         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
51510         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
51511         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
51512         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
51513         file.
51514         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
51515         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
51516         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
51517         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
51518         file.
51519         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
51520         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
51521         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
51522         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
51523         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
51524         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
51525         file.
51526         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
51527         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
51528         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
51529         file.
51530         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
51531         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
51532         New file.
51533         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
51534         New file.
51535         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
51536         New file.
51537         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
51538         New file.
51539         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
51540         New file.
51541         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
51542         New file.
51543         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
51544         New file.
51545         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
51546         New file.
51547         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
51548         New file.
51549         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
51550         New file.
51551         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
51552         New file.
51553         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
51554         New file.
51555         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
51556         New file.
51557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
51558         file.
51559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
51560         New file.
51561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
51562         New file.
51563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
51564         file.
51565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
51566         New file.
51567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
51568         New file.
51569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
51570         file.
51571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
51572         New file.
51573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51574         New file.
51575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
51576         New file.
51577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
51578         New file.
51579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
51580         New file.
51581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
51582         New file.
51583         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
51584         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
51585         file.
51586         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
51587         New file.
51588         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
51589         file.
51590         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
51591         file.
51592         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
51593         file.
51594         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
51595         file.
51596         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
51597         file.
51598         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51599         New file.
51600         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
51601         file.
51602         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
51603         file.
51604         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
51605         New file.
51606         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
51607         file.
51608         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
51609         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
51610         file.
51611         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
51612         New file.
51613         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
51614         file.
51615         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
51616         file.
51617         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
51618         file.
51619         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
51620         file.
51621         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
51622         file.
51623         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51624         New file.
51625         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
51626         file.
51627         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
51628         file.
51629         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
51630         New file.
51631         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
51632         file.
51633         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
51634         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
51635         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
51636         file.
51637         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
51638         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
51639         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
51640         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
51641         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
51642         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
51643         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
51644         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
51645         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
51646         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
51647         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
51648         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
51649         file.
51650         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
51651         New file.
51652         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
51653         file.
51654         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
51655         file.
51656         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
51657         file.
51658         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
51659         file.
51660         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
51661         file.
51662         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
51663         New file.
51664         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
51665         New file.
51666         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
51667         file.
51668         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
51669         New file.
51670         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
51671         file.
51672         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
51673         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
51674         file.
51675         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
51676         New file.
51677         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
51678         file.
51679         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
51680         file.
51681         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
51682         file.
51683         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
51684         file.
51685         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
51686         file.
51687         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
51688         New file.
51689         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
51690         New file.
51691         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
51692         file.
51693         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
51694         New file.
51695         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
51696         file.
51698 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
51700         * conform/conformtest.pl: Fix typo in handling typed-constant from
51701         allow-header.
51703 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
51705         * README: Cut down references to pre-2.6 Linux kernels and
51706         Linuxthreads.  Update lists of configurations in libc and ports
51707         and sort alphabetically.  Say "or newer" with Linux kernel version
51708         requirements.
51710         * config.h.in [IS_IN_build]: Allow compiling without optimization.
51712 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51714         [BZ #887]
51715         * math/libm-test.inc (logb_test_downward): New test to expose
51716         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
51717         rounding mode.
51719 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
51721         [BZ #14027]
51722         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
51723         to be done.
51724         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
51725         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
51727 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
51729         * sysdeps/unix/i386/brk.S: Remove file.
51730         * sysdeps/unix/i386/dl-brk.S: Likewise.
51731         * sysdeps/unix/i386/pipe.S: Likewise.
51732         * sysdeps/unix/i386/sigreturn.S: Likewise.
51733         * sysdeps/unix/i386/syscall.S: Likewise.
51734         * sysdeps/unix/i386/vfork.S: Likewise.
51735         * sysdeps/unix/i386/wait.S: Likewise.
51737         * sysdeps/unix/common/tcsendbrk.c: Move to ...
51738         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
51740         * configure.in (arm*-none*): Do not allow without
51741         --enable-hacker-mode.
51742         (netbsd*): Remove case setting base_os.
51743         (386bsd*): Likewise.
51744         (freebsd*): Likewise.
51745         (bsdi*): Likewise.
51746         (osf*): Likewise.
51747         (sunos*): Likewise.
51748         (ultrix*): Likewise.
51749         (newsos*): Likewise.
51750         (dynix*): Likewise.
51751         (*bsd*): Likewise.
51752         (sysv*): Likewise.
51753         (isc*): Likewise.
51754         (esix*): Likewise.
51755         (sco*): Likewise.
51756         (minix*): Likewise.
51757         (irix4*): Likewise.
51758         (irix6*): Likewise.
51759         (solaris[2-9]*): Likewise.
51760         (none): Likewise.
51761         * configure: Regenerated.
51763 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51765         [BZ #11521]
51766         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
51767         overflow or cancellation in calculating denominator.
51768         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
51769         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
51770         down expression to avoid unexpected rounding in newer GCCs.
51771         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
51773 2012-04-26  David S. Miller  <davem@davemloft.net>
51775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
51776         long-double compat symbols.
51777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
51781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51782         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
51783         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
51784         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
51785         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
51786         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
51787         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
51788         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
51789         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
51791 2012-04-25  David S. Miller  <davem@davemloft.net>
51793         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
51794         HWCAP_* values only after the memory barriers have been defined.
51795         (atomic_full_barrier): Define.
51796         (atomic_read_barrier): Define.
51797         (atomic_write_barrier): Define.
51799 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51801         * shlib-versions: Add libgcc_s version information.
51802         * sysdeps/generic/libgcc_s.h: Remove.
51803         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
51804         libgcc_s.h.
51805         * sysdeps/gnu/unwind-resume.c: Likewise.
51806         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
51808 2012-04-25  David S. Miller  <davem@davemloft.net>
51810         * sysdeps/unix/sparc/brk.S: Delete.
51811         * sysdeps/unix/sparc/dl-brk.S: Delete.
51812         * sysdeps/unix/sparc/pipe.S: Delete.
51813         * sysdeps/unix/sparc/sysdep.S: Delete.
51814         * sysdeps/unix/sparc/sysdep.h: Delete.
51815         * sysdeps/unix/sparc/vfork.S: Delete.
51816         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
51817         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
51818         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
51819         (ret_ERRVAL, r0, r1, MOVE): Define.
51820         (JUMPTARGET): Remove.
51821         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
51822         sysdeps/unix/sparc/sysdep.h
51823         (ENTRY, END): Remove.
51824         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51826 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
51828         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
51829         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
51830         -DIS_IN_build.
51832         * timezone/README: Update upstream location and email address for
51833         tzcode and tzdata.
51834         * timezone/zdump.c: Update from tzcode 2012b.
51835         * timezone/zic.c: Likewise.
51837         * configure.in (libc_cv_as_needed): Remove test.
51838         * configure: Regenerated.
51839         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
51840         conditional definition.
51841         [$(have-as-needed) != yes] (no-as-needed): Likewise.
51842         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
51843         * config.make.in (have-as-needed): Remove variable.
51845 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51846             Paul Pluzhnikov  <ppluzhnikov@google.com>
51848         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
51849         strings correctly.
51851 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
51853         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
51854         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
51855         * sysdeps/sh/strlen.S: Likewise.
51857 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51859         * sysdeps/unix/fork.S: Remove file.
51860         * sysdeps/unix/i386/fork.S: Likewise.
51861         * sysdeps/unix/sparc/fork.S: Likewise.
51863         * sysdeps/unix/system.c: Remove file.
51864         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
51866         * sysdeps/unix/getegid.S: Remove file.
51867         * sysdeps/unix/geteuid.S: Likewise.
51869 2012-04-24  Roland McGrath  <roland@hack.frob.com>
51871         * scripts/check-localplt.awk: New file.
51872         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
51873         of diff.
51874         * scripts/data/localplt-generic.data: Add a comment.
51876         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
51877         NODE when __dir_mkfile failed.
51878         * sysdeps/mach/hurd/symlinkat.c: Likewise.
51879         Reported by Ludovic Courtès <ludo@gnu.org>.
51881 2012-04-24  Andreas Jaeger  <aj@suse.de>
51883         * Makerules (common-clean): Also remove gen-as-const-headers
51884         files.
51886 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51888         * Makerules (native-compile): Do not change working directory for
51889         build.  Use $(OUTPUT_OPTION) in command.
51890         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
51892 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51894         [BZ #13886]
51895         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
51896         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
51897         * math/libm-test.inc (floor_test): Add more tests.
51898         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
51900 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51902         * sysdeps/unix/getdents.c: Remove file.
51903         * sysdeps/unix/sysv/getdents.c: Likewise.
51904         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
51906         * sysdeps/unix/syscalls.list (madvise): Add syscall from
51907         sysdeps/unix/mman/syscalls.list.
51908         (mmap): Likewise.
51909         (mprotect): Likewise.
51910         (msync): Likewise.
51911         (munmap): Likewise.
51912         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
51913         * sysdeps/unix/mman/syscalls.list: Remove.
51914         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
51916         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
51917         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
51918         * configure: Regenerated.
51919         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
51920         $(libgcc_s_suffix).
51921         * config.make.in (libgcc_s_suffix): Remove variable.
51923 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
51925         * sysdeps/unix/sysv/gethostname.c: Move to ...
51926         * sysdeps/posix/gethostname.c: ... here.
51928         * sysdeps/unix/execve.S: Remove file.
51930         * sysdeps/unix/_exit.S: Remove file.
51932 2012-04-23  Andreas Jaeger  <aj@suse.de>
51934         [BZ #13739]
51935         * manual/Makefile: Remove make dist support, there's no
51936         need for a stand-alone documentation tar ball.
51937         (TEXI2DVI): Define always, it's not in Makeconfig.
51938         (dist): Removed.
51939         (tar-it): Removed.
51940         (edition): Removed.
51941         (glibc-doc-$(edition).tar): Removed
51942         (%.Z): Removed.
51943         (%.gz): Removed.
51944         (%.uu): Removed.
51945         (ETAGS): Remove, it's in Makeconfig.
51946         (move-if-change): Remove, it's in Makeconfig.
51948 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
51950         [BZ #13970]
51951         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
51952         (strtod, strtof, strtold, strtol, strtoul, strtoq)
51953         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
51954         (strtod_l, strtof_l, strtold_l): Remove __wur.
51955         It is not necessarily an error to ignore strtol's return value.
51956         One can reliably look at the stored endptr to decide whether
51957         the number had valid syntax.
51959 2012-04-21  Andreas Jaeger  <aj@suse.de>
51961         [BZ #13739]
51962         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
51964 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
51966         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
51967         * sysdeps/unix/sysv/Versions: Remove file.
51969 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
51971         [BZ #13927]
51972         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51974 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
51976         [BZ #7064]
51977         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
51978         version from __vm86.
51980 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
51982         * sysdeps/unix/common/lxstat.c: Remove file.
51983         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
51985         * sysdeps/unix/sysv/Makefile: Remove file.
51987         * sysdeps/unix/sysv/direct.h: Remove file.
51989         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
51990         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
51991         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
51992         * sysdeps/unix/sysv/bits/signum.h: Likewise.
51993         * sysdeps/unix/sysv/bits/stat.h: Likewise.
51994         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
51995         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
51997         * sysdeps/unix/sysv/setrlimit.c: Remove file.
51999         * sysdeps/unix/xmknod.c: Remove file.
52000         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
52002         * sysdeps/unix/sysv/settimeofday.c: Remove file.
52004         * sysdeps/unix/sysv/i386/time.S: Remove file.
52006         * sysdeps/unix/fxstat.c: Remove file.
52007         * sysdeps/unix/xstat.c: Likewise.
52008         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
52010         * sysdeps/unix/sysv/sigaction.c: Remove file.
52012         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
52013         (sysdep_headers): Remove variable.
52014         [termio.h not in sysdep_headers] (generated): Likewise.
52015         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
52016         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
52017         * sysdeps/unix/sysv/tcdrain.c: Likewise.
52018         * sysdeps/unix/sysv/tcflow.c: Likewise.
52019         * sysdeps/unix/sysv/tcflush.c: Likewise.
52020         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
52021         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
52022         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
52023         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
52024         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
52026         * sysdeps/unix/siglist.c: Remove file.
52028         * sysdeps/unix/getppid.S: Remove file.
52030         * sysdeps/unix/mkdir.c: Remove file.
52031         * sysdeps/unix/rmdir.c: Likewise.
52033 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
52035         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
52036         ERR_MAX value.
52037         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
52038         errlist-compat value.
52040 2012-04-18  David S. Miller  <davem@davemloft.net>
52042         * sysdeps/generic/memcopy.h (reg_char): Delete.
52043         * debug/strcat_chk.c: Use char, not reg_char.
52044         * debug/strcpy_chk.c: Likewise.
52045         * debug/strncat_chk.c: Likewise.
52046         * debug/strncpy_chk.c: Likewise.
52047         * string/memchr.c: Likewise.
52048         * string/memrchr.c: Likewise.
52049         * string/rawmemchr.c: Likewise.
52050         * string/strcat.c: Likewise.
52051         * string/strchr.c: Likewise.
52052         * string/strchrnul.c: Likewise.
52053         * string/strcmp.c: Likewise.
52054         * string/strcpy.c: Likewise.
52055         * string/strncat.c: Likewise.
52056         * string/strncmp.c: Likewise.
52057         * string/strncpy.c: Likewise.
52059 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52061         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
52062         __builtin_memcopy is called when src and dest ranges are known to not
52063         overlap.
52065 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52067         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
52068         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
52069         fwd_align_merge macro call.
52070         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
52071         bwd_align_merge macro call.
52072         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52074 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52076         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
52077         bwd_align_merge macros.
52078         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
52079         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
52080         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52082 2012-04-18  David S. Miller  <davem@davemloft.net>
52084         * sysdeps/sparc/sparc64/memcopy.h: Delete.
52086 2012-04-18  Andreas Jaeger  <aj@suse.de>
52088         [BZ# 6794]
52089         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
52090         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
52091         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52093         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
52094         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
52095         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52097         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
52098         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
52099         Adjust for changed ldbl-128 files.
52101         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
52102         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
52103         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52105 2012-04-17  David S. Miller  <davem@davemloft.net>
52107         * sysdeps/sparc/sparc32/memcopy.h: Delete.
52109 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
52111         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
52112         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
52113         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
52114         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
52115         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
52116         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
52118 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52120         [BZ #6794]
52121         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
52122         * math/libm-test.inc: Add ilogb errno and exception tests.
52123         * math/w_ilogb.c: New file: ilogb wrapper.
52124         * math/w_ilogbf.c: New file: ilogbf wrapper.
52125         * math/w_ilogbl.c: New file: ilogbl wrapper.
52126         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
52127         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
52128         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
52129         exception being thrown with 0.0 as argument.
52130         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
52131         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
52132         exception being thrown with 0.0 as argument.
52133         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
52134         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52135         exception being thrown with 0.0 as argument.
52136         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
52137         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52138         exception being thrown with 0.0 as argument.
52139         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
52140         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
52141         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
52142         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
52143         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
52144         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
52145         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
52146         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
52147         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
52149 2012-04-17  Petr Baudis  <pasky@ucw.cz>
52151         * include/sys/uio.h: Change __vector to __iovec to avoid clash
52152         with altivec.
52154 2012-04-16  Marek Polacek  <polacek@redhat.com>
52156         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
52158 2012-04-16  Marek Polacek  <polacek@redhat.com>
52160         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
52161         operands of fdivp instruction.
52163 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52165         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
52166         * elf/tst-auditmod3b.c: Likewise.
52167         * elf/tst-auditmod4b.c: Likewise.
52168         * elf/tst-auditmod5b.c: Likewise.
52169         * elf/tst-auditmod6b.c: Likewise.
52170         * elf/tst-auditmod6c.c: Likewise.
52171         * elf/tst-auditmod7b.c: Likewise.
52172         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
52173         * sysdeps/x86_64/preconfigure.in: Likewise.
52174         * sysdeps/x86_64/preconfigure: Regenerated.
52176 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52178         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
52179         __ILP32__.
52181 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
52183         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52184         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
52186 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
52188         [BZ #13973]
52189         * locale/iso-639.def: Fix gl language name. Spotted by
52190         Yaron Shahrabani.
52192 2012-04-12  Roland McGrath  <roland@hack.frob.com>
52194         [BZ #2074]
52195         * libio/libio.h (__io_write_fn): Update comment.
52197 2012-04-12  Petr Baudis  <pasky@ucw.cz>
52199         [BZ #2074]
52200         * stdio.texi (Hook Functions): The user provided writer function
52201         is not allowed to return -1.
52203 2012-04-11  David S. Miller  <davem@davemloft.net>
52205         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52207 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
52209         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
52210         Add a leading slash to rtkaio.
52212 2012-04-11  Jim Meyering  <meyering@redhat.com>
52214         [BZ #11959]
52215         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
52216         It is not necessarily an error to ignore fwrite's return
52217         value.  One can reliably use ferror to test for errors after
52218         the fact.
52220 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52222         * bits/types.h (__snseconds_t): New type.
52223         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
52225         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
52226         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52227         (__SNSECONDS_T_TYPE): Likewise.
52228         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52229         (__SNSECONDS_T_TYPE): Likewise.
52230         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52231         (__SNSECONDS_T_TYPE): Likewise.
52233 2012-04-10  Andreas Jaeger  <aj@suse.de>
52235         [BZ #2636]
52236         * manual/time.texi (Processor Time): Return type of times is
52237         elapsed real time since an arbitrary point in the past.
52238         (CPU Time): Move CLK_TCK from here...
52239         (Processor Time): ...to here.  Correct description.
52240         * manual/conf.texi (Constants for Sysconf): Correct description of
52241         _SC_CLK_TCK.
52243 2012-04-10  David S. Miller  <davem@davemloft.net>
52245         [BZ #13967]
52246         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
52247         where the is a gap between DT_REL(A) and DT_JMPREL.
52249 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52251         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
52252         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52253         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52255 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52257         * elf/dl-support.c (_dl_inhibit_cache): New variable.
52258         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
52259         (dl_main): Handle --inhibit-cache.
52260         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
52261         _dl_inhibit_cache.
52262         * elf/dl-load.c (_dl_map_object): Use it.
52263         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
52265 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52267         [BZ #13872]
52268         * sysdeps/i386/fpu/e_powl.S (p78): New object.
52269         (__ieee754_powl): Saturate large exponents rather than testing for
52270         overflow of y*log2(x).
52271         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52272         * math/libm-test.inc (pow_test): Do not permit spurious overflow
52273         exceptions.
52275         [BZ #11521]
52276         * math/s_ctan.c: Include <float.h>.
52277         (__ctan): Avoid internal overflow or cancellation in calculating
52278         denominator.
52279         * math/s_ctanf.c: Likewise.
52280         * math/s_ctanl.c: Likewise.
52281         * math/s_ctanh.c: Likewise.
52282         * math/s_ctanhf.c: Likewise.
52283         * math/s_ctanhl.c: Likewise.
52284         * math/libm-test.inc (ctan_test): Add more tests.
52285         (ctanh_test): Likewise.
52286         * sysdeps/i386/fpu/libm-test-ulps: Update.
52287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52289 2012-04-09  Andreas Jaeger  <aj@suse.de>
52291         [BZ #6894]
52292         * manual/filesys.texi (Directory Entries): Mention that d_namlen
52293         is an optional BSD extension.
52295         [BZ #10254]
52296         * manual/stdio.texi (Opening Streams): Document additional fopen
52297         parameters.
52299 2012-04-09  Roland McGrath  <roland@hack.frob.com>
52301         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
52302         %eax without telling the compiler.
52304 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
52306         [BZ # 13963]
52307         * manual/install.texi: Use sourceware.org.
52309 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52311         [BZ #13873]
52312         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
52313         (__ieee754_pow): Generate overflow and underflow using huge*huge
52314         and tiny*tiny rather than just returning constant infinity or zero
52315         for large exponents.
52316         * math/libm-test.inc (pow_test): Require overflow exceptions for
52317         applicable cases of large exponents.
52319         [BZ #706]
52320         * sysdeps/i386/fpu/e_pow.S (p10): New object.
52321         (__ieee754_pow): Use iterative multiplication algorithm only for
52322         integer exponents with absolute value below 1024.  Check for odd
52323         integer exponents when using algorithm for real exponents.
52324         * math/libm-test.inc (pow_test): Add more tests.
52325         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52327 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
52329         [BZ #13705]
52330         * math/libm-test.inc (exp_test): Do not allow overflow exception
52331         on underflow test.
52333 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
52335         [BZ #13705]
52336         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
52337         instead of __kernel_standard_f.
52339 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
52341         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
52342         * sysdeps/x86_64/memset_chk.S: Likewise.
52344 2012-04-08  Andreas Jaeger  <aj@suse.de>
52346         [BZ #10153]
52347         * manual/startup.texi (Environment Access): Describe return value
52348         for putenv and setenv.
52350         [BZ #6895]
52351         * manual/filesys.texi (Directory Entries): Add description for
52352         DT_LNK.
52354         [BZ #6890]
52355         * manual/filesys.texi (Directory Entries): Clarify that it's file
52356         system not operating system in the description of DT_UNKNOWN.
52358         [BZ #6578]
52359         * manual/syslog.texi (closelog): Fix reference, it's openlog.
52361 2012-04-08  Stephen Compall  <s11@member.fsf.org>
52363         [BZ #6649]
52364         * manual/llio.texi (Opening and Closing Files): Add cross
52365         reference to explain mode argument.
52367 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
52369         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
52370         * sysdeps/x86_64/memset_chk.S: Likewise.
52372 2012-04-07  David S. Miller  <davem@davemloft.net>
52374         * elf/elf.h (R_SPARC_WDISP10): Define.
52375         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
52376         R_SPARC_SIZE32.
52377         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
52378         R_SPARC_SIZE64 and R_SPARC_H34.
52380 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
52382         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
52383         conditions and remove no longer applicable assertion.
52385 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
52387         * bits/byteswap.h: Include <features.h>.
52388         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52389         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52391 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
52393         * bits/byteswap.h (__bswap_16): Removed.
52394         Include <bits/byteswap-16.h> to get __bswap_16.
52395         * sysdeps/i386/bits/byteswap.h: Likewise.
52396         * sysdeps/s390/bits/byteswap.h: Likewise.
52397         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52398         * bits/byteswap-16.h: New file.
52399         * sysdeps/i386/bits/byteswap-16.h: Likewise.
52400         * sysdeps/s390/bits/byteswap-16.h: Likewise.
52401         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
52402         * string/Makefile (headers): Add bits/byteswap-16.h.
52404 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52406         [BZ #13895]
52407         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
52408         extra indirection.
52409         * nss/Makefile (tests-static, tests): Add tst-nss-static.
52410         * nss/tst-nss-static.c: New.
52412 2012-04-06  Robert Millan  <rmh@gnu.org>
52414         [BZ #6486]
52415         * manual/llio.texi (File Position Primitive): lseek
52416         refers to WHENCE when it really means OFFSET.
52418 2012-04-06  Andreas Jaeger  <aj@suse.de>
52420         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
52421         strncmp declarations.
52423         * abilist/libc.abilist: Add __poll and __ppoll.
52425 2012-04-05  David S. Miller  <davem@davemloft.net>
52427         * scripts/check-local-headers.sh: Accept a host triplet in the
52428         path matched by the exclude regexp.
52430         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
52431         definition.
52432         * sysdeps/powerpc/powerpc32/dl-machine.h
52433         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
52434         * sysdeps/s390/s390-32/dl-machine.h
52435         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52436         * sysdeps/sparc/sparc32/dl-machine.h
52437         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52438         * sysdeps/sparc/sparc64/dl-machine.h
52439         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52441         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
52442         lazy binding.
52443         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
52444         undefined symbol errors.
52446         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
52447         DT_NEEDED entries.
52449 2012-04-05  Michael Matz  <matz@suse.de>
52451         [BZ #13592]
52452         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
52454 2012-04-05  Andreas Jaeger  <aj@suse.de>
52456         [BZ #13908]
52457         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
52458         comment.
52460 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52462         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
52463         which ROUND is no valid rounding mode.
52465 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52467         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
52468         read again.
52469         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
52471 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52473         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
52474         an exception using FPU order intentionally.
52476 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52478         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
52479         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
52480         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
52481         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
52483 2012-04-05  Simon Josefsson  <simon@josefsson.org>
52485         [BZ #12340]
52486         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
52487         EINVAL when BUFLEN is too smal.
52489 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
52491         [BZ #13553]
52492         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
52493         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
52495 2012-04-03  Andreas Jaeger  <aj@suse.de>
52497         [BZ #13938]
52498         * manual/setjmp.texi (System V contexts): Fix sentence.
52500         [BZ #13926]
52501         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
52502         New macro for this case.
52503         [!__GNUC__] (__bswap_64): New inline function for this case.
52504         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52505         * bits/byteswap.h: Likewise.
52506         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
52507         ull, guard with __GLIBC_HAVE_LONG_LONG.
52509         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
52510         __GLIBC_HAVE_LONG_LONG.
52512         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
52513         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
52515 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
52517         [BZ #13691]
52518         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
52519         inptr and inend, rather than using last_ch.
52521 2012-04-02  David S. Miller  <davem@davemloft.net>
52523         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
52524         * stdio-common/printf-parse.h (read_int): Change return type to
52525         'int', return -1 on INT_MAX overflow.
52526         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
52527         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
52528         overflows INT_MAX.  Check for overflow of in-format-string precision
52529         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
52530         SIZE_MAX not INT_MAX for integer overflow test.
52531         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
52532         skip the construct in the format string but do not record anything.
52533         * stdio-common/bug22.c: Adjust to test both width/prevision
52534         INT_MAX overflow as well as total length INT_MAX overflow.  Check
52535         explicitly for proper errno values.
52537 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
52539         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
52540         CHAR_MAX.
52541         * string/test-strcmp.c [! WIDE]: Likewise.
52542         * time/tst-mktime2.c: Likewise for INT_MAX.
52543         * string/test-string.h: #include <sys/param.h> for MIN.
52545         * csu/init-first.c (__libc_init_first): Call __ctype_init.
52546         * sysdeps/i386/init-first.c (init): Likewise.
52547         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
52548         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
52549         * sysdeps/sh/init-first.c (init): Likewise.
52551 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
52553         * po/ru.po: Update from translation team.
52554         * po/vi.po: Likewise.
52556 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
52558         * resolv/nss_dns/dns-host.c: Merge copyright years.
52560 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52562         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52563         Optimize memcpy with prefetch if
52564         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
52565         src, dst pointers have unequal 16 byte alignments.
52567 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52569         [BZ #13928]
52570         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
52571         from a CNAME entry and return the minimum ttl for the query.
52572         (gaih_getanswer_slice): Likewise.
52574 2012-03-30  Jeff Law  <law@redhat.com>
52576         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
52577         due to long keys.
52578         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
52579         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
52581         * resolv/nss_dns/dns-host.c: Update copyright year.
52583 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
52585         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
52586         requests to save a system call.  Fix check that all bytes are sent.
52588         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
52589         comments for sendmmsg.
52591 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52593         [BZ #13691]
52594         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
52595         with only 1 character between 0x0041 and 0x01b0.
52596         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
52597         * wcsmbs/tst-mbsnrtowcs.c: New file.
52599 2012-03-29  David S. Miller  <davem@davemloft.net>
52601         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
52602         small copies by hand.
52604 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52606         [BZ #13761]
52607         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
52608         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
52609         group memberships.
52611 2012-03-28  David S. Miller  <davem@davemloft.net>
52613         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
52614         that branches into memcpy.
52615         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
52616         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
52617         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
52618         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
52619         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
52620         bits.
52621         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
52622         implementation too.
52623         * sysdeps/sparc/mempcpy.S: New file.
52625         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
52626         the IFUNC routine in the libc case.
52627         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
52629         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
52630         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
52631         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
52632         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
52633         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
52634         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
52635         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
52636         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
52638         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
52639         loop to 256 bytes instead of 64 bytes and fix test signedness.
52641         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
52642         * sysdeps/sparc/sparc32/Makefile: rather than here...
52643         * sysdeps/sparc/sparc64/Makefile: and here.
52645 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
52647         * malloc/mallocbug.c: Avoid warnings about unused variables.
52649 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52651         [BZ #13760]
52652         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
52653         in the right place. Discard and retry query if response is
52654         larger than input buffer size.
52656 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
52658         [BZ #369]
52659         [BZ #2678]
52660         [BZ #3866]
52661         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
52662         x for large integer exponent.
52663         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
52664         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
52665         sign of result as needed afterwards.
52666         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
52667         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
52668         result for underflowing pow the same as for overflow.
52669         (__kernel_standard_l): Handle powl overflow and underflow here
52670         rather than calling __kernel_standard.
52671         * math/libm-test.inc (pow_test): Add more tests.
52673         [BZ #3868]
52674         [BZ #13879]
52675         [BZ #13910]
52676         [BZ #13911]
52677         [BZ #13912]
52678         [BZ #13913]
52679         [BZ #13915]
52680         [BZ #13916]
52681         [BZ #13917]
52682         [BZ #13918]
52683         [BZ #13919]
52684         [BZ #13920]
52685         [BZ #13921]
52686         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
52687         * sysdeps/ieee754/k_standard.c: Include <float.h>.
52688         (__kernel_standard_l): New function.
52689         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
52690         __kernel_standard.
52691         * math/w_acosl.c (__acosl): Likewise.
52692         * math/w_asinl.c (__asinl): Likewise.
52693         * math/w_atan2l.c (__atan2l): Likewise.
52694         * math/w_atanhl.c (__atanhl): Likewise.
52695         * math/w_coshl.c (__coshl): Likewise.
52696         * math/w_exp10l.c (__exp10l): Likewise.
52697         * math/w_exp2l.c (__exp2l): Likewise.
52698         * math/w_fmodl.c (__fmodl): Likewise.
52699         * math/w_hypotl.c (__hypotl): Likewise.
52700         * math/w_j0l.c (__j0l, __y0l): Likewise.
52701         * math/w_j1l.c (__j1l, __y1l): Likewise.
52702         * math/w_jnl.c (__jnl, __ynl): Likewise.
52703         * math/w_lgammal.c (__lgammal): Likewise.
52704         * math/w_log10l.c (__log10l): Likewise.
52705         * math/w_log2l.c (__log2l): Likewise.
52706         * math/w_logl.c (__logl): Likewise.
52707         * math/w_powl.c (__powl): Likewise.
52708         * math/w_remainderl.c (__remainderl): Likewise.
52709         * math/w_scalbl.c (sysv_scalbl): Likewise.
52710         * math/w_sinhl.c (__sinhl): Likewise.
52711         * math/w_sqrtl.c (__sqrtl): Likewise.
52712         * math/w_tgammal.c (__tgammal): Likewise.
52713         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
52714         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
52715         * math/libm-test.inc (acos_test): Add more tests.
52716         (acosh_test): Likewise.
52717         (asin_test): Likewise.
52718         (atanh_test): Likewise.
52719         (exp_test): Likewise.
52720         (exp10_test): Likewise.
52721         (exp2_test): Likewise.
52722         (expm1_test): Likewise.
52723         (lgamma_test): Likewise.
52724         (log_test): Likewise.
52725         (log10_test): Likewise.
52726         (log1p_test): Likewise.
52727         (log2_test): Likewise.
52728         (pow_test): Do not allow some spurious overflow exceptions.
52729         (sqrt_test): Add more tests.
52730         (tgamma_test): Likewise.
52731         (y0_test): Likewise.
52732         (y1_test): Likewise.
52733         (yn_test): Likewise.
52735 2012-03-27  Anton Blanchard  <anton@samba.org>
52737         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
52738         MAP_HUGETLB.
52739         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52740         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52741         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52743 2012-03-27  David S. Miller  <davem@davemloft.net>
52745         * conform/Makefile: Run run-conformtest.sh using $(BASH).
52747         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
52748         have-as-vis3 check.
52750 2012-03-27  Andreas Jaeger  <aj@suse.de>
52752         * sysdeps/x86_64/elf/configure.in: Moved to ...
52753         * sysdeps/x86_64/configure.in: ... here.
52754         * sysdeps/x86_64/elf/start.S: Moved to ...
52755         * sysdeps/x86_64/start.S: ... here.
52756         * sysdeps/x86_64/elf/configure: Delete.
52758         * sysdeps/x86_64/configure.in: Merge contents from
52759         sysdeps/i386/configure.in (without i686 check).
52761         * sysdeps/i386/elf/Versions: Merge into ...
52762         * sysdeps/i386/Versions: ... this.
52763         * sysdeps/i386/elf/Versions: Delete file.
52764         * sysdeps/i386/elf/start.S: Moved to ...
52765         * sysdeps/i386/start.S: ...here.
52766         * sysdeps/i386/elf/configure.in: Merge into...
52767         * sysdeps/i386/configure.in: ...here.
52768         * sysdeps/i386/elf/configure.in: Delete file.
52769         * sysdeps/i386/elf/configure: Delete file.
52771         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
52772         * debug/backtracesyms.c: ... here.
52773         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
52774         * debug/backtracesymsfd.c: ... here.
52775         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
52776         * sysdeps/generic/ifunc-sel.h: ... here.
52778         * sysdeps/unix/i386/start.c: Delete file.
52779         * sysdeps/unix/sparc/start.c: Delete file.
52780         * sysdeps/unix/start.c: Delete file.
52782         * sysdeps/sh/elf/configure.in: Moved to ...
52783         * sysdeps/sh/configure.in: ... here.
52784         * sysdeps/sh/elf/start.S: Moved to ...
52785         * sysdeps/sh/start.S: ... here.
52786         * sysdeps/sh/elf/configure: Delete file.
52788         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
52789         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
52790         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
52791         * sysdeps/powerpc/powerpc64/entry.h: ... here.
52792         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
52793         * sysdeps/powerpc/powerpc64/start.S: here.
52794         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
52795         * sysdeps/powerpc/powerpc64/Makefile: ... this.
52796         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
52797         * sysdeps/powerpc/powerpc64/configure.in: ... this.
52798         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
52800         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
52801         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
52802         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
52803         * sysdeps/powerpc/powerpc32/start.S: ... here.
52804         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
52805         * sysdeps/powerpc/powerpc32/configure.in: ... this.
52806         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
52808         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
52809         * sysdeps/powerpc/ifunc-sel.h: ... here.
52810         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
52811         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
52813         * sysdeps/sparc/elf/configure.in: Moved to ...
52814         * sysdeps/sparc/configure.in: ... here.
52815         * sysdeps/sparc/elf/configure: Delete file.
52816         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
52817         * sysdeps/sparc/sparc32/start.S: ... here.
52818         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
52819         * sysdeps/sparc/sparc64/start.S: ... here.
52820         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
52821         * sysdeps/sparc/sparc32/Makefile: ... this.
52822         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
52823         * sysdeps/sparc/sparc64/Makefile: ... this.
52825         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
52826         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
52827         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
52828         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
52829         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
52830         * sysdeps/s390/s390-32/setjmp.S: ... here.
52831         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
52832         * sysdeps/s390/s390-32/configure.in: ... here.
52833         * sysdeps/s390/s390-32/elf/configure: Delete file.
52834         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
52835         * sysdeps/s390/s390-32/start.S: ... here.
52837         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
52838         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
52839         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
52840         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
52841         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
52842         * sysdeps/s390/s390-64/setjmp.S: ... here.
52843         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
52844         * sysdeps/s390/s390-64/configure.in: ... here
52845         * sysdeps/s390/s390-64/elf/configure: Delete file.
52846         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
52847         * sysdeps/s390/s390-64/start.S: ... here.
52848         * sysdeps/s390/s390-64/elf/configure: Delete.
52850         * configure.in: Remove support for elf directories in sysdeps.
52852         * configure: Regenerated.
52853         * sysdeps/i386/configure: Regenerated.
52854         * sysdeps/powerpc/powerpc32/configure: Regenerated.
52855         * sysdeps/powerpc/powerpc64/configure: Regenerated.
52856         * sysdeps/s390/s390-32/configure: Regenerated.
52857         * sysdeps/s390/s390-64/configure: Regenerated.
52858         * sysdeps/sh/configure: Regenerated.
52859         * sysdeps/sparc/configure: Regenerated.
52860         * sysdeps/x86_64/configure: Regenerated.
52862 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
52864         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52866         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
52867         denormal result into account.
52869 2012-03-25  Roland McGrath  <roland@hack.frob.com>
52871         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
52872         Reported by Allan McRae <allan@archlinux.org>.
52874 2012-03-23  Jeff Law  <law@redhat.com>
52876         * nss/getnssent.c (__nss_getent): Fix typo.
52878 2012-03-23  David S. Miller  <davem@davemloft.net>
52880         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52882 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
52884         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
52885         to pad to uint64_t for each field.
52886         (dl_tls_index): Replace unsigned long with uint64_t.
52888 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
52889         Paul Pluzhnikov  <ppluzhnikov@google.com>
52891         [BZ #6528]
52892         * grp/Makefile (otherlibs): Don't set it.
52893         * inet/Makefile (otherlibs): Likewise.
52894         * login/Makefile (otherlibs): Likewise.
52895         * nscd/Makefile (otherlibs): Likewise.
52896         * posix/Makefile (otherlibs): Likewise.
52897         * pwd/Makefile (otherlibs): Likewise.
52898         * rt/Makefile (otherlibs): Likewise.
52899         * sunrpc/Makefile (otherlibs): Likewise.
52900         * nss/Makefile (otherlibs): Likewise.
52901         Add libnss_files to routines and static-only-routines.
52902         ($(objpfx)getent): Remove rule.
52903         * resolv/Makefile: Add libnss_dns and libresolv to routines and
52904         static-only-routines.
52906 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
52908         [BZ #13892]
52909         * math/s_cexp.c: Include <float.h>.
52910         (__cexp): Handle exp result overflowing not necessarily
52911         overflowing both real and imaginary parts of result.
52912         * math/s_cexpf.c: Likewise.
52913         * math/s_cexpl.c: Likewise.
52914         * math/libm-test.inc (cexp_test): Add more tests.
52915         * sysdeps/i386/fpu/libm-test-ulps: Update.
52916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52918 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52920         * include/link.h (ELFW): New macro.
52921         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
52922         Replace ELF64_R_TYPE with ELFW(R_TYPE).
52924 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52926         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
52927         with uint64_t.
52929 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52931         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
52932         declaration.
52933         (struct La_x32_retval): Likewise.
52935 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52937         * sysdeps/x86_64/preconfigure.in: New file.
52938         * sysdeps/x86_64/preconfigure: New generated file.
52940 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
52942         [BZ #13824]
52943         * math/e_exp2l.c: Include <float.h>.
52944         (__ieee754_exp2l): Handle overflow and underflow cases
52945         separately.  Only pass fractional part of argument to
52946         __ieee754_expl.
52947         * math/libm-test.inc (exp2_test): Add more tests.
52949         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
52950         negating x to take absolute value.
52951         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
52952         Likewise.
52953         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
52954         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
52955         Likewise.
52956         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
52957         computing low part if x was negated.
52958         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
52960 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
52962         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
52963         la_x32_gnu_pltexit.
52964         (pltexit): Cast int_retval to ptrdiff_t.
52965         * elf/tst-auditmod3b.c: Likewise.
52966         * elf/tst-auditmod4b.c: Likewise.
52967         * elf/tst-auditmod5b.c: Likewise.
52968         * elf/tst-auditmod6b.c: Likewise.
52969         * elf/tst-auditmod6c.c: Likewise.
52970         * elf/tst-auditmod7b.c: Likewise.
52972         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
52973         and x32_gnu_pltexit.
52975         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
52976         __ELF_NATIVE_CLASS.
52977         (La_x32_regs): New macro.
52978         (La_x32_retval): Likewise.
52979         (la_x32_gnu_pltenter): New function prototype.
52980         (la_x32_gnu_pltexit): Likewise.
52982 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
52984         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
52985         exponent.
52987         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52989         * configure.in (libc_cv_cc_nofma): Check for option to disable
52990         generation of FMA instructions.
52991         * configure: Regenerate.
52992         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
52993         * sysdeps/ieee754/dbl-64/Makefile: New file.
52994         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
52995         Remove brandred-fma4.
52996         (CFLAGS-brandred-fma4.c): Remove.
52997         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
52998         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
52999         define.
53000         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
53001         define.
53003 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53005         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
53006         LLONG_MAX != LONG_MAX.
53007         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53008         (_fitoa_word): Likewise.
53009         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
53010         LLONG_MAX != LONG_MAX.
53011         * stdio-common/_itowa.h: Include <_itoa.h>.
53012         (_itowa_word): Use _ITOA_WORD_TYPE on value.
53013         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
53014         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
53015         only if not defined.
53016         (_ITOA_WORD_TYPE): Likewise.
53017         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53018         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
53020 2012-03-21  David S. Miller  <davem@davemloft.net>
53022         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53024 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53026         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
53027         of x86_64 when setting libc_cv_slibdir, libdir and
53028         libc_cv_localedir.
53029         * sysdeps/unix/sysv/linux/configure: Regenerated.
53031 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53033         * manual/lang.texi (Old Varargs): Remove section.
53034         (How Variadic): Update menu.
53035         (va_start): Do not mention varargs.h.
53037 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53038             Joseph Myers  <joseph@codesourcery.com>
53040         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
53041         link test.
53042         * configure: Regenerated.
53044 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53046         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
53047         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
53048         conformtest.pl
53050 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53052         * NOTES: Remove.
53053         * Makefile (files-for-dist): Remove NOTES.
53054         (NOTES): Remove rule.
53055         * README: Don't refer to NOTES.
53056         * manual/creature.texi: Don't include macros.texi.
53057         * manual/intro.texi (creature.texi): Remove comment referring to
53058         NOTES.
53060         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
53061         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
53062         * configure: Regenerated.
53063         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
53064         LIBC_TRY_CC_OPTION.
53065         (libc_cv_as_i686): Likewise.
53066         (libc_cv_cc_avx): Likewise.
53067         (libc_cv_cc_sse2avx): Likewise.
53068         (libc_cv_cc_fma4): Likewise.
53069         (libc_cv_cc_novzeroupper): Likewise.
53070         * sysdeps/i386/configure: Regenerated.
53072         [BZ #13883]
53073         * sysdeps/i386/fpu/s_cexp.S: Remove.
53074         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53075         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53076         * math/libm-test.inc (cexp_test): Add more tests.
53077         * sysdeps/i386/fpu/libm-test-ulps: Update.
53078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53080 2012-03-21  Allan McRae  <allan@archlinux.org>
53082         * timezone/Makefile: Do not install iso3166.tab and zone.tab
53084 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53086         [BZ #13871]
53087         * math/w_exp2.c: Do not include <float.h>.
53088         (o_threshold, u_threshold): Remove.
53089         (__exp2): Calculate result before checking finiteness and calling
53090         __kernel_standard.
53091         * math/w_exp2f.c: Likewise.
53092         * math/w_exp2l.c: Likewise.
53093         * math/libm-test.inc (exp2_test): Require overflow exception for
53094         1e6 input.
53096         [BZ #3866]
53097         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
53098         range of signed 64-bit integers before using fistpll.  Remove
53099         checks for whether integers fit in mantissa bits.
53100         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
53101         the range of signed 32-bit integers before using fistpl.  Remove
53102         checks for whether integers fit in mantissa bits.
53103         * sysdeps/i386/fpu/e_powl.S (p64): New object.
53104         (__ieee754_powl): Test for y outside the range of signed 64-bit
53105         integers before using fistpll.  Reduce 64-bit values to 63-bit
53106         ones as needed.
53107         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
53108         divide-by-zero is raised for zero to large negative powers.
53109         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
53110         (__ieee754_powl): Test for y outside the range of signed 64-bit
53111         integers before using fistpll.  Reduce 64-bit values to 63-bit
53112         ones as needed.
53113         * math/libm-test.inc (pow_test): Add more tests.
53115 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53117         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
53118         <stdio-common/_itoa.h>.
53119         * debug/segfault.c: Likewise.
53120         * elf/dl-cache.c: Likewise.
53121         * elf/dl-minimal.c: Likewise.
53122         * elf/dl-misc.c: Likewise.
53123         * elf/dl-sysdep.c: Likewise.
53124         * elf/dl-version.c: Likewise.
53125         * elf/rtld.c: Likewise.
53126         * hurd/hurdsock.c: Likewise.
53127         * hurd/lookup-retry.c: Likewise.
53128         * malloc/malloc.c: Likewise.
53129         * malloc/mtrace.c: Likewise.
53130         * nscd/nscd_getgr_r.c: Likewise.
53131         * nscd/nscd_getpw_r.c: Likewise.
53132         * nscd/nscd_getserv_r.c: Likewise.
53133         * posix/getopt_init.c: Likewise.
53134         * posix/wordexp.c: Likewise.
53135         * stdio-common/_itoa.c: Likewise.
53136         * stdio-common/printf_fphex.c: Likewise.
53137         * stdio-common/vfprintf.c: Likewise.
53138         * string/_strerror.c: Likewise.
53139         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
53140         * sysdeps/i386/i686/hp-timing.h: Likewise.
53141         * sysdeps/mach/_strerror.c: Likewise.
53142         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
53143         * sysdeps/mach/hurd/sethostid.c: Likewise.
53144         * sysdeps/mach/hurd/xmknodat.c: Likewise.
53145         * sysdeps/mach/xpg-strerror.c: Likewise.
53146         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53147         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53148         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
53149         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
53150         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
53151         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
53152         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
53153         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
53154         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
53155         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
53156         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
53157         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
53158         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
53159         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
53160         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
53161         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
53162         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
53163         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
53164         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
53165         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
53166         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
53168         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
53170         * stdio-common/_itoa.h: Moved to ...
53171         * sysdeps/generic/_itoa.h: Here.
53173         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
53175         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
53176         instead of "_itoa.h" and "_itowa.h".
53177         * stdio-common/vfprintf.: Likewise.
53179 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53181         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
53182         <bits/wordsize.h>.
53183         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
53184         (__signbit): Likwise.
53185         (llrintf): Likwise.
53186         (llrint): Likwise.
53188 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53190         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
53191         __WORDSIZE != 64.
53193 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
53195         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
53196         OVERFLOW_EXCEPTION_OK.
53197         * math/libm-test.inc ("Philosophy"): Update comment about
53198         exception testing.
53199         (OVERFLOW_EXCEPTION): Define.
53200         (OVERFLOW_EXCEPTION_OK): Likewise.
53201         (INVALID_EXCEPTION_OK): Renumber.
53202         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
53203         (IGNORE_ZERO_INF_SIGN): Likewise.
53204         (test_exceptions): Handle FE_OVERFLOW.
53205         (exp10_test): Expect overflow exceptions.
53206         (exp2_test): Likewise.
53207         (expm1_test): Likewise.
53208         (nextafter_test): Likewise.
53209         (pow_test): Likewise.
53210         (scalbn_test): Likewise.
53211         (scalbln_test): Likewise.
53213 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53215         * sysdeps/x86_64/bits/atomic.h
53216         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
53217         64bit integer.
53218         (atomic_exchange_acq): Likewise.
53219         (__arch_exchange_and_add_body): Likewise.
53220         (__arch_add_body): Likewise.
53221         (atomic_add_negative): Likewise.
53222         (atomic_add_zero): Likewise.
53224 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53226         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
53227         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
53229 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53231         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
53232         Check __x86_64__ instead of __WORDSIZE.
53234 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53236         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
53238 2012-03-19  David S. Miller  <davem@davemloft.net>
53240         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53242         * sysdeps/sparc/fpu/fenv_private.h: New file.
53243         * sysdeps/sparc/fpu/math_private.h: Use it.
53244         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
53245         Remove.
53246         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
53247         (libc_feholdexcept_setroundl): Remove.
53248         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
53249         Remove.
53250         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
53251         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
53253 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53255         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
53256         int64_t instead of long int.
53257         (INSERT_WORDS64): Likwise.
53259 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53261         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
53262         _Unwind_GetCFA return to _Unwind_Ptr first.
53264 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
53266         [BZ #13629]
53267         * math/s_clog.c: Include <float.h>.
53268         (__clog): Scale large or subnormal inputs.
53269         * math/s_clogf.c: Likewise.
53270         * math/s_clogl.c: Likewise.
53271         * math/s_clog10.c: Include <float.h>.
53272         (M_LOG10_2): Define.
53273         (__clog10): Scale large or subnormal inputs.
53274         * math/s_clog10f.c: Likewise.
53275         * math/s_clog10l.c: Likewise.
53276         * math/libm-test.inc (clog_test): Add more tests.
53277         (clog10_test): Likewise.
53278         * sysdeps/i386/fpu/libm-test-ulps: Update.
53279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53281         [BZ #11451]
53282         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
53283         x and y.
53284         * math/libm-test.inc (atan2_test): Add another test.
53286         * Makerules (common-objdir-compile): Remove.
53287         * sysdeps/unix/Makefile (config-generated): Do not add
53288         $(unix-generated) to variable.
53289         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
53290         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
53291         Remove rule.
53292         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
53293         Likewise.
53294         [generic bits/local_lim.h] (before-compile): Do not append to
53295         variable.
53296         [generic bits/local_lim.h] (common-generated): Likewise.
53297         [generic sys/param.h] (before-compile): Do not append to variable.
53298         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
53299         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
53300         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
53301         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
53302         include.
53303         [generic sys/param.h] (sys/param.h-includes): Remove variable.
53304         [generic sys/param.h] (sys/param.h-includes): Remove rule.
53305         [generic sys/param.h] ($(addprefix
53306         $(common-objpfx),$(sys/param.h-includes))): Likewise.
53307         [generic sys/param.h] (common-generated): Do not append to
53308         variable.
53309         [generic sys/param.h] (sysdep_headers): Likewise.
53310         [generic bits/errno.h] (before-compile): Do not append to
53311         variable.
53312         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
53313         rule.
53314         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
53315         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
53316         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
53317         [generic bits/errno.h] (common-generated): Do not append to
53318         variable.
53319         [generic bits/ioctls.h] (before-compile): Do not append to
53320         variable.
53321         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
53322         rule.
53323         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
53324         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
53325         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
53326         rule.
53327         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
53328         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
53329         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
53330         [generic bits/ioctls.h] (common-generated): Do not append to
53331         variable.
53332         [generic sys/syscall.h] (syscall.h): Remove variable.
53333         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
53334         rule.
53335         [generic sys/syscall.h] (before-compile): Do not append to
53336         variable.
53337         [generic sys/syscall.h] (common-generated): Likewise.
53338         * sysdeps/unix/errnos-tmpl.c: Remove file.
53339         * sysdeps/unix/errnos.awk: Likewise.
53340         * sysdeps/unix/ioctls-tmpl.c: Likewise.
53341         * sysdeps/unix/ioctls.awk: Likewise.
53342         * sysdeps/unix/mk-local_lim.c: Likewise.
53343         * sysdeps/unix/snarf-ioctls: Likewise.
53345 2012-03-19  Richard Henderson  <rth@twiddle.net>
53347         * sysdeps/i386/fpu/fenv_private.h: New file.
53348         * sysdeps/i386/fpu/math_private.h: Use it.
53349         (math_opt_barrier, math_force_eval): Remove.
53350         (libc_feholdexcept_setround_53bit): Remove.
53351         (libc_feupdateenv_53bit): Remove.
53352         * sysdeps/x86_64/fpu/math_private.h: Likewise.
53353         (math_opt_barrier, math_force_eval): Remove.
53354         (libc_feholdexcept): Remove.
53355         (libc_feholdexcept_setround): Remove.
53356         (libc_fetestexcept, libc_fesetenv): Remove.
53357         (libc_feupdateenv_test): Remove.
53358         (libc_feupdateenv, libc_feholdsetround): Remove.
53359         (libc_feresetround): Remove.
53361         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
53362         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
53364         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
53365         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
53366         (libc_feupdateenv_testl): New.
53367         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
53368         (libc_feupdateenv_testf): New.
53369         (libc_feupdateenv): Use libc_feupdateenv_test.
53370         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
53371         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
53373         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
53374         (libc_feholdsetroundf, libc_feholdsetroundl): New.
53375         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
53376         (libc_feresetround_noex): New.
53377         (libc_feresetround_noexf): New.
53378         (libc_feresetround_noexl): New.
53379         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
53380         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
53381         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
53382         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
53383         SET_RESTORE_ROUND.
53384         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
53385         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
53386         (__cos): Likewise.
53387         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
53388         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
53389         SET_RESTORE_ROUND_NOEX.
53390         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
53391         SET_RESTORE_ROUND_NOEXF.
53392         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
53393         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
53394         (libc_feholdsetroundf): New.
53395         (libc_feresetround, libc_feresetroundf): New.
53397         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
53398         (libc_feholdexcept_setround_53bit): Convert from macro to function.
53399         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
53401         * sysdeps/generic/math_private.h: Include <fenv.h>.
53402         (default_libc_feholdexcept): New.
53403         (default_libc_feholdexcept_setround): New.
53404         (default_libc_fesetenv, default_libc_feupdateenv): New.
53405         (libc_feholdexcept): Only define if undefined.
53406         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
53407         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
53408         (libc_feholdexcept_setroundl): Likewise.
53409         (libc_feholdexcept_setround_53bit): Likewise.
53410         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
53411         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
53412         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
53413         (libc_feupdateenv_53bit): Likewise.
53414         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
53415         (libc_feholdexcept): Convert from macro to inline function.
53416         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
53417         (libc_fesetenv, libc_feupdateenv): Likewise.
53419         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
53420         not previously defined.
53421         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
53422         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
53423         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
53424         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
53425         * sysdeps/ieee754/flt-32/math_private.h: New file.
53426         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
53427         math_private.h below SET_FLOAT_WORD.
53428         (__isnan, __isinf_ns, __finite): Remove.
53429         (__isnanf, __isinf_nsf, __finitef): Remove.
53431 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
53433         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53435 2012-03-17  David S. Miller  <davem@davemloft.net>
53437         [BZ #6471]
53438         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
53439         for 2.16.
53441 2012-03-16  David S. Miller  <davem@davemloft.net>
53443         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
53444         warnings.
53446         [BZ #6471]
53447         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
53448         properly.
53449         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
53450         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
53451         sysdep_routines when subdir is sysvipc.
53452         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
53453         __getshmlba helper.
53455         * sysdeps/sparc/fpu/libm-test/ulps: Update.
53457 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53459         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
53460         [__LP64__].
53462 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53464         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
53465         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
53466         (__lround): Renamed to ...
53467         (__llround): This.  Replace long int with long long int.
53468         Define lround functions as aliases of llround functions.
53469         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
53471 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53473         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
53474         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
53475         adresses to uintptr_t.  Replace "long int" and "unsigned long
53476         int" with "greg_t" on va_arg.
53478 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53480         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
53481         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
53483         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
53484         Move e_machine check before EI_CLASS check.  Handle x32
53485         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
53486         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
53487         SKIP_EM_IA_64 and include
53488         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
53490         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
53491         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
53492         (add_system_dir): New macro.
53494         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
53495         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
53497 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
53499         [BZ #2551]
53500         [BZ #2552]
53501         [BZ #2553]
53502         [BZ #2554]
53503         [BZ #2562]
53504         [BZ #2563]
53505         [BZ #2565]
53506         [BZ #2566]
53507         [BZ #2576]
53508         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
53509         (y0): Likewise.
53510         * math/w_j0f.c (j0f): Likewise.
53511         (y0f): Likewise.
53512         * math/w_j0l.c (__j0l): Likewise.
53513         (__y0l): Likewise.
53514         * math/w_j1.c (j1): Likewise.
53515         (y1): Likewise.
53516         * math/w_j1f.c (j1f): Likewise.
53517         (y1f): Likewise.
53518         * math/w_j1l.c (__j1l): Likewise.
53519         (__y1l): Likewise.
53520         * math/w_jn.c (jn): Likewise.
53521         (yn): Likewise.
53522         * math/w_jnf.c (jnf): Likewise.
53523         (ynf): Likewise.
53524         * math/w_jnl.c (__jnl): Likewise.
53525         (__ynl): Likewise.
53526         * math/libm-test.inc (j0_test): Add more tests.
53527         (j1_test): Likewise.
53528         (jn_test): Likewise.  Add trailing semicolon to existing test.
53529         (y0_test): Likewise.
53530         (y1_test): Likewise.
53531         * sysdeps/i386/fpu/libm-test-ulps: Update.
53532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53534         [BZ #13851]
53535         [BZ #13854]
53536         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
53537         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
53538         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
53539         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
53540         (__tanl): Set errno for infinite argument.
53541         * sysdeps/i386/fpu/mptan.c: Remove.
53542         * sysdeps/i386/fpu/s_tan.S: Likewise.
53543         * sysdeps/i386/fpu/s_tanl.S: Likewise.
53544         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
53545         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
53546         * math/libm-test.inc (tan_test): Add more tests and enable more
53547         tests for double and long double.
53548         * sysdeps/i386/fpu/libm-test-ulps: Update.
53549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53551 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
53553         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
53554         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
53556 2012-03-16  Roland McGrath  <roland@hack.frob.com>
53558         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
53559         * configure.in: Use it for both main tree and add-ons.
53560         * configure: Regenerated.
53562 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53564         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
53566 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
53568         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
53569         in comment.
53571         [BZ #13851]
53572         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
53573         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
53574         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
53575         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
53576         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
53577         infinite argument.
53578         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
53579         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
53580         != 0 for prec == 2.
53581         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
53582         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
53583         * sysdeps/i386/fpu/s_cosl.S: Likewise.
53584         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
53585         * sysdeps/i386/fpu/s_sinl.S: Likewise.
53586         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
53587         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
53588         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
53589         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
53590         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
53591         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
53592         * math/libm-test.inc (cos_test): Add more tests and enable more
53593         tests for long double.
53594         (sin_test): Likewise.
53595         (sincos_test): Likewise.
53596         * sysdeps/i386/fpu/libm-test-ulps: Update.
53597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53599 2012-03-16  David S. Miller  <davem@davemloft.net>
53601         * sysdeps/sparc/fpu/math_private.h: New file.
53603 2012-03-15  David S. Miller  <davem@davemloft.net>
53605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
53606         file.
53607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
53608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
53609         file.
53610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
53611         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
53612         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
53613         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
53614         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
53615         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
53616         sysdep routines.
53617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53619         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
53620         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
53622         * sysdeps/sparc/sparc-ifunc.h: New file.
53623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
53624         sparc-ifunc.h
53625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
53626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
53627         Likewise.
53628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
53629         Likewise.
53630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
53631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
53632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
53634         Likewise.
53635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
53636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
53637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
53638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
53639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
53640         Likewise.
53641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
53642         Likewise.
53643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
53644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
53645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
53646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
53647         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
53648         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
53649         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
53650         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
53651         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
53652         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
53653         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
53654         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
53655         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
53656         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
53657         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
53658         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
53659         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
53660         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
53661         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
53662         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
53663         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
53664         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
53665         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
53666         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
53668 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
53670         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
53671         scaling.
53672         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53674 2012-03-15  Andreas Jaeger  <aj@suse.de>
53676         [BZ #13852]
53677         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
53678         ieee754/flt-32 implementation for sin, cos and sincos.
53679         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
53680         * sysdeps/i386/fpu/s_cosf.S: Likewise.
53681         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
53682         * sysdeps/i386/fpu/s_sinf.S: Likewise.
53683         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
53684         ieee754/flt-32 implementation for tan.
53686         * math/libm-test.inc (cos_test): Enable some large input tests for
53687         float as well
53688         (sin_test): Likewise.
53689         (sincos_test): Likewise.
53690         (tan_test): Add tests for large input.
53692         * sysdeps/i386/fpu/libm-test-ulps: Update.
53694 2012-03-15  Andreas Jaeger  <aj@suse.de>
53696         [BZ #13658]
53697         * math/libm-test.inc (cos_test): Add more test cases.
53698         (sin_test): Likewise.
53699         (sincos_test): Likewise.
53701 2012-03-15  Andreas Jaeger  <aj@suse.de>
53703         [BZ #13837]
53704         * math/libm-test.inc (cos_test): Add a test case for large input
53705         value.
53706         (sin_test): Likewise.
53707         (sincos_test): Likewise.
53709 2012-03-15  Andreas Jaeger  <aj@suse.de>
53710             Joseph Myers  <joseph@codesourcery.com>
53712         [BZ #13658]
53713         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
53714         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
53715         * sysdeps/i386/fpu/branred.c: Likewise.
53716         * sysdeps/i386/fpu/dosincos.c: Likewise.
53717         * sysdeps/i386/fpu/mpa.c: Likewise.
53718         * sysdeps/i386/fpu/s_cos.S: Likewise.
53719         * sysdeps/i386/fpu/s_sin.S: Likewise.
53720         * sysdeps/i386/fpu/s_sincos.S: Likewise.
53721         * sysdeps/i386/fpu/sincos32.c: Likewise.
53723         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
53724         Define.
53725         (libc_feupdateenv_53bit): Define.
53726         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
53727         Define.
53728         (libc_feupdateenv_53bit): Define.
53730         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
53731         53 bit (without extend i386 double precision).
53733         * math/libm-test.inc (sincos_test): Add tests for large input.
53734         (sin): Likewise.
53735         (cos): Likewise.
53737         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
53739 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
53741         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53743 2012-03-15  David S. Miller  <davem@davemloft.net>
53745         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
53746         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
53747         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
53748         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
53749         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
53750         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
53751         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
53752         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
53753         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
53754         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
53755         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
53756         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
53757         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
53758         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
53759         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
53760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
53761         file.
53762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
53763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
53764         file.
53765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
53766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
53767         file.
53768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
53769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
53770         file.
53771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
53772         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
53773         fmin/fmax sysdep routines.
53774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53776 2012-03-14  David S. Miller  <davem@davemloft.net>
53778         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
53779         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
53780         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
53781         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
53782         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
53783         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
53784         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
53785         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
53786         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
53787         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
53788         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
53789         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
53790         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
53791         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
53792         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
53793         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
53794         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
53795         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
53796         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
53797         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
53798         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
53799         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
53800         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
53801         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
53802         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
53803         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
53804         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
53805         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
53806         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
53807         routines.
53808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
53809         file.
53810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
53811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
53812         file.
53813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
53814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
53815         file.
53816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
53817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
53818         file.
53819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
53820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
53821         file.
53822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
53823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
53824         file.
53825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
53826         file.
53827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
53828         file.
53829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
53830         file.
53831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
53832         New file.
53833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
53834         file.
53835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
53836         file.
53837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
53838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
53839         file.
53840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
53841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
53842         file.
53843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
53844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
53845         file.
53846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
53847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
53848         VIS3 routines.
53850         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
53851         New file.
53853         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53855         * sysdeps/sparc/configure.in: New file.
53856         * sysdeps/sparc/configure: Generate.
53857         * configure.in (libc_cv_sparc_as_vis3): Substitute.
53858         * configure: Regenerate.
53859         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
53860         * config.make.in (have-as-vis3): New.
53861         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
53862         available use -Av9d instead of -Av9a.
53863         * sysdeps/sparc/sparc64/Makefile: Likewise.
53864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
53865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
53866         New file.
53867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
53868         file.
53869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
53870         New file.
53871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
53872         file.
53873         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
53874         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
53875         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
53876         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
53877         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
53879         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
53880         fzeros/fnegs to load 0x80000000 into a float register instead of
53881         using the stack.
53882         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
53884 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
53886         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53887         bits/syscall.h.
53888         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
53889         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
53890         ($(inst_includedir)/bits/syscall.h): Remove rule.
53891         ($(objpfx)bits/syscall.d): Include instead of
53892         $(objpfx)syscall-list.d.
53893         (generated): Change syscall-list.h and syscall-list.d to
53894         bits/syscall.h and bits/syscall.d.
53896 2012-03-14  Roland McGrath  <roland@hack.frob.com>
53898         [BZ #13846]
53899         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
53901 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
53903         [BZ #13841]
53904         * math/s_csqrt.c: Include <float.h>.
53905         (__csqrt): Scale large or subnormal inputs.
53906         * math/s_csqrtf.c: Likewise.
53907         * math/s_csqrtl.c: Likewise.
53908         * math/libm-test.inc (csqrt_test): Add more tests.
53909         * sysdeps/i386/fpu/libm-test-ulps: Update.
53910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53912         [BZ #13840]
53913         * math/libm-test.inc (hypot_test): Add more tests.
53915 2012-03-13  David S. Miller  <davem@davemloft.net>
53917         [BZ #13840]
53918         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
53919         double-precision for the calculation instead of scaling.
53921 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
53923         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
53924         manipulate bits before adding and subtracting TWO52[sx].
53925         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
53926         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
53927         Likewise.
53928         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
53930 2012-03-13  David S. Miller  <davem@davemloft.net>
53932         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
53933         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
53934         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
53935         rtld-global-offsets.h
53936         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53938         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
53939         large parameters.
53941         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
53943         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
53944         'err' in the ifdef scope in which it is actually used.
53946         * nss/nss_db/db-init.c: Include string.h
53948 2012-03-12  David S. Miller  <davem@davemloft.net>
53950         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53951         masking out of the most significant byte of random value used.
53952         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53953         Fix coding style in previous change.
53955         * sysdeps/unix/sysv/linux/kernel-features.h
53956         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
53957         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
53958         expression.
53959         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
53960         later.
53962 2012-03-11  David S. Miller  <davem@davemloft.net>
53964         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
53965         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
53966         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
53967         for 'resultvar' otherwise things get truncated on 64-bit.
53969         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53970         Fix masking out of the most significant byte of random value used.
53972         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53974 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
53976         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53978 2012-03-09  David S. Miller  <davem@davemloft.net>
53980         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
53981         variables with appropriate CPP guards.
53982         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
53983         from the frame pointer, not the stack pointer.  Correct layout
53984         comments.  Fix test on resulting framesize and the management of
53985         the outregs buffer for pltexit.  Preserve floating point return
53986         values across _dl_call_pltexit call.
53987         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
53988         framesize and the management of the outregs buffer for pltexit.
53989         Preserve floating point return values across _dl_call_pltexit
53990         call.
53991         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
53992         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
53993         (la_sparc64_gnu_pltexit): New functions.
53994         (print_exit): Fix format string for return register value.
53996 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
53998         * sunrpc/Makefile (others): Add rpcgen.
53999         ($(objpfx)rpcgen): Remove special build rule and dependency on
54000         libc.
54001         * sunrpc/rpcgen.c: New file.
54003 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
54005         [BZ #13673]
54006         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
54007         * stdio-common/bug-vfprintf-nargs.c: Likewise.
54008         * sysdeps/i386/crti.S: Likewise.
54009         * sysdeps/i386/crtn.S: Likewise.
54010         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
54011         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
54012         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
54013         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
54014         * sysdeps/sh/crti.S: Likewise.
54015         * sysdeps/sh/crtn.S: Likewise.
54016         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
54018         [BZ #13673]
54019         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
54020         with URL.
54021         * locale/programs/locfile-kw.gperf: Likewise.
54022         * locale/programs/charmap-kw.h: Regenerated.
54023         * locale/programs/locfile-kw.h: Likewise.
54025         [BZ #13673]
54026         * intl/plural.y: Replace FSF snail mail address with URL.
54027         * intl/plural.c: Regenerated.
54029 2012-03-09  Richard Henderson  <rth@twiddle.net>
54031         * include/math_private.h: Remove file.
54032         * math/math_private.h: Move file ...
54033         * sysdeps/generic/math_private.h: ... here.
54035         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
54036         * sysdeps/powerpc/fpu/math_private.h: Likewise.
54037         * sysdeps/x86_64/fpu/math_private.h: Likewise.
54039         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
54040         and <math_private.h>.
54041         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54042         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54043         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54044         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54045         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54046         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
54047         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54048         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54049         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54050         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54051         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54052         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54053         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54054         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54055         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54056         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54057         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54058         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54059         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54060         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
54061         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54062         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54063         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54064         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54065         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
54066         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54067         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54068         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54069         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54070         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54071         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54072         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54073         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
54074         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54075         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54076         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54077         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54078         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54079         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54080         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54081         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
54082         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54083         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54084         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
54085         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
54086         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54087         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
54088         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
54089         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54090         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54091         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
54092         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
54093         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
54094         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54095         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
54096         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54097         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54098         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
54099         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
54100         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
54101         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54102         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
54103         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54104         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54105         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
54106         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54107         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54108         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54109         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
54110         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
54111         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
54112         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54113         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
54114         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54115         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
54116         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
54117         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
54118         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54119         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
54120         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
54121         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
54122         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
54123         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
54124         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54125         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54126         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
54127         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
54128         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
54129         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
54130         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54131         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54132         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
54133         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54134         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
54135         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
54136         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
54137         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54138         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
54139         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54140         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
54141         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
54142         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
54143         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
54144         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
54145         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54146         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
54147         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
54148         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
54149         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54150         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54151         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54152         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54153         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
54154         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54155         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
54156         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54157         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54158         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54159         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54160         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54161         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54162         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54163         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54164         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
54165         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54166         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54167         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
54168         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
54169         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54170         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
54171         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
54172         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
54173         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54174         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
54175         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
54176         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54177         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54178         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54179         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
54180         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54181         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54182         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54183         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54184         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
54185         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
54186         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54187         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54188         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54189         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
54190         * sysdeps/ieee754/k_standard.c: Likewise.
54191         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
54192         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
54193         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54194         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
54195         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
54196         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
54197         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
54198         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
54199         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
54200         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
54201         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54202         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
54203         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
54204         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
54205         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
54206         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
54207         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
54208         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
54209         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
54210         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
54211         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
54212         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
54213         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54214         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54215         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
54216         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
54217         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54218         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54219         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54220         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54221         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
54222         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54223         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54224         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54225         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
54226         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54227         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54228         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
54229         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
54230         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54231         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
54232         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
54233         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
54234         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54235         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
54236         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
54237         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54238         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54239         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54240         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54241         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54242         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
54243         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54244         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
54245         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54246         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54247         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
54248         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
54249         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54250         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54251         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54252         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
54253         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54254         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
54255         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54256         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54257         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
54258         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
54259         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
54260         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
54261         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
54262         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54263         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
54264         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
54265         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
54266         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
54267         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
54268         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
54269         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54270         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
54271         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
54272         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
54273         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54274         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54275         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
54276         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54277         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54278         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
54279         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
54280         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54281         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
54282         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54283         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
54284         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
54285         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54286         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54287         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
54288         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
54289         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
54290         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
54291         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54292         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54293         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54294         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54295         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
54296         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54297         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54298         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
54299         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
54300         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54301         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54302         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54303         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
54304         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54305         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
54306         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54307         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
54308         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54309         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54310         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
54311         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54312         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
54313         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54314         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
54315         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54316         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
54317         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54318         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54319         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54320         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54321         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54322         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54323         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54324         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
54325         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54326         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54327         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
54328         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
54329         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54330         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
54331         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
54332         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54333         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
54334         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
54335         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54336         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54337         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54338         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54339         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54340         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
54341         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54342         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
54343         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54344         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54345         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
54346         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
54347         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54348         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54349         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54350         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
54351         * sysdeps/ieee754/s_lib_version.c: Likewise.
54352         * sysdeps/ieee754/s_matherr.c: Likewise.
54353         * sysdeps/ieee754/s_signgam.c: Likewise.
54354         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
54355         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54356         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
54357         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
54358         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
54359         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
54360         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
54361         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
54362         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
54363         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
54364         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
54365         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
54366         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54367         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54368         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
54369         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
54370         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54371         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
54372         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54373         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54374         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54376 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
54378         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
54379         * sunrpc/rpc_main.c: Likewise.
54380         * sunrpc/rpc_svcout.c: Likewise.
54382 2012-03-09  David S. Miller  <davem@davemloft.net>
54384         * include/math_private.h: New file.
54386 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
54388         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
54389         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
54390         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
54391         from <bits/socket_type.h>.
54392         (enum __socket_type): Don't define here.
54393         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
54394         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54395         bits/socket_type.h.
54397         [BZ #13566]
54398         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
54399         checking __USE_GNU.
54401         * Makerules ($(inst_includedir)/%.h): New rule.
54402         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
54403         (install-others): Remove variable setting.
54404         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
54406 2012-03-08  Richard Henderson  <rth@twiddle.net>
54408         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
54409         from macro to inline function; merge with the
54410         !__LIBC_INTERNAL_MATH_INLINES version.
54411         (__ieee754_sqrtf): Likewise.
54413         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
54414         to inline function.
54415         (__rintf, __floor, __floorf): Likewise.
54417         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
54418         macro to inline function.
54419         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
54421         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
54422         not <math/math_private.h>.
54424 2012-03-08  David S. Miller  <davem@davemloft.net>
54426         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
54427         copyright year.
54428         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
54430 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
54432         * resolv/gai_misc.c (handle_requests): Fix struct timespec
54433         normalization.
54434         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
54435         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
54437 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
54439         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
54440         be defined individually, they must be defined as a block.  Define
54441         S for printing a string instead of hidint the different by using a
54442         macro for adding the 'l'.
54443         * stdio-common/tst-fphex-wide.c: Adjust.
54445 2012-03-07  Marek Polacek  <polacek@redhat.com>
54447         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
54449 2012-03-08  Marek Polacek  <polacek@redhat.com>
54451         [BZ #13806]
54452         * stdio-common/Makefile (tests): Add tst-fphex-wide.
54453         * stdio-common/tst-fphex.c: Define a few macros to make the
54454         test reusable.  Use them.
54455         * stdio-common/tst-fphex-wide.c: New file.
54457 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
54459         [BZ #6911]
54460         * manual/macros.texi (gnusystems): New macro.
54461         (nongnusystems): Likewise.
54462         (gnulinuxhurdsystems): Likewise.
54463         (gnuhurdsystems): Likewise..
54464         (gnulinuxsystems): Likewise.
54465         * manual/charset.texi: Use new macros or @theglibc{} to refer to
54466         variants of the GNU system, not "GNU system".
54467         * manual/conf.texi: Likewise.
54468         * manual/errno.texi: Likewise.  Update example of errno macro
54469         expansion.
54470         * manual/filesys.texi: Likewise.
54471         (getumask): Document as specific to GNU/Hurd.
54472         * manual/install.texi: Likewise.  Reword some references to
54473         GNU/Linux.
54474         * manual/intro.texi: Likewise.
54475         * manual/io.texi: Likewise.
54476         (File Name Portability): Detail which constraints are inapplicable
54477         to all GNU systems and which are only inapplicable to GNU/Hurd.
54478         * manual/job.texi: Likewise.
54479         * manual/llio.texi: Likewise.
54480         (O_NOCTTY): Document as present on GNU/Linux.
54481         * manual/maint.texi: Likewise.
54482         * manual/memory.texi: Likewise.
54483         * manual/pattern.texi: Likewise.
54484         * manual/pipe.texi: Likewise.
54485         * manual/process.texi: Likewise.
54486         * manual/resource.texi: Likewise.
54487         (RUSAGE_CHILDREN): Remove statement about specifying a particular
54488         child on GNU/Hurd.
54489         * manual/setjmp.texi: Likewise.
54490         * manual/signal.texi: Likewise.
54491         * manual/startup.texi: Likewise.
54492         * manual/stdio.texi: Likewise.
54493         * manual/terminal.texi: Likewise.
54494         (ONLCR): Document as POSIX.
54495         (OXTABS): Document availability on GNU/Linux as XTABS.
54496         (ONOEOT): Document availability separately from other bits.
54497         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
54498         * manual/time.texi: Likewise.
54499         * manual/users.texi: Likewise.
54500         * INSTALL: Regenerated.
54501         * sysdeps/gnu/errlist.c: Regenerated.
54503         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
54504         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
54505         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
54506         puts.
54507         * configure: Regenerated.
54509 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
54511         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
54512         default includes instead of AC_HEADER_CHECK.
54513         * sysdeps/i386/configure: Regenerated.
54515         [BZ #10716]
54516         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
54517         * math/s_cacoshf.c (__cacoshf): Likewise.
54518         * math/s_cacoshl.c (__cacoshl): Likewise.
54519         * math/s_casinh.c (__casinh): Set signs of result from argument.
54520         * math/s_casinhf.c (__casinhf): Likewise.
54521         * math/s_casinhl.c (__casinhl): Likewise.
54522         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
54523         (casinh_test): Add more tests.
54524         * sysdeps/i386/fpu/libm-test-ulps: Update.
54525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54527 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
54529         * po/zh_TW.po: Update from translation team.
54531         * login/Makefile (distribute): Remove variable.
54532         * catgets/Makefile: Likewise.
54533         * mach/Makefile: Likewise.
54534         * malloc/Makefile: Likewise.
54535         * misc/Makefile: Likewise.
54536         * iconv/Makefile: Likewise.
54537         * nscd/Makefile: Likewise.
54538         * hurd/Makefile: Likewise.
54539         * manual/Makefile: Likewise.
54540         * locale/Makefile: Likewise.
54541         * intl/Makefile: Likewise.
54542         * conform/Makefile: Likewise.
54543         * nss/Makefile: Likewise.
54544         * time/Makefile: Likewise.
54545         * soft-fp/Makefile: Likewise.
54546         * dirent/Makefile: Likewise.
54547         * gmon/Makefile: Likewise.
54548         * po/Makefile: Likewise.
54549         * rt/Makefile: Likewise.
54550         * socket/Makefile: Likewise.
54551         * math/Makefile: Likewise.
54552         * signal/Makefile: Likewise.
54553         * debug/Makefile: Likewise.
54554         * elf/Makefile: Likewise.
54555         * timezone/Makefile: Likewise.
54556         * stdlib/Makefile: Likewise.
54557         * iconvdata/Makefile: Likewise.
54558         * sunrpc/Makefile: Likewise.
54559         * io/Makefile: Likewise.
54560         * argp/Makefile: Likewise.
54561         * inet/Makefile: Likewise.
54562         * hesiod/Makefile: Likewise.
54563         * grp/Makefile: Likewise.
54564         * csu/Makefile: Likewise.
54565         * wctype/Makefile: Likewise.
54566         * crypt/Makefile: Likewise.
54567         * libio/Makefile: Likewise.
54568         * string/Makefile: Likewise.
54569         * nis/Makefile: Likewise.
54570         * resolv/Makefile: Likewise.
54571         * stdio-common/Makefile: Likewise.
54572         * wcsmbs/Makefile: Likewise.
54573         * dlfcn/Makefile: Likewise.
54574         * posix/Makefile: Likewise.
54576         [BZ #6959]
54577         * timezone/Makefile: Don't install timezone files, just the programs
54578         and scripts.
54580 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
54582         * nss/databases.def: Add missing gshadow entry.
54584         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
54586 2012-03-06  Marek Polacek  <polacek@redhat.com>
54588         [BZ #13726]
54589         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
54590         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
54591         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
54592         * stdio-common/tst-long-dbl-fphex.c: New file.
54594 2012-03-06  David S. Miller  <davem@davemloft.net>
54596         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54597         (set_obp_int): New function.
54598         (get_obp_int): New function.
54599         (__get_clockfreq_via_dev_openprom): Likewise.
54600         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
54601         Avoid unused variable warnings on 'val' and use builtin_expect.
54602         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
54603         __builtin_expect.
54604         (INLINE_CLONE_SYSCALL): Likewise.
54606 2012-03-05  David S. Miller  <davem@davemloft.net>
54608         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54610 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
54612         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54614         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
54615         only for |x| >= 40.
54616         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54618 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
54620         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
54621         Replace gettimeofday with __vdso_gettimeofday.
54623         * sysdeps/unix/sysv/linux/x86_64/init-first.c
54624         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
54625         __vdso_clock_gettime and __vdso_getcpu.
54627         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
54628         time with __vdso_time.
54630 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
54632         * manual/lang.texi (size_t): Note types to which size_t may be
54633         equivalent with the GNU C Library, but do not describe when
54634         differences between them are significant.
54636 2012-03-05  Andreas Jaeger  <aj@suse.de>
54638         * sysdeps/i386/fpu/libm-test-ulps: Update.
54640 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
54642         [BZ #3976]
54643         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
54644         (__ieee754_pow): Save and restore rounding mode and use
54645         round-to-nearest for main computations.
54646         * math/libm-test.inc (pow_test_tonearest): New function.
54647         (pow_test_towardzero): Likewise.
54648         (pow_test_downward): Likewise.
54649         (pow_test_upward): Likewise.
54650         (main): Call the new functions.
54651         * sysdeps/i386/fpu/libm-test-ulps: Update.
54652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54654         [BZ #3976]
54655         * math/libm-test.inc (cosh_test_tonearest): New function.
54656         (cosh_test_towardzero): Likewise.
54657         (cosh_test_downward): Likewise.
54658         (cosh_test_upward): Likewise.
54659         (sinh_test_tonearest): Likewise.
54660         (sinh_test_towardzero): Likewise.
54661         (sinh_test_downward): Likewise.
54662         (sinh_test_upward): Likewise.
54663         (main): Call the new functions.
54664         * sysdeps/i386/fpu/libm-test-ulps: Update.
54665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54667 2012-03-05  Tom de Vries  <tom@codesourcery.com>
54669         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
54670         default stack guard is set in last bytes.
54671         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
54673 2012-03-05  Kees Cook  <keescook@chromium.org>
54675         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
54677         [BZ #13656]
54678         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
54679         possibly allocate from heap instead of stack.
54680         * stdio-common/bug-vfprintf-nargs.c: New file.
54681         * stdio-common/Makefile (tests): Add nargs overflow test.
54683 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
54685         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54687 2012-03-03  Marek Polacek  <polacek@redhat.com>
54689         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
54690         * math/math_private.h: Likewise.
54691         * stdlib/tst-strtod.c: Likewise.
54692         * sysdeps/i386/i486/bits/atomic.h: Likewise.
54693         * sysdeps/x86_64/bits/atomic.h: Likewise.
54695 2012-03-02  David S. Miller  <davem@davemloft.net>
54697         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
54698         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
54699         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
54700         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
54701         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
54702         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
54703         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
54704         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
54706 2012-03-02  Roland McGrath  <roland@hack.frob.com>
54708         [BZ #13792]
54709         * manual/examples/README: New file, says the example source files
54710         can be used under GPL>=2.
54711         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
54712         line containing just "*/".
54713         * manual/examples/add.c: Add copyright header (GPL>=2).
54714         * manual/examples/argp-ex1.c: Likewise.
54715         * manual/examples/argp-ex2.c: Likewise.
54716         * manual/examples/argp-ex3.c: Likewise.
54717         * manual/examples/argp-ex4.c: Likewise.
54718         * manual/examples/atexit.c: Likewise.
54719         * manual/examples/db.c: Likewise.
54720         * manual/examples/dir.c: Likewise.
54721         * manual/examples/dir2.c: Likewise.
54722         * manual/examples/execinfo.c: Likewise.
54723         * manual/examples/filecli.c: Likewise.
54724         * manual/examples/filesrv.c: Likewise.
54725         * manual/examples/fmtmsgexpl.c: Likewise.
54726         * manual/examples/genpass.c: Likewise.
54727         * manual/examples/inetcli.c: Likewise.
54728         * manual/examples/inetsrv.c: Likewise.
54729         * manual/examples/isockad.c: Likewise.
54730         * manual/examples/longopt.c: Likewise.
54731         * manual/examples/memopen.c: Likewise.
54732         * manual/examples/memstrm.c: Likewise.
54733         * manual/examples/mkfsock.c: Likewise.
54734         * manual/examples/mkisock.c: Likewise.
54735         * manual/examples/mygetpass.c: Likewise.
54736         * manual/examples/pipe.c: Likewise.
54737         * manual/examples/popen.c: Likewise.
54738         * manual/examples/rprintf.c: Likewise.
54739         * manual/examples/search.c: Likewise.
54740         * manual/examples/select.c: Likewise.
54741         * manual/examples/setjmp.c: Likewise.
54742         * manual/examples/sigh1.c: Likewise.
54743         * manual/examples/sigusr.c: Likewise.
54744         * manual/examples/stpcpy.c: Likewise.
54745         * manual/examples/strdupa.c: Likewise.
54746         * manual/examples/strftim.c: Likewise.
54747         * manual/examples/strncat.c: Likewise.
54748         * manual/examples/subopt.c: Likewise.
54749         * manual/examples/swapcontext.c: Likewise.
54750         * manual/examples/termios.c: Likewise.
54751         * manual/examples/testopt.c: Likewise.
54752         * manual/examples/testpass.c: Likewise.
54753         * manual/examples/timeval_subtract.c: Likewise.
54755         [BZ #13792]
54756         * manual/time.texi (Elapsed Time): Move timeval_subtract example
54757         function to ...
54758         * manual/timeval_subtract.c.texi: ... here, new file.
54760 2012-03-02  David S. Miller  <davem@davemloft.net>
54762         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
54764 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
54766         [BZ #3976]
54767         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
54768         (__sin): Save and restore rounding mode and use round-to-nearest
54769         for all computations.
54770         (__cos): Save and restore rounding mode and use round-to-nearest
54771         for all computations.
54772         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
54773         <fenv.h>.
54774         (tan): Save and restore rounding mode and use round-to-nearest for
54775         all computations.
54776         * math/libm-test.inc (cos_test_tonearest): New function.
54777         (cos_test_towardzero): Likewise.
54778         (cos_test_downward): Likewise.
54779         (cos_test_upward): Likewise.
54780         (sin_test_tonearest): Likewise.
54781         (sin_test_towardzero): Likewise.
54782         (sin_test_downward): Likewise.
54783         (sin_test_upward): Likewise.
54784         (tan_test_tonearest): Likewise.
54785         (tan_test_towardzero): Likewise.
54786         (tan_test_downward): Likewise.
54787         (tan_test_upward): Likewise.
54788         (main): Call the new functions.
54789         * sysdeps/i386/fpu/libm-test-ulps: Update.
54790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54792         [BZ #10135]
54793         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
54794         small n, then large n, before computing and testing k+n.
54795         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
54796         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
54797         Likewise.
54798         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
54799         Likewise.
54800         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
54801         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
54802         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
54803         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
54804         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
54805         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
54806         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
54807         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
54808         * math/libm-test.inc (scalbn_test): Add more tests.
54809         (scalbln_test): Likewise.
54811         * manual/filesys.texi (mode_t): Describe constraints on size and
54812         signedness, not exact equivalence to a particular type.
54813         (ino_t): Likewise.
54814         (ino64_t): Likewise.
54815         (dev_t): Likewise.
54816         (nlink_t): Likewise.
54817         (blkcnt_t): Likewise.
54818         (blkcnt64_t): Likewise.
54819         * manual/llio.texi (off_t): Likewise.
54821         [BZ #3976]
54822         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
54823         (__ieee754_exp): Save and restore rounding mode and use
54824         round-to-nearest for all computations.
54825         * math/libm-test.inc (exp_test_tonearest): New function.
54826         (exp_test_towardzero): Likewise.
54827         (exp_test_downward): Likewise.
54828         (exp_test_upward): Likewise.
54829         (main): Call the new functions.
54830         * sysdeps/i386/fpu/libm-test-ulps: Update.
54831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54833 2012-03-01  Chris Demetriou  <cgd@google.com>
54835         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
54836         have predictable order.
54838 2012-03-01  David S. Miller  <davem@davemloft.net>
54840         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
54842         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
54843         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
54844         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
54845         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
54847         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
54848         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
54849         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
54850         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
54851         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
54852         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
54853         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
54854         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
54855         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
54857         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54859         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
54860         * sysdeps/sparc/fpu/libm-test-ulps: to here.
54861         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
54863         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
54864         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
54865         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54866         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
54867         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
54868         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
54869         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
54870         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
54871         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54872         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
54873         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
54874         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54875         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
54876         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54877         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54878         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54879         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
54880         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
54881         * sysdeps/sparc/elf/configure: Regenerated.
54883 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
54885         * configure.in (AS, LD): Require binutils 2.20 or later.
54886         * configure: Regenerated.
54887         * manual/install.texi (Tools for Compilation): Give binutils 2.20
54888         as required minimum version.
54889         * INSTALL: Regenerated.
54891         [BZ #2541]
54892         [BZ #4108]
54893         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
54894         before squaring exponent.
54895         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
54896         bottom long double and 27 bits of top long double before squaring
54897         exponent.
54898         * math/libm-test.inc (erfc_test): Add more tests.
54899         * sysdeps/i386/fpu/libm-test-ulps: Update.
54900         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54903 2012-03-01  Kai Tietz  <ktietz@redhat.com>
54905         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
54906         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
54907         containing bit-fields.
54908         * soft-fp/extended.h (_FP_UNION_E): Likewise.
54909         * soft-fp/single.h (_FP_UNION_S): Likewise.
54910         * soft-fp/double.h (_FP_UNION_D): Likewise.
54912 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
54914         [BZ #13786]
54915         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
54916         not include ../strcmp.S.
54917         [USE_AS_STRNCASECMP_L]: Likewise.
54918         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
54919         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
54920         * sysdeps/i386/i686/multiarch/strncase_l-c.c
54921         (__strncasecmp_l_ia32): Define as alias to
54922         __strncasecmp_l_nonascii.
54924         [BZ #5794]
54925         * math/libm-test.inc (expm1_test): Add test for bug 5794.
54926         * sysdeps/i386/fpu/libm-test-ulps: Update.
54927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54929         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
54930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54932 2012-02-29  Jeff Law  <law@redhat.com>
54934         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
54935         out of bounds read.
54937 2012-02-29  Marek Polacek  <polacek@redhat.com>
54939         [BZ #13706]
54940         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
54941         * elf/Makefile: Add rules to run tst-unused-dep.out.
54943 2012-02-28  David S. Miller  <davem@davemloft.net>
54945         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
54946         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
54947         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
54948         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
54949         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
54950         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
54952 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
54954         * math/libm-test.inc (llround_test): Move one test from
54955         lround_test.  Use TEST_f_L in moved test.
54956         (lround_test): Move misplaced test to llround_test.  Add testcase
54957         from bug 2561.
54959 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
54961         * sysdeps/x86_64/fpu/e_expf.S: New file.
54962         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
54964 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
54966         [BZ #13637]
54967         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
54968         of remain_len that may cause incomplete multi-byte character and
54969         false match.
54970         * posix/bug-regex33.c: New file.
54971         * posix/Makefile (tests): Add bug-regex33.
54973 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
54975         * manual/macros.texi: New file.
54976         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
54977         * manual/libc.texinfo: Include macros.texi.
54978         * manual/creatute.texi: Likewise.
54979         * manual/install.texi: Likewise.
54980         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
54981         @glibcadj{} in references to the GNU C Library.
54982         * manual/charset.texi: Likewise.
54983         * manual/conf.texi: Likewise.
54984         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
54985         when not using those macros.
54986         * manual/creature.texi: Likewise.
54987         * manual/crypt.texi: Likewise.
54988         * manual/errno.texi: Likewise.
54989         * manual/filesys.texi: Likewise.
54990         * manual/header.texi: Likewise.
54991         * manual/install.texi: Likewise.
54992         * manual/intro.texi: Likewise.
54993         * manual/io.texi: Likewise.
54994         * manual/job.texi: Likewise.
54995         * manual/lang.texi: Likewise.
54996         * manual/libc.texiinfo: Likewise.
54997         * manual/llio.texi: Likewise.
54998         * manual/locale.texi: Likewise.
54999         * manual/maint.texi: Likewise.
55000         * manual/math.texi: Likewise.
55001         * manual/memory.texi: Likewise.
55002         * manual/message.texi: Likewise.
55003         * manual/nss.texi: Likewise.
55004         * manual/pattern.texi: Likewise.
55005         * manual/process.texi: Likewise.
55006         * manual/resource.texi: Likewise.
55007         * manual/search.texi: Likewise.
55008         * manual/setjmp.texi: Likewise.
55009         * manual/signal.texi: Likewise.
55010         * manual/socket.texi: Likewise.
55011         * manual/startup.texi: Likewise.
55012         * manual/stdio.texi: Likewise.
55013         * manual/string.texi: Likewise.
55014         * manual/sysinfo.texi: Likewise.
55015         * manual/syslog.texi: Likewise.
55016         * manual/terminal.texi: Likewise.
55017         * manual/time.texi: Likewise.
55018         * manual/users.texi: Likewise.
55019         * INSTALL: Regenerated.
55020         * NOTES: Regenerated.
55021         * sysdeps/gnu/errlist.c: Regenerated.
55023 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
55025         * include/dirent.h: Include <dirstream.h> before
55026         <dirent/dirent.h>.
55028 2012-02-28  David S. Miller  <davem@davemloft.net>
55030         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
55031         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
55032         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
55033         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
55035 2012-02-27  David S. Miller  <davem@davemloft.net>
55037         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
55038         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
55039         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
55040         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
55042         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
55043         frame pointer instead of stack pointer relative arg slot.
55044         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55045         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55046         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55048 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
55050         [BZ #3992]
55051         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
55053 2012-02-27  David S. Miller  <davem@davemloft.net>
55055         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
55056         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55057         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
55058         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
55059         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55060         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55061         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
55062         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
55064 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55066         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
55067         later.  Allow versions 5-9.
55068         * configure: Regenerated.
55069         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
55070         required minimum version and 4.6 as recommended version.  Do not
55071         mention bugs in GCC 2.7 and 2.8.
55072         * INSTALL: Regenerated.
55074 2012-02-27  David S. Miller  <davem@davemloft.net>
55076         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
55077         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
55078         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
55079         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
55080         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
55081         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
55082         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
55083         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
55085         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
55086         manipulate bits before adding and subtracting TWO112[sx].
55087         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
55089 2012-02-27  Roland McGrath  <roland@hack.frob.com>
55091         [BZ #13775]
55092         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
55093         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
55094         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
55095         being in POSIX, because they are in 1003.1-2008.
55097         * rt/tst-aio.c: Include <fcntl.h>.
55098         * rt/tst-aio7.c: Likewise.
55099         * rt/tst-aio64.c: Likewise.
55101         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
55103 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55105         * manual/install.texi (--with-headers): Describe headers as
55106         interface headers, not private headers.
55107         (Specific advice for GNU/Linux systems): Describe use of headers
55108         from "make headers_install", not private headers from older
55109         kernels.
55110         * INSTALL: Regenerated.
55111         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
55112         Change to 2.6.19.
55113         * sysdeps/unix/sysv/linux/configure: Regenerated.
55115         * manual/llio.texi (fclean): Remove documentation.
55117         * manual/Makefile (libc-texi-generated): New variable.  Include
55118         version.texi.
55119         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
55120         $(libc-texi-generated), not duplicated list of files.
55121         (version.texi, stamp-version): New rules.
55122         (realclean): Remove $(libc-texi-generated), not individual files
55123         from that list.  Do not remove dir-add.texinfo.
55124         * manual/libc.texinfo: Comment out uses of edition numbers and
55125         references to printed manual.  Remove last-updated dates.
55126         (EDITION): Comment out.
55127         (ISBN): Likewise.
55128         (VERSION, UPDATED): Remove.
55129         (version.texi): Include.
55131 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
55133         * sysdeps/posix/spawni.c: Include <signal.h>.
55134         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
55135         * sysdeps/pthread/aio_fsync.c: Likewise.
55137 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
55139         * conform/Makefile (tests): Run only when not cross-compiling and
55140         when fast-check is not defined.
55142         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
55143         * conform/data/limits.h-data: Fixes for POSIX2008.
55144         * conform/run-conformtest.sh: Run all tests.
55145         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
55146         headers.
55147         * include/bits/dlfcn.h: Likewise.
55148         * include/langinfo.h: Likewise.
55149         * include/monetary.h: Likewise.
55150         * include/sys/poll.h: Likewise.
55152         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
55153         for __USE_GNU.
55154         * posix/spawn.h: Define __need_sigset_t.
55155         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
55156         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
55157         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
55158         to get sigevent_t only.
55159         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
55160         only for __USE_GNU.
55161         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55162         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55163         process_vm_writev only for __USE_GNU.
55164         * termios/termios.h: Declare tcgetsid also for POSIX2008.
55166         * conform/Makefile: For now ignore errors from run-conformtest.
55167         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
55168         POSIX to avoid namespace pollution.  Don't prepend headers.
55169         * conform/data/aio.h-data: Fixes for POSIX testing.
55170         * conform/data/fcntl.h-data: Likewise.
55171         * conform/data/glob.h-data: Likewise.
55172         * conform/data/grp.h-data: Likewise.
55173         * conform/data/pthread.h-data: Likewise.
55174         * conform/data/pwd.h-data: Likewise.
55175         * conform/data/signal.h-data: Likewise.
55176         * conform/data/spawn.h-data: Likewise.
55177         * conform/data/stdio.h-data: Likewise.
55178         * conform/data/stdlib.h-data: Likewise.
55179         * conform/data/stropts.h-data: Likewise.
55180         * conform/data/sys/mman.h-data: Likewise.
55181         * conform/data/sys/stat.h-data: Likewise.
55182         * conform/data/sys/types.h-data: Likewise.
55183         * conform/data/sys/wait.h-data: Likewise.
55184         * conform/data/time.h-data: Likewise.
55185         * conform/data/unistd.h-data: Likewise.
55186         * conform/data/utime.h-data: Likewise.
55188         * io/sys/stat.h: fchmod was always in POSIX.
55189         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
55190         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
55191         * rt/aio.h: Define __need_timespec before including <time.h>.
55192         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
55193         struct.  Add forward declaration of pthread_attr_t and use it in
55194         sigevent.
55195         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55196         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55197         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
55198         always remove CLK_TCK definition.
55200 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
55202         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
55204 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
55206         * conform/run-conformtest.sh: New file.
55207         * conform/Makefile: Run run-conformtest for tests.
55208         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
55209         support.
55211         * conform/data/uchar.h-data: New file.
55212         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
55213         * conform/data/arpa/inet.h-data: Likewise.
55214         * conform/data/assert.h-data: Likewise.
55215         * conform/data/complex.h-data: Likewise.
55216         * conform/data/cpio.h-data: Likewise.
55217         * conform/data/ctype.h-data: Likewise.
55218         * conform/data/dirent.h-data: Likewise.
55219         * conform/data/dlfcn.h-data: Likewise.
55220         * conform/data/errno.h-data: Likewise.
55221         * conform/data/fcntl.h-data: Likewise.
55222         * conform/data/float.h-data: Likewise.
55223         * conform/data/fmtmsg.h-data: Likewise.
55224         * conform/data/fnmatch.h-data: Likewise.
55225         * conform/data/ftw.h-data: Likewise.
55226         * conform/data/glob.h-data: Likewise.
55227         * conform/data/grp.h-data: Likewise.
55228         * conform/data/iconv.h-data: Likewise.
55229         * conform/data/inttypes.h-data: Likewise.
55230         * conform/data/langinfo.h-data: Likewise.
55231         * conform/data/libgen.h-data: Likewise.
55232         * conform/data/limits.h-data: Likewise.
55233         * conform/data/locale.h-data: Likewise.
55234         * conform/data/math.h-data: Likewise.
55235         * conform/data/monetary.h-data: Likewise.
55236         * conform/data/mqueue.h-data: Likewise.
55237         * conform/data/ndbm.h-data: Likewise.
55238         * conform/data/net/if.h-data: Likewise.
55239         * conform/data/netdb.h-data: Likewise.
55240         * conform/data/netinet/in.h-data: Likewise.
55241         * conform/data/nl_types.h-data: Likewise.
55242         * conform/data/poll.h-data: Likewise.
55243         * conform/data/pthread.h-data: Likewise.
55244         * conform/data/pwd.h-data: Likewise.
55245         * conform/data/regex.h-data: Likewise.
55246         * conform/data/sched.h-data: Likewise.
55247         * conform/data/search.h-data: Likewise.
55248         * conform/data/semaphore.h-data: Likewise.
55249         * conform/data/setjmp.h-data: Likewise.
55250         * conform/data/signal.h-data: Likewise.
55251         * conform/data/spawn.h-data: Likewise.
55252         * conform/data/stdarg.h-data: Likewise.
55253         * conform/data/stdio.h-data: Likewise.
55254         * conform/data/stdlib.h-data: Likewise.
55255         * conform/data/string.h-data: Likewise.
55256         * conform/data/strings.h-data: Likewise.
55257         * conform/data/stropts.h-data: Likewise.
55258         * conform/data/sys/ipc.h-data: Likewise.
55259         * conform/data/sys/mman.h-data: Likewise.
55260         * conform/data/sys/msg.h-data: Likewise.
55261         * conform/data/sys/resource.h-data: Likewise.
55262         * conform/data/sys/select.h-data: Likewise.
55263         * conform/data/sys/sem.h-data: Likewise.
55264         * conform/data/sys/shm.h-data: Likewise.
55265         * conform/data/sys/socket.h-data: Likewise.
55266         * conform/data/sys/stat.h-data: Likewise.
55267         * conform/data/sys/statvfs.h-data: Likewise.
55268         * conform/data/sys/time.h-data: Likewise.
55269         * conform/data/sys/timeb.h-data: Likewise.
55270         * conform/data/sys/times.h-data: Likewise.
55271         * conform/data/sys/types.h-data: Likewise.
55272         * conform/data/sys/uio.h-data: Likewise.
55273         * conform/data/sys/un.h-data: Likewise.
55274         * conform/data/sys/utsname.h-data: Likewise.
55275         * conform/data/sys/wait.h-data: Likewise.
55276         * conform/data/syslog.h-data: Likewise.
55277         * conform/data/tar.h-data: Likewise.
55278         * conform/data/termios.h-data: Likewise.
55279         * conform/data/utime.h-data: Likewise.
55280         * conform/data/utmpx.h-data: Likewise.
55281         * conform/data/varargs.h-data: Likewise.
55282         * conform/data/wchar.h-data: Likewise.
55283         * conform/data/wctype.h-data: Likewise.
55284         * conform/data/wordexp.h-data: Likewise.
55286         * include/stropts.h: New file.
55287         * include/uchar.h: New file.
55288         * include/aio.h: Changes to allow conformtest.pl to use the headers.
55289         * include/assert.h: Likewise.
55290         * include/ctype.h: Likewise.
55291         * include/dirent.h: Likewise.
55292         * include/dlfcn.h: Likewise.
55293         * include/fcntl.h: Likewise.
55294         * include/fnmatch.h: Likewise.
55295         * include/glob.h: Likewise.
55296         * include/grp.h: Likewise.
55297         * include/libio.h: Likewise.
55298         * include/locale.h: Likewise.
55299         * include/math.h: Likewise.
55300         * include/net/if.h: Likewise.
55301         * include/netdb.h: Likewise.
55302         * include/netinet/in.h: Likewise.
55303         * include/pthread.h: Likewise.
55304         * include/pwd.h: Likewise.
55305         * include/regex.h: Likewise.
55306         * include/sched.h: Likewise.
55307         * include/search.h: Likewise.
55308         * include/setjmp.h: Likewise.
55309         * include/signal.h: Likewise.
55310         * include/stdio.h: Likewise.
55311         * include/stdlib.h: Likewise.
55312         * include/string.h: Likewise.
55313         * include/sys/cdefs.h: Likewise.
55314         * include/sys/mman.h: Likewise.
55315         * include/sys/msg.h: Likewise.
55316         * include/sys/resource.h: Likewise.
55317         * include/sys/select.h: Likewise.
55318         * include/sys/socket.h: Likewise.
55319         * include/sys/stat.h: Likewise.
55320         * include/sys/statvfs.h: Likewise.
55321         * include/sys/time.h: Likewise.
55322         * include/sys/times.h: Likewise.
55323         * include/sys/uio.h: Likewise.
55324         * include/sys/utsname.h: Likewise.
55325         * include/sys/wait.h: Likewise.
55326         * include/termios.h: Likewise.
55327         * include/time.h: Likewise.
55328         * include/ulimit.h: Likewise.
55329         * include/unistd.h: Likewise.
55330         * include/utime.h: Likewise.
55331         * include/wchar.h: Likewise.
55332         * include/wctype.h: Likewise.
55333         * include/wordexp.h: Likewise.
55335         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
55337         * time/time.h: TIME_UTC must be a macro.
55338         Make timespec_get available for ISO C11 only as well.
55340 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
55342         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
55343         Reported by Peng Haitao <penght@cn.fujitsu.com>.
55345 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55347         * configure.in: Use -o not -a in test for unsupported multi-arch.
55349 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55351         * manual/texinfo.tex: Update to version 2012-01-19.16.
55353 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55355         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
55357 2012-02-24  Roland McGrath  <roland@hack.frob.com>
55359         [BZ #13738]
55360         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
55361         * manual/fdl-1.3.texi: New file.
55362         * manual/fdl-1.1.texi: File removed.
55364         [BZ #13738]
55365         * manual/libc.texinfo (FDL_VERSION): New @set.
55366         Use it for mention of FDL in cover text.
55367         (Documentation License): Use it in @include file name.
55369 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55370             Roland McGrath  <roland@hack.frob.com>
55372         [BZ #5461]
55373         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
55374         (not LONG_LONG_MAX and LONG_LONG_MIN.
55375         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
55376         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
55377         name.
55378         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
55380 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55382         [BZ #2547]
55383         [BZ #11365]
55384         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
55385         manipulate bits before adding and subtracting TWO23[sx].
55386         * math/libm-test.inc (nearbyint_test): Add more tests.
55388 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55390         [BZ #2548]
55391         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
55392         bits before adding and subtracting TWO23[sx].
55393         * math/libm-test.inc (rint_test): Add more tests.
55394         (rint_test_tonearest): Likewise.
55395         (rint_test_towardzero): Likewise.
55396         (rint_test_downward): Likewise.
55397         (rint_test_upward: Likewise.
55399 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55401         [BZ #10110]
55402         * include/stdc-predef.h: New file.  Extracted from features.h.
55403         * include/features.h: Include stdc-predef.h.
55404         * Makefile (headers): Add stdc-predef.h.
55405         * CONFORMANCE (Compiler limitations): Update.
55407 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55409         * manual/libc.texinfo (VERSION, UPDATED): Revert.
55411 2012-02-21  David S. Miller  <davem@davemloft.net>
55413         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
55414         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
55416 2012-02-20  David S. Miller  <davem@davemloft.net>
55418         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
55419         using a normal save/restore sequence, rather than allocating a
55420         dummy stack frame just to store a frame pointer and restore.
55421         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55423 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55425         * manual/install.texi: Fix stray word in line-wrapped comment.
55427 2012-02-20  David S. Miller  <davem@davemloft.net>
55429         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
55430         both binutils and gcc support GOTDATA.
55432         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
55433         "rd %pc" in the PIC register setup sequences.
55435         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
55436         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
55437         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
55438         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
55439         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
55440         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
55441         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55442         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55443         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
55444         (SYSCALL_ERROR_HANDLER): Likewise.
55445         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
55446         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55447         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
55448         (SYSCALL_ERROR_HANDLER): Likewise.
55450         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
55451         (HAVE_GCC_GOTDATA): New.
55452         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
55453         relocation support in both binutils and gcc.
55454         * sysdeps/sparc/elf/configure: Regenerate.
55456         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
55457         * sysdeps/sparc/sparc32/elf/configure: Delete.
55458         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
55459         * sysdeps/sparc/sparc64/elf/configure: Delete.
55460         * sysdeps/sparc/elf/configure.in: New file.
55461         * sysdeps/sparc/elf/configure: Generate.
55463         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
55464         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
55465         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
55466         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
55467         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
55469 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55471         * manual/install.texi: Do not mention specific glibc version
55472         numbers.
55473         * manual/libc.texinfo (VERSION, UPDATED): Update.
55474         (@copying): Use @copyright{} and range of years.
55476 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55478         [BZ #13695]
55479         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
55480         [crti.S not in sysdirs] (generated): Do not append.
55481         [crti.S not in sysdirs] (omit-deps): Likewise.
55482         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
55483         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
55484         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
55485         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
55486         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
55487         Likewise.
55488         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
55489         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
55490         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
55491         * csu/defs.awk: Remove file.
55492         * sysdeps/generic/initfini.c: Likewise.
55493         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
55494         variable.
55495         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
55496         Likewise.
55498 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55500         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
55501         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
55502         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
55503         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
55504         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55505         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
55506         <bits/epoll.h>.
55507         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
55508         (__EPOLL_PACKED): Define to empty if not defined by
55509         <bits/epoll.h>.
55510         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
55511         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55512         bits/epoll.h.
55514 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55516         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
55517         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
55518         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
55519         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
55520         <bits/timerfd.h>.
55521         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
55522         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55523         bits/timerfd.h.
55525 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55527         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
55528         in C locale.
55529         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55530         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55531         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
55532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55534 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
55536         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55537         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
55539 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
55541         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
55542         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
55543         defined.
55544         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
55545         Likewise.
55546         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
55547         entry for 2.16.
55549 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
55551         * math/w_acos.c: Use non-signaling floating-point comparisons.
55552         * math/w_acosf.c: Likewise.
55553         * math/w_acosh.c: Likewise.
55554         * math/w_acoshf.c: Likewise.
55555         * math/w_acoshl.c: Likewise.
55556         * math/w_acosl.c: Likewise.
55557         * math/w_asin.c: Likewise.
55558         * math/w_asinf.c: Likewise.
55559         * math/w_asinl.c: Likewise.
55560         * math/w_atanh.c: Likewise.
55561         * math/w_atanhf.c: Likewise.
55562         * math/w_atanhl.c: Likewise.
55563         * math/w_exp2.c: Likewise.
55564         * math/w_exp2f.c: Likewise.
55565         * math/w_exp2l.c: Likewise.
55566         * math/w_j0.c: Likewise.
55567         * math/w_j0f.c: Likewise.
55568         * math/w_j0l.c: Likewise.
55569         * math/w_j1.c: Likewise.
55570         * math/w_j1f.c: Likewise.
55571         * math/w_j1l.c: Likewise.
55572         * math/w_jn.c: Likewise.
55573         * math/w_jnf.c: Likewise.
55574         * math/w_log.c: Likewise.
55575         * math/w_log10.c: Likewise.
55576         * math/w_log10f.c: Likewise.
55577         * math/w_log10l.c: Likewise.
55578         * math/w_log2.c: Likewise.
55579         * math/w_log2f.c: Likewise.
55580         * math/w_log2l.c: Likewise.
55581         * math/w_logf.c: Likewise.
55582         * math/w_logl.c: Likewise.
55583         * math/w_sqrt.c: Likewise.
55584         * math/w_sqrtf.c: Likewise.
55585         * math/w_sqrtl.c: Likewise.
55586         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55587         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
55588         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55589         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
55590         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
55592 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55594         [BZ #9739]
55595         * manual/string.texi (strnlen): Use correct parameter name in
55596         equivalent expression.
55598 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55600         [BZ #11174]
55601         * manual/users.texi (seteuid): Consistently use neweuid for
55602         argument name.
55604 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55606         [BZ #13704]
55607         * manual/nss.texi (Services in the NSS configuration): Correct
55608         list of services in example configuration file.
55610 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
55612         [BZ #11322]
55613         * manual/arith.texi: Remove statements about negative zero
55614         behaving identically to zero.
55616 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
55618         [BZ #5993]
55619         * manual/install.texi: Do not document upgrading from libc5.
55621 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
55623         [BZ #4596]
55624         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
55626 2012-02-18  David S. Miller  <davem@davemloft.net>
55628         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
55629         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
55630         %o7 across the call.
55631         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
55632         instead.
55633         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
55634         SETUP_PIC_REG_LEAF.
55635         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55636         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
55637         * sysdeps/sparc/crtn.S: Likewise.
55639 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
55641         * aout/Makefile: Remove.
55643 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
55645         [BZ #13058]
55646         * manual/examples/argp-ex1.c (main): Format definition in GNU
55647         style.
55648         * manual/examples/argp-ex2.c (main): Likewise.
55649         * manual/examples/argp-ex3.c (main): Likewise.
55650         * manual/examples/argp-ex4.c (main): Likewise.
55651         * manual/examples/longopt.c (main): Use new-style prototype
55652         definition.
55653         * manual/examples/strncat.c (main): Specify return type and use
55654         (void) for arguments.
55655         * manual/examples/subopt.c (main): Use char **argv argument.
55657 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55659         [BZ #5077]
55660         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
55661         rounding modes.
55663 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
55665         [BZ #6907]
55666         * manual/string.texi (strchr): Change when strchrnul is
55667         recommended.
55669 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
55671         [BZ #174]
55672         * manual/locale.texi (setlocale): Document LOCPATH.
55674 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55676         [BZ #10210]
55677         * manual/process.texi (execle): Move @dots{} before last argument.
55679 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
55681         [BZ #12047]
55682         * manual/charset.texi (Generic Charset Conversion): Fix typo
55683         (LC_TYPE -> LC_CTYPE).
55685 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
55687         [BZ #5805]
55688         * manual/arith.texi (scalbn): Use @var{} on parameter names.
55689         (scalbnf): Likewise.
55690         (scalbnl): Likewise.
55691         (scalbln): Likewise.
55692         (scalblnf): Likewise.
55693         (scalblnl): Likewise.
55694         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
55695         (vwarnx): Likewise.
55696         (verr): Likewise.
55697         (verrx): Likewise.
55698         * manual/filesys.texi (telldir): Use braces around return type.
55699         * manual/llio.texi (mmap): Add space after comma.
55700         (mmap64): Likewise.
55701         * manual/math.texi (jn): Use @var{} on parameter names.
55702         (jnf): Likewise.
55703         (jnl): Likewise.
55704         (yn): Likewise.
55705         (ynf): Likewise.
55706         (ynl): Likewise.
55707         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
55708         line.
55709         * manual/resource.texi (ulimit): Use @dots{} instead of literal
55710         "...".
55711         (sched_get_priority_min): Remove semicolon on @deftypefun line.
55712         (sched_get_priority_max): Likewise.
55713         * manual/signal.texi (sigvec): Add space after comma.
55714         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
55715         names.
55716         (if_indextoname): Likewise.
55717         (if_freenameindex): Likewise.
55718         (sendto): Use ',' instead of '.' in prototype.
55719         * manual/startup.texi (syscall): Use @dots{} instead of literal
55720         "...".
55721         * manual/stdio.texi (__fpending): Separate initial words of
55722         paragraph from @deftypefun line.
55723         * manual/syslog.texi (syslog): Use @dots{} instead of literal
55724         "...".
55725         (vsyslog): Use @var{} on parameter names.
55726         * manual/terminal.texi (stty): Use @var{} on parameter names.
55727         * manual/users.texi (getutmp): Use @var{} on parameter names.
55728         (getutmpx): Likewise.
55730 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55732         [BZ #6884]
55733         * manual/stdio.texi (fopen): Fix typos in description of
55734         ",ccs=STRING".
55736 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
55738         [BZ #4026]
55739         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
55740         get clock_id definition.
55742 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
55744         [BZ #4822]
55745         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
55746         (madvise): Cast every argument to void on its own.
55748 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55750         [BZ #9902]
55751         * manual/startup.texi (Exit Status): Fix typo.
55753 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55755         [BZ #10140]
55756         * manual/examples/argp-ex1.c: Include <stdlib.h>.
55757         * manual/examples/argp-ex2.c: Likewise.
55758         * manual/examples/argp-ex3.c: Likewise.
55760 2012-02-16  Richard Henderson  <rth@redhat.com>
55762         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
55763         * sysdeps/s390/s390-32/initfini.c: Remove.
55764         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
55765         * sysdeps/s390/s390-64/initfini.c: Remove.
55767 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55769         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
55770         compiler output for sysdeps/generic/initfini.c.
55771         * sysdeps/sh/elf/initfini.c: Remove file.
55773 2012-02-16  David S. Miller  <davem@davemloft.net>
55775         [BZ #11494]
55776         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
55778         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
55779         * sysdeps/sparc/crti.S: New file.
55780         * sysdeps/sparc/crtn.S: New file.
55781         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
55782         * sysdeps/sparc/sparc64/Makefile: Likewise.
55784 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
55786         [BZ #3335]
55787         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
55789 2012-02-15  Roland McGrath  <roland@hack.frob.com>
55791         [BZ #4822]
55792         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
55794         * mach/devstream.c (cookie_io_functions_t): Macro removed.
55795         (write, read, close): Likewise.
55796         Patch by Aurelien Jarno <aurelien@aurel32.net>.
55798 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
55800         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
55801         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
55802         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
55803         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
55804         <bits/signalfd.h>.
55805         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
55806         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55807         bits/signalfd.h.
55809 2012-02-14  Marek Polacek  <polacek@redhat.com>
55811         * sysdeps/x86_64/crti.S: New file.
55812         * sysdeps/x86_64/crtn.S: New file.
55813         * sysdeps/x86_64/elf/initfini.c: Remove file.
55815 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
55817         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
55818         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
55819         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
55820         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
55821         <bits/inotify.h>.
55822         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
55823         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55824         bits/inotify.h.
55826 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
55828         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
55829         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
55830         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
55831         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
55832         <bits/eventfd.h>.
55833         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
55834         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55835         bits/eventfd.h.
55837 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
55839         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
55840         __feraiseexcept instead of feraiseexcept.
55842         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
55843         nanosleep invocations.
55844         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
55845         strings, and add error checking for a nanosleep invocations.
55847 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
55849         Replace FSF snail mail address with URLs, as per GNU coding standards.
55850         Most of the snail mail addresses were wrong anyway, and omitting
55851         them makes the source code easier to maintain.  Almost all of the
55852         changes are to license notices and to locale LC_IDENTIFICATION
55853         addresses, except for this one:
55854         * manual/libc.texinfo: In "Published by", give the FSF's URL,
55855         not its snail mail address.
55857 2012-02-09  Richard Henderson  <rth@twiddle.net>
55859         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
55860         of kernel-features.h.
55862         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
55864 2012-02-08  Marek Polacek  <polacek@redhat.com>
55866         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
55867         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
55868         * sysdeps/gnu/_G_config.h: Likewise.
55869         * sysdeps/generic/_G_config.h: Likewise.
55871 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
55873         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
55874         tests.
55875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55877         * sysdeps/powerpc/powerpc32/crti.S: New file.
55878         * sysdeps/powerpc/powerpc32/crtn.S: New file.
55879         * sysdeps/powerpc/powerpc64/crti.S: New file.
55880         * sysdeps/powerpc/powerpc64/crtn.S: New file.
55882         * Makeconfig (have-initfini): Don't set.
55883         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
55884         * configure.in (nopic_initfini): Don't substitute.
55885         * config.h.in (HAVE_INITFINI): Don't #undef.
55886         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
55887         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
55889 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
55891         Support crti.S and crtn.S provided directly by architectures.
55892         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
55893         [crti.S in sysdirs] (omit-deps): Likewise.
55894         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
55895         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
55896         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
55897         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
55898         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
55899         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
55900         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
55901         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
55902         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
55903         compiler output for sysdeps/generic/initfini.c.
55904         * sysdeps/i386/elf/Makefile: Remove file.
55905         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
55907 2012-02-07  Marek Polacek  <polacek@redhat.com>
55909         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
55910         * sysdeps/gnu/_G_config.h: Likewise.
55911         * sysdeps/mach/hurd/_G_config.h: Likewise.
55913 2012-02-07  Marek Polacek  <polacek@redhat.com>
55915         * math/Makefile (tests): Add tst-CMPLX2.
55916         * math/tst-CMPLX2.c: New file.
55918 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
55920         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55922         * math/libm-test.inc (jn_test): Add missing L suffix.
55924 2012-02-06  Marek Polacek  <polacek@redhat.com>
55926         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
55927         * sysdeps/i386/fpu/e_powf.S: Likewise.
55928         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55929         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
55930         * sysdeps/i386/fpu/e_acosh.S: Likewise.
55931         * sysdeps/i386/fpu/e_pow.S: Likewise.
55932         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
55933         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55934         * sysdeps/i386/fpu/s_expm1.S: Likewise.
55935         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
55936         * sysdeps/i386/fpu/e_log2.S: Likewise.
55937         * sysdeps/i386/fpu/e_log2l.S: Likewise.
55938         * sysdeps/i386/fpu/e_scalb.S: Likewise.
55939         * sysdeps/i386/fpu/e_powl.S: Likewise.
55940         * sysdeps/i386/fpu/s_log1p.S: Likewise.
55941         * sysdeps/i386/fpu/e_log10f.S: Likewise.
55942         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
55943         * sysdeps/i386/fpu/e_logl.S: Likewise.
55944         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
55945         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
55946         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
55947         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
55948         * sysdeps/i386/fpu/e_log2f.S: Likewise.
55949         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55950         * sysdeps/i386/fpu/e_log.S: Likewise.
55951         * sysdeps/i386/fpu/s_cexp.S: Likewise.
55952         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55953         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
55954         * sysdeps/i386/fpu/e_logf.S: Likewise.
55955         * sysdeps/i386/fpu/e_log10l.S: Likewise.
55956         * sysdeps/i386/fpu/e_atanh.S: Likewise.
55957         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
55958         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
55959         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
55960         * sysdeps/i386/fpu/e_log10.S: Likewise.
55961         * sysdeps/i386/fpu/s_frexp.S: Likewise.
55962         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55963         * sysdeps/i386/fpu/s_asinh.S: Likewise.
55964         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
55965         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55966         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
55967         * sysdeps/i386/asm-syntax.h: Likewise.
55968         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55969         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55970         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55971         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
55972         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
55973         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55974         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
55975         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
55976         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55977         * sysdeps/powerpc/sysdep.h: Likewise.
55978         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
55979         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55981 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
55983         [BZ #411]
55984         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
55986 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
55988         * sysdeps/i386/sysdep.h: Include <features.h>.
55989         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
55990         version.
55992 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
55994         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
55995         Define.
55996         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
55997         LOAD_PIC_REG_STR.
55999 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56001         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
56002         (SETUP_PIC_REG): Use GET_PC_THUNK.
56003         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
56004         macro.
56006 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56008         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
56009         for non-PIC compilation.
56010         (SETUP_PIC_REG): Add .p2align directive.
56011         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
56012         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
56013         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
56014         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
56015         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
56016         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
56017         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
56018         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56019         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
56020         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
56021         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
56022         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
56023         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
56024         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
56025         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
56026         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
56027         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
56028         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
56029         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
56030         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
56031         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56032         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
56033         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
56034         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
56035         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
56036         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
56037         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56038         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
56039         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
56040         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
56041         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
56042         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56043         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
56044         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
56045         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
56046         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
56047         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
56048         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
56049         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
56050         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
56051         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
56053 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56055         * math/tst-CMPLX.c: Include <stdio.h>.
56057 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
56059         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
56060         float.
56061         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56062         * sysdeps/sparc/bits/mathdef.h: Likewise.
56064 2012-01-31  Marek Polacek  <polacek@redhat.com>
56066         * libio/libio.h: Don't define _PARAMS.
56067         * locale/programs/config.h: Don't define PARAMS.
56068         * stdlib/strtol_l.c: Likewise.
56069         (__strtol_l): Remove PARAMS from the prototype.
56071 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
56073         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
56074         names.  Just use the correct names.  Remove unnecessary wrapper
56075         functions.
56076         * malloc/arena.c: Likewise.
56077         * malloc/hooks.c: Likewise.
56079         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
56080         ARENA_TEST says not to.  Simplify test for creation of a new arena.
56081         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
56083 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
56085         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
56086         into tail calls.
56087         (update_get_addr): New function.
56088         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
56089         GET_ADDR_MODULE parameter.
56091 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56093         * crypt/cert.c: Remove __STDC__ conditionals.
56094         * crypt/crypt-entry.c: Likewise.
56095         * crypt/crypt_util.c: Likewise.
56096         * libio/filedoalloc.c: Likewise.
56097         * libio/fileops.c: Likewise.
56098         * libio/genops.c: Likewise.
56099         * libio/iofclose.c: Likewise.
56100         * libio/iofdopen.c: Likewise.
56101         * libio/iofopen.c: Likewise.
56102         * libio/iofopen64.c: Likewise.
56103         * libio/iogetdelim.c: Likewise.
56104         * libio/iopopen.c: Likewise.
56105         * libio/obprintf.c: Likewise.
56106         * libio/oldfileops.c: Likewise.
56107         * libio/oldiofclose.c: Likewise.
56108         * libio/oldiofdopen.c: Likewise.
56109         * libio/oldiofopen.c: Likewise.
56110         * libio/oldiopopen.c: Likewise.
56111         * libio/wfiledoalloc.c: Likewise.
56112         * libio/wgenops.c: Likewise.
56113         * locale/programs/xmalloc.c: Likewise.
56114         * misc/syslog.c: Likewise.
56115         * stdio-common/xbug.c: Likewise.
56116         * string/memchr.c: Likewise.
56117         * string/memcmp.c: Likewise.
56118         * string/memrchr.c: Likewise.
56119         * string/rawmemchr.c: Likewise.
56120         * sysdeps/posix/getcwd.c: Likewise.
56121         * time/strftime_l.c: Likewise.
56123 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56125         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
56126         * config.make.in (config-cflags-sse2avx): Define.
56127         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
56128         Fix typo.
56130 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
56132         * scripts/config.guess: Update from upstream config git repository.
56133         * scripts/config.sub: Likewise.
56135 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
56137         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
56138         (EM_NUM): Update.
56139         (R_TILEPRO_*, R_TILEGX_*): New macros.
56141         * scripts/firstversions.awk: Fix bug in version range handling.
56143         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
56145         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
56147         * include/sys/epoll.h: New file.
56148         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
56149         libc_hidden_def.
56151 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
56153         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
56154         Avoid unnecessary __WORDSIZE == 64 test.
56155         (fmaxf): Use VEX format if possible.
56156         (fmax): Likewise.
56157         (fminf): Likewise.
56158         (fmin): Likewise.
56160         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
56161         * math/math_private.h: Remove libc_fegetround* and
56162         libc_fesetround*.
56163         * sysdeps/i386/configure.in: Check for -msse2avx.
56164         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
56165         also if SSE2AVX is defined.
56166         Remove libc_fegetround* and libc_fesetround*.
56167         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
56168         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
56169         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
56170         of HAS_YMM_USABLE.
56171         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56172         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56173         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56174         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56175         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56177         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
56179 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56181         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
56182         size is not set.
56183         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56185 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
56187         [BZ #13618]
56188         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
56189         relocation.
56190         * Makeconfig (libm): Define.
56191         * elf/Makefile: Add rules to build and run tst-relsort1.
56192         * elf/tst-relsort1.c: New file.
56193         * elf/tst-relsort1mod1.c: New file.
56194         * elf/tst-relsort1mod2.c: New file.
56196 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
56198         * math/s_ldexp.c: Remove __STDC__ conditionals.
56199         * math/s_ldexpf.c: Likewise.
56200         * math/s_ldexpl.c: Likewise.
56201         * math/s_nextafter.c: Likewise.
56202         * math/s_nexttowardf.c: Likewise.
56203         * math/s_significand.c: Likewise.
56204         * math/s_significandf.c: Likewise.
56205         * math/s_significandl.c: Likewise.
56206         * math/w_jnl.c: Likewise.
56207         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
56208         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
56209         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
56210         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
56211         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
56212         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56213         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
56214         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56215         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56216         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56217         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56218         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56219         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56220         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
56221         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56222         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56223         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56224         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56225         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56226         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56227         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56228         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56229         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56230         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56231         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56232         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56233         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56234         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56235         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
56236         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56237         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56238         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
56239         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56240         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
56241         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
56242         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56243         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
56244         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
56245         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
56246         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
56247         * sysdeps/ieee754/k_standard.c: Likewise.
56248         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56249         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56250         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
56251         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
56252         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
56253         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
56254         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56255         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
56256         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
56257         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
56258         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
56259         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
56260         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
56261         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
56262         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
56263         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
56264         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
56265         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56266         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56267         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
56268         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56269         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56270         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
56271         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
56272         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56273         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
56274         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56275         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56276         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56277         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
56278         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
56279         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
56280         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
56281         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
56282         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
56283         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
56284         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
56285         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
56286         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
56287         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
56288         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
56289         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
56290         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
56291         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
56292         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
56293         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
56294         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
56295         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56296         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
56297         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
56298         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
56299         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56300         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56301         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
56302         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
56303         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
56304         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
56305         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56306         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56307         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56308         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56309         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
56310         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
56311         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
56312         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56313         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56314         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56315         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
56316         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
56317         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56318         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
56319         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
56320         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
56321         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
56322         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
56323         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
56324         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
56325         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
56326         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
56327         * sysdeps/ieee754/s_matherr.c: Likewise.
56328         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
56329         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56330         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56331         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56333 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
56335         * crypt/md5.h: Remove __STDC__ conditionals.
56336         * libio/libioP.h: Likewise.
56337         * locale/programs/config.h: Likewise.
56338         * sysdeps/generic/sysdep.h: Likewise.
56339         * sysdeps/i386/asm-syntax.h: Likewise.
56340         * sysdeps/s390/asm-syntax.h: Likewise.
56341         * sysdeps/unix/sysdep.h: Likewise.
56342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
56343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56345 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
56347         * libio/libio.h: Remove __STDC__ conditionals.
56348         * malloc/obstack.h: Likewise.
56349         * math/complex.h: Likewise.
56350         * math/math.h: Likewise.
56351         * sysdeps/generic/_G_config.h: Likewise.
56352         * sysdeps/gnu/_G_config.h: Likewise.
56353         * sysdeps/mach/hurd/_G_config.h: Likewise.
56354         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56355         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56356         * sysdeps/sparc/bits/mathdef.h: Likewise.
56358 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
56360         [BZ #13583]
56361         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
56362         Clean up HAS_* macros.
56363         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
56364         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
56365         possible.
56366         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
56367         HAS_AVX.
56368         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56369         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56370         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56371         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56372         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56374 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
56376         * elf/tst-unique3.cc (gets): Remove declaration.
56377         * elf/tst-unique3lib.cc (gets): Likewise.
56378         * elf/tst-unique3lib2.cc (gets): Likewise.
56379         * elf/tst-unique4.cc (gets): Likewise.
56381 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
56383         * include/stdio.h: Add C++ protection.  Add gets declarations and
56384         definitions.
56385         * debug/tst-chk1.c: Don't declare gets here.
56386         * stdio-common/tst-gets.c: Likewise.
56388 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
56390         * posix/glob: Remove directory.
56392 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
56394         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
56396 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
56398         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
56399         of the non-standard EPFNOSUPPORT.
56401 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56403         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
56404         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
56405         ANYWHERE set to 1 only on KERN_NO_SPACE error.
56407 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
56409         * wcsmbs/uchar.h: Test __STDC_VERSION__.
56411 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
56413         * nscd/aicache.c (addhstaiX): Do not cache negative results of
56414         transient errors.
56415         * nscd/grpcache.c (cache_addgr): Likewise.
56416         * nscd/hstcache.c (cache_addhst): Likewise.
56417         * nscd/initgrcache.c (addinitgroupsX): Likewise.
56418         * nscd/pwdcache.c (cache_addpw): Likewise.
56419         * nscd/servicescache.c (cache_addserv): Likewise.
56421 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
56423         * malloc/malloc.c: Various cleanups.
56424         * malloc/hooks.c: Likewise.
56426         * stdlib/Makefile (tests): Add bug-fmtmsg1.
56427         * stdlib/bug-fmtmsg1.c: New file.
56429         * stdlib/fmtmsg.c (init): Add missing unlock.
56430         Patch by Peng Haitao <penght@cn.fujitsu.com>.
56432 2012-01-12  Marek Polacek  <polacek@redhat.com>
56434         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
56435         and _GNU_SOURCE.
56437 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
56439         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
56440         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
56441         macro to ensure uniqueness of label name.
56442         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
56443         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
56445 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
56447         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
56449         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
56450         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
56451         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
56452         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
56454 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
56456         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
56458         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
56459         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
56460         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
56462         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
56464         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
56465         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
56466         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
56467         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
56469         * math/bits/math-finite.h: Add ldexp support.
56471 2012-01-10  Marek Polacek  <polacek@redhat.com>
56473         * locale/programs/localedef.h (show_archive_content): Add noreturn
56474         attribute.
56476 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
56478         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
56480 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56482         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
56484         * io/Makefile (headers): Add bits/poll2.h.
56486 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
56488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
56489         typo #include statement.
56491 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56493         * include/sys/cdefs.h: Define __attribute_alloc_size.
56494         * catgets/gencat.c: Add alloc_size attribute and apply consistently
56495         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
56496         * elf/pldd.c: Likewise.
56497         * iconv/iconv_charmap.c: Likewise.
56498         * iconv/iconvconfig.c: Likewise.
56499         * iconv/strtab.c: Likewise.
56500         * locale/programs/locale.c: Likewise.
56501         * locale/programs/localedef.h: Likewise.
56502         * locale/programs/simple-hash.c: Likewise.
56503         * nscd/nscd.h: Likewise.
56504         * nss/makedb.c: Likewise.
56505         * sysdeps/generic/ldconfig.h: Likewise.
56506         * locale/programs/localedef.c: Remove xmalloc prototype.
56507         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
56509 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
56511         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
56512         appropriate.
56514 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56516         * math/Makefile (tests): Add tst-CMPLX.
56517         * math/tst-CMPLX.c: New file.
56519         * math/complex.h (CMPLXL): Fix typo.
56521         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
56522         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
56523         GLIBC_2.16.
56524         * debug/tst-chk1.c: Add poll and ppoll tests.
56525         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
56526         * include/sys/poll.h: Add hidden proto for ppoll.
56527         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
56528         * sysdeps/mach/hurd/ppoll.c: Likewise.
56529         * io/ppoll.c: Likewise.
56530         * debug/poll_chk.c: New file.
56531         * debug/ppoll_chk.c: New file.
56532         * include/bits/poll2.h: New file.
56533         * io/bits/poll2.h: New file.
56535         [BZ #1350]
56536         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
56538         * configure.in: static is always set to yes.  Remove.
56539         * config.make.in: Don't set build-static.
56540         * Makeconfig: Remove use of build-static.
56541         * dlfcn/Makefile: Likewise.
56542         * elf/Makefile: Likewise.
56543         * math/Makefile: Likewise.
56544         * misc/Makefile: Likewise.
56545         * nptl/Makefile: Likewise.
56546         * sysdeps/mach/hurd/Makefile: Likewise.
56548         * configure.in: PWD_P is not used anymore.
56549         * config.make.in: Remove PWD_P entry.
56551         * configure.in: Remove last remnants of RANLIB.
56552         No need to check for signed size_t anymore.
56553         Don't set libc_commonpagesize and libc_relro_required here for Alpha
56554         and IA-64.
56555         Remove __builtin_expect test because we require at least gcc 3.4.
56556         * aclocal.m4: Likewise.
56558         * wcsmbs/mbrtoc16.c: Implement using towc function.
56559         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
56560         * wcsmbs/wcsmbsload.c: Likewise.
56561         * iconv/gconv_simple.c: Likewise.
56562         * iconv/gconv_int.h: Likewise.
56563         * iconv/gconv_builtin.h: Likewise.
56564         * iconv/iconv_prog.c: Remove CHAR16 handling.
56566         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
56568         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
56570         * configure.in: Remove --with-elf and --enable-bounded options.
56571         Dont set base_machine for ia64.  More non-ELF conditions removed.
56572         Remove testing and setting of leading underscore information.
56573         * config.make.in (build-bounded): Set to no.
56574         * config.h.in: Remove NO_UNDERSCORES entry.
56575         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
56576         them.
56577         * csu/start.c: Remove !NO_UNDERSCORE code.
56578         * locale/localeinfo.h: Likewise.
56579         * sysdeps/generic/machine-gmon.h: Likewise.
56580         * sysdeps/generic/sysdep.h: Likewise.
56581         * sysdeps/i386/sysdep.h: Likewise.
56582         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
56583         * sysdeps/mach/sysdep.h: Likewise.
56584         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56585         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56586         * sysdeps/sh/sysdep.h: Likewise.
56587         * sysdeps/sparc/sparc32/alloca.S: Likewise.
56588         * sysdeps/unix/i386/sysdep.S: Likewise.
56589         * sysdeps/unix/sparc/start.c: Likewise.
56590         * sysdeps/unix/sparc/sysdep.S: Likewise.
56591         * sysdeps/unix/sparc/sysdep.h: Likewise.
56592         * sysdeps/unix/start.c: Likewise.
56593         * sysdeps/unix/x86_64/sysdep.S: Likewise.
56594         * sysdeps/x86_64/sysdep.h: Likewise.
56596 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
56598         [BZ #13553]
56599         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
56600         for non-gcc.
56601         * argp/argp-fmtstream.h: Use const instead __const.
56602         * argp/argp.h: Likewise.
56603         * assert/assert.h: Likewise.
56604         * bits/fenv.h: Likewise.
56605         * bits/sched.h: Likewise.
56606         * bits/sigset.h: Likewise.
56607         * bits/sigthread.h: Likewise.
56608         * catgets/nl_types.h: Likewise.
56609         * conform/data/pthread.h-data: Likewise.
56610         * crypt/crypt-private.h: Likewise.
56611         * crypt/crypt.h: Likewise.
56612         * crypt/crypt_util.c: Likewise.
56613         * ctype/ctype.h: Likewise.
56614         * debug/execinfo.h: Likewise.
56615         * debug/mbsnrtowcs_chk.c: Likewise.
56616         * debug/mbsrtowcs_chk.c: Likewise.
56617         * debug/wcsnrtombs_chk.c: Likewise.
56618         * debug/wcsrtombs_chk.c: Likewise.
56619         * debug/wcstombs_chk.c: Likewise.
56620         * dirent/dirent.h: Likewise.
56621         * dlfcn/dlfcn.h: Likewise.
56622         * elf/neededtest4.c: Likewise.
56623         * grp/grp.h: Likewise.
56624         * gshadow/gshadow.h: Likewise.
56625         * iconv/gconv.h: Likewise.
56626         * iconv/gconv_int.h: Likewise.
56627         * iconv/gconv_simple.c: Likewise.
56628         * iconv/iconv.h: Likewise.
56629         * iconv/loop.c: Likewise.
56630         * iconv/skeleton.c: Likewise.
56631         * include/aio.h: Likewise.
56632         * include/aliases.h: Likewise.
56633         * include/argz.h: Likewise.
56634         * include/arpa/inet.h: Likewise.
56635         * include/assert.h: Likewise.
56636         * include/dirent.h: Likewise.
56637         * include/dlfcn.h: Likewise.
56638         * include/execinfo.h: Likewise.
56639         * include/fcntl.h: Likewise.
56640         * include/fenv.h: Likewise.
56641         * include/glob.h: Likewise.
56642         * include/grp.h: Likewise.
56643         * include/libintl.h: Likewise.
56644         * include/mntent.h: Likewise.
56645         * include/netdb.h: Likewise.
56646         * include/pwd.h: Likewise.
56647         * include/rpc/netdb.h: Likewise.
56648         * include/sched.h: Likewise.
56649         * include/search.h: Likewise.
56650         * include/shadow.h: Likewise.
56651         * include/signal.h: Likewise.
56652         * include/stdio.h: Likewise.
56653         * include/stdlib.h: Likewise.
56654         * include/string.h: Likewise.
56655         * include/sys/socket.h: Likewise.
56656         * include/sys/stat.h: Likewise.
56657         * include/sys/statfs.h: Likewise.
56658         * include/sys/statvfs.h: Likewise.
56659         * include/sys/syslog.h: Likewise.
56660         * include/sys/time.h: Likewise.
56661         * include/sys/uio.h: Likewise.
56662         * include/time.h: Likewise.
56663         * include/unistd.h: Likewise.
56664         * include/utmp.h: Likewise.
56665         * include/wchar.h: Likewise.
56666         * include/wctype.h: Likewise.
56667         * inet/aliases.h: Likewise.
56668         * inet/arpa/inet.h: Likewise.
56669         * inet/netinet/ether.h: Likewise.
56670         * inet/netinet/in.h: Likewise.
56671         * intl/libintl.h: Likewise.
56672         * io/bits/fcntl2.h: Likewise.
56673         * io/fcntl.h: Likewise.
56674         * io/ftw.h: Likewise.
56675         * io/sys/poll.h: Likewise.
56676         * io/sys/stat.h: Likewise.
56677         * io/sys/statfs.h: Likewise.
56678         * io/sys/statvfs.h: Likewise.
56679         * io/utime.h: Likewise.
56680         * libio/bits/stdio.h: Likewise.
56681         * libio/bits/stdio2.h: Likewise.
56682         * libio/libio.h: Likewise.
56683         * libio/libioP.h: Likewise.
56684         * libio/stdio.h: Likewise.
56685         * locale/lc-ctype.c: Likewise.
56686         * locale/locale.h: Likewise.
56687         * login/utmp.h: Likewise.
56688         * malloc/arena.c: Likewise.
56689         * malloc/malloc.c: Likewise.
56690         * malloc/malloc.h: Likewise.
56691         * malloc/mcheck.c: Likewise.
56692         * malloc/mtrace.c: Likewise.
56693         * math/bits/mathcalls.h: Likewise.
56694         * math/fenv.h: Likewise.
56695         * math/math_private.h: Likewise.
56696         * misc/bits/error.h: Likewise.
56697         * misc/bits/syslog.h: Likewise.
56698         * misc/err.h: Likewise.
56699         * misc/error.h: Likewise.
56700         * misc/fstab.h: Likewise.
56701         * misc/mntent.h: Likewise.
56702         * misc/regexp.h: Likewise.
56703         * misc/search.h: Likewise.
56704         * misc/sgtty.h: Likewise.
56705         * misc/sys/mman.h: Likewise.
56706         * misc/sys/syslog.h: Likewise.
56707         * misc/sys/uio.h: Likewise.
56708         * misc/sys/xattr.h: Likewise.
56709         * misc/ttyent.h: Likewise.
56710         * nis/rpcsvc/ypclnt.h: Likewise.
56711         * nss/nss.h: Likewise.
56712         * posix/bits/unistd.h: Likewise.
56713         * posix/fnmatch.h: Likewise.
56714         * posix/glob.h: Likewise.
56715         * posix/sched.h: Likewise.
56716         * posix/spawn.h: Likewise.
56717         * posix/sys/wait.h: Likewise.
56718         * posix/unistd.h: Likewise.
56719         * posix/wordexp.h: Likewise.
56720         * pwd/pwd.h: Likewise.
56721         * resolv/netdb.h: Likewise.
56722         * resource/sys/resource.h: Likewise.
56723         * rt/aio.h: Likewise.
56724         * rt/bits/mqueue2.h: Likewise.
56725         * rt/mqueue.h: Likewise.
56726         * shadow/shadow.h: Likewise.
56727         * signal/signal.h: Likewise.
56728         * socket/send.c: Likewise.
56729         * socket/sendto.c: Likewise.
56730         * socket/sys/socket.h: Likewise.
56731         * stdio-common/printf.h: Likewise.
56732         * stdlib/bits/stdlib.h: Likewise.
56733         * stdlib/fmtmsg.h: Likewise.
56734         * stdlib/monetary.h: Likewise.
56735         * stdlib/stdlib.h: Likewise.
56736         * stdlib/ucontext.h: Likewise.
56737         * streams/stropts.h: Likewise.
56738         * string/argz.h: Likewise.
56739         * string/bits/string2.h: Likewise.
56740         * string/string.h: Likewise.
56741         * string/strings.h: Likewise.
56742         * sunrpc/rpc/auth.h: Likewise.
56743         * sunrpc/rpc/auth_des.h: Likewise.
56744         * sunrpc/rpc/clnt.h: Likewise.
56745         * sunrpc/rpc/netdb.h: Likewise.
56746         * sunrpc/rpc/pmap_clnt.h: Likewise.
56747         * sunrpc/rpc/xdr.h: Likewise.
56748         * sysdeps/generic/inttypes.h: Likewise.
56749         * sysdeps/generic/net/if.h: Likewise.
56750         * sysdeps/generic/sys/swap.h: Likewise.
56751         * sysdeps/gnu/net/if.h: Likewise.
56752         * sysdeps/gnu/utmpx.h: Likewise.
56753         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
56754         * sysdeps/i386/i486/bits/string.h: Likewise.
56755         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
56756         * sysdeps/s390/bits/string.h: Likewise.
56757         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
56758         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
56759         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
56760         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
56761         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
56762         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
56763         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
56764         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
56765         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
56766         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
56767         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
56768         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
56769         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
56770         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
56771         * sysdeps/unix/sysv/linux/readv.c: Likewise.
56772         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
56773         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
56774         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56775         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
56776         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
56777         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56778         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
56779         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
56780         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
56781         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
56782         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
56783         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
56784         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56785         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
56786         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
56787         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
56788         * sysvipc/sys/ipc.h: Likewise.
56789         * sysvipc/sys/msg.h: Likewise.
56790         * sysvipc/sys/sem.h: Likewise.
56791         * sysvipc/sys/shm.h: Likewise.
56792         * termios/termios.h: Likewise.
56793         * time/sys/time.h: Likewise.
56794         * time/time.h: Likewise.
56795         * wcsmbs/bits/wchar2.h: Likewise.
56796         * wcsmbs/uchar.h: Likewise.
56797         * wcsmbs/wchar.h: Likewise.
56798         * wctype/wctype.h: Likewise.
56800         [BZ #13551]
56801         * Makeconfig: Remove all but ELF support including AIX support.
56802         * Makerules: Likewise.
56803         * config.h.in: Likewise.
56804         * config.make.in: Likewise.
56805         * configure: Likewise.
56806         * configure.in: Likewise.
56807         * csu/Makefile: Likewise.
56808         * csu/version.c: Likewise.
56809         * debug/Makefile: Likewise.
56810         * dlfcn/Makefile: Likewise.
56811         * elf/Makefile: Likewise.
56812         * extra-lib.mk: Likewise.
56813         * iconv/Makefile: Likewise.
56814         * include/libc-symbols.h: Likewise.
56815         * include/shlib-compat.h: Likewise.
56816         * resolv/Makefile: Likewise.
56817         * resolv/res_libc.c: Likewise.
56818         * rt/Makefile: Likewise.
56819         * sysdeps/i386/asm-syntax.h: Likewise.
56820         * sysdeps/i386/sysdep.h: Likewise.
56821         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
56822         * sysdeps/mach/sysdep.h: Likewise.
56823         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
56824         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
56825         * sysdeps/s390/asm-syntax.h: Likewise.
56826         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56827         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56828         * sysdeps/sh/sysdep.h: Likewise.
56829         * sysdeps/unix/sparc/sysdep.h: Likewise.
56830         * sysdeps/wordsize-32/divdi3.c: Likewise.
56831         * sysdeps/x86_64/sysdep.h: Likewise.
56833         * argp/Versions: Remove _argp_unlock_xxx.
56835         [BZ #13559]
56836         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
56837         * abilist/libBrokenLocale.abilist: Likewise.
56838         * abilist/libanl.abilist: Likewise.
56839         * abilist/libc.abilist: Likewise.
56840         * abilist/libcrypt.abilist: Likewise.
56841         * abilist/libdl.abilist: Likewise.
56842         * abilist/libm.abilist: Likewise.
56843         * abilist/libnsl.abilist: Likewise.
56844         * abilist/libpthread.abilist: Likewise.
56845         * abilist/libresolv.abilist: Likewise.
56846         * abilist/librt.abilist: Likewise.
56847         * abilist/libthread_db.abilist: Likewise.
56848         * abilist/libutil.abilist: Likewise.
56849         * abilist/libnss_db.abilist: New file.
56851         * scripts/abilist.awk: Add support for indirect functions.
56853         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
56855         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
56857         * shlib-versions: Remove entries for ports architectures.
56859         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
56860         files in ports.
56861         * elf/stackguard-macros.h: Remove support for IA-64.
56862         * elf/tst-auditmod1.c: Likewise.
56863         * sysdeps/generic/ldsodefs.h: Likewise.
56865         * sysdeps/unix/sysv/linux/configure.in: Ports should define
56866         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
56867         configure files.
56869         [BZ #13552]
56870         * configure.in: Remove --enable-omitfp support.
56871         * FAQ.in: Adjust.
56872         * config.make.in: Likewise.
56873         * Makeconfig: Likewise.
56874         * manual/install.texi: Likewise.
56876         In case anyone cares, the IA-64 architecture could move to ports.
56877         * sysdeps/ia64/*: Removed.
56878         * sysdeps/unix/sysv/linux/ia64/*: Removed.
56879         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
56881         [BZ #13555]
56882         * configure.in: Remove entries for unsupported architectures.
56884         [BZ #13533]
56885         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
56886         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
56887         routines.
56888         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
56889         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
56890         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
56891         fall back to using wcrtomb.
56892         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
56893         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
56894         renaming.
56895         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
56896         * wcsmbs/tst-c16c32-1.c: New file.
56898         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
56899         local variable.
56901         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
56903         * elf/tst-unique3.cc: Add explicit declaration of gets.
56904         * elf/tst-unique3lib.cc: Likewise.
56905         * elf/tst-unique3lib2.cc: Likewise.
56906         * elf/tst-unique4.cc: Likewise.
56908         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
56910 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
56912         [BZ #13566]
56913         * assert/assert.h (static_assert): Don't define for C++.
56914         * libio/stdio.h (gets): Do declare for C++ <= C++11.
56915         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
56917 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
56919         * iconv/loop.c (single loop): Fix assertion in storing of
56920         remaining bytes.
56922         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
56924 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
56926         * posix/getconf.c: Update copyright year.
56927         * nss/getent.c: Likewise.
56928         * nss/makedb.c: Likewise.
56929         * iconv/iconvconfig.c: Likewise.
56930         * iconv/iconv_prog.c: Likewise.
56931         * elf/ldconfig.c: Likewise.
56932         * elf/pldd.c: Likewise.
56933         * elf/sotruss.ksh: Likewise.
56934         * catgets/gencat.c: Likewise.
56935         * csu/version.c: Likewise.
56936         * elf/ldd.bash.in: Likewise.
56937         * elf/sprof.c (print_version): Likewise.
56938         * locale/programs/locale.c: Likewise.
56939         * locale/programs/localedef.c: Likewise.
56940         * login/programs/pt_chown.c: Likewise.
56941         * nscd/nscd.c (print_version): Likewise.
56942         * debug/xtrace.sh: Likewise.
56943         * malloc/memusage.sh: Likewise.
56944         * malloc/mtrace.pl: Likewise.
56945         * debug/catchsegv.sh: Likewise.
56947 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
56949         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
56950         pure attribute.
56952 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
56954         [BZ #13533]
56955         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
56956         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
56957         transformations.
56958         * iconv/gconv_int.h: Likewise.
56959         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
56960         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
56961         from libc for GLIBC_2.16.
56962         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
56963         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
56964         * wcsmbs/uchar.h: Really define mbstate_t.
56965         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
56966         * wcsmbs/c16rtomb.c: New file.
56967         * wcsmbs/mbrtoc16.c: New file.
56968         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
56969         for C/POSIX locale.
56970         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
56971         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
56973         * wcsmbs/wchar.h: Add missing __restrict.
56975 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
56977         [BZ #13532]
56978         * time/Makefile (routines): Add timespec_get.
56979         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
56980         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
56981         timespec for ISO C11.
56982         * time/timespec_get.c: New file.
56983         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
56984         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
56986         [BZ #13531]
56987         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
56988         * stdlib/stdlib.h: Declare aligned_alloc.
56989         * Versions.def: Add GLIBC_2.16 for libc.
56990         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
56992         [BZ 13527]
56993         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
56994         ISO C11.
56996         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
56997         code.
56999         [BZ #13528]
57000         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
57002         [BZ #13529]
57003         * assert/assert.h (static_assert): Define.
57005         * version.h: Update for 2.16 development version.
57007         [BZ #13526]
57008         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
57009         _ISOC11_SOURCE.
57011         * version.h (RELEASE): Bump for 2.15 release.
57012         * include/features.h (__GLIBC_MINOR__): Bump to 15.
57014         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
57015         Patch by Marek Polacek <mpolacek@redhat.com>.
57017         * bits/byteswap.h: Protect long long constants with __extension__.
57018         * sysdeps/i386/bits/byteswap.h: Likewise.
57019         * sysdeps/ia64/bits/byteswap.h: Likewise.
57020         * sysdeps/s390/bits/byteswap.h: Likewise.
57021         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57023 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57025         [BZ #13540]
57026         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
57027         destination buffer.
57028         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
57030 2011-12-23  Marek Polacek  <polacek@redhat.com>
57032         * elf/dl-addr.c (determine_info): Add inline keyword.
57033         * elf/tst-auditmod4b.c (check_avx): Likewise.
57034         * elf/tst-auditmod6b.c (check_avx): Likewise.
57035         * elf/tst-auditmod6c.c (check_avx): Likewise.
57036         * elf/tst-auditmod7b.c (check_avx): Likewise.
57038 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57040         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
57041         !__SSE_MATH__.
57043 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57045         [BZ #13540]
57046         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
57047         processing for last bytes.
57049 2011-08-06  Bruno Haible  <bruno@clisp.org>
57051         [BZ #13061]
57052         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
57053         U+0385, not to U+1FEE.
57055         [BZ #13062]
57056         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
57057         entry for U+00A5 U+0301.
57059 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57061         [BZ #13166]
57062         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
57063         buffer for the output is too small.
57065         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
57066         optimization.
57068         [BZ #13185]
57069         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
57070         SSE flags if possible.
57072 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57074         [BZ #13540]
57075         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
57076         processing for last bytes.
57078 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
57080         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
57081         (syscall-list-default-options, syscall-list-default-condition)
57082         (syscall-list-includes): Define.
57083         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
57084         list of ABIs and options and #if conditions for each ABI.  Do not
57085         handle common syscalls between ABIs specially.
57086         * sysdeps/unix/sysv/linux/powerpc/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.
57091         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
57092         (syscall-list-variants, syscall-list-32bit-options)
57093         (syscall-list-32bit-condition, syscall-list-64bit-options)
57094         (syscall-list-64bit-condition): Define.
57095         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
57096         Remove.
57097         (syscall-list-variants, syscall-list-32bit-options)
57098         (syscall-list-32bit-condition, syscall-list-64bit-options)
57099         (syscall-list-64bit-condition): Define.
57100         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
57101         Remove.
57102         (syscall-list-variants, syscall-list-32bit-options)
57103         (syscall-list-32bit-condition, syscall-list-64bit-options)
57104         (syscall-list-64bit-condition): Define.
57106 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57108         * locale/iso-639.def: Add brx entry.
57110         [BZ #13328]
57111         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
57112         Proposed by Mariusz_Cukr <marcukr@op.pl>.
57114         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
57115         __feraiseexcept_renamed.
57117 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57119         [BZ #13538]
57120         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
57121         EPOLLET with unsigned values.
57122         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57123         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57125         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
57126         to large cancellation.
57127         * math/s_cacoshf.c: Likewise.
57128         * math/s_cacoshl.c: Likewise.
57130 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
57132         [BZ #13305]
57133         [BZ #12786]
57134         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
57135         * math/s_cacoshf.c: Likewise.
57136         * math/s_cacoshl.c: Likewise.
57138 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57140         [BZ #13439]
57141         * iconv/gconv.h: Define __GCONV_SWAP.
57142         * iconvdata/unicode.c: The swap bit must be stored in __flags.
57143         * iconvdata/utf-16.c: Likewise.
57144         * iconvdata/utf-32.c: Likewise.
57146 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
57148         [BZ #13524]
57149         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
57150         numerator after shifting it by one limb.
57152 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
57154         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
57155         under [__USE_EXTERN_INLINES].
57157 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57159         [BZ #13446]
57160         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
57162 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57164         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
57165         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
57166         optimized code.
57167         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
57168         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
57169         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
57170         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
57171         for strncasecmp/strncasecmp_l compilation.
57172         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
57173         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
57175 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
57177         [BZ #13484]
57178         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
57179         of __asm__.
57181 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57183         [BZ #13506]
57184         * time/tzfile.c (__tzfile_read): Check values from file header.
57186 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
57188         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
57189         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
57190         * powerpc/powerpc32/dl-start.S: Likewise.
57191         * powerpc/powerpc32/elf/start.S: Likewise.
57192         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
57193         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
57194         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
57195         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
57196         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
57197         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
57198         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
57199         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
57200         * powerpc/powerpc32/fpu/s_round.S: Likewise.
57201         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
57202         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
57203         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
57204         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
57205         * powerpc/powerpc32/memset.S: Likewise.
57206         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
57207         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57208         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57209         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57210         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57211         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
57212         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
57213         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
57214         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
57215         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
57216         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
57217         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57218         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57220 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57222         * math/libm-test.inc: Added more nearbyint tests.
57223         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
57224         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
57225         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
57226         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
57228 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
57230         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
57231         FD_CLOEXEC.
57233 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57235         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
57236         Add wcscpy-ssse3 wcscpy-c.
57237         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
57238         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
57239         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
57240         * sysdeps/x86_64/wcschr.S: New file.
57241         * sysdeps/x86_64/wcsrchr.S: New file.
57242         * string/test-strcmp.c: Remove checking of wcscmp function for
57243         wrong alignments.
57244         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
57245         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
57246         wcsrchr-sse2 wcsrchr-c.
57247         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
57248         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
57249         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
57250         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
57251         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
57252         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
57253         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
57254         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
57255         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
57256         * wcsmbc/wcschr.c (WCSCHR): New macro.
57258 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57260         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
57261         * wcsmbs/test-wcsrchr.c: New file.
57262         * string/test-strrchr.c: Add wcsrchr support.
57263         (WIDE): New macro.
57264         * wcsmbs/test-wcscpy.c: New file.
57265         * string/test-strcpy.c: Add wcscpy support.
57266         (WIDE): New macro.
57268 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
57270         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
57271         the inner loop.
57273 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
57275         [BZ #13472]
57276         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
57278 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
57280         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
57281         Minor optimizations.
57283         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
57284         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
57285         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
57287 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
57289         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
57290         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
57291         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
57292         for gcc to avoid warnings.
57293         * inet/Makefile (tests): Add tst-checks.
57294         * inet/tst-checks.c: New file.
57296         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
57297         warning.
57299         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
57300         __wmemcmp_sse2.
57302         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
57303         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
57305         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
57307 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
57309         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
57310         problem.
57312         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
57314 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
57316         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
57317         conditional on GCC version.
57318         (__arch_compare_and_exchange_val_8_acq)
57319         (__arch_compare_and_exchange_val_16_acq)
57320         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
57321         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
57322         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
57324 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
57326         * sysdeps/sh/backtrace.c: New file.
57328 2011-12-02  Andreas Schwab  <schwab@redhat.com>
57330         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
57331         parenthesis.
57333 2011-12-01  Andreas Schwab  <schwab@redhat.com>
57335         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
57336         falling back to utime.
57338 2011-11-30  Andreas Schwab  <schwab@redhat.com>
57340         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
57341         expectations for float.
57343 2011-11-29  Andreas Schwab  <schwab@redhat.com>
57345         * locale/weight.h (findidx): Add parameter len.
57346         * locale/weightwc.h (findidx): Likewise.
57347         * posix/fnmatch_loop.c (FCT): Adjust caller.
57348         * posix/regcomp.c (build_equiv_class): Likewise.
57349         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
57350         * posix/regexec.c (check_node_accept_bytes): Likewise.
57351         * string/strcoll_l.c (STRCOLL): Likewise.
57352         * string/strxfrm_l.c (STRXFRM): Likewise.
57354 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
57356         * Makefile.in: Remove CVSOPT handling.
57357         * configure.in: Remove use of AC_REVISION.
57358         * iconvdata/Makefile (distribute): No need to filter out CVS.
57359         * scripts/list-sources.sh: Remove CVS, subversion and monotone
57360         handling.
57362 2011-11-16  Andreas Schwab  <schwab@redhat.com>
57364         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
57365         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
57366         [USE_AS_STRNCASECMP_L]: Likewise.
57367         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
57368         NO_TLS_DIRECT_SEG_REFS.
57369         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
57370         Fix argument offsets for non-PIC.
57371         [USE_AS_STRNCASECMP_L]: Likewise.
57372         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
57373         NO_TLS_DIRECT_SEG_REFS.
57375 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
57377         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
57378         O_CLOEXEC.
57379         * locale/loadlocale.c (_nl_load_locale): Likewise.
57381 2011-11-15  Andreas Schwab  <schwab@redhat.com>
57383         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
57384         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
57385         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
57386         (SYSCALL_GETTIME): Set errno on error.
57388         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
57389         count references to noai6ai_cached.
57391 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
57393         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
57395         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
57396         FD_CLOEXEC for /proc/self/maps.
57398         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
57399         FD_CLOEXEC for /proc/meminfo.
57401         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
57402         gai.conf.
57404         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
57405         FD_CLOEXEC for given file.
57407         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
57409         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
57410         FD_CLOEXEC for /etc/hosts.
57411         (_gethtent): Likewise.
57413         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
57415         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
57416         cancellation and set FD_CLOEXEC for /etc/netgroup.
57418         * nss/nss_files/files-key.c (search): Don't allow cancellation when
57419         reading /etc/publickey.
57421         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
57422         allow cancellation when reading /etc/group.
57424         * nss/nss_files/files-alias.c (internal_setent): Don't allow
57425         cancellation.
57426         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
57428         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
57429         when using data file.
57431         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
57433         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
57434         (write_nis_obj): Use "c" and "e" in fopen.
57436         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
57438         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
57440         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
57442         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
57444         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
57445         locale.alias.
57447         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
57449         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
57451         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
57453         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
57454         file parsing and set FD_CLOEXEC.
57456 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
57458         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
57460 2011-11-14  Andreas Schwab  <schwab@redhat.com>
57462         * malloc/arena.c (arena_get2): Don't call reused_arena when
57463         _int_new_arena failed.
57465 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
57467         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
57468         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
57469         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
57470         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57471         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57472         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
57473         to compile strcasecmp and strncasecmp.
57474         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
57475         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
57477         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
57479 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
57481         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
57482         locale-defines.sym to gen-as-const-headers.
57483         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
57484         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
57485         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
57486         to compile strcasecmp and strncasecmp.
57487         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
57488         strcasecmp_l and strncasecmp_l.
57489         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
57490         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
57491         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
57492         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
57493         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
57494         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
57495         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
57496         * sysdeps/i386/i686/multiarch/strncase.S: New file.
57497         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
57498         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
57499         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
57501 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
57503         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
57504         result of SYSDEP_GETTIME_CPU to retval.
57505         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
57506         parameter list to macro.  Remove trailing semicolon.  Adjust users.
57508         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
57509         variable.
57511         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
57512         mantissa words.
57513         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
57515         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
57516         from unused variable.
57518         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
57519         DWARF definitions.
57520         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
57521         for assembling.
57523         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
57524         over namespaces.
57526         * sunrpc/rpc_prot.c (rejected): Fix case value.
57528         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
57529         unsigned long long int to avoid warnings in shift.
57531         * posix/regex_internal.c (re_string_reconstruct): Actually use result
57532         of use of trans.
57533         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
57534         variable tmp.
57536         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
57537         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
57538         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
57540         * nis/nis_table.c (nis_list): Use variable of correct type for
57541         result of __follow_path call.
57543 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57545         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
57546         of math functions ceil, trunc, floor, round, and sqrt, when
57547         avaliable on the platform.
57548         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
57549         name clash.
57550         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57551         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57552         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57554 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
57556         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
57557         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
57559 2011-11-11  Roland McGrath  <roland@hack.frob.com>
57561         * include/unistd.h: Fix __readlink return type.
57562         Reported by Chris Metcalf <cmetcalf@tilera.com>.
57564 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
57566         * stdlib/ucontext.h: Undo last change for makecontext.
57568 2011-11-11  Andreas Schwab  <schwab@redhat.com>
57570         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
57572         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
57573         * setjmp/setjmp.h: Mark functions as non-leaf.
57574         * setjmp/bits/setjmp2.h: Likewise.
57575         * stdlib/ucontext.h: Likewise.
57577 2011-11-10  Andreas Schwab  <schwab@redhat.com>
57579         * malloc/arena.c (_int_new_arena): Don't increment narenas.
57580         (reused_arena): Don't check arena limit.
57581         (arena_get2): Atomically check arena limit.
57583 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
57585         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
57586         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
57588         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
57589         instructions.
57591 2011-11-07  Andreas Schwab  <schwab@redhat.com>
57593         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
57594         handler when locking.
57596         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57597         Fix size of allocated buffer.
57599 2011-11-04  Andreas Schwab  <schwab@redhat.com>
57601         [BZ #10103]
57602         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
57603         declarations for long double functions.
57604         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
57606         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
57608 2011-11-03  Andreas Schwab  <schwab@redhat.com>
57610         * nscd/nscd.c (main): Don't start AVC thread until credentials are
57611         installed.
57613         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
57614         is disabled.
57616 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57618         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
57620 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
57622         * include/alloca.h (stackinfo_alloca_round): Define.
57623         (extend_alloca): Use it.
57624         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
57625         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
57626         here.
57628         * scripts/check-local-headers.sh: Ignore libaudit.h.
57630         * nscd/Makefile (extra-objs): Make recursively expanded.
57632 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
57634         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
57635         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
57637         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
57638         * posix/tst-rfc3484-2.c: Likewise.
57639         * posix/tst-rfc3484-3.c: Likewise.
57641         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
57642         process_vm_writev.
57643         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
57644         process_vm_writev.
57645         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
57646         process_vm_writev from libc using GLIBC_2.15 version.
57648         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
57650 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
57652         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
57653         stack usage.
57655 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
57657         [BZ #13367]
57658         * nss/getent.c (initgroups_keys): Show error message in case no group
57659         names are given.
57661         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
57662         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
57663         __bump_nl_timestamp.
57664         * nscd/connections (nscd_init): When host database is served open
57665         netlink socket and request notification about configuration changes.
57666         (main_loop_poll): Track netlink file descriptor and bump timestamp
57667         in case data becomes available.
57668         (main_loop_epoll): Likewise.
57669         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
57670         (database_pers_head): Add extra_data fileds.
57671         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
57672         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
57673         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
57674         Adjust caller.
57675         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
57676         in6ai data, call __free_in6ai.
57677         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
57678         Add -DHAVE_NETLINK.
57679         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
57680         interface information.  Reuse previous data if netlink timestamp
57681         is not changed.
57682         (__bump_nl_timestamp): New function.
57683         (__free_in6ai): New function.
57685 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
57687         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
57688         close_not_cancel_no_status here.
57689         (__check_pf): Reorganize code a bit to not call close twice if OOM.
57691 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
57693         [BZ #13276]
57694         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
57695         return value.
57697         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
57698         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
57699         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
57701 2011-07-03  Andreas Jaeger  <aj@suse.de>
57703         [BZ #10709]
57704         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
57705         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
57706         * math/libm-test.inc (sin_test): Add test case.
57708 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
57710         [BZ #13337]
57711         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
57712         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57714         * elf/chroot_canon.c (chroot_canon): Cleanups.
57716         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
57718         [BZ #13335]
57719         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
57720         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57722         * string/test-strchr.c: Make usable for strchrnul testing.
57723         * string/test-strchrnul.c: New file.
57724         * string/Makefile (strop-tests): Add strchrnul.
57726         * po/it.po: Update from translation team.
57727         * po/es.po: Likewise.
57729 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
57731         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
57732         the three constants needed as parameters.  Drop the others.
57733         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
57734         __m128i_strloadu_tolower.
57735         Create and initialize variable zero and use it in all the places
57736         where _mm_setzero_si128 was used.
57738         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
57739         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
57740         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
57741         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
57742         anymore.
57743         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
57744         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
57745         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
57746         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
57747         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
57748         __mpranred, __mptan.
57749         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
57750         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
57751         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
57752         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
57753         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
57754         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
57755         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
57756         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
57757         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
57759 2011-10-28  Andreas Schwab  <schwab@redhat.com>
57761         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
57762         redefine if SHARED.
57763         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
57765         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
57766         wide char related routines to wcsmbs subdir.
57768 2011-10-27  Andreas Schwab  <schwab@redhat.com>
57770         [BZ #13344]
57771         * misc/sys/cdefs.h (__THROWNL): Define.
57772         * posix/unistd.h: Use __THREADNL instead of __THREAD
57773         for memory synchronization functions.
57775 2011-10-26  Roland McGrath  <roland@hack.frob.com>
57777         [BZ #13349]
57778         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
57779         doesn't exist.
57780         * manual/stdio.texi (Obstack Streams): Node removed.
57782 2011-10-26  Andreas Schwab  <schwab@redhat.com>
57784         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
57785         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57786         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57788         * math/math_private.h (math_force_eval): Allow non-addressable
57789         arguments.
57790         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
57792 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57794         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
57795         file is not needed.
57797         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
57798         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
57799         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57800         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57801         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57802         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57803         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57804         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
57805         Add AVX variants.
57806         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
57807         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
57808         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
57809         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
57810         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
57811         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
57812         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
57813         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
57814         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
57815         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
57816         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
57817         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
57818         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
57819         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
57820         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
57821         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
57822         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
57823         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
57824         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
57826         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
57827         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
57829         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
57830         place.  Use VEX encoding when compiling for AVX.
57832 2011-10-25  Andreas Schwab  <schwab@redhat.com>
57834         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
57835         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
57837         * string/test-strchr.c (do_test): Don't generate NUL bytes.
57839 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57841         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
57842         useless if() expression.
57843         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57844         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
57845         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57846         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57847         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57848         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57849         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57850         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57851         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
57852         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57853         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57854         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57855         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
57856         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57857         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
57858         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57859         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57860         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57861         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
57863         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
57865 2011-10-25  Andreas Schwab  <schwab@redhat.com>
57867         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
57868         condition.
57869         * elf/dl-fini.c (_dl_sort_fini): Likewise.
57871 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57873         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
57874         .text section.  Avoid duplicate constants.
57875         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
57876         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57877         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57878         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57879         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57880         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57881         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57882         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57883         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57884         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
57885         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57886         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57887         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
57888         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
57889         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
57890         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
57891         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
57892         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57893         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57894         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57895         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57896         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57897         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
57898         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
57899         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
57900         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
57901         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
57902         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
57903         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
57904         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
57905         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
57906         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
57907         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57908         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
57909         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
57910         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
57911         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
57912         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
57913         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
57914         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
57915         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
57916         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
57917         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
57918         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
57919         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
57921 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
57923         * sysdeps/x86_64/dla.h: Move to ...
57924         * sysdeps/x86_64/fpu/dla.h: ...here.
57925         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
57926         situations.  Use __builtin_fma only for gcc 4.6 and up.
57928         * config.make.in: Add have-mfma4 entry.
57929         * configure.in: Substitute libc_cv_cc_fma4.
57930         * math/Makefile (dbl-only-routines): Add sincostab.
57931         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
57932         Use __sincostab not sincos.
57933         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
57934         name is a macro.
57935         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57936         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57937         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57938         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
57939         using __copysign.
57940         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
57941         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
57942         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
57943         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
57944         and __inv.
57945         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
57946         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
57947         __copysign.
57948         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
57949         define aliases when function name is a macro.
57950         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
57951         sysdeps/ieee754/dbl-64/sincos.tbl.
57952         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
57953         fma4-enabled routines.
57954         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
57955         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
57956         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
57957         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
57958         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
57959         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
57960         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
57961         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
57962         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
57963         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
57964         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
57965         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
57966         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
57967         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
57968         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
57969         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
57970         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
57971         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
57972         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
57973         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
57974         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
57975         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
57976         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
57977         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
57978         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
57979         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
57980         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
57981         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
57982         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
57983         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
57985         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
57986         rename.
57987         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57988         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57989         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57990         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57991         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57992         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57993         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57994         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57996 2011-10-24  Andreas Schwab  <schwab@redhat.com>
57998         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
58000 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58002         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
58004         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
58005         prediction.
58006         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
58008         * string/strnlen.c: Don't define STRNLEN, reverse logic.
58009         Remove unused variable magic_bits.
58010         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
58012         * string/strnlen.c: Define and use STRNLEN macro.
58013         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
58014         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
58015         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
58016         * wcsmbs/wcslen.c: Define and use WCSLEN.
58017         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
58018         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
58019         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
58020         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
58021         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
58022         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
58023         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58025 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58027         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58028         strnlen-sse2-no-bsf.
58029         Rename strlen-no-bsf to strlen-sse2-no-bsf.
58030         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
58031         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
58032         Add strnlen support.
58033         (USE_AS_STRNLEN): New macro.
58034         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
58035         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
58036         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
58037         * sysdeps/x86_64/wcslen.S: New file.
58039 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
58041         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
58042         XMM-moves are used for copying on small sizes.
58044 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58046         * wcsmbs/Makefile (strop-tests): Add wcschr.
58047         * wcsmbs/test-wcschr.c: New file.
58048         * string/test-strchr.c: Update.
58049         Add wcschr support.
58050         (WIDE): New macro.
58052 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58054         * wcsmbs/Makefile (strop-tests): Add wcslen.
58055         * wcsmbs/test-wcslen.c: New file.
58056         * string/test-strlen.c: Update.
58057         Add wcslen support.
58058         (WIDE): New macro.
58060 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58062         * po/it.po: Update from translation team.
58064 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58066         * sysdeps/x86_64/wcscmp.S: Update.
58067         Fix wrong comparison semantics.
58068         wcscmp shall use signed comparison not unsigned.
58069         Don't use substraction to avoid overflow bug.
58070         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
58071         * wcsmbc/wcscmp.c: Likewise.
58072         * string/test-strcmp.c: Likewise.
58073         Add new tests to check cases with negative values.
58075 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58077         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
58078         * sysdeps/x86_64/dla.h: ...here.  New file.
58079         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
58080         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58081         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58082         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58083         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58084         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58085         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58086         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58087         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58089 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
58091         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
58092         __ynl_finite aliases.
58094 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58096         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58098         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
58099         define DLA_FMA.
58100         [DLA_FMA] (EMULV): Use DLA_FMA.
58101         [DLA_FMA] (MUL12): Use EMULV.
58102         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
58103         that are not needed.
58104         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58105         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58106         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58107         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58108         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58109         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58110         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58112 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
58114         * math/s_nan.c: Undef __nan.
58115         * math/s_nanf.c: Undef __nanf.
58116         * math/s_nanl.c: Undef __nanl.
58117         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
58118         "math_private.h".
58120 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58122         * math/s_catan.c: Add branch predictions.
58123         * math/s_catanf.c: Likewise.
58124         * math/s_catanh.c: Likewise.
58125         * math/s_catanhf.c: Likewise.
58126         * math/s_catanhl.c: Likewise.
58127         * math/s_catanl.c: Likewise.
58128         * math/s_cexp.c: Likewise.
58129         * math/s_cexpf.c: Likewise.
58130         * math/s_cexpl.c: Likewise.
58131         * math/s_clog.c: Likewise.
58132         * math/s_clog10.c: Likewise.
58133         * math/s_clog10f.c: Likewise.
58134         * math/s_clog10l.c: Likewise.
58135         * math/s_clogf.c: Likewise.
58136         * math/s_clogl.c: Likewise.
58137         * math/s_csqrt.c: Likewise.
58138         * math/s_csqrtf.c: Likewise.
58139         * math/s_csqrtl.c: Likewise.
58140         * math/s_ctanf.c: Likewise.
58141         * math/s_ctanh.c: Likewise.
58142         * math/s_ctanhf.c: Likewise.
58143         * math/s_ctanhl.c: Likewise.
58144         * math/s_ctanl.c: Likewise.
58146         * math/math_private.h: Define __nan, __nanf, __nanl.
58147         * math/s_cacosh.c: Include <math_private.h>.
58148         * math/s_cacoshl.c: Likewise.
58149         * math/s_casinh.c: Likewise.
58150         * math/s_casinhf.c: Likewise.
58151         * math/s_casinhl.c: Likewise.
58152         * math/s_ccos.c: Rely entire on ccosh.
58153         * math/s_ccosf.c: Rely entire on ccoshf.
58154         * math/s_ccosl.c: Rely entirely on ccoshl.
58155         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
58156         Remove tests for FE_INVALID.
58157         * math/s_ccoshf.c: Likewise.
58158         * math/s_ccoshl.c: Likewise.
58159         * math/s_csin.c: Likewise.
58160         * math/s_csinf.c: Likewise.
58161         * math/s_csinh.c Likewise.
58162         * math/s_csinhf.c: Likewise.
58163         * math/s_csinhl.c: Likewise.
58164         * math/s_csinl.c: Likewise.
58165         * math/s_ctan.c: Likewise.
58166         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
58167         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
58168         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
58170 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
58172         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
58173         compilation problems.
58175         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
58176         __builtin_expect.
58178 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
58180         * sysdeps/i386/configure.in: Test for -mfma4 option.
58181         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
58182         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
58183         COMMON_CPUID_INDEX_80000001.
58184         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
58185         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
58186         use it if FMA3 is not supported.
58187         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
58189         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
58190         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
58192 2011-10-20  Andreas Schwab  <schwab@redhat.com>
58194         [BZ #12892]
58195         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
58196         it would create a cycle with a link time dependency.
58198 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
58200         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
58201         instruction.
58202         * string/Makefile (strop-tests): Add rawmemchr.
58203         * string/test-rawmemchr.c: New file.
58205         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
58206         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
58207         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
58208         when compiling str{,n}casecmp and when AVX is available.  Hook up
58209         new optimized code in initializers.
58211 2011-10-19  Andreas Schwab  <schwab@redhat.com>
58213         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
58214         __feraiseexcept instead of feraiseexcept.
58216 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
58218         * math/math_private.h: Define defaults for libc_fetestexcept and
58219         libc_feupdateenv.
58220         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
58221         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
58222         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58223         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58224         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
58225         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58226         libc_fetestexcept and libc_feupdateenv.
58228         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
58229         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
58230         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
58231         * sysdeps/x86_64/fpu/math_private.h: Define special version of
58232         libc_feholdexcept_setround.
58234         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
58235         Add s_nearbyint-c and s_nearbyintf-c.
58236         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
58237         nearbyintf inlines.
58238         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
58239         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
58240         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
58241         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
58243         * math/math_private.h: Define defaults for libc_fegetround,
58244         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
58245         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
58246         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
58247         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
58248         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
58249         standard functions.
58250         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58251         Remove comments and hacks for old compiler versions.
58252         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58253         libc_fegetround, libc_fesetround, libc_feholdexcept, and
58254         libc_feholdexceptl.
58256 2011-10-18  Andreas Schwab  <schwab@redhat.com>
58258         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
58259         (__feraiseexcept_renamed): Add __NTH.
58260         (feraiseexcept): Add __NTH.  Rename local variables to fix
58261         namespace violations.
58263 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
58265         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
58267         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
58269         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
58270         recently added interfaces.
58271         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
58273         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
58274         about macro parameter expansion.
58276         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
58277         __NO_MATH_INLINES is defined.  Cleanups.
58279         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
58280         and __floorf is target has SSE4.1.
58281         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
58282         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
58283         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
58284         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
58286         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
58287         name.
58288         (floorf): Likewise.
58290         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
58292 2011-10-17  Andreas Schwab  <schwab@redhat.com>
58294         * misc/sys/cdefs.h: Fix last change.
58296         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
58297         database lookup.
58299 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
58301         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
58303         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
58304         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58305         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
58306         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58307         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58308         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
58309         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58310         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58311         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
58312         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
58313         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
58314         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
58315         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
58316         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
58317         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
58318         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
58319         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
58320         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
58321         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
58322         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
58323         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
58324         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
58326         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
58327         ceil, ceilf, floor, floorf.
58329         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
58330         Perform IRELATIVE relocations last.
58332         * elf/do-rel.h: Add another parameter nrelative, replacing the
58333         local variable with the same name.  Change name of the function
58334         to end in Rel or Rela (uppercase).
58335         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
58336         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
58337         elf_dynamic_do_##reloc function.
58339 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
58341         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
58342         is sufficient, at least on modern CPUs.
58344         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
58346         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
58347         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
58349         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
58350         __expl_finite.
58351         * math/bits/math-finite.h: Add entries for exp.
58352         * math/e_expl.c: Add __*_finite alias.
58353         * sysdeps/i386/fpu/e_exp.S: Likewise.
58354         * sysdeps/i386/fpu/e_expf.S: Likewise.
58355         * sysdeps/i386/fpu/e_expl.c: Likewise.
58356         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58357         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58358         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
58359         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58360         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
58361         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
58362         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
58364         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
58365         is sufficient, at least on modern CPUs.
58367         * ctype/ctype-info.c (__ctype_init): Define.
58368         * include/ctype.h (__ctype_init): Declare.
58369         (__ctype_b_loc): The variable is always initialized.
58370         (__ctype_toupper_loc): Likewise.
58371         (__ctype_tolower_loc): Likewise.
58372         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
58373         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
58375 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
58377         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
58379         * configure.in: Also look in $cxxmachine/include for C++ system
58380         headers.
58382 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58384         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
58385         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
58386         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
58387         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
58388         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
58389         (USE_AS_WMEMCMP): New macro.
58390         Fixing indents.
58391         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
58392         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
58393         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
58394         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
58395         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58396         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
58397         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
58398         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
58399         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
58400         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
58401         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
58402         (USE_AS_WMEMCMP): New macro.
58403         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
58404         * sysdeps/string/test-memcmp.c: Update.
58405         Fix simple_wmemcmp.
58406         Add new tests.
58407         * wcsmbs/wmemcmp.c: Update.
58408         (WMEMCMP): New macro.
58409         Fix overflow bug.
58411 2011-10-12  Andreas Jaeger  <aj@suse.de>
58413         [BZ #13268]
58414         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
58416 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
58418         * libio/iofwide.c (do_length): Avoid warning.
58420         * ctype/ctype.h (__isctype_f): Add missing __THROW.
58422 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
58424         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
58426         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
58427         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
58428         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
58429         * sysdeps/i386/i686/fpu/e_log.S: New file.
58430         * sysdeps/i386/i686/fpu/e_logf.S: New file.
58431         * sysdeps/i386/i686/fpu/e_logl.S: New file.
58433         * ctype/ctype.h: Add support for inlined isXXX functions when
58434         compiling C++ code.
58436 2011-10-14  Andreas Schwab  <schwab@redhat.com>
58438         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58440         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
58442 2011-10-13  Roland McGrath  <roland@hack.frob.com>
58444         [BZ #13291]
58445         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
58447 2011-10-13  Andreas Schwab  <schwab@redhat.com>
58449         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
58450         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
58451         feraiseexcept.
58453         * sysdeps/x86_64/memrchr.S: Check for zero size.
58455         * string/stratcliff.c: Add memrchr tests.
58457 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58459         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58460         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
58461         rawmemchr-sse2 rawmemchr-sse2-bsf.
58462         * sysdeps/i386/i686/multiarch/memchr.S: New file.
58463         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
58464         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
58465         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
58466         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
58467         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
58468         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
58469         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
58470         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
58471         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
58472         * string/memrchr.c (MEMRCHR): New macro.
58474 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
58476         Add integration with gcc's -ffinite-math-only and optimize wrapper
58477         functions in libm.
58478         * Versions.def: Define GLIBC_2.15 version for libm.
58479         * math/Makefile (headers): Add bits/math-finite.h.
58480         * math/bits/math-finite.h: New file.
58481         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
58482         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
58483         * math/e_acoshl.c: Add __*_finite alias.
58484         * math/e_acosl.c: Likewise.
58485         * math/e_asinl.c: Likewise.
58486         * math/e_atan2l.c: Likewise.
58487         * math/e_atanhl.c: Likewise.
58488         * math/e_coshl.c: Likewise.
58489         * math/e_exp10.c: Likewise.
58490         * math/e_exp10f.c: Likewise.
58491         * math/e_exp10l.c: Likewise.
58492         * math/e_exp2l.c: Likewise.
58493         * math/e_fmodl.c: Likewise.
58494         * math/e_gammal_r.c: Likewise.
58495         * math/e_hypotl.c: Likewise.
58496         * math/e_j0l.c: Likewise.
58497         * math/e_j1l.c: Likewise.
58498         * math/e_jnl.c: Likewise.
58499         * math/e_lgammal_r.c: Likewise.
58500         * math/e_log10l.c: Likewise.
58501         * math/e_log2l.c: Likewise.
58502         * math/e_logl.c: Likewise.
58503         * math/e_powl.c: Likewise.
58504         * math/e_sinhl.c: Likewise.
58505         * math/e_sqrtl.c: Likewise.
58506         * math/e_scalb.c: Completely rewritten and optimized.
58507         * math/e_scalbf.c: Likewise.
58508         * math/e_scalbl.c: Likewise.
58509         * math/w_acos.c: Likewise.
58510         * math/w_acosf.c: Likewise.
58511         * math/w_acosl.c: Likewise.
58512         * math/w_acosh.c: Likewise.
58513         * math/w_acoshf.c: Likewise.
58514         * math/w_acoshl.c: Likewise.
58515         * math/w_asin.c: Likewise.
58516         * math/w_asinf.c: Likewise.
58517         * math/w_asinl.c: Likewise.
58518         * math/w_atan2.c: Likewise.
58519         * math/w_atan2f.c: Likewise.
58520         * math/w_atan2l.c: Likewise.
58521         * math/w_atanh.c: Likewise.
58522         * math/w_atanhf.c: Likewise.
58523         * math/w_atanhl.c: Likewise.
58524         * math/w_exp10.c: Likewise.
58525         * math/w_exp10f.c: Likewise.
58526         * math/w_exp10l.c: Likewise.
58527         * math/w_fmod.c: Likewise.
58528         * math/w_fmodf.c: Likewise.
58529         * math/w_fmodl.c: Likewise.
58530         * math/w_j0.c: Likewise.
58531         * math/w_j0f.c: Likewise.
58532         * math/w_j0l.c: Likewise.
58533         * math/w_j1.c: Likewise.
58534         * math/w_j1f.c: Likewise.
58535         * math/w_j1l.c: Likewise.
58536         * math/w_jn.c: Likewise.
58537         * math/w_jnf.c: Likewise.
58538         * math/w_log.c: Likewise.
58539         * math/w_logf.c: Likewise.
58540         * math/w_logl.c: Likewise.
58541         * math/w_log10.c: Likewise.
58542         * math/w_log10f.c: Likewise.
58543         * math/w_log10l.c: Likewise.
58544         * math/w_log2.c: Likewise.
58545         * math/w_log2f.c: Likewise.
58546         * math/w_log2l.c: Likewise.
58547         * math/w_pow.c: Likewise.
58548         * math/w_powf.c: Likewise.
58549         * math/w_powl.c: Likewise.
58550         * math/w_remainder.c: Likewise.
58551         * math/w_remainderf.c: Likewise.
58552         * math/w_remainderl.c: Likewise.
58553         * math/w_scalb.c: Likewise.
58554         * math/w_scalbf.c: Likewise.
58555         * math/w_scalbl.c: Likewise.
58556         * math/w_sqrt.c: Likewise.
58557         * math/w_sqrtf.c: Likewise.
58558         * math/w_sqrtl.c: Likewise.
58559         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
58560         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
58561         used.
58562         * math/math_private.h: Declare __kernel_standard_f.
58563         * math/w_cosh.c: Remove cruft and optimize a bit.
58564         * math/w_coshf.c: Likewise.
58565         * math/w_coshl.c: Likewise.
58566         * math/w_exp2.c: Likewise.
58567         * math/w_exp2f.c: Likewise.
58568         * math/w_exp2l.c: Likewise.
58569         * math/w_hypot.c: Likewise.
58570         * math/w_hypotf.c: Likewise.
58571         * math/w_hypotl.c: Likewise.
58572         * math/w_lgamma.c: Likewise.
58573         * math/w_lgamma_r.c: Likewise.
58574         * math/w_lgammaf.c: Likewise.
58575         * math/w_lgammaf_r.c: Likewise.
58576         * math/w_lgammal.c: Likewise.
58577         * math/w_lgammal_r.c: Likewise.
58578         * math/w_sinh.c: Likewise.
58579         * math/w_sinhf.c: Likewise.
58580         * math/w_sinhl.c: Likewise.
58581         * math/w_tgamma.c: Likewise.
58582         * math/w_tgammaf.c: Likewise.
58583         * math/w_tgammal.c: Likewise.
58584         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
58585         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58586         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
58587         Minor optimizations.  Pretty printing.  Remove cruft.
58588         * sysdeps/i386/fpu/e_acosf.S: Likewise.
58589         * sysdeps/i386/fpu/e_acosh.S: Likewise.
58590         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58591         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58592         * sysdeps/i386/fpu/e_acosl.c: Likewise.
58593         * sysdeps/i386/fpu/e_asin.S: Likewise.
58594         * sysdeps/i386/fpu/e_asinf.S: Likewise.
58595         * sysdeps/i386/fpu/e_atan2.S: Likewise.
58596         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
58597         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
58598         * sysdeps/i386/fpu/e_atanh.S: Likewise.
58599         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58600         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58601         * sysdeps/i386/fpu/e_exp10.S: Likewise.
58602         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
58603         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
58604         * sysdeps/i386/fpu/e_exp2.S: Likewise.
58605         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
58606         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
58607         * sysdeps/i386/fpu/e_fmod.S: Likewise.
58608         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
58609         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
58610         * sysdeps/i386/fpu/e_hypot.S: Likewise.
58611         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
58612         * sysdeps/i386/fpu/e_log.S: Likewise.
58613         * sysdeps/i386/fpu/e_log10.S: Likewise.
58614         * sysdeps/i386/fpu/e_log10f.S: Likewise.
58615         * sysdeps/i386/fpu/e_log10l.S: Likewise.
58616         * sysdeps/i386/fpu/e_log2.S: Likewise.
58617         * sysdeps/i386/fpu/e_log2f.S: Likewise.
58618         * sysdeps/i386/fpu/e_log2l.S: Likewise.
58619         * sysdeps/i386/fpu/e_logf.S: Likewise.
58620         * sysdeps/i386/fpu/e_logl.S: Likewise.
58621         * sysdeps/i386/fpu/e_pow.S: Likewise.
58622         * sysdeps/i386/fpu/e_powf.S: Likewise.
58623         * sysdeps/i386/fpu/e_powl.S: Likewise.
58624         * sysdeps/i386/fpu/e_remainder.S: Likewise.
58625         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
58626         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
58627         * sysdeps/i386/fpu/e_scalb.S: Likewise.
58628         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58629         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58630         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
58631         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
58632         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
58633         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
58634         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58635         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58636         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
58637         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58638         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
58639         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
58640         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
58641         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58642         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
58643         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
58644         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
58645         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58646         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
58647         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
58648         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58649         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
58650         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
58651         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58652         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58653         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
58654         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
58655         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
58656         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
58657         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
58658         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
58659         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58660         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
58661         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
58662         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
58663         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
58664         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
58665         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58666         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
58667         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
58668         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
58669         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
58670         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
58671         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
58672         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
58673         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
58674         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
58675         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
58676         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
58677         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
58678         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
58679         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
58680         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
58681         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
58682         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
58683         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
58684         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
58685         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
58686         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58687         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
58688         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
58689         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
58690         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
58691         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
58692         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
58693         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
58694         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
58695         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
58696         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
58697         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
58698         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
58699         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
58700         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
58701         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
58702         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
58703         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
58704         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
58705         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
58706         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
58707         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
58708         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
58709         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
58710         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
58711         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
58712         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
58713         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
58714         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
58715         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
58716         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
58717         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
58718         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
58719         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58720         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
58721         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
58722         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
58723         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
58724         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
58725         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
58726         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
58727         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58728         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
58729         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
58730         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
58731         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
58732         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
58733         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
58734         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
58735         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
58736         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
58737         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58738         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58739         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58740         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58741         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
58742         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58743         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
58744         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
58745         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
58746         (__isnanf): Likewise.
58747         (__isinf_ns): Likewise.
58748         (__isinf_nsf): Likewise.
58749         (__finite): Likewise.
58750         (__finitef): Likewise.
58751         (__ieee754_sqrt): Define as macro.
58752         (__ieee754_sqrtf): Define as macro.
58753         (__ieee754_sqrtl): Define as macro.
58754         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
58755         inlined copy.
58756         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
58757         __FINITE_MATH_ONLY__ consistent.
58758         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
58760 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
58762         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
58763         of rawmemchr.
58765         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
58767 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
58769         * po/ja.po: Update from translation team.
58771 2011-10-08  Roland McGrath  <roland@hack.frob.com>
58773         * locale/programs/locarchive.c (prepare_address_space): New function.
58774         (create_archive, enlarge_archive, open_archive): Use it.
58776         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
58777         inside [SHARED], where it is used.
58779         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
58781         * nss/getent.c (netgroup_keys): Remove unused variable.
58782         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
58784 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
58786         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
58787         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
58788         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
58789         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
58790         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
58791         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
58792         * math/Makefile (libm-calls): Add s_isinf_ns.
58793         * math/divtc3.c: Use __isinf_nsl instead of isinf.
58794         * math/multc3.c: Likewise.
58795         * math/s_casin.c: Likewise.
58796         * math/s_casinf.c: Likewise.
58797         * math/s_casinl.c: Likewise.
58798         * math/s_ccos.c: Likewise.
58799         * math/s_ccosf.c: Likewise.
58800         * math/s_ccosl.c: Likewise.
58801         * math/s_ctan.c: Likewise.
58802         * math/s_ctanf.c: Likewise.
58803         * math/s_ctanh.c: Likewise.
58804         * math/s_ctanhf.c: Likewise.
58805         * math/s_ctanhl.c: Likewise.
58806         * math/s_ctanl.c: Likewise.
58807         * math/w_fmod.c: Likewise.
58808         * math/w_fmodf.c: Likewise.
58809         * math/w_fmodl.c: Likewise.
58810         * math/w_remainder.c: Likewise.
58811         * math/w_remainderf.c: Likewise.
58812         * math/w_remainderl.c: Likewise.
58813         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
58814         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
58815         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
58816         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
58817         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
58818         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
58819         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
58820         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
58822         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
58823         of the number.
58824         * stdio-common/printf_fphex.c: Likewise.
58825         * stdio-common/printf_size.c: Likewise.
58827         * math/e_exp10.c: Include math_private.h using <...> not "...".
58828         * math/e_exp10f.c: Likewise.
58829         * math/e_exp10l.c: Likewise.
58830         * math/e_exp2l.c: Likewise.
58831         * math/e_j0l.c: Likewise.
58832         * math/e_j1l.c: Likewise.
58833         * math/e_jnl.c: Likewise.
58834         * math/e_lgammal_r.c: Likewise.
58835         * math/e_rem_pio2l.c: Likewise.
58836         * math/e_scalb.c: Likewise.
58837         * math/e_scalbf.c: Likewise.
58838         * math/e_scalbl.c: Likewise.
58839         * math/k_cosl.c: Likewise.
58840         * math/k_sinl.c: Likewise.
58841         * math/k_tanl.c: Likewise.
58842         * math/s_cacoshf.c: Likewise.
58843         * math/s_catan.c: Likewise.
58844         * math/s_catanf.c: Likewise.
58845         * math/s_catanh.c: Likewise.
58846         * math/s_catanhf.c: Likewise.
58847         * math/s_catanhl.c: Likewise.
58848         * math/s_catanl.c: Likewise.
58849         * math/s_ccosh.c: Likewise.
58850         * math/s_ccoshf.c: Likewise.
58851         * math/s_ccoshl.c: Likewise.
58852         * math/s_cexp.c: Likewise.
58853         * math/s_cexpf.c: Likewise.
58854         * math/s_cexpl.c: Likewise.
58855         * math/s_clog.c: Likewise.
58856         * math/s_clog10.c: Likewise.
58857         * math/s_clog10f.c: Likewise.
58858         * math/s_clog10l.c: Likewise.
58859         * math/s_clogf.c: Likewise.
58860         * math/s_clogl.c: Likewise.
58861         * math/s_csin.c: Likewise.
58862         * math/s_csinf.c: Likewise.
58863         * math/s_csinh.c: Likewise.
58864         * math/s_csinhf.c: Likewise.
58865         * math/s_csinhl.c: Likewise.
58866         * math/s_csinl.c: Likewise.
58867         * math/s_csqrt.c: Likewise.
58868         * math/s_csqrtf.c: Likewise.
58869         * math/s_csqrtl.c: Likewise.
58870         * math/s_ctan.c: Likewise.
58871         * math/s_ctanf.c: Likewise.
58872         * math/s_ctanh.c: Likewise.
58873         * math/s_ctanhf.c: Likewise.
58874         * math/s_ctanhl.c: Likewise.
58875         * math/s_ctanl.c: Likewise.
58876         * math/s_ldexp.c: Likewise.
58877         * math/s_ldexpf.c: Likewise.
58878         * math/s_ldexpl.c: Likewise.
58879         * math/s_significand.c: Likewise.
58880         * math/s_significandf.c: Likewise.
58881         * math/s_significandl.c: Likewise.
58882         * math/w_acos.c: Likewise.
58883         * math/w_acosf.c: Likewise.
58884         * math/w_acosh.c: Likewise.
58885         * math/w_acoshf.c: Likewise.
58886         * math/w_acoshl.c: Likewise.
58887         * math/w_acosl.c: Likewise.
58888         * math/w_asin.c: Likewise.
58889         * math/w_asinf.c: Likewise.
58890         * math/w_asinl.c: Likewise.
58891         * math/w_atan2.c: Likewise.
58892         * math/w_atan2f.c: Likewise.
58893         * math/w_atan2l.c: Likewise.
58894         * math/w_atanh.c: Likewise.
58895         * math/w_atanhf.c: Likewise.
58896         * math/w_atanhl.c: Likewise.
58897         * math/w_cosh.c: Likewise.
58898         * math/w_coshf.c: Likewise.
58899         * math/w_coshl.c: Likewise.
58900         * math/w_dremf.c: Likewise.
58901         * math/w_exp10.c: Likewise.
58902         * math/w_exp10f.c: Likewise.
58903         * math/w_exp10l.c: Likewise.
58904         * math/w_exp2.c: Likewise.
58905         * math/w_exp2f.c: Likewise.
58906         * math/w_fmod.c: Likewise.
58907         * math/w_fmodf.c: Likewise.
58908         * math/w_fmodl.c: Likewise.
58909         * math/w_hypot.c: Likewise.
58910         * math/w_hypotf.c: Likewise.
58911         * math/w_hypotl.c: Likewise.
58912         * math/w_j0.c: Likewise.
58913         * math/w_j0f.c: Likewise.
58914         * math/w_j0l.c: Likewise.
58915         * math/w_j1.c: Likewise.
58916         * math/w_j1f.c: Likewise.
58917         * math/w_j1l.c: Likewise.
58918         * math/w_jn.c: Likewise.
58919         * math/w_jnf.c: Likewise.
58920         * math/w_jnl.c: Likewise.
58921         * math/w_lgamma.c: Likewise.
58922         * math/w_lgamma_r.c: Likewise.
58923         * math/w_lgammaf.c: Likewise.
58924         * math/w_lgammaf_r.c: Likewise.
58925         * math/w_lgammal.c: Likewise.
58926         * math/w_lgammal_r.c: Likewise.
58927         * math/w_log.c: Likewise.
58928         * math/w_log10.c: Likewise.
58929         * math/w_log10f.c: Likewise.
58930         * math/w_log10l.c: Likewise.
58931         * math/w_log2.c: Likewise.
58932         * math/w_log2f.c: Likewise.
58933         * math/w_log2l.c: Likewise.
58934         * math/w_logf.c: Likewise.
58935         * math/w_logl.c: Likewise.
58936         * math/w_pow.c: Likewise.
58937         * math/w_powf.c: Likewise.
58938         * math/w_powl.c: Likewise.
58939         * math/w_remainder.c: Likewise.
58940         * math/w_remainderf.c: Likewise.
58941         * math/w_remainderl.c: Likewise.
58942         * math/w_scalb.c: Likewise.
58943         * math/w_scalbf.c: Likewise.
58944         * math/w_scalbl.c: Likewise.
58945         * math/w_sinh.c: Likewise.
58946         * math/w_sinhf.c: Likewise.
58947         * math/w_sinhl.c: Likewise.
58948         * math/w_sqrt.c: Likewise.
58949         * math/w_sqrtf.c: Likewise.
58950         * math/w_sqrtl.c: Likewise.
58951         * math/w_tgamma.c: Likewise.
58952         * math/w_tgammaf.c: Likewise.
58953         * math/w_tgammal.c: Likewise.
58955         * po/ja.po: Update from translation team.
58957 2011-09-29  Andreas Jaeger  <aj@suse.de>
58959         [BZ #13179]
58960         * sunrpc/netname.c (netname2host): Fix logic.
58962         [BZ #6779]
58963         [BZ #6783]
58964         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
58965         correctly.
58966         * math/w_remainder.c (__remainder): Likewise.
58967         * math/w_remainderf.c (__remainderf): Likewise.
58968         * math/libm-test.inc (remainder_test): Add test cases.
58970 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58972         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
58973         sdiv_qrnnd.
58975 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
58977         * string/test-memcmp.c: Avoid unncessary #defines.
58978         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58980 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58982         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
58983         Use new sse2 version for core i3 - i7 as it's faster
58984         than sse42 version.
58985         (bit_Prefer_PMINUB_for_stringop): New.
58986         * sysdeps/x86_64/rawmemchr.S: Update.
58987         Replace with faster SSE2 version.
58988         * sysdeps/x86_64/memrchr.S: New file.
58989         * sysdeps/x86_64/memchr.S: Update.
58990         Replace with faster SSE2 version.
58992 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
58994         * elf/dl-load.c (lose): Add cast to avoid warning.
58996 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
58998         * po/ca.po: Update from translation team.
59000         * inet/getnetgrent_r.c: Hook up nscd.
59001         * nscd/Makefile (routines): Add nscd_netgroup.
59002         (nscd-modules): Add netgroupcache.
59003         (CFLAGS-netgroupcache.c): Define.
59004         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
59005         (cache_search): Add const to second parameter.
59006         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
59007         INNETGR.
59008         (dbs): Add netgrdb entry.
59009         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
59010         (verify_persistent_db): Handle netgrdb.
59011         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
59012         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
59013         GETFDNETGR.
59014         (netgroup_response_header): Define.
59015         (innetgroup_response_header): Define.
59016         (datahead): Add netgroup_response_header and innetgroup_response_header
59017         elements.
59018         * nscd/nscd.conf: Add entries for netgroup cache.
59019         * nscd/nscd.h (dbtype): Add netgrdb.
59020         (_PATH_NSCD_NETGROUP_DB): Define.
59021         (netgroup_iov_disabled): Declare.
59022         (xmalloc, xcalloc, xrealloc): Move declarations here.
59023         (cache_search): Adjust prototype.
59024         Add netgroup-related prototypes.
59025         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
59026         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
59027         (__nscd_innetgr): Declare.
59028         * nscd/selinux.c (perms): Use access_vector_t as element type and
59029         add netgroup-related initializers.
59030         * nscd/netgroupcache.c: New file.
59031         * nscd/nscd_netgroup.c: New file.
59032         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
59033         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
59034         For four parameters use innetgr.
59035         * nss/nss_files/files-init.c: Add definition and callback for netgr.
59036         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
59037         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
59038         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
59040         * nscd/connections.c (register_traced_file): Don't register file
59041         for disabled databases.
59043 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
59045         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
59047         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
59048         from tree and freeing node.
59050 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
59052         * nss/nsswitch.c (__nss_database_lookup): Handle
59053         nss_parse_service_list out of memory case.
59055 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
59057         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
59058         out of memory case.
59060 2011-10-04  Andreas Schwab  <schwab@redhat.com>
59062         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
59063         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
59064         pass it down.
59065         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
59066         elf_machine_rela, elf_machine_lazy_rel.
59067         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
59068         (ELF_DYNAMIC_DO_REL): Likewise.
59069         (ELF_DYNAMIC_DO_RELA): Likewise.
59070         (ELF_DYNAMIC_RELOCATE): Likewise.
59071         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
59072         to ELF_DYNAMIC_DO_REL.
59073         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
59074         (dl_main): In trace mode always set __RTLD_NOIFUNC.
59075         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
59076         elf_machine_rela.
59077         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
59078         skip_ifunc, don't call ifunc function if non-zero.
59079         (elf_machine_rela): Likewise.
59080         (elf_machine_lazy_rel): Likewise.
59081         (elf_machine_lazy_rela): Likewise.
59082         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
59083         (elf_machine_lazy_rel): Likewise.
59084         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
59085         Likewise.
59086         (elf_machine_lazy_rel): Likewise.
59087         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59088         Likewise.
59089         (elf_machine_lazy_rel): Likewise.
59090         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
59091         (elf_machine_lazy_rel): Likewise.
59092         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
59093         (elf_machine_lazy_rel): Likewise.
59094         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
59095         (elf_machine_lazy_rel): Likewise.
59096         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
59097         (elf_machine_lazy_rel): Likewise.
59098         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
59099         (elf_machine_lazy_rel): Likewise.
59100         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
59101         (elf_machine_lazy_rel): Likewise.
59103 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
59105         * nss/nss_files/files-init.c (_nss_files_init): Use static
59106         initialization for all the *_traced_file variables.
59108 2011-09-28  Andreas Schwab  <schwab@redhat.com>
59110         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59112 2011-09-27  Roland McGrath  <roland@hack.frob.com>
59114         [BZ #13226]
59115         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
59117 2011-09-27  Andreas Schwab  <schwab@redhat.com>
59119         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59120         Reread the line before reparsing it.
59122 2011-09-26  Andreas Schwab  <schwab@redhat.com>
59124         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
59126 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
59127             Maxim Kuvyrkov  <maxim@codesourcery.com>
59128             Joseph Myers  <joseph@codesourcery.com>
59130         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
59131         if needed for __stack_chk_guard.
59133 2011-09-19  Roland McGrath  <roland@hack.frob.com>
59135         * sysdeps/posix/spawni.c (script_execute): Always define it.
59136         It will be optimized away if unused.
59137         (maybe_script_execute): New function.
59138         (__spawni): Call it.
59140         * Makerules: Don't include tls.make.
59141         (config-tls): Always set to thread.
59142         * tls.make.c: File removed.
59144 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
59146         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
59147         * config.make.in (CPPFLAGS-config): New substituted variable.
59149 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59151         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
59153         [BZ #13192]
59154         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
59155         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
59157 2011-09-15  Roland McGrath  <roland@hack.frob.com>
59159         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
59160         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
59161         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59162         (CALL_FAIL): Likewise.
59163         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
59164         (CALL_FAIL): Macro removed.
59165         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
59167 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59169         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
59170         for __FINITE_MATH_ONLY__ == 1.
59172 2011-09-15  Andreas Schwab  <schwab@redhat.com>
59174         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
59175         __ieee754_sqrt instead of sqrt.
59176         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
59177         __ieee754_sqrtf instead of sqrtf.
59178         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
59179         __floorf instead of floorf.
59180         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
59181         __floorf, __truncf instead of floorf, truncf.
59183 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
59185         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
59187         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
59188         __extern_always_inline.
59189         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
59190         32-bit.
59192 2011-09-14  Andreas Schwab  <schwab@redhat.com>
59194         * elf/rtld.c (dl_main): Also relocate in dependency order when
59195         doing symbol dependency testing.
59197 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
59199         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59200         Always define `refsym'.
59202 2011-09-13  Andreas Schwab  <schwab@redhat.com>
59204         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
59205         (__FD_ELT): Renamed from __FDELT.
59206         * misc/bits/select2.h (__FD_ELT): Likewise.
59207         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
59208         __FD_MASK instead of __FDELT, __FDMASK.
59209         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59210         Likewise.
59211         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59212         Likewise.
59214         * elf/Makefile (gen-ldd): Fix pattern.
59216         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
59217         (init_tls): Likewise.
59219 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
59221         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
59223 2011-09-12  Andreas Schwab  <schwab@redhat.com>
59225         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
59226         `struct cmsghdr *' instead of `void *'.
59227         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
59228         Likewise.
59230 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
59232         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
59233         if non-absolute.
59234         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
59235         ldd_rewrite_script.
59237 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
59239         * configure.in: Remove --with-tls option.
59240         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
59241         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
59242         out in case it is missing.
59243         * sysdeps/ia64/elf/configure.in: Likewise.
59244         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
59245         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
59246         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
59247         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
59248         * sysdeps/sh/elf/configure.in: Likewise.
59249         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
59250         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
59251         * sysdeps/x86_64/elf/configure.in: Likewise.
59252         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
59253         * sysdeps/mach/hurd/tls.h: Likewise.
59255         [BZ #13067]
59256         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
59258         [BZ #13090]
59259         * configure.in: Fix use of AC_INIT.
59261         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
59263 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
59265         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
59266         __set_errno.
59267         * malloc/hooks.c: Likewise.
59269         [BZ #11929]
59270         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
59271         variables statically.
59272         (narenas): Initialize.
59273         (list_lock): Initialize.
59274         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
59275         initializtion of main_arena and list_lock.  Small cleanups.
59276         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
59277         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
59278         Add initializers to main_arena and mp_.
59279         (malloc_state): Remove pagesize member.  Change all users to use
59280         GLRO(dl_pagesize).
59282         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
59283         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
59284         is always initialized.
59286         * malloc/malloc.c: Removed unused configurations and dead code.
59287         * malloc/arena.c: Likewise.
59288         * malloc/hooks.c: Likewise.
59289         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
59291         * include/tls.h: Removed.  USE___THREAD must always be defined.
59292         * bits/libc-tsd.h: Don't handle !USE___THREAD.
59293         * elf/dl-libc.c: Likewise.
59294         * elf/dl-tsd.c: Likewise.
59295         * include/errno.h: Likewise.
59296         * include/netdb.h: Likewise.
59297         * include/resolv.h: Likewise.
59298         * inet/herrno-loc.c: Likewise.
59299         * inet/herrno.c: Likewise.
59300         * malloc/arena.c: Likewise.
59301         * malloc/hooks.c: Likewise.
59302         * malloc/malloc.c: Likewise.
59303         * resolv/res-state.c: Likewise.
59304         * resolv/res_libc.c: Likewise.
59305         * sysdeps/i386/dl-machine.h: Likewise.
59306         * sysdeps/ia64/dl-machine.h: Likewise.
59307         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
59308         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
59309         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
59310         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
59311         * sysdeps/sh/dl-machine.h: Likewise.
59312         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
59313         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
59314         * sysdeps/unix/i386/sysdep.S: Likewise.
59315         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
59316         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
59317         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
59318         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
59319         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
59320         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
59321         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
59322         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
59323         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
59324         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
59325         * sysdeps/unix/x86_64/sysdep.S: Likewise.
59326         * sysdeps/x86_64/dl-machine.h: Likewise.
59327         * tls.make.c: Likewise.
59329         * configure.in: Remove --with-__thread option.  Make tests for
59330         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
59331         tls_model attribute fail if no support is available.  Remove
59332         USE_IN_LIBIO.
59333         * Makeconfig: Adjust for dropped configure option.  All features are
59334         now mandatory.
59335         * Makerules: Likewise.
59336         * Versions.def: Likewise.
59337         * argp/argp-fmtstream.c: Likewise.
59338         * argp/argp-fmtstream.h: Likewise.
59339         * argp/argp-help.c: Likewise.
59340         * assert/assert.c: Likewise.
59341         * config.h.in: Likewise.
59342         * config.make.in: Likewise.
59343         * configure: Likewise.
59344         * configure.in: Likewise.
59345         * csu/Versions: Likewise.
59346         * csu/init.c: Likewise.
59347         * elf/tst-audit2.c: Likewise.
59348         * elf/tst-tls10.c: Likewise.
59349         * elf/tst-tls10.h: Likewise.
59350         * elf/tst-tls11.c: Likewise.
59351         * elf/tst-tls12.c: Likewise.
59352         * elf/tst-tls14.c: Likewise.
59353         * elf/tst-tlsmod11.c: Likewise.
59354         * elf/tst-tlsmod12.c: Likewise.
59355         * elf/tst-tlsmod13.c: Likewise.
59356         * elf/tst-tlsmod13a.c: Likewise.
59357         * elf/tst-tlsmod14a.c: Likewise.
59358         * elf/tst-tlsmod15b.c: Likewise.
59359         * elf/tst-tlsmod16a.c: Likewise.
59360         * elf/tst-tlsmod16b.c: Likewise.
59361         * elf/tst-tlsmod7.c: Likewise.
59362         * elf/tst-tlsmod8.c: Likewise.
59363         * elf/tst-tlsmod9.c: Likewise.
59364         * gmon/gmon.c: Likewise.
59365         * grp/fgetgrent_r.c: Likewise.
59366         * grp/putgrent.c: Likewise.
59367         * hurd/fopenport.c: Likewise.
59368         * include/libc-symbols.h: Likewise.
59369         * include/tls.h: Likewise.
59370         * intl/gettextP.h: Likewise.
59371         * intl/loadinfo.h: Likewise.
59372         * locale/global-locale.c: Likewise.
59373         * locale/localeinfo.h: Likewise.
59374         * mach/devstream.c: Likewise.
59375         * malloc/arena.c: Likewise.
59376         * malloc/set-freeres.c: Likewise.
59377         * misc/err.c: Likewise.
59378         * misc/getttyent.c: Likewise.
59379         * misc/mntent_r.c: Likewise.
59380         * posix/getopt.c: Likewise.
59381         * posix/wordexp.c: Likewise.
59382         * pwd/fgetpwent_r.c: Likewise.
59383         * resolv/Versions: Likewise.
59384         * resolv/res_hconf.c: Likewise.
59385         * shadow/fgetspent_r.c: Likewise.
59386         * shadow/putspent.c: Likewise.
59387         * stdio-common/printf_fphex.c: Likewise.
59388         * stdio-common/tmpfile.c: Likewise.
59389         * stdlib/abort.c: Likewise.
59390         * stdlib/fmtmsg.c: Likewise.
59391         * sunrpc/auth_unix.c: Likewise.
59392         * sunrpc/clnt_perr.c: Likewise.
59393         * sunrpc/clnt_tcp.c: Likewise.
59394         * sunrpc/clnt_udp.c: Likewise.
59395         * sunrpc/clnt_unix.c: Likewise.
59396         * sunrpc/openchild.c: Likewise.
59397         * sunrpc/svc_simple.c: Likewise.
59398         * sunrpc/svc_tcp.c: Likewise.
59399         * sunrpc/svc_udp.c: Likewise.
59400         * sunrpc/svc_unix.c: Likewise.
59401         * sunrpc/xdr.c: Likewise.
59402         * sunrpc/xdr_array.c: Likewise.
59403         * sunrpc/xdr_rec.c: Likewise.
59404         * sunrpc/xdr_ref.c: Likewise.
59405         * sunrpc/xdr_stdio.c: Likewise.
59407 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59409         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59411 2011-07-03  Andreas Jaeger  <aj@suse.de>
59413         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
59414         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
59415         regenerate with gen-libm-tests.pl.
59417 2010-05-12  Petr Baudis  <pasky@suse.cz>
59419         [BZ #11589]
59420         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
59421         around j0() zero points by switching to j1().
59422         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59423         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59424         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
59425         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59427 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59429         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
59430         instead of 0.
59431         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
59432         instead of 0.
59433         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59434         Patch in part by Pavel Roskin <proski@gnu.org>.
59436         [BZ #13138]
59437         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
59438         realloc.
59439         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
59440         Free memory block if necessary.
59442         [BZ #12847]
59443         * libio/genops.c (INTDEF): For string streams the _lock pointer can
59444         be NULL.  Don't lock in this case.
59446 2011-09-09  Roland McGrath  <roland@hack.frob.com>
59448         * elf/elf.h (ELFOSABI_GNU): New macro.
59449         (ELFOSABI_LINUX): Define to that.
59451 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
59453         * string/strncat.c (strncat): Undef the symbol in case it has been
59454         defined in bits/string.h.
59456 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59458         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
59460         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
59461         link map.
59463 2011-08-17  Andreas Jaeger  <aj@suse.de>
59465         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
59467 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
59468             Ian Lance Taylor  <iant@google.com>
59470         * math/libm-test.inc (lround_test): New testcase.
59471         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
59473 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
59475         * Makefile: Remove support for automatic cvs check-ins.
59476         * Makerules: Likewise.
59477         * config.make.in: Likewise.
59478         * configure.in: Likewise.
59479         * intl/Makefile: Likewise.
59480         * locale/Makefile: Likewise.
59481         * po/Makefile: Likewise.
59482         * posix/Makefile: Likewise.
59483         * sysdeps/gnu/Makefile: Likewise.
59484         * sysdeps/mach/hurd/Makefile: Likewise.
59485         * sysdeps/sparc/sparc32/Makefile: Likewise.
59487         [BZ #13118]
59488         * posix/Makefile (bug-regex32-ENV): Define.
59489         Patch by John Stanley <jpsinthemix@verizon.net>.
59491         * misc/Makefile (headers): Add bits/select2.h.
59492         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
59493         * misc/bits/select2.h: New file.
59494         * include/bits/select2.h: New file.
59495         * debug/Makefile (routines): Add fdelt_chk.
59496         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
59497         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
59498         FD_ISSET.
59499         * debug/fdelt_chk.c: New file.
59501         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
59502         * wcsmbs/test-wmemcmp.c: Likewise.
59503         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
59504         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
59506 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59508         * string/Makefile (strop-tests): Add memcmp.
59509         * string/test-wmemcmp.c: New file.
59510         * string/test-memcmp.c: Add wmemcmp support.
59512 2011-09-08  Roland McGrath  <roland@hack.frob.com>
59514         [BZ #13153]
59515         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
59516         2011-07-19 change.
59518         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
59519         garbage value in a __mach_port_mod_refs call in the cases of the
59520         task-self and thread-self ports.
59522 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59524         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
59526 2011-09-08  Andreas Schwab  <schwab@redhat.com>
59528         * elf/dl-load.c (lose): Check for non-null L.
59530 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
59532         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
59534         * elf/dl-libc.c (dlerror_run): Pass back error code from
59535         dl_catch_error.
59537         [BZ #13123]
59538         * elf/dl-load.c (lose): Free l_origin if it is valid.
59540         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
59541         names.
59542         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
59543         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
59544         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
59545         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
59546         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
59547         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
59549 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59551         * sysdeps/powerpc/fpu/e_hypot.c: New file.
59552         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
59553         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
59554         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
59555         * sysdeps/powerpc/fpu/k_cosf.c: New file.
59556         * sysdeps/powerpc/fpu/k_sinf.c: New file.
59557         * sysdeps/powerpc/fpu/s_cosf.c: New file.
59558         * sysdeps/powerpc/fpu/s_sinf.c: New file.
59559         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
59560         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
59562 2011-08-15  Alan Modra  <amodra@gmail.com>
59564         [BZ #13092]
59565         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
59566         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
59567         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
59568         ppc_mcount to static-only-routines.
59569         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
59570         __mcount_internal.
59571         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
59572         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
59574 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
59576         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
59577         for finite and infinity parameters.
59579 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
59581         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
59582         and add nop instructions for throughput optimization.
59583         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59585 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
59587         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
59588         aligned copy for power7 with vector-scalar instructions.
59589         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
59591 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
59593         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
59594         AVX check.
59596 2011-09-07  Andreas Schwab  <schwab@redhat.com>
59598         [BZ #13144]
59599         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
59600         last change.
59602 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
59604         * sysdeps/unix/sysv/linux/x86_64/init-first.c
59605         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
59606         syscall wrapper around clock_gettime in __vdso_clock_gettime.
59607         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
59608         clock_gettime.
59610 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
59612         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
59613         Forgot to demangle the pointer.
59615         * sysdeps/i386/sysdep.h: Define atom_text_section.
59616         * sysdeps/x86_64/sysdep.h: Likewise.
59617         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
59618         section with atom_text_section.
59619         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
59620         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
59621         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
59622         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
59623         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
59625         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
59626         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
59627         already be defined.  Change to take two parameters and don't assign
59628         result to variable.  Adjust all users.
59629         Define INTERNAL_GETTIME if not already defined.
59630         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
59631         call.
59632         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
59633         HAVE_CLOCK_GETTIME_VSYSCALL.
59634         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
59636         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
59637         gettimeofday vsyscall, just use time.
59639 2011-09-06  Andreas Schwab  <schwab@redhat.com>
59641         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
59642         <errno.h>.
59644 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
59646         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
59647         syscall on x86-64.
59648         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
59649         syscall.
59650         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
59651         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
59652         syscall if possible.
59654 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59656         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
59657         e_ident.  Don't pass to find_mapsXX.
59658         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
59660 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59662         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59663         strchr-sse2-no-bsf strrchr-sse2-no-bsf
59664         * sysdeps/x86_64/multiarch/strchr.S: Update.
59665         Check bit_slow_BSF bit.
59666         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59667         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
59668         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
59670 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59672         [BZ #13134]
59673         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
59674         before glibc 2.15.
59675         (tryshell): Define.
59676         (__spawni): Change last parameter to be flag.  Test
59677         SPAWN_XFLAGS_USE_PATH flag to use path or not.
59678         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
59679         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
59680         * posix/spawni.c: Likewise.
59681         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
59682         * posix/spawnp.c: Likewise.  Change normal version to use
59683         SPAWN_XFLAGS_USE_PATH.
59684         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
59685         SPAWN_XFLAGS_TRY_SHELL.
59687         [BZ #13150]
59688         * posix/glob.h: Remove gcc 1.x support.
59690         [BZ #13068]
59691         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
59693 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59695         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59696         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
59697         strrchr-sse2-bsf
59698         * sysdeps/i386/i686/multiarch/strchr.S: New file.
59699         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
59700         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
59701         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
59702         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
59703         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
59705 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59707         * sysdeps/x86_64/wcscmp.S: New file.
59709         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
59710         wcscmp-c wcscmp-sse2
59711         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
59712         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
59713         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
59714         * wcsmbs/wcscmp.c: Allow renaming.
59716 2011-09-05  David S. Miller  <davem@davemloft.net>
59718         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
59719         stack slot, rather than the struct return pointer slot.
59720         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
59721         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
59722         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
59723         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
59725 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59727         * po/ja.po: Update from translation team.
59729         [BZ #13144]
59730         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
59731         kernel in 64-bit binaries.
59733 2011-09-01  David S. Miller  <davem@davemloft.net>
59735         * elf/elf.h (HWCAP_SPARC_*): Move to..
59736         * sysdeps/sparc/sysdep.h: this new file and add new values.
59737         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
59738         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
59739         _DL_HWCAP_COUNT to 24.
59740         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
59741         entries.
59742         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
59743         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
59744         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
59745         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
59746         instead of magic constants.
59747         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59749 2011-08-31  David S. Miller  <davem@davemloft.net>
59751         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
59752         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
59753         Reimplement to do errno handling inline.
59754         (SYSCALL_ERROR_HANDLER): New macro.
59755         (__SYSCALL_STRING): Do not do errno handling in asm.
59756         (__CLONE_SYSCALL_STRING): Delete.
59757         (__INTERNAL_SYSCALL_STRING): Delete.
59758         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
59759         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
59760         (PSEUDO): Reimplement to do errno handling inline.
59761         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
59762         (SYSCALL_ERROR_HANDLER): New macro.
59763         (__SYSCALL_STRING): Do not do errno handling in asm.
59764         (__CLONE_SYSCALL_STRING): Delete.
59765         (__INTERNAL_SYSCALL_STRING): Delete.
59766         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
59767         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
59768         i386.
59769         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
59770         (inline_syscall*): Add 'err' argument.
59771         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
59772         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
59773         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
59774         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
59776         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
59777         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
59779 2011-08-30  Andreas Schwab  <schwab@redhat.com>
59781         * elf/rtld.c (dl_main): Relocate objects in dependency order.
59783 2011-08-29  Jiri Olsa <jolsa@redhat.com>
59785         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
59786         directive.
59788 2011-08-24  David S. Miller  <davem@davemloft.net>
59790         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
59792 2011-08-24  Andreas Schwab  <schwab@redhat.com>
59794         * elf/Makefile: Add rules to build and run unload8 test.
59795         * elf/unload8.c: New file.
59796         * elf/unload8mod1.c: New file.
59797         * elf/unload8mod1x.c: New file.
59798         * elf/unload8mod2.c: New file.
59799         * elf/unload8mod3.c: New file.
59801         * elf/dl-close.c (_dl_close_worker): Reset private search list if
59802         it wasn't used.
59804 2011-08-23  David S. Miller  <davem@davemloft.net>
59806         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
59807         subtract stack bias.
59808         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
59809         %sp not %fp in calculations.
59810         (_JMPBUF_UNWINDS_ADJ): Likewise.
59812         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
59813         (aio_suspend): Call it to force an exception region around the
59814         AIO_MISC_WAIT() invocation.
59816 2011-08-23  Andreas Schwab  <schwab@redhat.com>
59818         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
59819         backslash.
59821 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
59823         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
59824         protection macro.
59825         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
59826         and <dl-machine.h>.
59827         (Elf64_FuncDesc): Remove.
59829 2011-08-22  David S. Miller  <davem@davemloft.net>
59831         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
59832         sigaltstack check, add missing cfi directives.
59833         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
59834         missing cfi directives, and sigaltstack handling.
59836 2011-08-16  Andreas Schwab  <schwab@redhat.com>
59838         [BZ #11724]
59839         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
59840         object is seen twice.
59841         * elf/dl-fini.c (_dl_sort_fini): Likewise.
59843         * elf/Makefile (distribute): Add tst-initorder2.c.
59844         (tests): Add tst-initorder2.
59845         (modules-names): Add tst-initorder2a tst-initorder2b
59846         tst-initorder2c tst-initorder2d.  Add rules to build them.
59847         ($(objpfx)tst-initorder2.out): New rule.
59848         * elf/tst-initorder2.c: New file.
59849         * elf/tst-initorder2.exp: New file.
59851 2011-08-22  Andreas Schwab  <schwab@redhat.com>
59853         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
59855         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
59856         dependencies back to end of function.
59858         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
59859         $(elfobjdir)/ld.so.
59861 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
59863         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
59864         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
59865         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
59866         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
59867         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
59868         of __vdso_gettimeofday.
59869         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
59870         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
59871         attribute_hidden.
59872         (_libc_vdso_platform_setup): Remove initialization of
59873         __vdso_gettimeofday and __vdso_time.
59875 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
59877         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
59878         and fgetc_unlocked.
59879         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
59880         getc_unlocked.
59882         * elf/dl-open.c (add_to_global): Report additions to the global scope
59883         for LD_DEBUG=scopes.
59884         (dl_open_worker): Also print scope of newly loaded dependencies.
59885         (_dl_show_scope): Indicate if there is no scope.
59887         [BZ #13114]
59888         * stdio-common/Makefile (tests): Add bug24.
59889         * stdio-common/bug24.c: New file.
59891 2011-08-19  Andreas Jaeger  <aj@suse.de>
59893         [BZ #13114]
59894         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
59895         non-existant file when using close-on-exec mode.
59897 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
59899         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
59900         the very first instruction.
59902         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
59903         the CFI state in the end.
59904         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
59905         inclusion of dl-trampoline.h.
59906         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
59908 2011-08-19  Andreas Schwab  <schwab@redhat.com>
59910         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
59911         expectations for long double.
59913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
59914         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
59916 2011-08-14  David S. Miller  <davem@davemloft.net>
59918         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
59919         artificual limit depends upon the system page size.
59921 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
59923         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
59924         * resolv/Makefile: Define CFLAGS-libresolv.
59926 2011-08-17  Andreas Schwab  <schwab@redhat.com>
59928         * nss/makedb.c (compute_tables): Make variables used in nested
59929         function static.
59931 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
59933         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
59934         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
59935         if buffer was too small.
59937         * elf/pldd.c (main): Attach to all threads in the process.
59938         Rewrite /proc handling to use *at functions.
59940 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
59942         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
59943         specifies first scope to show.
59944         (dl_open_worker): Update callers.  Move printing scope of new
59945         object to before the relocation.
59946         * elf/rtld.c (dl_main): Update _dl_show_scope call.
59947         * sysdeps/generic/ldsodefs.h: Update declaration.
59949         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
59950         string for the scope number.
59952 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
59954         * nscd/servicescache.c (cache_addserv): Make sure written is always
59955         initialized.
59957 2011-08-14  Roland McGrath  <roland@hack.frob.com>
59959         * sysdeps/i386/i486/bits/atomic.h
59960         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
59961         statement expression, so as to suppress "set but not used" warning.
59962         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
59964         * string/strncat.c (STRNCAT): Use prototype definition.
59966         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
59967         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
59968         -Iprograms here.
59969         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
59970         (localedef-modules): Add localedef.
59971         (locale-modules): Add locale.
59973         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
59974         * elf/rtld.c (dl_main): Invert order of assignment in last change,
59975         to avoid a warning.
59977 2011-08-14  David S. Miller  <davem@davemloft.net>
59979         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
59980         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
59982 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
59984         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
59985         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
59986         * elf/rtld.c (dl_main): Set l_name of vDSO.
59987         Call _dl_show_scope when DL_DEBUG_SCOPES.
59988         (process_dl_debug): Recognize scopes flag and also set it for all.
59989         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
59990         Declare _dl_show_scope.
59992         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
59993         (do_dlopen): Pass caller_dlopen to dl_open.
59994         (__libc_dlopen_mode): Initialize caller_dlopen.
59996         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
59997         of libc.  Make tolower call locale-independent.  Optimize a bit by
59998         using isdigit instead of isalnum.
59999         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
60001 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
60003         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
60004         was a dependency or dynamically loaded.
60006 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
60008         * intl/l10nflist.c: Allow architecture-specific pop function.
60009         * sysdeps/x86_64/l10nflist.c: New file.
60011         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
60012         classification.
60014 2011-08-10  Andreas Schwab  <schwab@redhat.com>
60016         * include/dirent.h: Add libc_hidden_proto for scandirat and
60017         scandirat64.  Don't declare __scandirat64.
60018         * dirent/scandirat.c: Add libc_hidden_def.
60019         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
60020         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
60022 2011-08-10  David S. Miller  <davem@davemloft.net>
60024         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
60025         enum.
60026         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60027         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60028         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60030 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
60032         * Versions.def [libc]: Add GLIBC_2.15.
60033         * dirent/Makefile (routines): Add scandirat and scandirat64.
60034         * dirent/Versions [libc]: Export scandirat and scandirat64 for
60035         GLIBC_2.15.
60036         * dirent/dirent.h: Declare scandirat and scandirat64.
60037         * dirent/scandirat.c: New file.
60038         * dirent/scandirat64.c: New file.
60039         * sysdeps/wordsize-64/scandirat.c: New file.
60040         * sysdeps/wordsize-64/scandirat64.c: New file.
60041         * dirent/opendir.c: Define opendirat.
60042         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
60043         using scandirat.
60044         * dirent/scandir64.c: Adjust for scandir.c change.
60045         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
60046         __scandirat64, and __scandir_cancel_handler.
60047         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
60048         additional parameter and use openat instead of open (outside of ld.so).
60049         Add new __opendir as wrapper around __opendirat.
60050         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
60051         here without requiring old scandirat implementation.
60053 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
60055         * dirent/scandir.c (cancel_handler): Renamed to
60056         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
60057         defined.  Adjust users.
60058         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
60059         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
60061 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
60063         * string/test-string.h (IMPL): Use __STRING to expand name and then
60064         stringify it.
60066         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
60067         of cleanups.
60069 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60071         * string/Makefile: Update.
60072         (strop-tests): Append strncat.
60073         * string/test-wcscmp.c: New file.
60074         New comprehensive test for wcscmp.
60075         * string/test-strcmp.c: Update.
60076         (WIDE): New define.
60078 2011-07-22  Andreas Schwab  <schwab@redhat.com>
60080         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
60081         line.
60083 2011-07-26  Andreas Schwab  <schwab@redhat.com>
60085         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60086         encoding to ACE if AI_IDN.
60088 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
60090         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
60091         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
60093 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60095         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
60096         Fix overflow bug in strncat.
60097         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
60099         * string/test-strncat.c: Update.
60100         Add new tests for checking overflow bugs.
60102 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60104         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60105         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
60106         * sysdeps/i386/i686/multiarch/strcat.S: New file.
60107         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
60108         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
60109         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
60110         * sysdeps/i386/i686/multiarch/strncat.S: New file.
60111         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
60112         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
60114         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
60115         (USE_AS_STRCAT): Define.
60116         Add strcat and strncat support.
60117         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60119 2011-07-25  Andreas Schwab  <schwab@redhat.com>
60121         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
60122         __n bigger than INT_MAX+1.
60123         (__strncmp_g): Likewise.
60125 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
60127         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
60128         * libio/stido.h: Likewise.
60130         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
60131         (AF_NFC): Define.
60132         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
60133         (AF_NFC): Define.
60135         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
60136         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60137         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60138         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
60139         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60141         [BZ #13021]
60142         * scripts/test-installation.pl: Don't expect libnss_test1 to be
60143         installed.
60145         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
60146         typo.
60147         (_dl_x86_64_save_sse): Likewise.
60149 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
60151         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
60152         OSXSAVE.
60153         (_dl_x86_64_save_sse): Likewise.
60155         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
60157         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
60159 2011-07-21  Andreas Schwab  <schwab@redhat.com>
60161         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
60162         change.
60163         (_dl_x86_64_save_sse): Use correct AVX check.
60165 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60167         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
60168         bug in strncpy/strncat.
60169         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
60171 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
60173         * string/tester.c (test_strcat): Add tests for different alignments
60174         of source and destination.
60175         (test_strncat): Likewise.
60177 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60179         [BZ #12852]
60180         * posix/glob.c (glob): Check passed in values before using them in
60181         expressions to avoid some overflows.
60182         (glob_in_dir): Likewise.
60184         [BZ #13007]
60185         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
60186         check for AVX enablement so that we don't crash with old kernels and
60187         new hardware.
60188         * elf/tst-audit4.c: Add same checks here.
60189         * elf/tst-audit6.c: Likewise.
60191         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
60193 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
60195         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
60197 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60199         * po/cs.po: Update from translation team.
60200         * po/bg.po: Likewise.
60202 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
60204         * misc/sys/cdefs.h: Add support for const attribute.
60205         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
60206         to gnu_dev_{major,minor,makedev} functions.
60208 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
60210         * intl/dcigettext.c (get_output_charset): Add missing bracket.
60212 2011-07-20  Andreas Schwab  <schwab@redhat.com>
60214         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
60215         strlen results.
60217 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60219         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
60220         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
60221         register in order to avoid conflicts with the soft frame pointer
60222         being held in r11 when necessary.
60223         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
60224         (INTERNAL_VSYSCALL_NCS): Likewise.
60226 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
60228         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
60229         * elf/dl-fini.c (_dl_fini): Adjust caller.
60230         * elf/dl-close.c (_dl_close_worker): Likewise.
60231         * sysdeps/generic/ldsodefs.h: Adjust declaration.
60233 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60235         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
60236         "aux_cache->nlibs < 0".
60238         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
60239         in the reload-count case.
60241 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60243         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60244         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
60245         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
60246         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
60247         * sysdeps/x86_64/multiarch/strcat.S: New file.
60248         * sysdeps/x86_64/multiarch/strncat.S: New file.
60249         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
60250         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
60251         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
60252         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
60253         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
60254         (USE_AS_STRCAT): Define.
60255         Add strcat and strncat support.
60256         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
60257         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
60258         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
60259         * string/strncat.c: Update.
60260         (USE_AS_STRNCAT): Define.
60261         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60262         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
60263         and i7.
60264         * sysdeps/x86_64/multiarch/init-arch.h
60265         (bit_Prefer_PMINUB_for_stringop): New.
60266         (index_Prefer_PMINUB_for_stringop): Likewise.
60267         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
60268         bit_Prefer_PMINUB_for_stringop.
60270 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60272         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
60273         buffer64.
60274         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
60275         of casting of buffer.
60276         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
60277         buffer32 and buffer64.
60278         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
60279         writes instead of casting of buffer.
60280         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
60281         buffer32.
60282         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
60283         casting of buffer.
60285 2011-07-19  Andreas Schwab  <schwab@redhat.com>
60287         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
60289 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60291         * nscd/nscd.c (termination_handler): Don't do anything for a database
60292         if it has not yet been initialized.
60294 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60296         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60298 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60300         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60302 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60304         * po/nl.po: Update from translation team.
60305         * po/sv.po: Likewise.
60307 2011-07-16  Roland McGrath  <roland@hack.frob.com>
60309         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
60310         now disallowed by GCC.
60312         * configure.in (use-default-link): Default to yes if a test -shared
60313         link meets our qualifications.
60314         * configure: Regenerated.
60316         * config.make.in (output-format): New variable.
60317         * configure.in: Check for ld --print-output-format support.
60318         * configure: Regenerated.
60319         * Makerules ($(common-objpfx)format.lds)
60320         [$(output-format) != unknown]: Just use $(output-format),
60321         instead of the linker-script munging.
60323 2011-07-14  Roland McGrath  <roland@hack.frob.com>
60325         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
60326         of $(common-objpfx)shlib.lds.
60327         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
60329         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
60330         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
60332         * configure.in (-z relro check): Adjust test code to add a large
60333         writable data section after it.
60334         * configure: Regenerated.
60336 2011-07-11  Roland McGrath  <roland@hack.frob.com>
60338         * configure.in (-z relro check): Fix test code to make the variable
60339         truly const.
60340         * configure: Regenerated.
60342 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
60344         * nscd/nscd.h (struct traced_file): Define.
60345         (struct database_dyn): Remove inotify_descr, reset_res, and filename
60346         elements.  Add traced_files.
60347         (inotify_fd): Declare.
60348         (register_traced_file): Declare.
60349         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
60350         (inotify_fd): Export.
60351         (resolv_conf_descr): Remove.
60352         (nscd_init): Move inotify descriptor creation to main.
60353         Don't register files for notification here.
60354         (register_traced_file): New function.
60355         (invalidate_cache): Don't use reset_res to determine whether to call
60356         res_init, go through the list of registered files.
60357         (main_loop_poll): The inotify descriptors are now stored in the
60358         structures for the traced files.
60359         (main_loop_epoll): Likewise
60360         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
60361         to __nss_disable_nscd.
60362         * nscd/cache.c (prune_cache): There is no single inotify descriptor
60363         for a database anymore.  Check the records for all the registered
60364         files instead.
60365         * nss/Makefile (libnss_files-routines): Add files-init.
60366         (libnss_db-routines): Add db-init.
60367         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
60368         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
60369         * nss/nss_db/db-init.c: New file.
60370         * nss/nss_files/files-init.c: New file.
60371         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
60372         __nss_lookup_function.
60373         (__nss_lookup_function): Call nss_load_library.
60374         (nss_load_all_libraries): New function.
60375         (__nss_disable_nscd): Take parameter with callback function for files
60376         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
60377         used for the cached services.
60378         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
60379         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
60380         options for features to all the files in nscd.
60382         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
60384 2011-07-10  Roland McGrath  <roland@hack.frob.com>
60386         * csu/elf-init.c (__libc_csu_init): Comment typo.
60388 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
60390         * po/pl.po: Update from translation team.
60391         * po/ja.po: Likewise.
60392         * po/ru.po: Likewise.
60393         * po/ko.po: Likewise.
60394         * po/fr.po: Likewise.
60396 2011-07-09  Roland McGrath  <roland@hack.frob.com>
60398         * configure.in (.ctors/.dtors header and trailer check):
60399         Use an empirical test on a built program.
60400         * configure: Regenerated.
60402         * configure.in (-z relro check): Use an empirical test on a built DSO.
60403         Detect, but do not require, on ia64.
60404         * configure: Regenerated.
60406         * configure.in (READELF): Find it with AC_CHECK_TOOL.
60407         Update tests that use readelf to use $READELF instead.
60408         * configure: Regenerated.
60410 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
60412         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
60413         if the result is not used.
60415 2011-07-05  Andreas Jaeger  <aj@suse.de>
60417         [BZ#9696]
60418         * stdlib/tst-strtod.c: Add testcase.
60420 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
60422         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
60423         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
60424         The latter has a higher limit.  Take additional parameter to pass to
60425         the new function.
60426         (__pathconf): Pass file to __statfs_link_max.
60427         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
60428         __statfs_link_max.
60429         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
60430         __statfs_link_max.
60432         [BZ #12868]
60433         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
60434         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60435         Handle Lustre.
60436         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
60437         (__statfs_filesize_max): Likewise.
60438         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
60440 2011-07-05  Andreas Jaeger  <aj@suse.de>
60442         * resolv/res_comp.c (dn_skipname): Remove unused variable.
60444 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
60446         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
60447         `status' variable.
60448         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
60449         Likewise.
60451 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
60453         * Makefile (strop-tests): Add strncat.
60454         * string/test-strncat.c: New file.
60456 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
60458         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
60460 2011-06-21  Andreas Jaeger  <aj@suse.de>
60462         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
60463         Copy rule from iconvdata/Makefile.
60465 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
60467         [BZ #12922]
60468         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
60469         but no long options are defined, just return 'W'.
60471 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
60473         [BZ #9696]
60474         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
60476 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
60478         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
60479         netgroups to read.
60480         (innetgr): Likewise.
60482 2011-07-05  Roland McGrath  <roland@hack.frob.com>
60484         * config.make.in (install_root): Default to $(DESTDIR).
60486 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
60488         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
60490 2011-07-02  Roland McGrath  <roland@hack.frob.com>
60492         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
60494         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
60495         containing directory rather than embedding absolute directory names.
60497         * scripts/check-local-headers.sh: Rewritten using awk.
60498         Match by word, not by line.  Print error messages for matches.
60499         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
60501         * Makerules [shlib-lds-flags empty]:
60502         ($(common-objpfx)libc_pic.opts): New target.
60503         ($(common-objpfx)libc_pic.os.clean): New target.
60504         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
60506         * config.make.in (OBJCOPY): New variable.
60507         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
60508         * configure: Regenerated.
60510         * config.make.in (use-default-link): New variable.
60511         * configure.in (use_default_link): Grok --with-default-link to set it.
60512         * configure: Regenerated.
60513         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
60514         (shlib-lds, shlib-lds-flags): Define to empty.
60516         * Makerules (shlib-lds): New variable.
60517         (shlib-lds-flags): New variable.
60518         (build-shlib, build-moduile, build-module-asneeded): Use it.
60519         ($(common-objpfx)libc.so): Use $(shlib-lds).
60520         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
60521         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
60523         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
60524         DT_FLAGS/DT_FLAGS_1 with zero flags.
60526         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
60527         linker script munging.
60529 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
60531         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
60532         as 128-bit value.
60533         * crypt/sha512.c (sha512_process_block): Perform total addition using
60534         128-bit if possible.
60535         (__sha512_finish_ctx): Likewise.
60536         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
60537         as 64-bit value.
60538         * crypt/sha256.c (SWAP64): Define.
60539         (sha256_process_block): Perform total addition using 64-bit if
60540         possible.
60541         (__sha256_finish_ctx): Likewise.
60543 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
60545         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
60546         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60547         * nscd/hstcache.c (cache_addhst): Likewise.
60548         * nscd/grpcache.c (cache_addgr): Likewise.
60549         * nscd/aicache.c (addhstaiX): Likewise
60550         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
60552 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
60554         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
60555         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60556         * nscd/hstcache.c (cache_addhst): Likewise.
60557         * nscd/grpcache.c (cache_addgr): Likewise.
60558         * nscd/aicache.c (addhstaiX): Likewise
60560 2011-07-01  Andreas Schwab  <schwab@redhat.com>
60562         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
60563         domain only when needed.
60565 2011-06-30  Andreas Schwab  <schwab@redhat.com>
60567         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
60568         is always restored.
60570 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
60572         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
60573         are re-adding the entry.
60574         * nscd/servicescache.c (cache_addserv): Likewise.
60576 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
60578         * sysdeps/generic/dl-irel.h: fix protection against multiple
60579         inclusions.
60580         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
60582 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
60584         [BZ #12935]
60585         * malloc/memusage.sh: Fix quoting in message.
60586         * debug/xtrace.sh: Likewise.
60588         * configure.in: Remove support for --experimental-malloc option, make
60589         it the default.
60590         * config.make.in: Likewise.
60591         * malloc/Makefile: Likewise.
60593 2011-06-27  Andreas Schwab  <schwab@redhat.com>
60595         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
60596         two-byte characters.
60598 2011-06-27  Roland McGrath  <roland@hack.frob.com>
60600         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
60601         AC_CACHE_CHECK invocation.
60602         * configure: Regenerated.
60604         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
60606 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
60608         [BZ #12350]
60609         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
60610         bit from old_res_options.
60612         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
60614         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
60615         value type for setfct.
60617 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
60619         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
60620         __gettimeofday instead of gettimeofday.
60622 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
60624         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
60626 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
60628         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
60630         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
60631         info.
60633 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
60635         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60636         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
60637         strcpy-sse2-unaligned strncpy-sse2-unaligned
60638         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
60639         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
60640         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
60641         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
60642         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
60643         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
60644         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
60645         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
60646         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
60647         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
60648         (STRCPY): Support SSE2 and SSSE3 versions.
60650 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
60652         [BZ #12874]
60653         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
60654         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
60655         kernels which artificially limit size of requests.
60657 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
60659         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60660         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
60661         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
60662         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
60663         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
60664         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
60665         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
60666         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
60667         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
60668         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
60669         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
60670         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
60671         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
60672         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
60673         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
60674         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60675         Enable unaligned load optimization for Intel Core i3, i5 and i7
60676         processors.
60677         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
60678         Define.
60679         (index_Fast_Unaligned_Load): Define.
60680         (HAS_FAST_UNALIGNED_LOAD): Define.
60682 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
60684         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
60686 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
60688         [BZ #12907]
60689         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
60690         until it is clear that the information is realy needed.
60691         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
60693 2011-06-22  Andreas Schwab  <schwab@redhat.com>
60695         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
60697 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
60699         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
60700         /sys/devices/system/cpu/online if it is usable.
60702         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
60703         reading the information from the /proc filesystem to once a second.
60705 2011-06-21  Andreas Jaeger  <aj@suse.de>
60707         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
60708         NULL after inclusion of kernel headers.
60710 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
60712         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
60713         calls to internal_setent.
60715         [BZ #12885]
60716         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
60717         addresses using gethostbyname4_r ignore IPv4 addresses.
60719         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
60720         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
60722         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
60724 2011-06-20  David S. Miller  <davem@davemloft.net>
60726         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
60727         inclusions.
60728         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
60730         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
60731         (elf_irel): Use it.
60732         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
60733         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
60734         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
60735         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
60736         * sysdeps/x86_64/dl-irel.h: Likewise.
60738         * elf/dl-runtime.c: Use elf_ifunc_invoke.
60739         * elf/dl-sym.c: Likewise.
60741 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
60743         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
60744         need to dereference resplen2.
60746 2011-06-14  Andreas Schwab  <schwab@redhat.com>
60748         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
60750 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
60752         * Makeconfig: Define vardbdir and inst_vardbdir.
60753         * nss/Makefile: Add rules to install db-Makefile.
60755         * nss/nss_db/db-XXX.c: Cleanup.
60757         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
60758         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
60759         GLIBC_PRIVATE.
60760         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
60761         * nss/makedb.c: Implement -g option to specify that value strings
60762         are generated and should not be added to table iterated over for
60763         get*ent calls.
60764         * nss/nss_db/db-initgroups.c: New file.
60766         * nss/getent.c: Add support for initgroups lookups through getgrouplist
60767         interface.
60769         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
60770         (internal_getgrouplist): Adjust to name change.
60771         Update use_initgroups_entry if this is not the first call.
60772         * nss/databases.def: Add initgroups entry.
60774         * nss/makedb.c (compute_tables): Check result of multiple hash table
60775         sizes to minimize maximum chain length.
60777 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
60779         * Versions.def: Add entry for libnss_db.
60780         * shlib-versions: Likewise.
60781         * nss/Makefile: Add rules to build libnss_db.
60782         * nss/Versions: Add libnss_db information.  Organize libnss_files
60783         entries better.
60784         * nss/db-Makefile: Add gshadow support.  Change rules for the new
60785         makedb progra.  Some minor improvements to generate smaller files.
60786         * nss/nss_db/nss_db.h: Move NSS database header data structures to
60787         here from...
60788         * nss/makedb.c: ...here.
60789         Improve database format to be smaller and require less memory at
60790         runtime.
60791         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
60792         db anymore.
60793         * nss/nss_db/db-netgrp.c: Likewise.
60794         * nss/nss_db/db-open.c: Likewise.
60795         * nss/nss_files/flies-XXX.x: Adjust comments.
60796         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
60797         * nss/nss_files/files-grp.c: Likewise.
60798         * nss/nss_files/files-hosts.c: Likewise.
60799         * nss/nss_files/files-network.c: Likewise.
60800         * nss/nss_files/files-proto.c: Likewise.
60801         * nss/nss_files/files-pwd.c: Likewise.
60802         * nss/nss_files/files-rpc.c: Likewise.
60803         * nss/nss_files/files-service.c: Likewise.
60804         * nss/nss_files/files-sgrp.c: Likewise.
60805         * nss/nss_files/files-spwd.c: Likewise.
60806         * nss/nss_db/db-alias.c: Removed.
60807         * nss/nss_db/dummy-db.h: Removed.
60809 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
60811         * nss/makedb.c: Rewritten to not use database library.
60812         * nss/Makefile: Update to build new makedb program.
60814 2011-06-14  Andreas Jaeger  <aj@suse.de>
60816         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
60817         memset declaration.
60819 2011-06-10  Andreas Schwab  <schwab@redhat.com>
60821         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
60822         tmpbuf.
60824 2011-06-10  Roland McGrath  <roland@hack.frob.com>
60826         * Makerules (shlib.lds): Fail if the linker script comes out empty.
60827         * elf/Makefile ($(objpfx)ld.so): Likewise.
60829         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
60830         Don't list ld.so twice in dependencies.
60832         * posix/bug-regex31.c: Include <stdlib.h>.
60834         * nscd/hstcache.c (cache_addhst): Remove unused variable.
60836         * nis/nss_compat/compat-spwd.c
60837         (getspent_next_nss_netgr): Remove unused variable.
60838         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
60840         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
60841         nonmembers" output to use the right array.
60843         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
60845         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
60847         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
60848         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
60849         * catgets/gencat.c (read_input_file): Likewise.
60850         * locale/programs/locarchive.c (enlarge_archive): Likewise.
60852         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
60853         variable definition inside #if's controlling its use.
60855         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
60857         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
60859         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
60861         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
60862         unreachable code.
60864         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
60866         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
60867         * configure: Regenerated.
60869         * Makerules: Revert last change.
60870         * elf/Makefile: Likewise.
60872 2011-06-09  Roland McGrath  <roland@hack.frob.com>
60874         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
60875         * elf/Makefile ($(objpfx)librtld.os): Likewise.
60876         (reloc-link): Likewise.
60878 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
60880         * elf/Makefile: Add rules to build pldd.
60881         * elf/pldd.c: New file.
60882         * elf/pldd-xx.c: New file.
60884 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
60886         * version.h: Update for 2.15 development version.
60888 2011-06-07  David S. Miller  <davem@davemloft.net>
60890         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
60891         ifuncs.
60892         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
60893         elf_machine_lazy_rel): Likewise.
60894         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
60895         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
60896         elf_machine_lazy_rel): Likewise.
60897         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
60898         dl_hwcap via passed in argument.
60899         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
60900         Likewise.
60902 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60904         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
60906 2011-06-06  Roland McGrath  <roland@hack.frob.com>
60908         [BZ #12849]
60909         * manual/fdl-1.1.texi: New file, verbatim from:
60910         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
60911         * manual/lgpl-2.1.texi: New file, verbatim from:
60912         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
60913         * manual/Makefile (licenses): New variable, list those new file names.
60914         (texis): Use it.
60915         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
60917         * manual/fdl.texi: File removed.
60918         * manual/lesser.texi: File removed.
60919         * manual/libc.texinfo (Copying, Documentation License):
60920         Use new @include file names, put @appendix directive before @include.
60922 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
60924         [BZ #12841]
60925         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
60926         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
60927         (mq_open): Add __NTH.
60929 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
60931         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60932         Assume Intel Core i3/i5/i7 processor if AVX is available.
60934 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
60936         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
60937         typo.
60939 2011-05-31  Andreas Schwab  <schwab@redhat.com>
60941         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
60942         memory.  Use alloca_account.  Fix memory leak when retrying.
60944 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
60946         * version.h (RELEASE): Bump for 2.14 release.
60947         * include/features.h (__GLIBC_MINOR__): Bump to 14.
60949         * config.make.in (RANLIB): Remove entry.
60951 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
60953         * po/Makefile (po-sed-cmd): Add ksh to extensions.
60954         (libc.pot): Work around missing support for .ksh extension in xgettext.
60956         [BZ #12684]
60957         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
60958         if both request failed.
60959         (send_dg): In case of server errors clear resplen or *resplen2.
60961         [BZ #12454]
60962         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
60963         when there are multiple maps.
60964         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
60965         (_dl_fini): Remove test here.
60967         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
60969 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
60971         [BZ #12350]
60972         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
60973         bit from old_res_options.
60974         (gaih_inet): Likewise.
60976         [BZ #11099]
60977         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
60978         as signed.
60980         * resolv/res_init.c (res_setoptions): Make the code more compact.
60982         [BZ #11558]
60983         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
60984         set RES_USEVC.
60986         [BZ #11634]
60987         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
60989         * malloc/malloc.h: Mark malloc hook variables as deprecated.
60991         [BZ #11781]
60992         * malloc/malloc.h: Declare malloc hook variables as volatile.
60994         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
60995         in last patch.
60997         [BZ #11799]
60998         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
60999         raise in the comment.
61000         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
61001         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
61002         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
61004 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
61006         [BZ #12811]
61007         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
61008         grow the buffers more if it already has to be sufficient.
61009         (build_wcs_upper_buffer): Likewise.
61010         * posix/regexec.c (check_matching): Likewise.
61011         (clean_state_log_if_needed): Likewise.
61012         (extend_buffers): Don't enlarge buffers beyond size of the input
61013         buffer.
61014         Patches mostly by Emil Wojak <emil@wojak.eu>.
61015         * posix/bug-regex32.c: New file.
61016         * posix/Makefile (tests): Add bug-regex32.
61018         * locale/findlocale.c (_nl_find_locale): Return right away if
61019         _nl_explode_name failed.
61020         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
61022         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
61024         * debug/xtrace.sh: Unify messages.
61025         * malloc/memusage.sh: Likewise.
61027         [BZ #12813]
61028         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
61029         time symbol from vDSO.  Substitute with vsyscall if not available.
61030         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
61031         __vdso_time.
61033         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
61034         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
61035         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
61036         Add sendmmsg and internal_sendmmsg.
61037         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
61038         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
61039         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
61041         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
61042         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
61043         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
61045 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
61047         [BZ #12813]
61048         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
61049         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
61050         available.
61051         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
61052         __vdso_getcpu.
61054         [BZ #12814]
61055         * iconvdata/Makefile (tests): Add bug-iconv9.
61056         * iconvdata/bug-iconv9.c: New file.
61058 2011-05-27  Andreas Schwab  <schwab@redhat.com>
61060         [BZ #12814]
61061         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
61063 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
61065         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61066         (struct user_regs_struct): Change intcs field back to cs.
61068 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
61070         * po/ja.po: Update from translation team.
61072 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
61074         [BZ #12795]
61075         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
61076         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
61078 2011-05-20  Andreas Schwab  <schwab@redhat.com>
61080         * stdlib/longlong.h: Update from GCC.
61082 2011-05-23  Andreas Schwab  <schwab@redhat.com>
61084         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
61085         parameter name.
61086         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
61087         Add parameter name.
61088         (__sysconf): Pass it down.
61090 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
61092         [BZ #12671]
61093         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
61094         some situations.
61095         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
61096         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
61097         add in in __libc_use_alloca calls.  Adjust callers.
61098         (glob): Use malloc in some situations.
61100         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
61101         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
61102         pltexit.
61104 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
61106         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
61107         and CLOCK_BOOTTIME_ALARM.
61109         [BZ #12782]
61110         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
61111         is returned.
61113         * string/_strerror.c (__strerror_r): Print negative errors as signed
61114         numbers.
61116         [BZ #12777]
61117         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
61118         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
61119         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
61121         * configure.in: Fix typo in redirection and correct removal of test
61122         files in two cases.
61124         [BZ #12788]
61125         * locale/setlocale.c (new_composite_name): Fix test to check for
61126         identical name of all categories.
61128         [BZ #12792]
61129         * libio/filedoalloc.c (local_isatty): New function.
61130         (_IO_file_doallocate): Use local_isatty.
61131         * stdio-common/perror.c (perror): In case a new stream is used
61132         forward the stream error.
61133         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
61134         error flag.
61136 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
61138         [BZ #11869]
61139         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
61140         alloca.
61141         * include/alloca.h (extend_alloca_account): Define.
61143         [BZ #11857]
61144         * posix/regex.h: Fix comments with documentation of user-accessible
61145         fields after compilation and describe correct free'ing of pattern
61146         after re_compile_pattern.
61147         Patch by Reuben Thomas <rrt@sc3d.org>.
61149 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
61151         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
61152         and -mno-altivec to prevent the compiler from using Altivec and/or
61153         VSX instructions when the corresponding registers are not available.
61155 2011-05-19  Andreas Schwab  <schwab@redhat.com>
61157         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
61159 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
61161         * libio/freopen.c (freopen): Use __dup2, not dup2.
61162         * libio/freopen64.c (freopen64): Likewise.
61164 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61166         [BZ #12775]
61167         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
61168         * math/Makefile (tests): Add test-powl.
61169         (CFLAGS-test-powl.c): Define.
61170         * math/test-powl.c: New file.
61172 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61174         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
61176 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
61178         [BZ #11837]
61179         * iconvdata/gb18030.c: Update to GB18020-2005.
61181 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
61183         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
61184         RE_SYNTAX_POSIX_AWK): Update to match recent development.
61185         Patch by Aharon Robbins <arnold@skeeve.com>.
61187         [BZ #11892]
61188         * stdlib/putenv.c (putenv): Don't always create copy of the variable
61189         on the stack.
61191         [BZ #11895]
61192         * misc/pselect.c (__pselect): Handle timeout value errors hidden
61193         through underflows.
61195         [BZ #12766]
61196         * misc/error.c (error_at_line): Ensure file_name and old_file_name
61197         point to strings before performing equality test for error_one_per_line
61198         mode.
61200         [BZ #11697]
61201         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
61203         [BZ #11820]
61204         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61205         (struct user_fpregs_struct): Avoid __uint*_t types.
61207         [BZ #6420]
61208         * malloc/mtrace.c (tr_where): Add additional parameter to point to
61209         symbol info.  Use it instead of calling _dl_addr locally.
61210         (lock_and_info): New function.
61211         (tr_freehook): Call lock_and_info and pass symbol info as additional
61212         parameter to tr_where.
61213         (tr_mallochook): Likewise.
61214         (tr_reallochook): Likewise.
61215         (tr_memalignhook): Likewise.
61217         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
61218         used and couldn't be at all thread-safe.
61220 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
61222         * libio/freopen.c (freopen): Don't close old file descriptor
61223         before the new one is opened.  Instead dup the new file descriptor
61224         to the old one after the new stream is created.
61225         * libio/freopen64.c (freopen64): Likewise.
61226         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
61227         * libio/fileops.c (_IO_new_file_close_it): Handle new
61228         _IO_FLAGS2_NOCLOSE flag.
61229         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
61230         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
61231         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
61232         _IO_FLAGS2_NOCLOSE flag.
61233         * include/unistd.h: Add hidden_proto for dup3.
61234         Define __have_dup3.
61235         * io/dup3.c: Define hidden symbol.
61236         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
61238         [BZ #7101]
61239         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
61240         when an incomplete long option is used.
61241         * posix/tst-getopt_long1.c: New file.
61242         * posix/Makefile (tests): Add tst-getopt_long1.
61244         [BZ #10138]
61245         * scripts/config.guess: Update from autoconf-2.68.
61246         * scripts/config.sub: Likewise.
61248         [BZ #10157]
61249         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
61250         tests into ...
61251         (has_cpuclock): ...this.  New function.
61252         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
61253         macro here based on has_cpuclock code.
61255         [BZ #10149]
61256         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61257         First byte (not low byte) is now always NUL.
61258         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
61260         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61261         Use non-cancelable interfaces.
61263         [BZ #9809]
61264         * locale/iso-639.def: Add entry for Sorani.
61266         [BZ #11901]
61267         * include/stdlib.h: Move include protection to the right place.
61268         Define abort_msg_s.  Declare __abort_msg with it.
61269         * stdlib/abort.c (__abort_msg): Adjust type.
61270         * assert/assert.c (__assert_fail_base): New function.  Majority
61271         of code from __assert_fail.  Allocate memory for __abort_msg with
61272         mmap.
61273         (__assert_fail): Now call __assert_fail_base.
61274         * assert/assert-perr.c: Remove bulk of implementation.  Use
61275         __assert_fail_base.
61276         * include/assert.hL Declare __assert_fail_base.
61277         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
61278         mmap.
61279         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
61281 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
61283         [BZ #11952]
61284         [BZ #12453]
61285         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
61286         until all modules are registered in the DTV.
61287         * elf/Makefile: Add rules to build and run tst-tls19.
61288         * elf/tst-tls19.c: New file.
61289         * elf/tst-tls19mod1.c: New file.
61290         * elf/tst-tls19mod2.c: New file.
61291         * elf/tst-tls19mod3.c: New file.
61292         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
61294         [BZ #12083]
61295         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
61296         correctly.
61298         [BZ #12601]
61299         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
61300         two-byte sequence errors.
61301         * iconvdata/Makefile (tests): Add bug-iconv8.
61302         * iconvdata/bug-iconv8.c: New file.
61304         [BZ #12626]
61305         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
61306         buf2 definition.
61308         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
61310         [BZ #12432]
61311         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
61312         (dummy_getcfa): New function.
61313         (init): Get _Unwind_GetCFA address, use dummy if not found.
61314         (backtrace_helper): In recursion check, also check whether CFA changes.
61315         (__backtrace): Completely initialize arg.
61317         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
61318         storing incomplete byte sequence in state object.  Avoid testing for
61319         guaranteed too small input if we know there is enough data available.
61321 2011-05-11  Andreas Schwab  <schwab@redhat.com>
61323         * Makeconfig (+link-pie): Indent.
61324         * Rules (binaries-pie): Define if $(have-fpie) and
61325         $(build-shared).
61326         (binaries-shared): Also filter out $(binaries-pie).
61327         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
61328         * nscd/Makefile (others-pie): Add nscd.
61329         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
61330         ($(objpfx)nscd): Remove command override.
61331         * login/Makefile (others-pie): Add pt_chown.
61332         ($(objpfx)pt_chown): Remove command override.
61333         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
61334         remove command overrides.
61336 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
61338         * libio/tst_putwc.c: Fix error messages.
61340         [BZ #12724]
61341         * libio/fileops.c (_IO_new_file_close_it): Always flush when
61342         currently writing and seek to current position when not.
61343         * libio/Makefile (tests): Add bug-fclose1.
61344         * libio/bug-fclose1.c: New file.
61346 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
61348         [BZ #12511]
61349         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
61350         don't set DF_1_NODELETE here.
61351         (do_lookup_x): When entering new entry test for copy relocation
61352         and if necessary set DF_1_NODELETE flag.
61353         * elf/tst-unique4.cc: New file.
61354         * elf/tst-unique4.h: New file.
61355         * elf/tst-unique4lib.cc: New file.
61356         * elf/Makefile: Add rules to build and run tst-unique4.
61357         Patch by Piotr Bury <pbury@goahead.com>.
61359 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
61361         [BZ #12052]
61362         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
61364         [BZ #12625]
61365         * misc/mntent_r.c (addmntent): Flush the stream after the output
61367         [BZ #12393]
61368         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
61369         (is_trusted_path_normalize): Skip initial colon.  Append slash
61370         to empty buffer.  Duplicate is_trusted_path code but allow
61371         constructed patch to be prefix.
61372         (is_dst): Allow $ORIGIN followed by /.
61373         (_dl_dst_substitute): Correct clearing of check_for_trusted.
61374         Correct testing of result of is_trusted_path_normalize
61375         (decompose_rpath): Fix warning.
61377 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
61379         [BZ #11257]
61380         * grp/initgroups.c (internal_getgrouplist): When we found the service
61381         list through the initgroups entry in nsswitch.conf do not always
61382         continue on a successful lookup.  Don't always use the
61383         __nss_group_database value if it is set.
61384         * nss/nsswitch.conf (initgroups): Change action for successful db
61385         lookup to continue for compatibility.
61387 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
61389         [BZ #11532]
61390         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
61391         and CP774 modules.
61392         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
61393         and CP774 modules.
61394         * iconvdata/tst-tables.sh: Likewise.
61395         * iconvdata/cp770.c: New file.
61396         * iconvdata/cp771.c: New file.
61397         * iconvdata/cp772.c: New file.
61398         * iconvdata/cp773.c: New file.
61399         * iconvdata/cp774.c: New file.
61400         * iconvdata/testdata/CP770: New file.
61401         * iconvdata/testdata/CP770..UTF8: New file.
61402         * iconvdata/testdata/CP771: New file.
61403         * iconvdata/testdata/CP771..UTF8: New file.
61404         * iconvdata/testdata/CP772: New file.
61405         * iconvdata/testdata/CP772..UTF8: New file.
61406         * iconvdata/testdata/CP773: New file.
61407         * iconvdata/testdata/CP773..UTF8: New file.
61408         * iconvdata/testdata/CP774: New file.
61409         * iconvdata/testdata/CP774..UTF8: New file.
61411         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
61412         END CHARMAP line.
61413         * iconvdata/gen-8bit-gap.sh: Likewise.
61414         * iconvdata/gen-8bit.sh: Likewise.
61416         * locale/iso-639.def: Add ary entry.
61418         [BZ #11258]
61419         * locale/C-translit.h.in: Add U20A1 transliteration.
61421         [BZ #12178]
61422         * locale/iso-639.def: Add wae entry.
61423         Patch by Kevin Bortis <bortis@translate-wae.ch>.
61425         [BZ #12545]
61426         * locale/programs/localedef.c (construct_output_path): Use ssize_t
61427         for n.
61429         [BZ #12711]
61430         * locale/C-translit.h.in: Add entry for U20B9.
61431         Patch by pravin.d.s@gmail.com.
61433 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
61435         [BZ #12713]
61436         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
61437         ENAMETOOLONG use generic getcwd.
61438         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
61439         in rtld.  Use *stat64.
61440         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
61441         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
61442         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
61443         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
61444         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
61445         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
61446         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
61447         __fstatat64 macros.
61448         * include/dirent.h: Add libc_hidden_proto for rewinddir.
61449         * dirent/rewinddir.c: Add libc_hidden_def.
61450         * sysdeps/mach/hurd/rewinddir.c: Likewise.
61451         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
61453         * include/dirent.h (__alloc_dir): Add flags parameter.
61454         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
61455         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
61456         __alloc_dir.
61457         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
61458         from fdopendir if O_CLOEXEC is already set.
61460 2011-03-15  Alan Modra  <amodra@gmail.com>
61462         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
61463         l_tls_firstbyte_offset non-zero.  Save padding offset in
61464         l_tls_firstbyte_offset for later use.
61465         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
61466         freeing static tls block.
61468 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
61470         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
61471         where #ifdef was intended.  The intent is to prevent ARG_MAX from
61472         being defined by the kernel headers.
61474 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
61476         [BZ #12734]
61477         * resolv/resolv.h: Define RES_NOTLDQUERY.
61478         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
61479         no-tld-query and set RES_NOTLDQUERY.
61480         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
61481         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
61482         modern BIND to search name as TLD unless forbidden.
61484 2011-05-07  Petr Baudis  <pasky@suse.cz>
61485             Ulrich Drepper  <drepper@gmail.com>
61487         [BZ #12393]
61488         * elf/dl-load.c (fillin_rpath): Move trusted path check...
61489         (is_trusted_path): ...to here.
61490         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
61491         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
61492         using is_trusted_path_normalize() in setuid scripts.
61494 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
61496         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
61497         __BEGIN/__END_DECLS.
61499 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
61501         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
61502         NSS_STATUS_NOTFOUND if no record was found.
61504 2011-05-05  Andreas Schwab  <schwab@redhat.com>
61506         * sunrpc/Makefile (headers): Add rpc/netdb.h.
61507         (headers-not-in-tirpc): Remove rpc/netdb.h
61508         * resolv/netdb.h: Revert last change.
61510 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
61512         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
61513         circular dependency between libgcc.a and libc.a.
61515 2011-05-05  Andreas Schwab  <schwab@redhat.com>
61517         * resolv/netdb.h: Don't include <rpc/netdb.h>.
61518         * nis/Makefile: Don't install rpcsvc/*.
61519         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
61520         instead of <rpc/types.h>.
61521         (MAXHOSTNAMELEN): Define.
61523 2011-05-03  Andreas Schwab  <schwab@redhat.com>
61525         * elf/ldconfig.c (add_dir): Don't crash on empty path.
61527 2011-04-28  Maciej Babinski  <mbabinski@google.com>
61529         [BZ #12714]
61530         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
61531         gethostbyname4_r when IPv6 results are possible.
61533 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
61535         [BZ #12723]
61536         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
61537         _PC_PIPE_BUF handling.
61539 2011-04-30  Bruno Haible  <bruno@clisp.org>
61541         [BZ #12717]
61542         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
61543         * resolv/netdb.h (getnameinfo): Change type of flags parameter
61544         to 'int'.
61545         * inet/getnameinfo.c (getnameinfo): Likewise.
61547 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
61549         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
61550         to groups setting in database lookup.
61551         * nss/nsswitch.conf: Add initgroups entry.
61553 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
61555         [BZ #12685]
61556         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
61557         mode string.
61558         Patch by Eric Blake <eblake@redhat.com>.
61560 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
61562         * sunrpc/Makefile (need-export-routines): Add svc_run.
61563         (routines): Remove svc_run.
61564         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
61565         * sunrpc/clnt_perr.c (clnt_perrno): Export.
61566         * sunrpc/svc_run.c (svc_run): Likewise.
61567         * sunrpc/svc_udp.c (svcudp_create): Likewise.
61569 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
61571         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
61572         problem in reallocation in last patch.
61574 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
61576         * sunrpc/Makefile: Move inclusion of Rules.
61578 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
61580         * nss/nss_files/files-initgroups.c: New file.
61581         * nss/Makefile (libnss_files-routines): Add files-initgroups.
61582         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
61583         _nss_files_initgroups_dyn.
61585 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
61587         * elf/elf.h (R_ARM_IRELATIVE): Define.
61589 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
61591         * po/ru.po: Update from translation team.
61593 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
61595         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
61596         dependencies.
61598 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
61600         [BZ #12653]
61601         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
61602         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
61603         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
61604         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
61605         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
61607 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
61609         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
61610         differing bytes.
61611         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
61612         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
61613         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61615 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
61617         [BZ #12420]
61618         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
61619         storing it.
61620         * stdlib/bug-getcontext.c: New file.
61621         * stdlib/Makefile: Add rules to build and run bug-getcontext.
61623 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61625         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
61626         instructions into .machine "z9-109".
61627         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
61628         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
61630 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61632         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
61633         between environment variables and auxiliary vector.
61635 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
61637         * Makefile: Add rules to build linkobj/libc.so.
61638         * include/libc-symbols.h: Define libc_hidden_nolink.
61639         * include/rpc/auth.h: Mark functions which are to be hidden.
61640         * include/rpc/auth_des.h: Likewise.
61641         * include/rpc/auth_unix.h: Likewise.
61642         * include/rpc/clnt.h: Likewise.
61643         * include/rpc/des_crypt.h: Likewise.
61644         * include/rpc/key_prot.h: Likewise.
61645         * include/rpc/pmap_clnt.h: Likewise.
61646         * include/rpc/pmap_prot.h: Likewise.
61647         * include/rpc/pmap_rmt.h: Likewise.
61648         * include/rpc/rpc_msg.h: Likewise.
61649         * include/rpc/svc.h: Likewise.
61650         * include/rpc/svc_auth.h: Likewise.
61651         * include/rpc/xdr.h: Likewise.
61652         * nis/Makefile: Link all DSOs against linkobj/libc.so.
61653         * nss/Makefile: Likewise.
61654         * sunrpc/Makefile: Don't install headers.  Build library with normal
61655         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
61656         * sunrpc/auth_des.c: Hide exported symbols by default, export some
61657         for the compat linking library.  Remove use of INTDEF/INTUSE.
61658         * sunrpc/auth_none.c: Likewise.
61659         * sunrpc/auth_unix.c: Likewise.
61660         * sunrpc/authdes_prot.c: Likewise.
61661         * sunrpc/authuxprot.c: Likewise.
61662         * sunrpc/clnt_gen.c: Likewise.
61663         * sunrpc/clnt_perr.c: Likewise.
61664         * sunrpc/clnt_raw.c: Likewise.
61665         * sunrpc/clnt_simp.c: Likewise.
61666         * sunrpc/clnt_tcp.c: Likewise.
61667         * sunrpc/clnt_udp.c: Likewise.
61668         * sunrpc/clnt_unix.c: Likewise.
61669         * sunrpc/des_crypt.c: Likewise.
61670         * sunrpc/des_soft.c: Likewise.
61671         * sunrpc/get_myaddr.c: Likewise.
61672         * sunrpc/key_call.c: Likewise.
61673         * sunrpc/key_prot.c: Likewise.
61674         * sunrpc/netname.c: Likewise.
61675         * sunrpc/pm_getmaps.c: Likewise.
61676         * sunrpc/pm_getport.c: Likewise.
61677         * sunrpc/pmap_clnt.c: Likewise.
61678         * sunrpc/pmap_prot.c: Likewise.
61679         * sunrpc/pmap_prot2.c: Likewise.
61680         * sunrpc/pmap_rmt.c: Likewise.
61681         * sunrpc/publickey.c: Likewise.
61682         * sunrpc/rpc_cmsg.c: Likewise.
61683         * sunrpc/rpc_common.c: Likewise.
61684         * sunrpc/rpc_dtable.c: Likewise.
61685         * sunrpc/rpc_prot.c: Likewise.
61686         * sunrpc/rpc_thread.c: Likewise.
61687         * sunrpc/rtime.c: Likewise.
61688         * sunrpc/svc.c: Likewise.
61689         * sunrpc/svc_auth.c: Likewise.
61690         * sunrpc/svc_authux.c: Likewise.
61691         * sunrpc/svc_raw.c: Likewise.
61692         * sunrpc/svc_run.c: Likewise.
61693         * sunrpc/svc_simple.c: Likewise.
61694         * sunrpc/svc_tcp.c: Likewise.
61695         * sunrpc/svc_udp.c: Likewise.
61696         * sunrpc/svc_unix.c: Likewise.
61697         * sunrpc/svcauth_des.c: Likewise.
61698         * sunrpc/xcrypt.c: Likewise.
61699         * sunrpc/xdr.c: Likewise.
61700         * sunrpc/xdr_array.c: Likewise.
61701         * sunrpc/xdr_float.c: Likewise.
61702         * sunrpc/xdr_intXX_t.c: Likewise.
61703         * sunrpc/xdr_mem.c: Likewise.
61704         * sunrpc/xdr_rec.c: Likewise.
61705         * sunrpc/xdr_ref.c: Likewise.
61706         * sunrpc/xdr_sizeof.c: Likewise.
61707         * sunrpc/xdr_stdio.c: Likewise.
61709 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
61711         [BZ #12650]
61712         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
61713         * sysdeps/ia64/dl-tls.h: Likewise.
61714         * sysdeps/powerpc/dl-tls.h: Likewise.
61715         * sysdeps/s390/dl-tls.h: Likewise.
61716         * sysdeps/sh/dl-tls.h: Likewise.
61717         * sysdeps/sparc/dl-tls.h: Likewise.
61718         * sysdeps/x86_64/dl-tls.h: Likewise.
61719         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
61721 2011-03-14  Andreas Schwab  <schwab@redhat.com>
61723         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
61724         rpath element also skip the following colon.
61725         (expand_dynamic_string_token): Add is_path parameter and pass
61726         down to DL_DST_REQUIRED and _dl_dst_substitute.
61727         (decompose_rpath): Call expand_dynamic_string_token with
61728         non-zero is_path.  Ignore empty rpaths.
61729         (_dl_map_object_from_fd): Call expand_dynamic_string_token
61730         with zero is_path.
61732 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
61734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
61735         Make cancelable.
61737 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
61739         [BZ #12655]
61740         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
61741         Patch by Filipe David Manana <fdmanana@apache.org>.
61743 2011-04-07  Andreas Schwab  <schwab@redhat.com>
61745         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
61746         Maintain aligned stack.
61747         (CHECK_RSP): Remove unused macro.
61749 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
61751         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
61752         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
61754 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
61756         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
61758         * include/features.h: Mention __USE_XOPEN2K8 in comment.
61760 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
61762         [BZ #12518]
61763         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
61764         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
61765         * sysdeps/x86_64/memmove.c: New file.
61766         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
61767         (memcpy): Renamed to ...
61768         (__new_memcpy): This.
61769         (memcpy): Provide GLIBC_2_14 memcpy.
61770         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
61771         (memcpy): Provide GLIBC_2_2_5 memcpy.
61773 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61775         [BZ #12631]
61776         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
61778 2011-03-30  Andreas Schwab  <schwab@redhat.com>
61780         * misc/syncfs.c: New file.
61781         * misc/Makefile (routines): Add syncfs.
61782         * posix/unistd.h: Declare syncfs.
61783         * sysdeps/unix/syscalls.list: Add syncfs.
61785 2011-04-01  Andreas Schwab  <schwab@redhat.com>
61787         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
61788         open_by_handle_at.
61789         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61790         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61791         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61792         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61793         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61794         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
61795         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61797 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61799         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
61800         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61801         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
61802         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61803         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61804         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61805         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61807         * io/Makefile: Compile fallocate.c, fallocate64.c, and
61808         sync_file_range.c with -fexceptions.
61809         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
61810         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
61811         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
61812         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
61813         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
61814         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
61815         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
61816         sync_file_range as cancellation point
61817         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
61818         now a wrapper around __call_sync_file_range with cancellation handling.
61819         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
61820         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
61821         function name to __call_sync_file_range.
61822         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
61823         Add call_sync_file_range.
61825 2011-04-01  Andreas Schwab  <schwab@redhat.com>
61827         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61828         bits/timex.h.
61830 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61832         * iconv/iconv.h: Fix typo in comment.
61833         * io/fcntl.h: Likewise.
61834         * libio/stdio.h: Likewise.
61835         * posix/spawn.h: Likewise.
61836         * posix/unistd.h: Likewise.
61837         * stdlib/stdlib.h: Likewise.
61838         * time/time.h: Likewise.
61839         * wcsmbs/wchar.h: Likewise.
61841         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
61842         open_by_handle): Add.
61843         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
61844         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
61845         Augment a few comments.
61846         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61847         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61848         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61849         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61850         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61851         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
61852         open_by_handle.
61854         * io/fcntl.h (AT_EMPTY_PATH): Define.
61856 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
61858         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
61859         * sysdeps/unix/sysv/linux/bits/time.h: New file.
61860         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
61861         to...
61862         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
61863         * Versions.def: Add GLIBC_2.14.
61864         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
61865         Export.
61867 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
61869         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
61870         round counter.
61871         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
61873 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61875         [BZ #12597]
61876         * string/test-strncmp.c (do_page_test): New function.
61877         (check2): Likewise.
61878         (test_main): Call check2.
61879         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
61881 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
61883         [BZ #12587]
61884         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
61885         Handle cache information in CPU leaf 4.
61886         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
61888 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
61890         [BZ #12583]
61891         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
61892         character representation.
61893         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
61895 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
61897         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
61898         END(__isnan) to END(__isnanf) to match function entry point/label
61899         EALIGN(__isnanf,...).
61901 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
61903         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
61905 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
61907         [BZ #12510]
61908         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
61909         copy from the symbol referenced in the relocation to initialize the
61910         used variable.
61911         Patch by Piotr Bury <pbury@goahead.com>.
61912         * elf/Makefile: Add rules to build and tst-unique3.
61913         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
61914         * elf/tst-unique3.cc: New file.
61915         * elf/tst-unique3.h: New file.
61916         * elf/tst-unique3lib.cc: New file.
61917         * elf/tst-unique3lib2.cc: New file.
61919         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
61921 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
61923         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
61924         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
61925         to _start.
61927 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
61929         * elf/dl-load.c (_dl_map_object): If we are looking for the first
61930         to-be-loaded object along a path to loader is ld.so.
61932 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
61933             Ulrich Drepper  <drepper@gmail.com>
61935         * sysdeps/x86_64/memset.S: After aligning destination, code
61936         branches to different locations depending on the value of
61937         misalignment, when multiarch is enabled. Fix this.
61939 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
61941         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
61942         Set _x86_64_preferred_memory_instruction for AMD processsors.
61943         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61944         Set bit_Prefer_SSE_for_memop for AMD processors.
61946 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
61948         * libio/fmemopen.c (fmemopen): Optimize a bit.
61950 2011-03-03  Andreas Schwab  <schwab@redhat.com>
61952         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
61954 2011-03-03  Roland McGrath  <roland@redhat.com>
61956         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
61958 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
61960         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
61961         __bzero_ultra1 instead of __memset_ultra1.
61963 2011-02-23  Andreas Schwab  <schwab@redhat.com>
61964             Ulrich Drepper  <drepper@gmail.com>
61966         [BZ #12509]
61967         * include/link.h (struct link_map): Add l_orig_initfini.
61968         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
61969         returning unsuccessfully.
61970         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
61971         close of a file loaded at startup, restore the original l_initfini
61972         list.
61973         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
61974         list, store the pointer.
61975         * elf/Makefile ($(objpfx)noload-mem): New rule.
61976         (noload-ENV): Define.
61977         (tests): Add $(objpfx)noload-mem.
61978         * elf/noload.c: Include <memcheck.h>.
61979         (main): Call mtrace.  Close all opened handles.
61981 2011-02-17  Andreas Schwab  <schwab@redhat.com>
61983         [BZ #12454]
61984         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
61985         dependencies are missing.
61987 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61989         Fix __if_freereq crash: Unlike the generic version which uses free,
61990         Hurd needs munmap.
61991         * sysdeps/mach/hurd/ifreq.h: New file.
61993 2011-01-27  Petr Baudis  <pasky@suse.cz>
61994             Ulrich Drepper  <drepper@gmail.com>
61996         [BZ 12445]#
61997         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
61998         to extend_alloca().
61999         * stdio-common/bug23.c: New file.
62000         * stdio-common/Makefile (tests): Add bug23.
62002 2010-09-28  Andreas Schwab  <schwab@redhat.com>
62003             Ulrich Drepper  <drepper@gmail.com>
62005         [BZ #12489]
62006         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
62007         before performing relro protection.  At old place add assertion
62008         to make sure nothing changed.
62010 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
62011             Glauber de Oliveira Costa  <glommer@gmail.com>
62013         * elf/elf.h: Add new ARM TLS relocs.
62015 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
62017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62018         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
62019         cast from r3.
62020         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
62021         'tests' variable.
62022         * sysdeps/wordsize-64/tst-writev.c: New file.
62024 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
62026         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
62027         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
62028         insns in _dl_start to prevent a TOC reference before relocs are
62029         resolved.
62031 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
62033         [BZ #12469]
62034         * Makeconfig: Remove RANLIB definition.
62035         * Makerules: Don't use RANLIB.
62036         * aclocal.m4: Remove ranlib test.
62037         * configure.in: No need to check for ranlib.
62038         * elf/rtld-Rules: Don't use RANLIB.
62040 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62042         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
62043         protection macro.
62044         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
62045         inclusion protection macro.
62047         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
62048         SIGRTMIN and SIGRTMAX and print information in that case only when
62049         SIGRTMIN is defined.
62051 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
62053         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
62054         arginfo fn returning -1.
62056         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
62057         and thousands string is zero terminated.
62059 2011-02-03  Andreas Schwab  <schwab@redhat.com>
62061         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
62062         sysdeps/unix/sysv/linux/bits/socket.h.
62064 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62066         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
62067         (__CPU_COUNT): Remove old macros.
62068         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
62069         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
62070         (__CPU_ALLOC, __CPU_FREE): Add macros.
62071         (__sched_cpualloc, __sched_cpufree): Add declarations.
62073 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
62075         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
62076         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
62077         * nscd/aicache.c (addhstaiX): Return timeout of added value.
62078         (readdhstai): Return value of addhstaiX call.
62079         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
62080         (addgrbyX): Return value returned by cache_addgr.
62081         (readdgrbyname): Return value returned by addgrbyX.
62082         (readdgrbygid): Likewise.
62083         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
62084         (addpwbyX): Return value returned by cache_addpw.
62085         (readdpwbyname): Return value returned by addhstbyX.
62086         (readdpwbyuid): Likewise.
62087         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
62088         (addservbyX): Return value returned by cache_addserv.
62089         (readdservbyname): Return value returned by addservbyX:
62090         (readdservbyport): Likewise.
62091         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
62092         (addhstbyX): Return value returned by cache_addhst.
62093         (readdhstbyname): Return value returned by addhstbyX.
62094         (readdhstbyaddr): Likewise.
62095         (readdhstbynamev6): Likewise.
62096         (readdhstbyaddrv6): Likewise.
62097         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
62098         (readdinitgroups): Return value returned by addinitgroupsX.
62099         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
62100         (prune_cache): Keep track of timeout value of re-added entries.
62101         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
62102         * nscd/nscd.h: Adjust prototypes of readd* functions.
62104 2011-02-04  Roland McGrath  <roland@redhat.com>
62106         * nis/nis_server.c (nis_servstate): Use the right name for 0.
62107         (nis_stats): Likewise.
62108         * nis/nis_modify.c (nis_modify): Likewise.
62109         * nis/nis_remove.c (nis_remove): Likewise.
62110         * nis/nis_add.c (nis_add): Likewise.
62112         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
62114         * posix/fnmatch_loop.c: Add some consts.
62116         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
62118 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
62120         [BZ #12460]
62121         * config.make.in (config-cflags-novzeroupper): Define.
62122         * configure.in: Substitute libc_cv_cc_novzeroupper.
62123         * elf/Makefile (AVX-CFLAGS): Define.
62124         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
62125         (CFLAGS-tst-auditmod4a.c): Likewise.
62126         (CFLAGS-tst-auditmod4b.c): Likewise.
62127         (CFLAGS-tst-auditmod6b.c): Likewise.
62128         (CFLAGS-tst-auditmod6c.c): Likewise.
62129         (CFLAGS-tst-auditmod7b.c): Likewise.
62130         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
62132 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
62134         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
62135         function to the callback.
62136         Patch partly by Jiri Olsa <jolsa@redhat.com>.
62138 2011-02-02  Andreas Schwab  <schwab@redhat.com>
62140         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
62141         of errno.
62143 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
62145         [BZ #11724]
62146         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
62147         of constructors.
62148         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
62149         of destructors.
62150         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
62152         [BZ #11724]
62153         * elf/Makefile: Add rules to build and run new test.
62154         * elf/tst-initorder.c: New file.
62155         * elf/tst-initorder.exp: New file.
62156         * elf/tst-initordera1.c: New file.
62157         * elf/tst-initordera2.c: New file.
62158         * elf/tst-initordera3.c: New file.
62159         * elf/tst-initordera4.c: New file.
62160         * elf/tst-initorderb1.c: New file.
62161         * elf/tst-initorderb2.c: New file.
62162         * elf/tst-order-a1.c: New file.
62163         * elf/tst-order-a2.c: New file.
62164         * elf/tst-order-a3.c: New file.
62165         * elf/tst-order-a4.c: New file.
62166         * elf/tst-order-b1.c: New file.
62167         * elf/tst-order-b2.c: New file.
62168         * elf/tst-order-main.c: New file.
62169         New test case by George Gensure <werkt0@gmail.com>.
62171 2010-10-01  Andreas Schwab  <schwab@redhat.com>
62173         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
62174         decoding ACE if AI_CANONIDN.
62176 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
62178         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
62180 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
62182         * version.h (RELEASE): Bump for 2.13 release.
62183         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
62185         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
62187         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
62188         MADV_NOHUGEPAGE.
62189         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
62190         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
62191         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62192         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
62193         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62194         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62196         * posix/getconf.c: Update copyright year.
62197         * catgets/gencat.c: Likewise.
62198         * csu/version.c: Likewise.
62199         * debug/catchsegv.sh: Likewise.
62200         * debug/xtrace.sh: Likewise.
62201         * elf/ldconfig.c: Likewise.
62202         * elf/ldd.bash.in: Likewise.
62203         * elf/sprof.c (print_version): Likewise.
62204         * iconv/iconv_prog.c: Likewise.
62205         * iconv/iconvconfig.c: Likewise.
62206         * locale/programs/locale.c: Likewise.
62207         * locale/programs/localedef.c: Likewise.
62208         * malloc/memusage.sh: Likewise.
62209         * malloc/mtrace.pl: Likewise.
62210         * nscd/nscd.c (print_version): Likewise.
62211         * nss/getent.c: Likewise.
62213         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
62214         PF_CAIF, and PF_ALG.
62215         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62217 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
62219         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
62220         (modules-names): Use them.
62221         (ifunc-test-modules, ifunc-pie-tests): Define.
62222         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
62223         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
62224         (test-extras): Likewise.
62225         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
62226         $(compile-command.c).
62227         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
62228         (all-built-dso): Define.
62229         (check-textrel.out, check-execstack.out): Depend on it.
62231         * configure.in: Don't override --enable-multi-arch.
62233 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
62235         [BZ #6812]
62236         * nscd/hstcache.c (tryagain): Define.
62237         (cache_addhst): Return tryagain not notfound for temporary errors.
62238         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
62239         failed.
62241 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
62243         [BZ #10563]
62244         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
62245         to make the syscall.
62246         * sysdeps/unix/sysv/linux/setgroups.c: New file.
62248         [BZ #12378]
62249         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
62250         and fall back to matching as normal character if the string ends before
62251         the matching ']' is found.  This is what POSIX requires.
62252         * posix/testfnm.c: Adjust test result.
62253         * posix/globtest.sh: Adjust test result.  Add new test.
62254         * posix/tst-fnmatch.input: Likewise.
62255         * posix/tst-fnmatch2.c: Add new test.
62257 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
62259         * elf/Makefile (check-execstack): Revert last change.  Depend on
62260         check-execstack.h.
62261         (check-execstack.h): New target.
62262         (generated): Add check-execstack.h.
62263         * elf/check-execstack.c: Include "check-execstack.h".
62264         (main): Revert last change.
62265         (handle_file): Return zero if GNU_STACK is absent and
62266         DEFAULT_STACK_PERMS doesn't include PF_X.
62268 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
62270         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
62271         in child fails because the descriptor is already closed.
62272         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
62273         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
62274         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
62276         [BZ #12397]
62277         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
62278         syscall.
62280         [BZ #10484]
62281         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
62282         temporary buffer used to handle multi lookups locally.
62283         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
62285 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62287         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
62288         loader is ld.so.
62290 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
62292         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
62293         alignment for SSE2.
62295 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62297         [BZ #12394]
62298         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
62299         characters.  When rounding increased number of integer digits recompute
62300         number of groups.
62301         * stdio-common/tst-grouping.c: New file.
62302         * stdio-common/Makefile: Add rules to build and run tst-grouping.
62304 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
62306         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
62307         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
62309         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
62310         void.
62311         * bits/select.h: Likewise.
62313 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
62315         * po/ja.po: Update from translation team.
62317 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
62319         [BZ #11155]
62320         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
62321         implementation just like for lxstat, fxstatat, et al.
62323 2010-12-27  Jim Meyering  <meyering@redhat.com>
62325         [BZ #12348]
62326         * posix/regexec.c (build_trtable): Return failure indication upon
62327         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
62329 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
62331         [BZ #12201]
62332         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
62333         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
62334         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
62335         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
62337         [BZ #12207]
62338         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
62340         [BZ #12204]
62341         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
62342         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
62344 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
62346         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
62347         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
62348         script has SORT_BY_INIT_PRIORITY.
62349         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
62350         NO_CTORS_DTORS_SECTIONS is defined.
62351         * elf/soinit.c: Likewise.
62352         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
62353         NO_CTORS_DTORS_SECTIONS is defined.
62354         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
62355         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
62356         * sysdeps/sh/init-first.c: Likewise.
62357         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
62359 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
62361         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
62362         always use the slow path.
62364 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
62366         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
62367         similar rule which adds the sysdep directories to the header search in
62368         order to pick up the correct platform stackinfo.h.
62369         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
62370         perform test if it is, otherwise return successfully without testing.
62371         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
62372         DEFAULT_STACK_PERMS define in stackinfo.h.
62373         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
62374         defined in stackinfo.h.
62375         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
62376         DEFAULT_STACK_PERMS defined in stackinfo.h.
62377         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
62378         * sysdeps/ia64/stackinfo.h: Likewise.
62379         * sysdeps/s390/stackinfo.h: Likewise.
62380         * sysdeps/sh/stackinfo.h: Likewise.
62381         * sysdeps/sparc/stackinfo.h: Likewise.
62382         * sysdeps/x86_64/stackinfo.h: Likewise.
62383         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
62384         PF_X for powerpc64.  Retain PF_X for powerpc32.
62386 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
62388         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
62389         accurately.
62390         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
62391         GETDENTS_64BIT_ALIGNED.
62393 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
62395         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
62397 2010-12-10  Andreas Schwab  <schwab@redhat.com>
62399         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
62400         _GNU_SOURCE.
62402         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
62403         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
62404         Remove __restrict.
62405         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
62406         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
62408 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
62410         [BZ #11655]
62411         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
62412         are initialized.
62414 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
62416         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
62418 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
62420         * po/it.po: Update from translation team.
62422 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
62424         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
62425         unused codes.
62427 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
62429         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
62431 2010-11-24  Andreas Schwab  <schwab@redhat.com>
62433         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
62434         specially.
62435         (gaih_getanswer_slice): Likewise.
62437 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
62439         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
62441 2010-05-31  Petr Baudis  <pasky@suse.cz>
62443         [BZ #11149]
62444         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
62445         silently even in the chroot mode.
62447 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
62449         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
62450         last patch a bit.  Pretty printing
62452 2010-05-31  Petr Baudis <pasky@suse.cz>
62454         [BZ #10085]
62455         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
62456         initialization of skip_initgroups_dyn.
62458 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
62460         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
62461         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62463 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
62465         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
62467 2010-11-11  Andreas Schwab  <schwab@redhat.com>
62469         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
62470         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
62471         (tst-fnmatch-ENV): Set MALLOC_TRACE.
62472         ($(objpfx)tst-fnmatch-mem): New rule.
62473         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
62474         * posix/tst-fnmatch.c (main): Call mtrace.
62476 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
62478         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62479         Support Intel processor model 6 and model 0x2c.
62481 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
62483         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
62484           signed comparison.
62486 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
62488         [BZ #12205]
62489         * string/test-strncasecmp.c (check_result): New function.
62490         (do_one_test): Use it.
62491         (check1): New function.
62492         (test_main): Use it.
62493         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
62494         Support strcasecmp and strncasecmp.
62496 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
62498         [BZ #12194]
62499         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
62500         * sysdeps/x86_64/bits/byteswap.h: Likewise.
62502 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
62504         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
62505         IFUNC support.
62506         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62507         memset-x86-64.
62508         * sysdeps/x86_64/multiarch/bzero.S: New file.
62509         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
62510         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
62511         * sysdeps/x86_64/multiarch/memset.S: New file.
62512         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
62513         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62514         Set bit_Prefer_SSE_for_memop for Intel processors.
62515         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
62516         Define.
62517         (index_Prefer_SSE_for_memop): Define.
62518         (HAS_PREFER_SSE_FOR_MEMOP): Define.
62520 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
62522         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
62523         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
62525 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
62527         [BZ #12191]
62528         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
62529         (__x86_64_raw_data_cache_size_half): Likewise.
62530         (__x86_64_raw_shared_cache_size): Likewise.
62531         (__x86_64_raw_shared_cache_size_half): Likewise.
62533         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
62534         (__x86_64_raw_data_cache_size_half): Likewise.
62535         (__x86_64_raw_shared_cache_size): Likewise.
62536         (__x86_64_raw_shared_cache_size_half): Likewise.
62537         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
62538         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
62539         and __x86_64_raw_shared_cache_size_half.  Round
62540         __x86_64_data_cache_size_half, __x86_64_data_cache_size
62541         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
62542         to multiple of 256 bytes.
62544 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
62546         [BZ #12167]
62547         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
62548         of inacessible symlinks.  Verify result of symlink before returning it.
62549         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
62550         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
62552 2010-10-28  Erich Ritz  <erichritz@gmail.com>
62554         * math/math.h (isinf): Fix typo in comment.
62556 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
62558         * po/da.po: Update from translation team.
62560 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
62562         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
62563         is added to the list.
62565 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62566             Ulrich Drepper  <drepper@gmail.com>
62568         * elf/dl-object.c (_dl_new_object): Don't append the new object to
62569         the global list here.  Move code to...
62570         (_dl_add_to_namespace_list): ...here.  New function.
62571         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
62572         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
62573         * elf/dl-load.c (lose): Don't remove the element from the list.
62574         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
62575         (_dl_map_object): Likewise.
62577 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
62579         [BZ #12159]
62580         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
62581         into all bytes of SSE register.
62582         Patch by Richard Li <richardpku@gmail.com>.
62584 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
62586         [BZ #12140]
62587         * malloc/malloc.c (_int_free): Fill correct number of bytes when
62588         perturbing.
62590 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
62592         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
62593         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
62594         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
62595         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
62596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
62597         submachine.
62598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
62600 2010-10-22  Andreas Schwab  <schwab@redhat.com>
62602         * include/dlfcn.h (__RTLD_SECURE): Define.
62603         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
62604         mode & __RTLD_SECURE instead.
62605         (open_path): Rename preloaded parameter to secure.
62606         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
62607         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
62608         * elf/dl-deps.c (openaux): Likewise.
62609         * elf/rtld.c (struct map_args): Remove is_preloaded.
62610         (map_doit): Don't use it.
62611         (dl_main): Likewise.
62612         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
62613         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
62615 2010-09-09  Andreas Schwab  <schwab@redhat.com>
62617         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
62618         (sysd-rules-targets): Remove duplicates.
62619         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
62620         rtld-%.$o dependency.
62622 2010-10-18  Andreas Schwab  <schwab@redhat.com>
62624         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
62625         _dl_map_object do it.
62627 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
62629         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
62630         fast fma builtins, define the macros in the C99 standard.
62631         (FP_FAST_FMAF): Likewise.
62632         (FP_FAST_FMAL): Likewise.
62633         * sysdeps/x86_64/bits/mathdef.h: Likewise.
62635         * bits/mathdef.h: Update copyright year.
62636         * sysdeps/powerpc/bits/mathdef.h: Likewise.
62638 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
62640         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
62641         builtins, define the macros in the C99 standard.
62642         (FP_FAST_FMAF): Likewise.
62643         (FP_FAST_FMAL): Likewise.
62644         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
62645         multiply/add.
62646         (FP_FAST_FMAF): Likewise.
62648 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
62650         [BZ #3268]
62651         * math/libm-test.inc (fma_test): Some new testcases.
62652         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
62653         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
62654         y and infinite z.  Do multiplication by C already in long double.
62655         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
62656         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
62657         y and infinite z.  Do bitwise or of inexact bit into u.d.
62658         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
62659         * sysdeps/i386/fpu/s_fmaf.S: Removed.
62660         * sysdeps/i386/fpu/s_fma.S: Removed.
62661         * sysdeps/i386/fpu/s_fmal.S: Removed.
62663 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
62665         [BZ #3268]
62666         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
62667         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
62668         computation is not scheduled after fetestexcept.  Fix value
62669         of minimum denormal long double.
62671 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
62673         [BZ #3268]
62674         * math/libm-test.inc (fma_test): Add some more tests.
62675         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
62676         correctly.
62678 2010-10-15  Andreas Schwab  <schwab@redhat.com>
62680         * scripts/data/localplt-s390-linux-gnu.data: New file.
62681         * scripts/data/localplt-s390x-linux-gnu.data: New file.
62683 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
62685         [BZ #3268]
62686         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
62687         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
62688         instead of dbl-64.
62689         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
62690         inlines.
62691         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
62692         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
62693         if one of x and y is very large and the other is subnormal.
62694         * sysdeps/s390/fpu/s_fmaf.c: New file.
62695         * sysdeps/s390/fpu/s_fma.c: New file.
62696         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
62697         * sysdeps/powerpc/fpu/s_fma.S: New file.
62698         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
62699         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
62700         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
62702 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
62704         [BZ #3268]
62705         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
62706         fma tests.
62707         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
62708         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
62709         * sysdeps/i386/i686/multiarch/s_fma.c: Include
62710         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
62711         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
62712         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
62713         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
62715 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
62717         [BZ #12078]
62718         * posix/regcomp.c (parse_branch): One more memory leak plugged.
62719         * posix/bug-regex31.input: Add test case.
62721 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
62723         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
62724         * posix/bug-regex31.input: New file.
62726         [BZ #12078]
62727         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
62728         (parse_sub_exp): Fix last change, use postorder.
62730         * posix/bug-regex31.c: New file.
62731         * posix/Makefile: Add rules to build and run bug-regex31.
62733         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
62735         [BZ #12078]
62736         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
62738         [BZ #12108]
62739         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
62740         to have entries in sys_siglist.
62742         [BZ #12093]
62743         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
62744         be NULL.
62746 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
62748         [BZ #3268]
62749         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
62750         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
62751         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
62752         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
62753         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
62754         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
62755         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
62756         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
62757         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
62758         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
62759         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
62760         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
62761         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
62762         * math/ftestexcept.c (fetestexcept): Likewise.
62763         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
62764         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
62765         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
62766         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
62767         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
62768         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
62769         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62771 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
62773         [BZ #12107]
62774         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
62775         newline.
62777 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
62779         * string/bug-strstr1.c: New file.
62780         * string/Makefile: Add rules to build and run bug-strstr1.
62782 2010-10-05  Eric Blake  <eblake@redhat.com>
62784         [BZ #12092]
62785         * string/str-two-way.h (two_way_long_needle): Always clear memory
62786         when skipping input due to the shift table.
62788 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
62790         [BZ #12005]
62791         * malloc/mcheck.c: Handle large requests.
62793         [BZ #12077]
62794         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
62795         for strncmp and strncasecmp.
62796         * string/stratcliff.c: Add tests for strcmp and strncmp.
62797         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
62799 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62801         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
62802         __set_fpscr.
62804 2010-09-30  Andreas Jaeger  <aj@suse.de>
62806         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
62807         (CGROUP_SUPER_MAGIC): Define.
62808         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62809         Handle btrfs and cgroup file systems.
62810         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
62811         Likewise.
62813 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
62815         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
62816         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
62818 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62820         [BZ #12067]
62821         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
62822         trying to locate the ELF header.
62824 2010-09-27  Andreas Schwab  <schwab@redhat.com>
62826         [BZ #11611]
62827         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
62828         Mask out sign-bit copies when constructing f_fsid.
62830 2010-09-24  Petr Baudis <pasky@suse.cz>
62832         * debug/stack_chk_fail_local.c: Add missing licence exception.
62833         * debug/warning-nop.c: Likewise.
62835 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
62837         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
62838         implementing getdents64 using getdents syscall, set d_type if
62839         __ASSUME_GETDENTS32_D_TYPE.
62841 2010-09-16  Andreas Schwab  <schwab@redhat.com>
62843         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
62844         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
62846 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
62848         [BZ #12037]
62849         * posix/unistd.h: Undo change of feature selection for ftruncate from
62850         2010-01-11.
62852 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
62854         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
62855         detection.
62857 2010-09-20  Andreas Schwab  <schwab@redhat.com>
62859         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
62860         fanotify_mark.
62861         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
62863 2010-09-14  Andreas Schwab  <schwab@redhat.com>
62865         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
62866         variables after CHECK_SP call.
62867         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
62869 2010-09-13  Andreas Schwab  <schwab@redhat.com>
62870             Ulrich Drepper  <drepper@redhat.com>
62872         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
62873         re-relocationg ld.so.
62874         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
62875         _dl_init_paths call.
62876         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
62877         here anymore.
62879 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
62881         * resolv/res_init.c (__res_vinit): Count the default server we added.
62883 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
62884             Ulrich Drepper  <drepper@redhat.com>
62886         [BZ #11968]
62887         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
62888         (____longjmp_chk): Use %ebx for saving value across system call.
62889         Add unwind info.
62891 2010-09-06  Andreas Schwab  <schwab@redhat.com>
62893         * manual/Makefile: Don't mix pattern rules with normal rules.
62895 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
62897         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
62898         operation.
62899         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
62900         * libio/iofopncook.c (_IO_cookie_init): Likewise.
62901         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
62902         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
62903         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
62904         Likewise.
62906 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
62908         [BZ #11979]
62909         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
62910         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
62912 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
62914         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
62915         * sysdeps/x86_64/addmul_1.S: Likewise.
62916         * sysdeps/x86_64/lshift.S: Likewise.
62917         * sysdeps/x86_64/mul_1.S: Likewise.
62918         * sysdeps/x86_64/rshift.S: Likewise.
62919         * sysdeps/x86_64/sub_n.S: Likewise.
62920         * sysdeps/x86_64/submul_1.S: Likewise.
62922 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62924         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
62925         Define __sched_param instead of SCHED_* and sched_param when
62926         <bits/sched.h> is included with __need_schedparam defined.
62927         * bits/sched.h [__need_schedparam]
62928         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
62929         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
62930         (__defined_schedparam): Define to 1.
62931         (__sched_param): New structure, identical to sched_param.
62932         (__need_schedparam): Undefine.
62934 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
62936         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
62937         (epoll_create1): Declare.
62939         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
62941 2010-08-31  Andreas Schwab  <schwab@redhat.com>
62943         [BZ #7066]
62944         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
62945         shifting retval into place.
62947 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
62949         * nis/rpcsvc/nis.h: Update copyright notice.
62950         * nis/rpcsvc/nis.x: Likewise.
62951         * nis/rpcsvc/nis_callback.h: Likewise.
62952         * nis/rpcsvc/nis_callback.x: Likewise.
62953         * nis/rpcsvc/nis_object.x: Likewise.
62954         * nis/rpcsvc/nis_tags.h: Likewise.
62955         * nis/rpcsvc/yp.h: Likewise.
62956         * nis/rpcsvc/yp.x: Likewise.
62957         * nis/rpcsvc/ypupd.h: Likewise.
62958         * nis/yp_xdr.c: Likewise.
62959         * nis/ypupdate_xdr.c: Likewise.
62961         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
62962         mainly the body of pmap_getport.  Add parameters to specify timeouts.
62963         (pmap_getport): Use __libc_rpc_getport.
62964         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
62965         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
62966         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
62968 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
62970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
62971         fanotify_mark.
62973 2010-08-27  Roland McGrath  <roland@redhat.com>
62975         * sysdeps/i386/i686/multiarch/Makefile
62976         (CFLAGS-varshift.c): New variable.
62978 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
62980         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
62981         * sysdeps/i386/i686/multiarch/varshift.c: New file.
62983         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
62985         * sysdeps/x86_64/strlen.S: Minimal code improvement.
62987 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
62989         * sysdeps/x86_64/strlen.S: Unroll the loop.
62990         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62991         strlen-sse2 strlen-sse2-bsf.
62992         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
62993         __strlen_no_bsf if bit_Slow_BSF is set.
62994         (__strlen_sse42): Removed.
62995         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
62996         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
62998 2010-08-25  Roland McGrath  <roland@redhat.com>
63000         * sysdeps/x86_64/multiarch/varshift.S: File removed.
63001         * sysdeps/x86_64/multiarch/varshift.c: New file.
63002         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
63003         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
63004         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
63005         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
63007 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
63009         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63010         strlen-sse2 strlen-sse2-bsf.
63011         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
63012         __strlen_sse2_bsf if bit_Slow_BSF is unset.
63013         (__strlen_sse2): Removed.
63014         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
63015         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
63016         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
63017         bit_Slow_BSF for Atom.
63018         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
63019         (index_Slow_BSF): Define.
63020         (HAS_SLOW_BSF): Define.
63022 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
63024         [BZ #10851]
63025         * resolv/res_init.c (__res_vinit): When no server address at all
63026         is given default to loopback.
63028 2010-08-24  Roland McGrath  <roland@redhat.com>
63030         * configure.in: Remove config-name.h generation.
63031         * configure: Regenerated.
63032         * config-name.in: File removed.
63033         * scripts/config-uname.sh: New file.
63034         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
63035         ($(objdir)config-name.h): New target.
63037         * sunrpc/rpc_parse.h: Avoid nested comment.
63039 2010-08-24  Richard Henderson  <rth@redhat.com>
63040             Ulrich Drepper  <drepper@redhat.com>
63041             H.J. Lu  <hongjiu.lu@intel.com>
63043         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
63044         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
63045         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
63046         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
63047         _mm_alignr_epi8 with _mm_loadu_si128.
63048         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
63049         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
63050         (__m128i_shift_right): Removed.
63051         * sysdeps/i386/i686/multiarch/varshift.h: New file.
63052         * sysdeps/i386/i686/multiarch/varshift.S: New file.
63053         * sysdeps/x86_64/multiarch/varshift.h: New file.
63054         * sysdeps/x86_64/multiarch/varshift.S: New file.
63056 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
63058         * configure.in: Move assembler checks to before sysdep dir checking.
63060 2010-08-20  Petr Baudis  <pasky@suse.cz>
63062         * LICENSES: Sync the sunrpc license.
63064 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
63066         * sunrpc/auth_des.c: Update copyright notice once again.
63067         * sunrpc/auth_none.c: Likewise.
63068         * sunrpc/auth_unix.c: Likewise.
63069         * sunrpc/authdes_prot.c: Likewise.
63070         * sunrpc/authuxprot.c: Likewise.
63071         * sunrpc/bindrsvprt.c: Likewise.
63072         * sunrpc/clnt_gen.c: Likewise.
63073         * sunrpc/clnt_perr.c: Likewise.
63074         * sunrpc/clnt_raw.c: Likewise.
63075         * sunrpc/clnt_simp.c: Likewise.
63076         * sunrpc/clnt_tcp.c: Likewise.
63077         * sunrpc/clnt_udp.c: Likewise.
63078         * sunrpc/clnt_unix.c: Likewise.
63079         * sunrpc/des_crypt.c: Likewise.
63080         * sunrpc/des_soft.c: Likewise.
63081         * sunrpc/get_myaddr.c: Likewise.
63082         * sunrpc/getrpcport.c: Likewise.
63083         * sunrpc/key_call.c: Likewise.
63084         * sunrpc/key_prot.c: Likewise.
63085         * sunrpc/openchild.c: Likewise.
63086         * sunrpc/pm_getmaps.c: Likewise.
63087         * sunrpc/pm_getport.c: Likewise.
63088         * sunrpc/pmap_clnt.c: Likewise.
63089         * sunrpc/pmap_prot.c: Likewise.
63090         * sunrpc/pmap_prot2.c: Likewise.
63091         * sunrpc/pmap_rmt.c: Likewise.
63092         * sunrpc/rpc/auth.h: Likewise.
63093         * sunrpc/rpc/auth_unix.h: Likewise.
63094         * sunrpc/rpc/clnt.h: Likewise.
63095         * sunrpc/rpc/des_crypt.h: Likewise.
63096         * sunrpc/rpc/key_prot.h: Likewise.
63097         * sunrpc/rpc/netdb.h: Likewise.
63098         * sunrpc/rpc/pmap_clnt.h: Likewise.
63099         * sunrpc/rpc/pmap_prot.h: Likewise.
63100         * sunrpc/rpc/pmap_rmt.h: Likewise.
63101         * sunrpc/rpc/rpc.h: Likewise.
63102         * sunrpc/rpc/rpc_des.h: Likewise.
63103         * sunrpc/rpc/rpc_msg.h: Likewise.
63104         * sunrpc/rpc/svc.h: Likewise.
63105         * sunrpc/rpc/svc_auth.h: Likewise.
63106         * sunrpc/rpc/types.h: Likewise.
63107         * sunrpc/rpc/xdr.h: Likewise.
63108         * sunrpc/rpc_clntout.c: Likewise.
63109         * sunrpc/rpc_cmsg.c: Likewise.
63110         * sunrpc/rpc_common.c: Likewise.
63111         * sunrpc/rpc_cout.c: Likewise.
63112         * sunrpc/rpc_dtable.c: Likewise.
63113         * sunrpc/rpc_hout.c: Likewise.
63114         * sunrpc/rpc_main.c: Likewise.
63115         * sunrpc/rpc_parse.c: Likewise.
63116         * sunrpc/rpc_parse.h: Likewise.
63117         * sunrpc/rpc_prot.c: Likewise.
63118         * sunrpc/rpc_sample.c: Likewise.
63119         * sunrpc/rpc_scan.c: Likewise.
63120         * sunrpc/rpc_scan.h: Likewise.
63121         * sunrpc/rpc_svcout.c: Likewise.
63122         * sunrpc/rpc_tblout.c: Likewise.
63123         * sunrpc/rpc_util.c: Likewise.
63124         * sunrpc/rpc_util.h: Likewise.
63125         * sunrpc/rpcinfo.c: Likewise.
63126         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
63127         * sunrpc/rpcsvc/key_prot.x: Likewise.
63128         * sunrpc/rpcsvc/klm_prot.x: Likewise.
63129         * sunrpc/rpcsvc/mount.x: Likewise.
63130         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
63131         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
63132         * sunrpc/rpcsvc/rex.x: Likewise.
63133         * sunrpc/rpcsvc/rstat.x: Likewise.
63134         * sunrpc/rpcsvc/rusers.x: Likewise.
63135         * sunrpc/rpcsvc/sm_inter.x: Likewise.
63136         * sunrpc/rpcsvc/spray.x: Likewise.
63137         * sunrpc/rpcsvc/yppasswd.x: Likewise.
63138         * sunrpc/rtime.c: Likewise.
63139         * sunrpc/svc.c: Likewise.
63140         * sunrpc/svc_auth.c: Likewise.
63141         * sunrpc/svc_authux.c: Likewise.
63142         * sunrpc/svc_raw.c: Likewise.
63143         * sunrpc/svc_run.c: Likewise.
63144         * sunrpc/svc_simple.c: Likewise.
63145         * sunrpc/svc_tcp.c: Likewise.
63146         * sunrpc/svc_udp.c: Likewise.
63147         * sunrpc/svc_unix.c: Likewise.
63148         * sunrpc/svcauth_des.c: Likewise.
63149         * sunrpc/xcrypt.c: Likewise.
63150         * sunrpc/xdr.c: Likewise.
63151         * sunrpc/xdr_array.c: Likewise.
63152         * sunrpc/xdr_float.c: Likewise.
63153         * sunrpc/xdr_mem.c: Likewise.
63154         * sunrpc/xdr_rec.c: Likewise.
63155         * sunrpc/xdr_ref.c: Likewise.
63156         * sunrpc/xdr_sizeof.c: Likewise.
63157         * sunrpc/xdr_stdio.c: Likewise.
63159         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
63160         handling.
63162 2010-08-19  Andreas Schwab  <schwab@redhat.com>
63164         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
63166 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
63168         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
63169         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
63170         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
63171         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
63172         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
63173         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
63174         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
63175         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
63176         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
63177         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
63178         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
63179         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
63180         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
63181         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
63183 2010-07-26  Anton Blanchard  <anton@samba.org>
63185         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
63186         * malloc/arena.c (heap_trim): Likewise.
63188 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
63190         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
63191         here.  Not...
63192         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
63193         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
63195 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
63197         * sysdeps/i386/elf/Makefile: New file.
63199 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63201         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
63202         from fanotify_init.
63203         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
63204         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63206 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
63208         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
63209         of strncasecmp_l.
63210         * sysdeps/multiarch/strcmp.S: Likewise.
63212 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
63214         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63215         strncase_l-nonascii.
63216         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63217         Add strncase_l-ssse3.
63218         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
63219         * sysdeps/x86_64/strcmp.S: Likewise.
63220         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
63221         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
63222         * sysdeps/x86_64/strncase.S: New file.
63223         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
63224         * sysdeps/x86_64/strncase_l.S: New file.
63225         * string/Makefile (strop-tests): Add strncasecmp.
63226         * string/test-strncasecmp.c: New file.
63228         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
63229         warning.
63231         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
63232         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
63234 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63236         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
63238 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
63240         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
63241         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
63242         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
63244 2010-05-01  Alan Modra  <amodra@gmail.com>
63246         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
63247         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
63248         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
63249         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
63250         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
63251         tidying.  Don't tail-call __sigjmp_save for static lib.
63252         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
63253         save location.
63254         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
63255         (CALL_MCOUNT): Add eh info, and nop after bl.
63256         (TAIL_CALL_SYSCALL_ERROR): New macro.
63257         (PSEUDO_RET): Use it.
63258         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
63259         Correct save location of integer regs and cr.
63260         (_dl_profile_resolve): Correct cr save location.  Delete nops
63261         after bl when SHARED.  Reduce cfi size a little by better
63262         placement of cfi directives.
63263         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
63264         make a stack frame.  Instead use parm save area as a temp.
63265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
63266         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
63267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
63268         Don't make a stack frame for parent, use parm save area.
63269         Increase child stack frame to 112 bytes.  Don't save unused reg,
63270         and adjust reg usage.  Set up cfi on error recovery and
63271         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
63272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
63273         (__makecontext): Add dummy nop after jump to exit.
63274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
63275         Use correct parm save area and cr save, reduce stack frame.
63276         Correct cfi for possible PSEUDO_RET frame setup.
63277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
63278         Branch to local label emitted by PSEUDO_RET rather than
63279         __syscall_error.
63281 2010-08-12  Andreas Schwab  <schwab@redhat.com>
63283         [BZ #11904]
63284         * locale/programs/locale.c (print_assignment): New function.
63285         (show_locale_vars): Use it.
63287 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
63289         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
63290         field.
63291         (struct statfs64): Likewise.
63292         (_STATFS_F_FLAGS): Define.
63293         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
63294         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63295         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
63296         (ST_VALID): Define locally.
63297         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
63298         __statvfs_getflags, use the provided value.
63299         * sysdeps/unix/sysv/linux/kernel-features.h: Define
63300         __ASSUME_STATFS_F_FLAGS.
63302         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
63304         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
63305         Add sys/fanotify.h.
63306         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
63307         fanotify_mask for GLIBC_2.13.
63308         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
63309         fanotify_init and fanotify_mark.
63310         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63311         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
63313         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
63314         Add prlimit.
63315         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
63316         prlimit64 for GLIBC_2.13.
63317         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
63318         prlimit64.
63319         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
63320         syscall.
63321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
63322         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63323         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
63324         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
63325         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
63326         add prlimit alias.
63327         * sysdeps/unix/sysv/linux/prlimit.c: New file.
63329         [BZ #11903]
63330         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
63331         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
63333         * nss/Makefile: Add rules to build and run tst-nss-test1.
63334         * shlib-versions: Add entry for libnss_test1.
63335         * nss/nss_test1.c: New file.
63336         * nss/tst-nss-test1.c: New file.
63338         * nss/nsswitch.c (__nss_database_custom): Define new variable.
63339         (__nss_configure_lookup): Set appropriate entry in
63340         __nss_configure_lookup to true.
63341         * nss/nsswitch.h: Define enum with indeces of databases in
63342         databases and __nss_database_custom arrays.  Declare
63343         __nss_database_custom.
63344         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
63345         to avoid using nscd when custom rules are installed.
63346         * nss/getXXbyYY_r.c: Likewise.
63347         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63349         * nss/nss_files/files-parse.c: Whitespace fixes.
63351 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
63353         [BZ #11883]
63354         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
63355         * posix/fnmatch_loop.c: Likewise.
63357 2010-07-17  Andi Kleen  <ak@linux.intel.com>
63359         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
63360         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
63361         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
63362         * Versions.def [GLIBC_2.13]: Add.
63364 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
63366         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
63367         Also fail if tpwd after pwuid call is NULL.
63369 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63371         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
63372         when converting to ms.
63374 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63376         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
63377         EOPNOTSUPP errors with ENOTTY.
63378         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
63379         EOPNOTSUPP errors with ENOTTY.
63381 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
63383         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63384         Add strcasecmp_l-ssse3.
63385         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
63386         strcasecmp.
63387         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
63388         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
63389         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
63391 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
63393         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
63395         * string/Makefile (strop-tests): Add strcasecmp.
63396         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63397         strcasecmp_l-nonascii.
63398         (gen-as-const-headers): Add locale-defines.sym.
63399         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
63400         * sysdeps/x86_64/strcasecmp.S: New file.
63401         * sysdeps/x86_64/strcasecmp_l.S: New file.
63402         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
63403         * sysdeps/x86_64/locale-defines.sym: New file.
63404         * string/test-strcasecmp.c: New file.
63406         * string/test-strcasestr.c: Test both ends of the range of characters.
63407         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
63409 2010-07-29  Roland McGrath  <roland@redhat.com>
63411         [BZ #11856]
63412         * manual/locale.texi (Yes-or-No Questions): Fix example code.
63414 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
63416         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
63417         for ld.so.
63419 2010-07-27  Andreas Schwab  <schwab@redhat.com>
63421         * manual/memory.texi (Malloc Tunable Parameters): Document
63422         M_PERTURB.
63424 2010-07-26  Roland McGrath  <roland@redhat.com>
63426         [BZ #11840]
63427         * configure.in (-fgnu89-inline check): Set and substitute
63428         gnu89_inline, not libc_cv_gnu89_inline.
63429         * configure: Regenerated.
63430         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
63432 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
63434         * string/test-strnlen.c: New file.
63435         * string/Makefile (strop-tests): Add strnlen.
63436         * string/tester.c (test_strnlen): Add a few more test cases.
63437         * string/tst-strlen.c: Better error reporting.
63439         * sysdeps/x86_64/strnlen.S: New file.
63441 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
63443         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
63444         lower-latency instructions.
63446 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
63448         * string/test-strcasestr.c: New file.
63449         * string/test-strstr.c: New file.
63450         * string/Makefile (strop-tests): Add strstr and strcasestr.
63451         * string/str-two-way.h: Don't undefine MAX.
63452         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
63454 2010-07-21  Andreas Schwab  <schwab@redhat.com>
63456         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63457         strcasestr-nonascii.
63458         (CFLAGS-strcasestr-nonascii.c): Define.
63459         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
63460         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
63461         Remove unused attribute.
63463 2010-07-20  Roland McGrath  <roland@redhat.com>
63465         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
63466         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
63467         ld.so.cache was broken.  With it, there is no way to disable dsocaps
63468         like LD_HWCAP_MASK can disable hwcaps.
63470 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
63472         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
63474 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
63476         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
63477         call in strcasestr.
63478         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
63479         __strcasestr_sse42_nonascii.
63480         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
63481         strcasestr-nonascii.c.
63482         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
63484 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
63486         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
63487         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
63488         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
63489         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
63491 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
63493         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
63494         fcntl.
63496 2010-07-06  Andreas Schwab  <schwab@redhat.com>
63498         [BZ #11577]
63499         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
63500         dl_signal_cerror.
63502 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
63504         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
63505         _PC_PIPE_BUF using F_GETPIPE_SZ.
63507 2010-07-05  Roland McGrath  <roland@redhat.com>
63509         * manual/arith.texi (Rounding Functions): Fix rint description
63510         implicit in round description.
63512 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
63514         * elf/Makefile: Fix linking for a few tests to make recent linker
63515         happy.
63517 2010-06-30  Andreas Schwab  <schwab@redhat.com>
63519         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
63520         $(common-objpfx)libc_nonshared.a.
63522 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
63524         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
63525         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
63526         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
63527         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
63528         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
63529         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
63530         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
63531         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
63532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
63533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
63534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
63535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
63536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
63537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
63538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
63539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
63540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
63541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
63542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
63543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
63544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
63545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
63546         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
63547         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
63548         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
63549         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
63550         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
63551         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
63552         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
63553         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
63554         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
63555         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
63556         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
63557         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
63558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
63559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
63560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
63561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
63562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
63563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
63564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
63565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
63566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
63567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
63568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
63569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
63570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
63571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
63573 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
63575         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
63576         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
63577         * string/memmove.c (memmove): Renamed to ...
63578         (MEMMOVE): ...this.  Default to memmove.
63579         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
63580         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
63581         (END_CHK): Define.
63582         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63583         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
63584         mempcpy-ssse3-back memmove-ssse3-back.
63585         * sysdeps/x86_64/multiarch/bcopy.S: New file .
63586         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
63587         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
63588         * sysdeps/x86_64/multiarch/memcpy.S: New file.
63589         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
63590         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
63591         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
63592         * sysdeps/x86_64/multiarch/memmove.c: New file.
63593         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
63594         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
63595         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
63596         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
63597         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
63598         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
63599         Define.
63600         (index_Fast_Copy_Backward): Define.
63601         (HAS_ARCH_FEATURE): Define.
63602         (HAS_FAST_REP_STRING): Define.
63603         (HAS_FAST_COPY_BACKWARD): Define.
63605 2010-06-21  Andreas Schwab  <schwab@redhat.com>
63607         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
63608         Restore proper fallback handling.
63610 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
63612         [BZ #11701]
63613         * posix/group_member.c (__group_member): Correct checking loop.
63615         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
63616         OOM in getpwuid_r correctly.  Return error number when the caller
63617         should return, otherwise -1.
63618         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
63619         call returning > 0 value.
63620         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
63622 2010-06-07  Andreas Schwab  <schwab@redhat.com>
63624         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
63625         libc_nonshared.a from targets in modules-names.
63627 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
63629         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
63630         requires it.
63632 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
63634         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
63635         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
63636         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
63637         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
63639 2010-06-02  Andreas Schwab  <schwab@redhat.com>
63641         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
63643 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
63645         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
63646         and F_GETPIPE_SZ.
63647         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
63648         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63649         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63650         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63651         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63652         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
63654 2010-06-14  Roland McGrath  <roland@redhat.com>
63656         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
63658 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
63660         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
63661         __REDIRECT followed by __THROW.
63662         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
63663         * posix/getopt.h (getopt): Likewise.
63665 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
63667         * hurd/lookup-at.c (__file_name_lookup_at): Accept
63668         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
63669         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
63670         in AT_FLAGS.
63671         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
63672         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
63674 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
63676         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
63678 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
63680         [BZ #11640]
63681         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63682         Properly check family and model.
63684 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
63686         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
63688 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
63690         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
63692 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
63694         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
63695         symbol reference.
63697 2010-05-19  Andreas Schwab  <schwab@redhat.com>
63699         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
63700         symbol reference.
63702 2010-05-21  Andreas Schwab  <schwab@redhat.com>
63704         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
63705         and internal_recvmmsg.
63706         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
63707         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
63708         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
63709         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
63711         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
63712         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
63713         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
63715 2010-05-20  Andreas Schwab  <schwab@redhat.com>
63717         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
63719 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
63721         POWER7 optimizations.
63722         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
63723         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
63725 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
63727         * version.h: Update for 2.13 development version.
63729 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
63731         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
63732         exceptions.  Return 0.
63734 2010-05-07  Roland McGrath  <roland@redhat.com>
63736         * elf/ldconfig.c (main): Add a const.
63738 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
63740         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
63741         (args_options): Add no-idn option.
63742         (ahosts_keys_int): Add idn_flags to ai_flags.
63743         (parse_option): Handle 'i' option to clear idn_flags.
63745         * malloc/malloc.c (_int_free): Possible race in the most recently
63746         added check.  Only act on the data if no current modification
63747         happened.
63749 See ChangeLog.17 for earlier changes.