relocate localedata ChangeLog entries
[glibc.git] / ChangeLog
blobd2c13e02cfd124975fc02f9820c8dcadedbc46ae
1 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
4         __ppc_set_ppr_very_low): New functions.
5         * manual/platform.texi: Add documentation about
6         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
8 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
10         * string/stpncpy.c (stpncpy): Improve performance using
11         __strnlen/memcpy/memset.
13 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
15         [BZ #18796]
16         * scripts/test-installation.pl: Don't add -lmvec to build options if
17         libmvec wasn't built.
19 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
21         [BZ #14341]
22         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
23         case when there is a gap between DT_REL and DT_JMPREL sections.
24         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
25         (LDFLAGS-tst-split-dynreloc): New.
26         (tst-split-dynreloc-ENV): Likewise.
27         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
28         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
30 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
32         [BZ #18822]
33         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
34         attribute_hidden.
35         (__xstat64_conv): Likewise.
36         (__xstat32_conv): Likewise.
38 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
40         [BZ #18822]
41         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
42         Don't load %ebx when calling __setcontext.  Call __setcontext
43         with HIDDEN_JUMPTARGET.
44         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
45         libc_hidden_def.
47 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
49         * sysdeps/i386/i686/Makefile
50         [$(subdir) == string] (sysdep_routines): Moved to ...
51         * sysdeps/i386/Makefile: Here.
52         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
53         * sysdeps/i386/cacheinfo.c: Here.
54         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
55         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
56         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
57         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
59 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
61         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
62         __i586__ is defined.
63         (HAS_I686): Defined to 1 if __i686__ is defined.
65 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
67         * elf/Makefile [$(have-z-execstack) = yes]
68         (CPPFLAGS-tst-execstack.c): New variable.
70         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
71         conditional to [defined UTMPX || _HAVE_UT_TYPE].
72         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
73         UTMPX || _HAVE_UT_TV].
74         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
75         UTMPX || _HAVE_UT_TV - 0].
77 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
79         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
80         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
81         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
83 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
85         * sysdeps/powerpc/dl-procinfo.c:
86         (_dl_powerpc_cap_flags): Added missing strings for some
87         hwcap features.
88         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
90 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
92         Port the 0x7efe...feff pattern to GCC 6.
93         See Steve Ellcey's bug report in:
94         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
95         * string/memrchr.c (MEMRCHR):
96         * string/rawmemchr.c (RAWMEMCHR):
97         * string/strchr.c (strchr):
98         * string/strchrnul.c (STRCHRNUL):
99         Rewrite code to avoid issues with signed shift overflow.
101 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
103         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
104         whether cpuid is available only if HAS_CPUID is 0.
105         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
106         (HAS_I586): Likewise.
107         (HAS_I686): Likewise.
109 2015-08-18  Zack Weinberg  <zackw@panix.com>
111         * misc/Versions (libc): Add GLIBC_2.23.
113 2015-08-18  Alan Modra  <amodra@gmail.com>
115         [BZ #18421]
116         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
117         .Lp__global.
118         (_start): Load %dp via .Lp__global.
119         [!SHARED]: Use .section .rodata.
121 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
123         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
124         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
126 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
128         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
129         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
131 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
133         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
134         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
136 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
138         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
139         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
141 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
143         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
144         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
146 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
148         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
149         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
151 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
153         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
155 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
157         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
158         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
159         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
160         (__ASSUME_LWS_CAS): Delete.
162 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
164         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
165         * sysdeps/hppa/configure: Regenerated.
166         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
167         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
168         * sysdeps/hppa/nptl/tls.h: Likewise.
170 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
172         [BZ #18823]
173         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
174         for scaling up small arguments.
175         * math/s_csqrtf.c (__csqrtf): Likewise.
176         * math/s_csqrtl.c (__csqrtl): Likewise.
177         * math/auto-libm-test-in: Add more tests of csqrt.
178         * math/auto-libm-test-out: Regenerated.
180 2015-08-17  Andreas Schwab  <schwab@suse.de>
182         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
183         version set GLIBC_2.19.
185 2015-08-16  Zack Weinberg  <zackw@panix.com>
187         [BZ #18681]
188         * misc/regexp.h: This interface is no longer supported.
189         Remove all contents, leaving only an #error directive.
190         * misc/regexp.c (loc1, loc2, locs, step, advance):
191         Demote to compatibility symbols.
193 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
195         [BZ #18084]
196         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
197         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
198         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
199         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
200         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
201         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
202         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
203         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
204         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
206 2015-08-15  Zack Weinberg  <zackw@panix.com>
208         [BZ #18795]
209         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
210         buffer length is known to be too large, not if it's known to be
211         small enough.
212         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
213         overflow at runtime, involving a length parameter, twice: once
214         with a compile-time constant length parameter, once without.
216 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
218         [BZ #18824]
219         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
220         scaling x * y up instead of down.
221         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
222         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
223         * math/auto-libm-test-in: Add more tests of fma.
224         * math/auto-libm-test-out: Regenerated.
226 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
228         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
230 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
232         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
233         unnecessary movq.
234         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
235         Likewise.
237 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
239         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
240         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
241         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
242         and tgamma.
243         * math/auto-libm-test-out: Regenerated.
244         * sysdeps/i386/fpu/libm-test-ulps: Update.
245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
247         [BZ #16520]
248         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
249         (__tanh): Force underflow exception for arguments with small
250         absolute value.
251         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
252         (__tanhf): Force underflow exception for arguments with small
253         absolute value.
254         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
255         (__tanhl): Force underflow exception for arguments with small
256         absolute value.
257         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
258         (__tanhl): Force underflow exception for arguments with small
259         absolute value.
260         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
261         (__tanhl): Force underflow exception for arguments with small
262         absolute value.
263         * math/auto-libm-test-in: Add more tests of tanh.
264         * math/auto-libm-test-out: Regenerated.
265         * sysdeps/i386/fpu/libm-test-ulps: Update.
267 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
269         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
270         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
272 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
274         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
275         <cpuid.h>.
277 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
279         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
280         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
282 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
284         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
285         Remove $(objpfx)init-arch.o.
286         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
287         init-arch.
288         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
289         (INIT_ARCH_EXT): Defined as empty.
290         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
291         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
292         __init_cpu_features call.  Replace HAS_XXX with
293         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
294         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
295         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
296         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
297         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
298         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
299         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
300         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
301         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
302         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
303         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
304         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
305         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
306         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
307         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
308         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
309         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
310         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
311         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
312         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
313         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
314         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
315         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
316         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
317         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
318         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
319         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
320         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
321         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
322         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
323         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
324         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
325         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
326         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
327         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
328         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
330 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
332         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
333         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
334         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
335         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
336         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
337         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
338         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
339         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
340         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
341         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
342         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
343         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
344         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
345         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
346         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
347         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
348         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
349         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
350         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
351         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
352         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
353         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
354         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
355         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
356         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
357         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
358         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
359         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
360         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
361         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
362         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
363         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
364         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
365         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
366         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
367         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
368         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
369         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
370         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
371         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
372         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
373         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
374         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
376 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
378         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
379         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
380         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
381         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
382         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
383         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
384         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
385         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
386         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
387         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
388         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
389         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
390         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
391         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
392         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
393         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
394         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
395         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
396         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
397         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
398         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
399         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
400         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
401         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
402         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
403         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
404         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
405         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
406         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
407         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
408         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
409         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
410         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
411         * sysdeps/x86_64/multiarch/memset.S: Likewise.
412         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
413         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
414         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
415         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
416         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
417         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
418         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
419         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
420         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
422 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
424         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
425         (dl_platform_init): Call init_cpu_features.
426         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
427         * sysdeps/i386/i686/cacheinfo.c
428         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
429         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
430         * sysdeps/i386/i686/multiarch/Versions: Removed.
431         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
432         Removed.
433         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
434         * sysdeps/unix/sysv/linux/x86/Makefile
435         (libpthread-sysdep_routines): Remove init-arch.
436         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
437         <sysdeps/x86_64/dl-procinfo.c> instead of
438         sysdeps/generic/dl-procinfo.c>.
439         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
440         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
441         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
442         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
443         [$(subdir) == elf] (tests-static): Add
444         tst-get-cpu-features-static.
445         * sysdeps/x86/Versions: New file.
446         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
447         * sysdeps/x86/cpu-features.c: Likewise.
448         * sysdeps/x86/cpu-features.h: Likewise.
449         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
450         * sysdeps/x86/libc-start.c: Likewise.
451         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
452         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
453         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
454         * sysdeps/x86_64/dl-procinfo.c: Likewise.
455         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
456         Assume USE_MULTIARCH is defined and don't check it.
457         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
458         (is_amd): Likewise.
459         (max_cpuid): Likewise.
460         (intel_check_word): Likewise.
461         (__cache_sysconf): Don't call __init_cpu_features.
462         (__x86_preferred_memory_instruction): Removed.
463         (init_cacheinfo): Don't call __init_cpu_features. Replace
464         __cpu_features with GLRO(dl_x86_cpu_features).
465         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
466         (dl_platform_init): Call init_cpu_features.
467         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
468         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
469         * sysdeps/x86_64/multiarch/Versions: Removed.
470         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
471         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
472         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
473         Removed.
474         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
476 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
478         [BZ #18820]
479         * libio/Makefile (test-fmemopen-mem): New test.
480         * libio/test-fmemopen.c (do_bz18820): New test.
481         * libio/fmemopen.c (__fmemopen): Fix memory leak.
482         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
484 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
486         [BZ #16734]
487         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
488         (FREE_BUF): Delete.
489         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
490         * libio/genops.c (_IO_setb): Use malloc and free directly.
491         (_IO_default_doallocate, _IO_default_finish): Likewise.
492         ( _IO_unbuffer_all): Likewise.
493         ( libc_freeres_fn): Likewise.
494         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
495         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
496         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
497         (_IO_wdefault_doallocate): Likewise.
499 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
501         [BZ #18086]
502         * sysdeps/posix/nice.c (nice): Restore old errno.
503         * posix/tst-nice.c (do_test): Add test for BZ #18086.
505 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
507         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
509 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
511         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
512         __bcopy and add a weak_alias to bcopy.
513         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
514         for static build.
516         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
517         cleanup macro usage.
518         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
519         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
520         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
521         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
522         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
523         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
524         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
525         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
526         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
527         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
528         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
529         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
530         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
531         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
532         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
533         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
534         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
535         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
536         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
538         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
539         libc_hidden_def.
540         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
542         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
543         (sysdep_routines): Add strstr-ppc64.
544         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
546 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
548         [BZ #18778]
549         * elf/Makefile (tests): Add Add tst-nodelete2.
550         (modules-names): Add tst-nodelete2mod.
551         (tst-nodelete2mod.so-no-z-defs): New.
552         ($(objpfx)tst-nodelete2): Likewise.
553         ($(objpfx)tst-nodelete2.out): Likewise.
554         (LDFLAGS-tst-nodelete2): Likewise.
555         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
556         out of loop through all loaded libraries.
557         * elf/tst-nodelete2.c: New file.
558         * elf/tst-nodelete2mod.c: Likewise.
560 2015-08-11  Andreas Schwab  <schwab@suse.de>
562         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
563         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
564         (__openat64_nocancel): Likewise.
566 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
568         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
569         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
570         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
571         * math/auto-libm-test-out: Regenerated.
572         * sysdeps/i386/fpu/libm-test-ulps: Update.
573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
575 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
577         [BZ #18790]
578         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
579         threshold for returning +/- 1.
580         * math/auto-libm-test-in: Add more tests of tanh.
581         * math/auto-libm-test-out: Regenerated.
582         * sysdeps/i386/fpu/libm-test-ulps: Update.
584 2015-08-10  Andreas Schwab  <schwab@suse.de>
586         [BZ #18781]
587         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
588         MORE_OFLAGS to oflag.
589         * io/test-lfs.c (do_test): Test openat64.
591 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
593         [BZ #18789]
594         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
595         smaller threshold for returning the argument.
596         * math/auto-libm-test-in: Add more tests of sinh.
597         * math/auto-libm-test-out: Regenerated.
598         * sysdeps/i386/fpu/libm-test-ulps: Update.
600 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
602         [BZ #18674]
603         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
604         break.
606 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
608         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
609         (generated): Don't add $(addprefix z.,$(tzfiles)).
611 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
613         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
614         * scripts/sysd-rules.awk: Likewise.
616 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
618         * iconvdata/tst-tables.sh: Change echo -n to printf.
619         * nss/db-Makefile: Likewise.
620         * posix/tst-getconf.sh: Likewise.
621         * stdio-common/tst-unbputc.sh: Likewise.
623 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
625         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
626         MADV_*_PAGES defines behind this feature check.
628 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
630         [BZ #18480]
631         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
632         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
633         Define.
634         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
635         LOAD_REGS_5, LOAD_REGS_6): Update.
636         (INTERNAL_SYSCALL): Update using new LOAD defines.
637         (INTERNAL_SYSCALL_NCS): Likewise.
638         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
640 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
642         [BZ #16734]
643         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
645 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
647         [BZ #17905]
648         * catgets/Makefile (tst-catgets-mem): New test.
649         * catgets/catgets.c (catopen): Don't use unbounded alloca.
650         * catgets/open_catalog.c (__open_catalog): Likewise.
651         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
653 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
655         [BZ #18787]
656         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
657         clobber registers.
658         (atomic_compare_and_exchange_val_acq): Use register asms to assign
659         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
660         Cast return to __typeof (oldval).
662 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
664         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
665         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
666         and delete sys/syscall.h include.
668 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
670         [BZ #16517]
671         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
672         (tan): Force underflow exception for arguments with small absolute
673         value.
674         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
675         (__kernel_tanf): Force underflow exception for arguments with
676         small absolute value.
677         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
678         (__kernel_tanl): Force underflow exception for arguments with
679         small absolute value.
680         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
681         (__kernel_tanl): Force underflow exception for arguments with
682         small absolute value.
683         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
684         (__kernel_tanl): Force underflow exception for arguments with
685         small absolute value.
686         * math/auto-libm-test-in: Add more tests of tan.
687         * math/auto-libm-test-out: Regenerated.
689 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
691         Fix sysdeps/i386/fpu/s_scalbn.S build
693         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
695 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
697         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
699 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
701         Fix gcrt0.o compilation
703         When static-start-installed-name is different from
704         start-installed-name, we must not use the shared objects.
706         * csu/Makefile
707         (extra-objs): Add gmon-start.o when building shared library and
708         $(static-start-installed-name) is different from
709         $(start-installed-name).
710         $(objpfx)g$(static-start-installed-name): When building shared
711         library and $(static-start-installed-name) is different from
712         $(static-start-installed-name), revert to non-shared rule,
713         i.e. using $(objpfx)% and gmon-start.o.
715 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
717         [BZ #16519]
718         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
719         (__ieee754_sinh): Force underflow exception for arguments with
720         small absolute value.
721         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
722         (__ieee754_sinhf): Force underflow exception for arguments with
723         small absolute value.
724         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
725         (__ieee754_sinhl): Force underflow exception for arguments with
726         small absolute value.
727         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
728         (__ieee754_sinhl): Force underflow exception for arguments with
729         small absolute value.
730         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
731         (__ieee754_sinhl): Force underflow exception for arguments with
732         small absolute value.
733         * math/auto-libm-test-in: Add more tests of sinh.
734         * math/auto-libm-test-out: Regenerated.
735         * sysdeps/i386/fpu/libm-test-ulps: Update.
737 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
739         * libio/oldfileops.c: Include unistd.h.
741 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
743         * stdlib/isomac.c: Include ctype.h.
745 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
747         * dirent/tst-seekdir.c (main): Converted to ...
748         (do_test): ... this.
749         (TEST_FUNCTION): New macro.
750         Include test-skeleton.c.
751         * elf/tst-dlmodcount.c (main): Converted to ...
752         (do_test): ... this.
753         (TEST_FUNCTION): New macro.
754         Include test-skeleton.c.
755         * elf/tst-order-main.c (main): Converted to ...
756         (do_test): ... this.
757         (TEST_FUNCTION): New macro.
758         Include test-skeleton.c.
759         * elf/tst-pie2.c (main): Converted to ...
760         (do_test): ... this.
761         (TEST_FUNCTION): New macro.
762         Include test-skeleton.c.
763         * inet/tst-ether_aton.c (main): Converted to ...
764         (do_test): ... this.
765         (TEST_FUNCTION): New macro.
766         Include test-skeleton.c.
767         * misc/tst-mntent.c (main): Converted to ...
768         (do_test): ... this.
769         (TEST_FUNCTION): New macro.
770         Include test-skeleton.c.
771         * misc/tst-tsearch.c (main): Converted to ...
772         (do_test): ... this.
773         (TEST_FUNCTION): New macro.
774         Include test-skeleton.c.
775         * posix/tst-regexloc.c (main): Converted to ...
776         (do_test): ... this.
777         (TEST_FUNCTION): New macro.
778         Include test-skeleton.c.
779         * resolv/tst-aton.c (main): Converted to ...
780         (do_test): ... this.
781         (TEST_FUNCTION): New macro.
782         Include test-skeleton.c.
783         * stdio-common/test-fwrite.c (main): Converted to ...
784         (do_test): ... this.
785         (TEST_FUNCTION): New macro.
786         Include test-skeleton.c.
787         * stdio-common/tst-ferror.c (main): Converted to ...
788         (do_test): ... this.
789         (TEST_FUNCTION): New macro.
790         Include test-skeleton.c.
791         * stdio-common/tst-printf.c (main): Converted to ...
792         (do_test): ... this.
793         (TEST_FUNCTION): New macro.
794         Include test-skeleton.c.
795         * stdio-common/tst-printfsz.c (main): Converted to ...
796         (do_test): ... this.
797         (TEST_FUNCTION): New macro.
798         Include test-skeleton.c.
799         * stdlib/tst-strtod.c (main): Converted to ...
800         (do_test): ... this.
801         (TEST_FUNCTION): New macro.
802         Include test-skeleton.c.
803         * string/tst-strlen.c (main): Converted to ...
804         (do_test): ... this.
805         (TEST_FUNCTION): New macro.
806         Include test-skeleton.c.
807         * string/tst-svc.c (main): Converted to ...
808         (do_test): ... this.
809         (TEST_FUNCTION): New macro.
810         Include test-skeleton.c.
811         * time/tst-strptime.c (main): Converted to ...
812         (do_test): ... this.
813         (TEST_FUNCTION): New macro.
814         Include test-skeleton.c.
815         * timezone/tst-timezone.c (main): Converted to ...
816         (do_test): ... this.
817         (TEST_FUNCTION): New macro.
818         Include test-skeleton.c.
820 2015-08-05  Zack Weinberg  <zackw@panix.com>
822         * misc/regexp.h: Update comments.
824 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
826         [BZ #18635]
827         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
828         before return label.
830 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
832         [BZ #18661]
833         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
834         when calling __errno_location.
835         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
836         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
838 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
840         [BZ #18661]
841         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
842         (__lll_timedwait_tid): Align stack to 16 bytes when calling
843         __gettimeofday.
845 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
847         [BZ #18661]
848         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
849         (__start_context): Don't use pop to restore %rdi so that stack
850         is aligned to 16 bytes when calling __setcontext.
852 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
854         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
855         only for libc.
856         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
858 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
860         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
861         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
862         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
864 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
866         * string/memccpy.c (memccpy):
867         Improve performance by using memchr/memcpy/__mempcpy.
869 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
871         * string/strncpy.c (strncpy):
872         Improve performance by using __strnlen/memcpy.
874 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
876         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
877         Optimize to avoid an unnecessary FPCR read.
879 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
881         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
882         Optimize to reduce FPCR/FPSR accesses.
884 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
886         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
887         dead->data[category] != NULL.
889 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
891         [BZ #18647]
892         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
893         and |x| close to 1, use absolute value of x when computing log.
894         * math/auto-libm-test-in: Add more tests of pow.
895         * math/auto-libm-test-out: Regenerated.
897 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
899         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
900         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
901         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
903 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
905         [BZ #18525]
906         * locales/km_KH: Remove timezone definition.
907         * locales/lo_LA: Likewise.
908         * locales/my_MM: Likewise.
909         * locales/nan_TW@latin: Likewise.
910         * locales/th_TH: Likewise.
911         * locales/uk_UA: Likewise.
913 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
915         [BZ #18265]
916         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
917         (wcsncat): Likewise.
918         (wcscmp): Likewise.
919         (wcsncmp): Likewise.
921 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
923         * test-skeleton.c (usage): New function.
924         (main): Call usage when opt is '?'.
926 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
928         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
929         before first use.
931 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
933         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
934         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
935         in there too.
937 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
939         * version.h (RELEASE): Set to "development".
940         (VERSION): Set to "2.22.90"
942         * version.h (RELEASE): Set to "stable".
943         (VERSION): Set to "2.22"
944         * include/features.h (__GLIBC_MINOR__): Set to 22.
946 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
948         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
949         Restructure macro to avoid "value computed is not used" warning.
950         (atomic_compare_and_exchange_val_acq): Likewise.
952 2015-08-04  Andreas Schwab  <schwab@suse.de>
954         [BZ #18635]
955         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
956         ret.
957         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
959 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
961         * po/pl.po: Updated translation.
962         * po/uk.po: Likewise.
963         * po/fi.po: Likewise.
964         * po/ko.po: Likewise.
965         * po/ru.po: Likewise.
966         * po/vi.po: Likewise.
968 2015-07-31  Zack Weinberg  <zackw@panix.com>
970         [BZ #18681]
971         * regexp.h: Add unconditional #warning stating that this header
972         will be removed soon.  Revise banner comment to match.
973         (compile): Consistently use ERROR instead of RETURN to report
974         errors (partial fix for bz#18681).
975         * regexp.c: Don't include regexp.h. Remove some unnecessary
976         declarations.
978 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
980         * po/libc.pot: Regenerated.
982 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
984         [BZ #18740]
985         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
986         float-vlen4-arch-ext-cflags): Removed.
987         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
988         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
990 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
992         [BZ #14113]
993         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
994         aligned to __aligned__.
995         (pthread_cond_t, pthread_rwlock_t): Likewise.
997 2015-07-30  Torvald Riegel  <triegel@redhat.com>
999         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
1001 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1003         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
1004         (struct sigaction): Change sa_flags from a long to an int, and add
1005         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
1007 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1009         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
1010         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
1011         sysdeps/generic/sysdep.h include.
1012         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
1013         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
1014         sysdeps/hppa/sysdep.h.
1015         (ENTRY, PSEUDO): Undefine before defining.
1017 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1019         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
1020         from scratch to use INTERNAL_SYSCALL.
1022 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
1024         [BZ #18078]
1025         * scripts/check-localplt.awk: Support alternate relocations.
1026         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
1027         sections.
1028         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
1029         malloc entries with + REL R_386_GLOB_DAT.
1030         * sysdeps/x86_64/localplt.data: New file.
1032 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
1034         [BZ #18731]
1035         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
1036         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1037         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1039 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1041         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
1043 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1045         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
1046         directly in terms of __sync_fetch_and_add and delete (int) cast.
1048 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1050         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
1051         the -D_ASM_IA64_CURRENT_H flag.
1053 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1055         [BZ #18641]
1056         * pwd/pwd.h (putpwent): Delete __nonnull markings.
1058 2015-07-27  Andreas Schwab  <schwab@suse.de>
1060         * conform/conformtest.pl (checknamespace): Filter out string
1061         literals while tokenizing.
1063 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1065         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1066         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
1067         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1069 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1071         * nptl/tst-join7mod.c: Add #include <string.h>.
1073 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1075         * sysdeps/nios2/libm-test-ulps: Update.
1077 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1079         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
1080         Fix order of arguments to the rt_sigprocmask syscall.
1081         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
1082         Likewise.
1084 2015-07-24  Roland McGrath  <roland@hack.frob.com>
1086         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
1088 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1090         [BZ #18457]
1091         * nptl/Makefile (tests): New test case tst-join7.
1092         (modules-names): New test case module tst-join7mod.
1093         * nptl/tst-join7.c: New file.
1094         * nptl/tst-join7mod.c: New file.
1095         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
1096         all translation units in libc.so, libpthread.so and rtld.
1098 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1100         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1102 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
1104         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
1105         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1106         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1107         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1108         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1109         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1110         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1111         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1112         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1113         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1114         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1115         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1116         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
1117         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
1118         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
1119         implementation.
1121 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1123         [BZ #17711]
1124         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1125         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
1126         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1127         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1128         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
1129         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1131 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1133         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
1134         instead of just saying load lock in the comments.
1136 2015-07-23  Roland McGrath  <roland@hack.frob.com>
1138         * sysdeps/unix/Subdirs: Moved ...
1139         * sysdeps/posix/Subdirs: ... here.
1140         * login/pty.h (struct termios, struct winsize): Add forward decls.
1141         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
1142         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
1143         * sysdeps/arm/nacl/libc.abilist: Updated.
1144         * sysdeps/nacl/libutil.abilist: New file.
1146         * bits/signum.h: Update comments to mention 1003.1-2013 too.
1147         (SIGWINCH): New macro.
1149         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
1150         * sysdeps/arm/nacl/libc.abilist: Add it.
1152 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1154         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
1156 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1158         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1159         Swap __glibc_reserved0 and sa_flags order.
1161 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
1163         [BZ #18657]
1164         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
1165         are pending TLS destructor calls.
1166         * include/link.h (struct link_map): Add concurrency note for
1167         L_TLS_DTOR_COUNT.
1168         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
1169         Don't touch the link map flag.  Atomically increment
1170         l_tls_dtor_count.
1171         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
1172         Avoid taking the load lock and don't touch the link map flag.
1173         * stdlib/tst-tls-atexit-nodelete.c: New test case.
1174         * stdlib/Makefile (tests): Use it.
1175         * stdlib/tst-tls-atexit.c (do_test): dlopen
1176         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
1177         to allow tst-tls-atexit-nodelete test case to use it.
1179 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1181         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
1182         to bits/types.h.
1183         (msgqnum_t): New typedef.
1184         (msglen_t): Likewise.
1185         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
1186         and msg_qbytes type to msglen_t.
1188 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1190         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
1191         pad0 to __glibc_reserved0.
1192         (struct stat64): Likewise.
1194 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1196         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1197         Change sa_flags from a long to an int and add __glibc_reserved0 before
1198         it for padding.
1200 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1202         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
1203         anonymous by deleting "siginfo" name.
1205 2015-07-21  Roland McGrath  <roland@hack.frob.com>
1207         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
1208         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
1209         rather than __nacl_irt_filename.
1210         * sysdeps/nacl/xstat.c (__xstat): Likewise.
1212         * NEWS: New item for arm-nacl port.
1213         * sysdeps/arm/nacl/libc.abilist: New file.
1214         * sysdeps/nacl/ld.abilist: New file.
1215         * sysdeps/nacl/libBrokenLocale.abilist: New file.
1216         * sysdeps/nacl/libanl.abilist: New file.
1217         * sysdeps/nacl/libcrypt.abilist: New file.
1218         * sysdeps/nacl/libdl.abilist: New file.
1219         * sysdeps/nacl/libm.abilist: New file.
1220         * sysdeps/nacl/libpthread.abilist: New file.
1221         * sysdeps/nacl/libresolv.abilist: New file.
1222         * sysdeps/nacl/librt.abilist: New file.
1224 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
1226         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
1227         __startcontext to initialize the new context.
1228         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
1229         up CFI directive to forbid further backtracing.
1231 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
1233         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
1234         reference.
1235         * charmaps/ANSI_X3.4-1968: Likewise.
1236         * charmaps/BS_4730: Likewise.
1237         * charmaps/BS_VIEWDATA: Likewise.
1238         * charmaps/CP1250: Likewise.
1239         * charmaps/CP1251: Likewise.
1240         * charmaps/CP1252: Likewise.
1241         * charmaps/CP1253: Likewise.
1242         * charmaps/CP1254: Likewise.
1243         * charmaps/CP1255: Likewise.
1244         * charmaps/CP1256: Likewise.
1245         * charmaps/CSN_369103: Likewise.
1246         * charmaps/EBCDIC-DK-NO: Likewise.
1247         * charmaps/GB_1988-80: Likewise.
1248         * charmaps/GREEK-CCITT: Likewise.
1249         * charmaps/GREEK7: Likewise.
1250         * charmaps/INIS-8: Likewise.
1251         * charmaps/ISIRI-3342: Likewise.
1252         * charmaps/ISO_2033-1983: Likewise.
1253         * charmaps/ISO_5427-EXT: Likewise.
1254         * locales/POSIX: Likewise.
1255         * locales/ar_SA: Likewise.
1256         * locales/be_BY: Likewise.
1257         * locales/be_BY@latin: Likewise.
1258         * locales/ca_ES: Likewise.
1259         * locales/cs_CZ: Likewise.
1260         * locales/da_DK: Likewise.
1261         * locales/de_BE: Likewise.
1262         * locales/de_CH: Likewise.
1263         * locales/de_LU: Likewise.
1264         * locales/en_AU: Likewise.
1265         * locales/en_BW: Likewise.
1266         * locales/en_CA: Likewise.
1267         * locales/en_DK: Likewise.
1268         * locales/en_GB: Likewise.
1269         * locales/en_IE: Likewise.
1270         * locales/en_NZ: Likewise.
1271         * locales/en_ZA: Likewise.
1272         * locales/en_ZW: Likewise.
1273         * locales/es_AR: Likewise.
1274         * locales/es_BO: Likewise.
1275         * locales/es_CL: Likewise.
1276         * locales/es_CO: Likewise.
1277         * locales/es_DO: Likewise.
1278         * locales/es_EC: Likewise.
1279         * locales/es_ES: Likewise.
1280         * locales/es_HN: Likewise.
1281         * locales/es_MX: Likewise.
1282         * locales/es_PA: Likewise.
1283         * locales/es_PE: Likewise.
1284         * locales/es_PY: Likewise.
1285         * locales/es_SV: Likewise.
1286         * locales/es_US: Likewise.
1287         * locales/es_UY: Likewise.
1288         * locales/es_VE: Likewise.
1289         * locales/et_EE: Likewise.
1290         * locales/fa_IR: Likewise.
1291         * locales/fo_FO: Likewise.
1292         * locales/fr_CA: Likewise.
1293         * locales/fr_CH: Likewise.
1294         * locales/gv_GB: Likewise.
1295         * locales/he_IL: Likewise.
1296         * locales/hr_HR: Likewise.
1297         * locales/id_ID: Likewise.
1298         * locales/is_IS: Likewise.
1299         * locales/it_CH: Likewise.
1300         * locales/iw_IL: Likewise.
1301         * locales/kl_GL: Likewise.
1302         * locales/ko_KR: Likewise.
1303         * locales/kw_GB: Likewise.
1304         * locales/lg_UG: Likewise.
1305         * locales/lt_LT: Likewise.
1306         * locales/lv_LV: Likewise.
1307         * locales/mi_NZ: Likewise.
1308         * locales/nhn_MX: Likewise.
1309         * locales/nl_BE: Likewise.
1310         * locales/pl_PL: Likewise.
1311         * locales/sk_SK: Likewise.
1312         * locales/sl_SI: Likewise.
1313         * locales/sv_FI: Likewise.
1314         * locales/tl_PH: Likewise.
1315         * locales/tr_TR: Likewise.
1316         * locales/vi_VN: Likewise.
1318 2015-07-21  Khem Raj  <raj.khem@gmail.com>
1320         [BZ #17475]
1321         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
1322         of tu_IN and bh_IN.
1324 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
1326         [BZ #18694]
1327         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
1328         bits/wordsize.h.
1329         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
1331 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1333         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
1334         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
1335         (spawn_thread): New function.
1336         (load): Rename to reg_dtor_and_close.  Move dlopen to...
1337         (do_test): ... here.  Use IS_LOADED to test for its
1338         availability.
1340 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
1342         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1344 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
1346         [BZ #18696]
1347         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
1348         si_addr_bnd.
1349         (si_lower): New.
1350         (si_upper): Likewise.
1352 2015-07-16  David S. Miller  <davem@davemloft.net>
1354         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
1356 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1358         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
1359         buffer.
1360         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
1361         fail output information.
1363 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1365         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
1366         and strstr-ppc64..
1367         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1368         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
1369         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
1370         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
1371         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
1373 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
1375         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
1376         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1377         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
1378         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1380 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
1382         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
1383         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
1384         rtld_hidden_proto.
1385         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
1387 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1389         * tst-nodelete-opened.c (do_test): Add comment to clarify how
1390         the test can fail.
1392         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
1394         [BZ #18676]
1395         * elf/tst-nodelete-opened.c: New test case.
1396         * elf/tst-nodelete-opened-lib.c: New test case module.
1397         * elf/Makefile (tests, modules-names): Use them.
1398         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
1399         early.
1401 2015-07-15  David S. Miller  <davem@davemloft.net>
1403         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
1404         futex-intenal.h
1405         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
1406         * sysdeps/sparc/sparc64/Makefile: Likewise.
1407         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
1408         Remove space from macro define.
1409         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
1411 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
1413         [BZ #17475]
1414         * locale/iso-639.def: Update Bhili and Tulu language codes as
1415         per iso639-3.
1417 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
1419         * elf/tst-leaks1.c (main): Converted to ...
1420         (do_test): ... this.
1421         (TEST_FUNCTION): New macro.
1422         Include test-skeleton.c.
1423         * localedata/tst-langinfo.c (main): Converted to ...
1424         (do_test): ... this.
1425         (TEST_FUNCTION): New macro.
1426         Include test-skeleton.c.
1427         * math/test-fpucw.c (main): Converted to ...
1428         (do_test): ... this.
1429         (TEST_FUNCTION): New macro.
1430         Include test-skeleton.c.
1431         * math/test-tgmath.c (main): Converted to ...
1432         (do_test): ... this.
1433         (TEST_FUNCTION): New macro.
1434         Include test-skeleton.c.
1435         * math/test-tgmath2.c (main): Converted to ...
1436         (do_test): ... this.
1437         (TEST_FUNCTION): New macro.
1438         Include test-skeleton.c.
1439         * setjmp/tst-setjmp.c (main): Converted to ...
1440         (do_test): ... this.
1441         (TEST_FUNCTION): New macro.
1442         Include test-skeleton.c.
1443         * stdio-common/tst-sscanf.c (main): Converted to ...
1444         (do_test): ... this.
1445         (TEST_FUNCTION): New macro.
1446         Include test-skeleton.c.
1447         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
1448         (do_test): ... this.
1449         (TEST_FUNCTION): New macro.
1450         Include test-skeleton.c.
1452         * elf/tst-audit9.c (main): Converted to ...
1453         (do_test): ... this.
1454         (TEST_FUNCTION): New macro.
1455         Include test-skeleton.c.
1457 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
1459         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
1461 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1463         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
1464         New variable.
1466 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1468         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1470 2015-07-14  Roland McGrath  <roland@hack.frob.com>
1472         * sysdeps/generic/dl-fileid.h: New file.
1473         * sysdeps/posix/dl-fileid.h: New file.
1474         * sysdeps/nacl/dl-fileid.h: New file.
1475         * include/link.h: Include <dl-fileid.h>.
1476         (struct link_map): Replace l_dev and l_ino with l_file_id.
1477         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
1478         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
1479         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
1481 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1483         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
1485 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1487         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
1488         Add iff $CXX is set.
1489         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
1490         Likewise.
1491         (tst-nodelete-zmodiff): Likewise.
1492         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
1494 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1496         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
1498 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
1500         * sysdeps/aarch64/fpu/math_private.h
1501         (define math_opt_barrier): Add AArch64 version.
1502         (math_force_eval): Likewise.
1504 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
1506         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
1508 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
1510         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
1511         %ld with %jd and cast to intmax_t.
1512         (do_test_length_zero): Likewise.
1514 2015-07-10  Roland McGrath  <roland@hack.frob.com>
1516         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
1518 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
1520         * sysdeps/tile/libm-test-ulps: Regenerated.
1522         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
1523         Comment out the whole function, not just its body.
1525 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1527         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
1528         locks.
1530         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
1532 2015-07-10  Torvald Riegel  <triegel@redhat.com>
1534         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
1535         (sem_assume_only_signals_cause_futex_EINTR): Remove.
1537 2015-07-10  Torvald Riegel  <triegel@redhat.com>
1539         * sysdeps/nptl/futex-internal.h: New file.
1540         * sysdeps/nacl/futex-internal.h: New file.
1541         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
1542         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
1543         error checking.
1544         (setxid_unmark_thread): Likewise.
1545         (__nptl_setxid): Likewise.
1546         (__wait_lookup_done): Likewise.
1547         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
1548         * nptl/nptl-init.c (sighandler_setxid): Likewise.
1549         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1550         * nptl/pthread_once.c (clear_once_control): Likewise.
1551         (__pthread_once_slow): Likewise.
1552         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
1553         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
1554         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
1555         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1556         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
1557         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
1558         Likewise.
1559         (__pthread_rwlock_rdlock): Likewise.
1560         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1561         Likewise.
1562         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1563         Likewise.
1564         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1565         Likewise.
1566         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
1567         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
1568         Likewise.
1569         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
1570         __ASSUME_PRIVATE_FUTEX check.
1571         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
1572         Check that shared futexes are supported.
1573         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
1574         wrappers with error checking.
1575         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
1576         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
1577         * nptl/pthread_barrierattr_setpshared.c
1578         (pthread_barrierattr_setpshared): Check that shared futexes are
1579         supported.
1580         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
1581         Likewise.
1582         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
1583         Likewise.
1584         * nptl/sem_init.c (futex_private_if_supported): Remove.
1585         (__new_sem_init): Adapt and check that shared futexes are supported.
1586         * nptl/sem_open.c (sem_open): Likewise.
1587         * nptl/sem_post.c (futex_wake): Remove.
1588         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
1589         (do_futex_wait): Use futex wrappers with error checking.
1590         * nptl/sem_wait.c: Include lowlevellock.h.
1591         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
1592         Use futex_supports_pshared.
1593         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
1594         Use futex wrappers with error checking.
1595         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
1596         Likewise.
1597         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
1598         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
1599         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
1600         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
1601         (futex_wake): Likewise.
1602         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
1603         (do_futex_wait): Use futex wrappers with error checking.
1604         (__new_sem_wait_slow): Update EINTR handling.
1605         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
1607 2015-07-09  Martin Sebor  <msebor@redhat.com>
1609         [BZ #18435]
1610         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
1611         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
1612         * nptl/Makefile (test-xfail-tst-once5): Define.
1614 2015-07-09  Roland McGrath  <roland@hack.frob.com>
1616         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
1617         * elf/dl-minimal.c: For readability, reorder some definitions and
1618         introduce more page breaks.  Include <stdio.h>.
1619         (__libc_fatal): New function.
1621         * include/unistd.h: Add rtld_hidden_proto for _exit.
1622         * posix/_exit.c: Add rtld_hidden_def.
1623         * sysdeps/mach/hurd/_exit.c: Likewise.
1624         * sysdeps/nacl/_exit.c: Likewise.
1625         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
1626         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
1628 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
1630         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
1631         bndmov encoding with zero displacement.
1633 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
1634             H.J. Lu  <hongjiu.lu@intel.com>
1636         [BZ #18134]
1637         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
1638         * sysdeps/i386/configure: Regenerated.
1639         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
1640         (_dl_runtime_profile): Save and restore Intel MPX return bound
1641         registers when calling _dl_call_pltexit.  Add
1642         PRESERVE_BND_REGS_PREFIX before return.
1643         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
1644         (LRV_BND1_OFFSET): Likewise.
1645         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
1646         lrv_bnd1.
1647         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
1648         typo in bndmov encoding.
1649         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
1650         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
1651         branch instructions to preserve bounds.
1653 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1656         [GLIBC_2.22]: Add fmemopen.
1658 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1660         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
1661         returns an error, also try to use host port from __mach_host_self for
1662         the __vm_wire call.
1663         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
1665 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1667         [BZ #18400]
1668         [BZ #18648]
1669         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
1670         Fix pr_uid and pr_gid members.
1671         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
1672         definition to elf_greg_t.
1674 2015-07-08  Roland McGrath  <roland@hack.frob.com>
1676         [BZ #18383]
1677         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
1678         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
1679         * sysdeps/arm/configure: Regenerated.
1680         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
1681         (test-xfail-tst-tlsalign-static): Variable removed.
1683         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
1684         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
1685         rather than explicit 'ln -s'.
1687         * resolv/rpc/netdb.h: New file.
1688         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
1690 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1692         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
1693         length buffers.
1694         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
1695         test-skeleton.c.
1697         [BZ #6544]
1698         [BZ #11216]
1699         [BZ #12836]
1700         [BZ #13151]
1701         [BZ #13152]
1702         [BZ #14292]
1703         * include/stdio.h (fmemopen): Remove hidden prototype.
1704         (__fmemopen): Add new hidden prototype.
1705         * libio/Makefile: Add oldfmemopen object.
1706         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
1707         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
1708         compliance.
1709         * libio/oldfmemopen.c: New file: old fmemopen implementation for
1710         symbol compatibility.
1711         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
1712         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
1713         fmemopen.
1714         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
1715         on append and read mode.
1716         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
1717         fmemopen.
1718         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
1719         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
1720         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
1721         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
1722         Likewise.
1723         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1724         [GLIBC_2.22]: Likewise.
1725         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
1726         Likewise.
1727         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
1728         Likewise.
1729         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1730         [GLIBC_2.22]: Likewise.
1731         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1732         [GLIBC_2.22]: Likewise.
1733         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1734         [GLIBC_2.22]: Likewise.
1735         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1736         [GLIBC_2.22]: Likewise.
1737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1738         [GLIBC_2.22]: Likewise.
1739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1740         [GLIBC_2.22]: Likewise.
1741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1742         [GLIBC_2.22]: Likewise.
1743         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
1744         Likewise.
1745         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
1746         Likewise.
1747         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
1748         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1749         [GLIBC_2.22]: Likewise.
1750         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1751         [GLIBC_2.22]: Likewise.
1752         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1753         [GLIBC_2.22]: Likewise.
1754         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1755         [GLIBC_2.22]: Likewise.
1756         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
1757         Likewise.
1758         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
1759         Likewise.
1760         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
1761         Likewise.
1762         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
1763         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
1765 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
1767         [BZ #18643]
1768         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
1769         IPV6_PATHMTU, and IPV6_DONTFRAG.
1771 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
1773         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
1774         and _IO_UNBUFFERED.
1775         * libio/oldfileops.c: Likewise.
1776         * libio/wfileops.c: Likewise.
1778 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
1780         * nscd/selinux.c: Delete selinux/flask.h include.
1782 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
1784         [BZ #18641]
1785         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
1786         (putpwent): Likewise.
1787         (getpwnam): Likewise.
1788         (getpwent_r): Likewise.
1789         (getpwuid_r): Likewise.
1790         (getpwnam_r): Likewise.
1791         (fgetpwent_r): Likewise.
1793 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
1795         [BZ #18557]
1796         * inet/rcmd.c (__validuser2_sa): Check user first to
1797         short-circuit host check.
1799 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
1800             Mikhail Ilin  <m.ilin@samsung.com>
1802         [BZ #17833]
1803         * elf/Makefile (tests): Add tst-nodelete.
1804         (modules-names): Add tst-nodelete-uniquemod.
1805         (tst-nodelete-uniquemod.so-no-z-defs): New.
1806         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
1807         (tst-nodelete-zmod.so-no-z-defs): Likewise.
1808         ($(objpfx)tst-nodelete): Likewise.
1809         ($(objpfx)tst-nodelete.out): Likewise.
1810         (LDFLAGS-tst-nodelete): Likewise.
1811         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
1812         * elf/dl-close.c (_dl_close_worker): Add a parameter to
1813         implement forced object deletion.
1814         (_dl_close): Pass false to _dl_close_worker.
1815         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
1816         * elf/tst-nodelete.cc: New file.
1817         * elf/tst-nodeletelib.cc: Likewise.
1818         * elf/tst-znodeletelib.cc: Likewise.
1819         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
1821 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1823         [BZ #18508]
1824         * stdlib/Makefile ($(objpfx)tst-makecontext3):
1825         Depend on $(libdl).
1826         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
1827         is not called infinitely times.
1828         (backtrace_helper): New function.
1829         (trace_arg): New struct.
1830         (st1): Enlarge stack size.
1831         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1832         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
1833         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1834         Likewise.
1836 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1838         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1840 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1842         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
1843         Include sys/types.h instead of bits/types.h.
1844         Remove inclusion of bits/wordsize.h.
1846 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1848         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
1849         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
1850         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
1851         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
1852         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
1853         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
1855 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1857         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
1858         link-defines.sym.
1859         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
1860         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
1861         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
1862         and LR_SIZE.
1863         * sysdeps/i386/link-defines.sym: New file.
1865 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1867         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
1868         (modules-names): Add tst-auditmod3a tst-auditmod3b.
1869         ($(objpfx)tst-audit3): New rule.
1870         ($(objpfx)tst-audit3.out): Likewise.
1871         * sysdeps/i386/tst-audit3.c: New file.
1872         * sysdeps/i386/tst-audit3.h: Likewise.
1873         * sysdeps/i386/tst-auditmod3a.c: Likewise.
1874         * sysdeps/i386/tst-auditmod3b.c: Likewise.
1876 2015-07-07  Torvald Riegel  <triegel@redhat.com>
1878         [BZ #18633]
1879         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
1880         pointer in C code.
1881         (__strcat_c): Likewise.
1882         (__strcat_g): Likewise.
1884 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
1886         [BZ #18592]
1887         * misc/sbrk.c: Set errno to ENOMEM on overflow.
1889 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
1891         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
1892         New function.  (__ieee754_sqrtf): New function.
1893         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
1894         New function.
1895         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
1896         New function.
1898 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
1900         * sysdeps/ieee754/support.c: Remove unused file.
1902 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1904         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
1905         registers instead of d ones so the layout is kernel abi compatible.
1906         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
1907         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
1908         Likewise.
1910 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1912         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1914 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
1916         [BZ #18619]
1917         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
1918         and return argument in case of subnormal argument.
1920 2015-07-01  Martin Sebor  <msebor@redhat.com>
1922         [BZ #18435]
1923         * nptl/Makefile: Add tst-once5.cc.
1924         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
1925         Remove macro redefinitions.
1926         * nptl/tst-once5.cc: New test.
1928 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
1930         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1932         * sysdeps/arm/libm-test-ulps: Regenerated.
1934         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1935         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1937 2015-06-30  Torvald Riegel  <triegel@redhat.com>
1939         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
1940         lll_lock_wait_private and lll_futex_wake probes.
1942         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
1943         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
1944         Likewise.
1945         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
1946         atomic_spin_nop.
1947         * sysdeps/x86_64/bits/atomic.h: Likewise.
1948         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
1949         to atomic_spin_nop and move ...
1950         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
1951         ... here and ...
1952         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
1953         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
1954         atomic_spin_nop instead of BUSY_WAIT_NOP.
1955         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
1956         Likewise.
1957         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
1958         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
1959         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
1960         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
1961         instead of atomic_delay.
1963 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
1965         [BZ #18613]
1966         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
1967         X_ADJ not X when adjusting exponent.
1968         (__ieee754_gamma_r): Do intermediate computations in
1969         round-to-nearest then adjust overflowing and underflowing results
1970         as needed.
1971         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
1972         of X_ADJ not X when adjusting exponent.
1973         (__ieee754_gammaf_r): Do intermediate computations in
1974         round-to-nearest then adjust overflowing and underflowing results
1975         as needed.
1976         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
1977         log of X_ADJ not X when adjusting exponent.
1978         (__ieee754_gammal_r): Do intermediate computations in
1979         round-to-nearest then adjust overflowing and underflowing results
1980         as needed.  Use 1.0L not 1.0f as numerator of division.
1981         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
1982         log of X_ADJ not X when adjusting exponent.
1983         (__ieee754_gammal_r): Do intermediate computations in
1984         round-to-nearest then adjust overflowing and underflowing results
1985         as needed.  Use 1.0L not 1.0f as numerator of division.
1986         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
1987         of X_ADJ not X when adjusting exponent.
1988         (__ieee754_gammal_r): Do intermediate computations in
1989         round-to-nearest then adjust overflowing and underflowing results
1990         as needed.  Use 1.0L not 1.0f as numerator of division.
1991         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
1992         to auto-libm-test-in.
1993         (tgamma_test): Use ALL_RM_TEST.
1994         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
1995         tests of tgamma with spurious-overflow.
1996         * math/auto-libm-test-out: Regenerated.
1997         * math/gen-libm-have-vector-test.sh: Do not check for START.
1998         * sysdeps/i386/fpu/libm-test-ulps: Update.
1999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2001         [BZ #18612]
2002         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
2003         arguments, just return 0.5 times the argument, with underflow
2004         forced as needed.
2005         * math/auto-libm-test-in: Add more tests of j1.
2006         * math/auto-libm-test-out: Regenerated.
2008         [BZ #16559]
2009         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
2010         (__ieee754_j1): Force underflow exception for small results.
2011         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2012         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
2013         (__ieee754_j1f): Force underflow exception for small results.
2014         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2015         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2016         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2017         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
2018         (__ieee754_j1l): Force underflow exception for small results.
2019         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2020         * math/auto-libm-test-in: Add more tests of j1 and jn.
2021         * math/auto-libm-test-out: Regenerated.
2023         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
2024         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
2025         (PF_MPLS): Likewise.
2026         (AF_IB): Likewise.
2027         (AF_MPLS): Likewise.
2028         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
2029         value and macro.
2030         (MS_RMT_MASK): Include MS_LAZYTIME.
2032 2015-06-26  Mel Gorman  <mgorman@suse.de>
2034         [BZ #18502]
2035         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
2036         already minimal.
2038 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
2040         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
2041         (DT_MIPS_NUM): Update.
2042         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
2043         DT_MIPS_RLD_MAP_REL.
2045 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
2047         [BZ #16559]
2048         [BZ #18602]
2049         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
2050         round-to-nearest internally then recompute results that
2051         underflowed to zero in the original rounding mode.
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_jnl.c (__ieee754_jnl): Likewise
2056         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
2057         * sysdeps/i386/fpu/libm-test-ulps: Update.
2058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2060 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
2062         * NEWS: Fixed description of link with vector math library.
2064 2015-06-25  Andreas Schwab  <schwab@suse.de>
2066         [BZ #18549]
2067         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
2068         * libio/test-fmemopen.c (do_test): Add test for it.
2070 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
2072         [BZ #17841]
2073         * Makeconfig (no-pie-ldflag): New.
2074         (+link): Set to $(+link-pie) if default to PIE.
2075         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
2076         * config.make.in (build-pie-default): New.
2077         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
2078         is default.  AC_SUBST.
2079         * configure: Regenerated.
2080         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
2082 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2084         * nptl/descr.h (struct pthread): Change type of field setxid_futex
2085         to 'unsigned int'.
2087         * resolv/gai_misc.h (struct waitlist): Change type of field
2088         counterp to 'volatile unsigned int *'.
2089         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
2090         FUTEXADDR and OLDVAL.
2091         * resolv/getaddrinfo_a.c (getaddrinfo_a):
2092         Give local variable TOTAL type 'volatile unsigned int'.
2093         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2094         * resolv/gai_suspend.c (gai_suspend):
2095         Give local variable CNTR type 'unsigned int'.
2097         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
2098         counterp to 'volatile unsigned int *'.
2099         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
2100         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
2101         (aio_suspend): Give local variable CNTR type 'unsigned int'.
2102         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
2103         Give local variable TOTAL type 'volatile unsigned int'.
2104         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2106 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2108         [BZ #18383]
2109         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
2110         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
2111         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
2112         comment for i386/x86-64.
2113         (test-xfail-tst-tlsalign-extern-static): Removed.
2115 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2117         * math/test-double.h: New file.
2118         * math/test-float.h: Likewise.
2119         * math/test-ldouble.h: Likewise.
2120         * math/test-math-inline.h: Likewise.
2121         * math/test-math-no-inline.h: Likewise.
2122         * math/test-math-scalar.h: Likewise.
2123         * math/test-math-vector.h: Likewise.
2124         * math/test-vec-loop.h: Remove file.  Contents moved into
2125         test-math-vector.h.
2126         * math/libm-test.inc (MATHCONST): Do not document macro.
2127         * math/test-double.c: Include test-double.h, test-math-no-inline.h
2128         and test-math-scalar.h.
2129         (FUNC): Remove macro.
2130         (FUNC_TEST): Likewise.
2131         (FLOAT): Likewise.
2132         (MATHCONST): Likewise.
2133         (PRINTF_EXPR): Likewise.
2134         (PRINTF_XEXPR): Likewise.
2135         (PRINTF_NEXPR): Likewise.
2136         (TEST_DOUBLE): Likewise.
2137         (TEST_MATHVEC): Likewise.
2138         (__NO_MATH_INLINES): Likewise.
2139         * math/test-float.c: Include test-float.h, test-math-no-inline.h
2140         and test-math-scalar.h.
2141         (FUNC): Remove macro.
2142         (FUNC_TEST): Likewise.
2143         (FLOAT): Likewise.
2144         (MATHCONST): Likewise.
2145         (PRINTF_EXPR): Likewise.
2146         (PRINTF_XEXPR): Likewise.
2147         (PRINTF_NEXPR): Likewise.
2148         (TEST_FLOAT): Likewise.
2149         (TEST_MATHVEC): Likewise.
2150         (__NO_MATH_INLINES): Likewise.
2151         * math/test-idouble.c: Include test-double.h, test-math-inline.h
2152         and test-math-scalar.h.
2153         (FUNC): Remove macro.
2154         (FUNC_TEST): Likewise.
2155         (FLOAT): Likewise.
2156         (MATHCONST): Likewise.
2157         (PRINTF_EXPR): Likewise.
2158         (PRINTF_XEXPR): Likewise.
2159         (PRINTF_NEXPR): Likewise.
2160         (TEST_DOUBLE): Likewise.
2161         (TEST_MATHVEC): Likewise.
2162         (TEST_INLINE): Likewise.
2163         (__NO_MATH_INLINES): Likewise.
2164         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
2165         test-math-scalar.h.
2166         (FUNC): Remove macro.
2167         (FUNC_TEST): Likewise.
2168         (FLOAT): Likewise.
2169         (MATHCONST): Likewise.
2170         (PRINTF_EXPR): Likewise.
2171         (PRINTF_XEXPR): Likewise.
2172         (PRINTF_NEXPR): Likewise.
2173         (TEST_FLOAT): Likewise.
2174         (TEST_MATHVEC): Likewise.
2175         (TEST_INLINE): Likewise.
2176         (__NO_MATH_INLINES): Likewise.
2177         * math/test-ildoubl.c: Include test-ldouble.h, test-math-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_LDOUBLE): Likewise.
2187         (TEST_MATHVEC): Likewise.
2188         (TEST_INLINE): Likewise.
2189         (__NO_MATH_INLINES): Likewise.
2190         * math/test-ldouble.c: Include test-ldouble.h,
2191         test-math-no-inline.h and test-math-scalar.h.
2192         (FUNC): Remove macro.
2193         (FUNC_TEST): Likewise.
2194         (FLOAT): Likewise.
2195         (MATHCONST): Likewise.
2196         (PRINTF_EXPR): Likewise.
2197         (PRINTF_XEXPR): Likewise.
2198         (PRINTF_NEXPR): Likewise.
2199         (TEST_LDOUBLE): Likewise.
2200         (TEST_MATHVEC): Likewise.
2201         (__NO_MATH_INLINES): Likewise.
2202         * math/test-double-vlen2.h: Include test-double.h,
2203         test-math-no-inline.h and test-math-vector.h.
2204         (FLOAT): Remove macro.
2205         (FUNC): Likewise.
2206         (MATHCONST): Likewise.
2207         (PRINTF_EXPR): Likewise.
2208         (PRINTF_XEXPR): Likewise.
2209         (PRINTF_NEXPR): Likewise.
2210         (TEST_DOUBLE): Likewise.
2211         (TEST_MATHVEC): Likewise.
2212         (__NO_MATH_INLINES): Likewise.
2213         (CNCT): Likewise.
2214         (CONCAT): Likewise.
2215         (WRAPPER_NAME): Likewise.
2216         (WRAPPER_DECL): Likewise.
2217         (WRAPPER_DECL_ff): Likewise.
2218         (WRAPPER_DECL_fFF): Likewise.
2219         (VECTOR_WRAPPER): Likewise.
2220         (VECTOR_WRAPPER_ff): Likewise.
2221         (VECTOR_WRAPPER_fFF): Likewise.
2222         (VEC_LEN): New macro.
2223         * math/test-double-vlen4.h: Include test-double.h,
2224         test-math-no-inline.h and test-math-vector.h.
2225         (FLOAT): Remove macro.
2226         (FUNC): Likewise.
2227         (MATHCONST): Likewise.
2228         (PRINTF_EXPR): Likewise.
2229         (PRINTF_XEXPR): Likewise.
2230         (PRINTF_NEXPR): Likewise.
2231         (TEST_DOUBLE): Likewise.
2232         (TEST_MATHVEC): Likewise.
2233         (__NO_MATH_INLINES): Likewise.
2234         (CNCT): Likewise.
2235         (CONCAT): Likewise.
2236         (WRAPPER_NAME): Likewise.
2237         (WRAPPER_DECL): Likewise.
2238         (WRAPPER_DECL_ff): Likewise.
2239         (WRAPPER_DECL_fFF): Likewise.
2240         (VECTOR_WRAPPER): Likewise.
2241         (VECTOR_WRAPPER_ff): Likewise.
2242         (VECTOR_WRAPPER_fFF): Likewise.
2243         (VEC_LEN): New macro.
2244         * math/test-double-vlen8.h: Include test-double.h,
2245         test-math-no-inline.h and test-math-vector.h.
2246         (FLOAT): Remove macro.
2247         (FUNC): Likewise.
2248         (MATHCONST): Likewise.
2249         (PRINTF_EXPR): Likewise.
2250         (PRINTF_XEXPR): Likewise.
2251         (PRINTF_NEXPR): Likewise.
2252         (TEST_DOUBLE): Likewise.
2253         (TEST_MATHVEC): Likewise.
2254         (__NO_MATH_INLINES): Likewise.
2255         (CNCT): Likewise.
2256         (CONCAT): Likewise.
2257         (WRAPPER_NAME): Likewise.
2258         (WRAPPER_DECL): Likewise.
2259         (WRAPPER_DECL_ff): Likewise.
2260         (WRAPPER_DECL_fFF): Likewise.
2261         (VECTOR_WRAPPER): Likewise.
2262         (VECTOR_WRAPPER_ff): Likewise.
2263         (VECTOR_WRAPPER_fFF): Likewise.
2264         (VEC_LEN): New macro.
2265         * math/test-float-vlen4.h: Include test-float.h,
2266         test-math-no-inline.h and test-math-vector.h.
2267         (FLOAT): Remove macro.
2268         (FUNC): Likewise.
2269         (MATHCONST): Likewise.
2270         (PRINTF_EXPR): Likewise.
2271         (PRINTF_XEXPR): Likewise.
2272         (PRINTF_NEXPR): Likewise.
2273         (TEST_FLOAT): Likewise.
2274         (TEST_MATHVEC): Likewise.
2275         (__NO_MATH_INLINES): Likewise.
2276         (CNCT): Likewise.
2277         (CONCAT): Likewise.
2278         (WRAPPER_NAME): Likewise.
2279         (WRAPPER_DECL): Likewise.
2280         (WRAPPER_DECL_ff): Likewise.
2281         (WRAPPER_DECL_fFF): Likewise.
2282         (VECTOR_WRAPPER): Likewise.
2283         (VECTOR_WRAPPER_ff): Likewise.
2284         (VECTOR_WRAPPER_fFF): Likewise.
2285         (VEC_LEN): New macro.
2286         * math/test-float-vlen8.h: Include test-float.h,
2287         test-math-no-inline.h and test-math-vector.h.
2288         (FLOAT): Remove macro.
2289         (FUNC): Likewise.
2290         (MATHCONST): Likewise.
2291         (PRINTF_EXPR): Likewise.
2292         (PRINTF_XEXPR): Likewise.
2293         (PRINTF_NEXPR): Likewise.
2294         (TEST_FLOAT): Likewise.
2295         (TEST_MATHVEC): Likewise.
2296         (__NO_MATH_INLINES): Likewise.
2297         (CNCT): Likewise.
2298         (CONCAT): Likewise.
2299         (WRAPPER_NAME): Likewise.
2300         (WRAPPER_DECL): Likewise.
2301         (WRAPPER_DECL_ff): Likewise.
2302         (WRAPPER_DECL_fFF): Likewise.
2303         (VECTOR_WRAPPER): Likewise.
2304         (VECTOR_WRAPPER_ff): Likewise.
2305         (VECTOR_WRAPPER_fFF): Likewise.
2306         (VEC_LEN): New macro.
2307         * math/test-float-vlen16.h: Include test-float.h,
2308         test-math-no-inline.h and test-math-vector.h.
2309         (FLOAT): Remove macro.
2310         (FUNC): Likewise.
2311         (MATHCONST): Likewise.
2312         (PRINTF_EXPR): Likewise.
2313         (PRINTF_XEXPR): Likewise.
2314         (PRINTF_NEXPR): Likewise.
2315         (TEST_FLOAT): Likewise.
2316         (TEST_MATHVEC): Likewise.
2317         (__NO_MATH_INLINES): Likewise.
2318         (CNCT): Likewise.
2319         (CONCAT): Likewise.
2320         (WRAPPER_NAME): Likewise.
2321         (WRAPPER_DECL): Likewise.
2322         (WRAPPER_DECL_ff): Likewise.
2323         (WRAPPER_DECL_fFF): Likewise.
2324         (VECTOR_WRAPPER): Likewise.
2325         (VECTOR_WRAPPER_ff): Likewise.
2326         (VECTOR_WRAPPER_fFF): Likewise.
2327         (VEC_LEN): New macro.
2328         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
2329         test-vec-loop.h.
2330         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2331         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2332         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2333         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2334         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2335         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2336         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2338 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2340         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
2341         (__getlogin_r): ... this.
2343 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2345         [BZ #18594]
2346         * math/s_ccosh.c (__ccosh): Compare with least normal value
2347         instead of comparing class with FP_SUBNORMAL.
2348         * math/s_ccoshf.c (__ccoshf): Likewise.
2349         * math/s_ccoshl.c (__ccoshl): Likewise.
2350         * math/s_cexp.c (__cexp): Likewise.
2351         * math/s_cexpf.c (__cexpf): Likewise.
2352         * math/s_cexpl.c (__cexpl): Likewise.
2353         * math/s_csin.c (__csin): Likewise.
2354         * math/s_csinf.c (__csinf): Likewise.
2355         * math/s_csinh.c (__csinh): Likewise.
2356         * math/s_csinhf.c (__csinhf): Likewise.
2357         * math/s_csinhl.c (__csinhl): Likewise.
2358         * math/s_csinl.c (__csinl): Likewise.
2359         * math/s_ctan.c (__ctan): Likewise.
2360         * math/s_ctanf.c (__ctanf): Likewise.
2361         * math/s_ctanh.c (__ctanh): Likewise.
2362         * math/s_ctanhf.c (__ctanhf): Likewise.
2363         * math/s_ctanhl.c (__ctanhl): Likewise.
2364         * math/s_ctanl.c (__ctanl): Likewise.
2365         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
2366         csin, csinh, ctan and ctanh.
2367         * math/auto-libm-test-out: Regenerated.
2368         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
2369         * sysdeps/i386/fpu/libm-test-ulps: Update.
2370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2372 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2374         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
2375         return value is wrong, print the expected value too.
2377 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2379         [BZ #18585]
2380         * elf/readlib.c (is_gdb_python_file): New.
2381         (process_file): Don't issue errors on filenames with -gdb.py
2382         suffix.
2384 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2386         * math/auto-libm-test-in: Add more tests of csin and csinh.
2387         * math/auto-libm-test-out: Regenerated.
2388         * math/libm-test.inc (csin_test_data): Remove tests moved to
2389         auto-libm-test-in.
2390         (csinh_test_data): Likewise.
2392         [BZ #18593]
2393         * math/s_csin.c (__csin): Negate before rather than after possibly
2394         overflowing multiplication.
2395         * math/s_csinf.c (__csinf): Likewise.
2396         * math/s_csinh.c (__csinh): Likewise.
2397         * math/s_csinhf.c (__csinhf): Likewise.
2398         * math/s_csinhl.c (__csinhl): Likewise.
2399         * math/s_csinl.c (__csinl): Likewise.
2400         * math/auto-libm-test-in: Add some tests of csin and csinh.
2401         * math/auto-libm-test-out: Regenerated.
2402         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
2403         (csinh_test_data): Likewise.
2404         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2406         [BZ #18586]
2407         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
2408         underflow exception for small results.
2410 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
2412         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
2413         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
2414         variable and included header.
2415         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
2416         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
2417         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
2418         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
2419         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
2420         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
2421         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
2422         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
2423         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
2424         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
2425         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
2426         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
2427         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
2428         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
2429         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
2430         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
2432 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2434         [BZ #16526]
2435         [BZ #16538]
2436         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
2437         (__sin): Force underflow exception for arguments with small
2438         absolute value.
2439         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
2440         (__kernel_sinf): Force underflow exception for arguments with
2441         small absolute value.
2442         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
2443         (__kernel_sincosl): Force underflow exception for arguments with
2444         small absolute value.
2445         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
2446         (__kernel_sinl): Force underflow exception for arguments with
2447         small absolute value.
2448         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
2449         (__kernel_sincosl): Force underflow exception for arguments with
2450         small absolute value.
2451         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
2452         (__kernel_sinl): Force underflow exception for arguments with
2453         small absolute value.
2454         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
2455         (__kernel_sinl): Force underflow exception for arguments with
2456         small absolute value.
2457         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
2458         (__kernel_sinf): Force underflow exception for arguments with
2459         small absolute value.
2460         * math/auto-libm-test-in: Add more tests of sin and sincos.
2461         * math/auto-libm-test-out: Regenerated.
2463         [BZ #18245]
2464         [BZ #18583]
2465         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
2466         (__kernel_standard_l): Use feholdexcept and fesetenv around
2467         conversion to double instead of special-casing overflow and
2468         underflow.
2469         * math/libm-test.inc (fmod_test_data): Add more tests.
2470         (remainder_test_data): Likewise.
2471         (sqrt_test_data): Likewise.
2473 2015-06-23  Torvald Riegel  <triegel@redhat.com>
2475         [BZ #17403]
2476         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
2477         atomic_read_barrier, atomic_write_barrier): Define.
2478         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
2479         atomic_read_barrier, atomic_write_barrier): Define.
2481 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2483         * math/Makefile [$(PERL) != no]
2484         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
2485         dependency on libm-test.stmp below the inclusion of Rules.
2487 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
2489         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
2490         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
2491         and included header.
2492         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
2493         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
2494         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
2495         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
2496         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
2497         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
2498         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
2499         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
2500         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
2501         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
2502         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
2503         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
2504         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
2505         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
2506         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
2507         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
2508         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
2509         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
2510         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
2512 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2514         [BZ #18371]
2515         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
2516         intermediate but not final result might underflow.
2517         * math/s_csqrtf.c (__csqrtf): Likewise.
2518         * math/s_csqrtl.c (__csqrtl): Likewise.
2519         * math/auto-libm-test-in: Add more tests of csqrt.
2520         * math/auto-libm-test-out: Regenerated.
2521         * sysdeps/i386/fpu/libm-test-ulps: Update.
2523         [BZ #18219]
2524         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
2525         threshold on absolute value of exponent for which scaling is used.
2526         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
2527         * math/auto-libm-test-in: Add more tests of exp2.
2528         * math/auto-libm-test-out: Regenerated.
2530 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
2532         [BZ #17977]
2533         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
2534         when initializing interface list, based on the bug analysis
2535         and the patch proposed by Eric Newton.
2536         * resolv/tst-res_hconf_reorder.c: New test.
2537         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
2538         tst-res_hconf_reorder.
2539         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
2540         and $(shared-thread-library).
2541         (tst-res_hconf_reorder-ENV): New variable.
2543         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
2544         in comment.
2546 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
2548         [BZ #16353]
2549         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
2550         (__expm1): Force underflow exception for arguments with small
2551         absolute value.
2552         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
2553         (__expm1f): Force underflow exception for arguments with small
2554         absolute value.
2555         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
2556         (__expm1): Force underflow exception for arguments with small
2557         absolute value.
2558         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
2559         (__expm1f): Force underflow exception for arguments with small
2560         absolute value.
2561         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2562         Check for small arguments before calling __expm1.
2563         * math/auto-libm-test-in: Do not mark underflow exceptions as
2564         possibly missing for bug 16353.
2565         * math/auto-libm-test-out: Regenerated.
2567 2015-06-22  Andreas Schwab  <schwab@suse.de>
2569         [BZ #18513]
2570         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
2571         PTR queries.
2573 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
2575         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
2577         * string/strcoll_l.c: Remove unused struct element idxnow.
2579 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
2581         [BZ #18569]
2582         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
2583         underflow and return argument in case of subnormal argument.
2584         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2585         Likewise.
2586         * math/auto-libm-test-in: Add more tests of expm1.
2587         * math/auto-libm-test-out: Regenerated.
2589         [BZ #16361]
2590         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
2591         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
2592         tiny results.
2593         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
2594         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
2595         tiny results.
2596         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
2597         mark underflow exceptions as possibly missing for bug 16361.
2598         * math/auto-libm-test-out: Regenerated.
2600 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
2602         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
2603         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
2604         Remove variable.
2605         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2606         (test-xfail-XOPEN2K8/utmpx.h/conform).
2608         * conform/conformtest.pl ($xerrors): New variable.
2609         (note_error): New function.
2610         (compiletest): New argument $xfail.  Use not_error.
2611         (runtest): Likewise.
2612         (top level): Handle xfail- lines.  Update calls to compiletest and
2613         runtest.  Handle xfail- and optional- in headers listed with
2614         allow-header.
2615         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
2616         (O_EXEC): Likewise.
2617         (O_SEARCH): Likewise.
2618         * conform/data/stropts.h-data (ioctl): Likewise.
2619         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
2620         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
2621         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
2622         (msghdr.msg_controllen): Likewise.
2623         (cmsghdr.cmsg_len): Likewise.
2624         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
2625         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
2626         variable.
2627         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2628         (test-xfail-XPG4/stropts.h/conform): Likewise.
2629         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2630         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2631         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2632         (test-xfail-UNIX98/stropts.h/conform): Likewise.
2633         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2634         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2635         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2636         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2637         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2638         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2639         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2640         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2641         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2642         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2643         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2644         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2645         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2646         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2647         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2649 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2651         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
2652         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
2653         definitions for proper unfolding of __MATHDECL_VEC.
2655 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2657         * benchtests/bench-strcoll.c:
2658         Include string.h.
2659         (main): Remove unused variable res.
2661 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2663         * timezone/Makefile (%/UTC %/Universal):
2664         Generate test-result files for UTC and Universal.
2666 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2668         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2670 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
2672         [BZ #16350]
2673         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
2674         for arguments with small absolute value.
2675         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
2676         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
2677         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
2678         (__asinh): Force underflow exception for arguments with small
2679         absolute value.
2680         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
2681         (__asinhf): Force underflow exception for arguments with small
2682         absolute value.
2683         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
2684         (__asinhl): Force underflow exception for arguments with small
2685         absolute value.
2686         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
2687         (__asinhl): Force underflow exception for arguments with small
2688         absolute value.
2689         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
2690         (__asinhl): Force underflow exception for arguments with small
2691         absolute value.
2692         * math/auto-libm-test-in: Do not mark underflow exceptions as
2693         possibly missing for bug 16350.
2694         * math/auto-libm-test-out: Regenerated.
2696         * include/bits/ipc.h: Remove file.
2697         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
2698         variable.
2699         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2700         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2701         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2702         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2703         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2704         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2705         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2706         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2707         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2709         * math/auto-libm-test-in: Remove spurious underflow allowance for
2710         tests of cexp.
2711         * math/auto-libm-test-out: Regenerated.
2713         [BZ #18558]
2714         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
2715         unconditional definition.
2716         (MCAST_BLOCK_SOURCE): Likewise.
2717         (MCAST_UNBLOCK_SOURCE): Likewise.
2718         (MCAST_LEAVE_GROUP): Likewise.
2719         (MCAST_JOIN_SOURCE_GROUP): Likewise.
2720         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
2721         (MCAST_MSFILTER): Likewise.
2722         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
2723         Remove variable.
2724         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2725         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2726         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2727         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2728         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2730 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
2732         * NEWS: Mention addition of x86_64 vector sincosf.
2733         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
2734         * math/test-float-vlen4.h: Likewise.
2735         * math/test-float-vlen8.h: Likewise.
2736         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2737         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
2738         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2739         * sysdeps/x86_64/fpu/Versions: New versions added.
2740         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2741         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2742         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2743         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
2744         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
2745         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
2746         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
2747         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
2748         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
2749         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
2750         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
2751         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
2752         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
2753         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
2754         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
2755         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
2756         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
2757         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2758         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2759         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2760         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2761         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2762         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2763         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2765         * NEWS: Mention addition of x86_64 vector sincos.
2766         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
2767         * math/math.h (__MATHDECL_VEC): New macro.
2768         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
2769         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
2770         declaration under condition.
2771         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
2772         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
2773         TEST_VEC_LOOP change.
2774         * math/test-double-vlen4.h: Likewise.
2775         * math/test-double-vlen8.h: Likewise.
2776         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
2777         * math/test-float-vlen4.h: Likewise.
2778         * math/test-float-vlen8.h: Likewise.
2779         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2780         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
2781         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2782         * sysdeps/x86_64/fpu/Versions: New versions added.
2783         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2784         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2785         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2786         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
2787         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
2788         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
2789         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
2790         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
2791         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
2792         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
2793         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
2794         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
2795         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
2796         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
2797         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
2798         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
2799         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
2800         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2801         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2802         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2803         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2804         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2805         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2806         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2808         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2809         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2810         redirections for powf.
2811         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2812         * sysdeps/x86_64/fpu/Versions: New versions added.
2813         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2814         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2815         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2816         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
2817         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
2818         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
2819         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
2820         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
2821         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
2822         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
2823         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
2824         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
2825         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
2826         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
2827         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
2828         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
2829         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
2830         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2831         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2832         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2833         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2834         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2835         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2836         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2837         * math/test-float-vlen16.h: Fixed 2 argument macro.
2838         * math/test-float-vlen4.h: Likewise.
2839         * math/test-float-vlen8.h: Likewise.
2840         * NEWS: Mention addition of x86_64 vector powf.
2842 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
2844         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2845         and redefine.
2846         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2847         and redefine.
2848         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
2849         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2850         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2852         [BZ #18553]
2853         * resource/getpriority.c (getpriority): Rename to __getpriority
2854         and define as weak alias of __getpriority.
2855         * resource/setpriority.c (setpriority): Rename to __setpriority
2856         and define as weak alias of __setpriority.
2857         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
2858         __getpriority and define as weak alias of __getpriority.
2859         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
2860         __setpriority and define as weak alias of __setpriority.
2861         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
2862         strong name.
2863         (setpriority): Use __setpriority as strong name.
2864         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
2865         __getpriority and define as weak alias of __getpriority.
2866         * include/sys/resource.h (__getpriority): Declare.  Use
2867         libc_hidden_proto.
2868         (__setpriority): Likewise.
2869         (getpriority): Don't use libc_hidden_proto.
2870         (setpriority): Likewise.
2871         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
2872         getpriority.  Call __setpriority instead of setpriority.
2873         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
2874         Remove variable.
2876         [BZ #18547]
2877         * misc/getttyent.c (getttynam): Rename to __getttynam and define
2878         as weak alias of __getttynam.  Use prototype function definition.
2879         Call __setttyent, __getttyent and __endttyent instead of
2880         setttyent, getttyent and endttyent.
2881         (getttyent): Rename to __getttyent and define as weak alias of
2882         __getttyent.  Call __setttyent instead of setttyent.  Call
2883         __fgets_unlocked instead of fgets_unlocked.
2884         (setttyent): Rename to __setttyent and define as weak alias of
2885         __setttyent.
2886         (endttyent): Rename to __endttyent and define as weak alias of
2887         __endttyent.
2888         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
2889         (__setttyent): Likewise.
2890         (__endttyent): Likewise.
2891         (getttyent): Don't use libc_hidden_proto.
2892         (setttyent): Likewise.
2893         (endttyent): Likewise.
2894         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
2895         __endttyent instead of setttyent, getttyent and endttyent.
2896         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
2897         Remove variable.
2899         [BZ #18546]
2900         * socket/recv.c (__recv): Use libc_hidden_def.
2901         * socket/socket.c (__socket): Likewise.
2902         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
2903         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
2904         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
2905         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
2906         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
2907         libc_hidden_def.
2908         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
2909         libc_hidden_weak.
2910         * include/sys/socket.h (__socket): Do not use attribute_hidden.
2911         Use libc_hidden_proto.
2912         (__recv): Likewise.
2913         * socket/Versions (libc): Export __recv and __socket at version
2914         GLIBC_PRIVATE.
2915         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
2916         instead of recv.
2917         (init_mq_netlink): Call __socket instead of socket.
2918         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
2919         Remove variable.
2921         [BZ #18545]
2922         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
2923         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
2924         hidden_weak.
2925         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
2926         define as alias of __mq_timedsend.  Use hidden_weak.
2927         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
2928         __mq_timedsend as strong name.
2929         (mq_timedreceive): Use __mq_timedreceive as strong name.
2930         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
2931         (__mq_timedreceive): Likewise.
2932         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
2933         __mq_timedreceive instead of mq_timedreceive.
2934         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
2935         instead of mq_timedsend.
2936         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
2937         Remove variable.
2939         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
2940         hidden_def and hidden_weak instead of libc_hidden_def and
2941         libc_hidden_weak.
2942         (top level): Refer to hidden_def in comment.
2943         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
2944         macro.  Use it instead of libc_hidden_def.
2945         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
2946         specify __GI_* name explicitly.
2947         (mq_timedreceive): Likewise.
2948         (mq_setattr): Likewise.
2950         [BZ #18544]
2951         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
2952         __pthread_barrier_init and define as weak alias of
2953         __pthread_barrier_init.
2954         * sysdeps/sparc/nptl/pthread_barrier_init.c
2955         (pthread_barrier_init): Likewise.
2956         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
2957         __pthread_barrier_wait and define as weak alias of
2958         __pthread_barrier_wait.
2959         * sysdeps/sparc/nptl/pthread_barrier_wait.c
2960         (pthread_barrier_wait): Likewise.
2961         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
2962         (pthread_barrier_wait): Likewise.
2963         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
2964         (pthread_barrier_wait): Likewise.
2965         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
2966         (pthread_barrier_wait): Likewise.
2967         * nptl/Versions (libpthread): Export __pthread_barrier_init and
2968         __pthread_barrier_wait at version GLIBC_PRIVATE.
2969         * include/pthread.h (__pthread_barrier_init): Declare.
2970         (__pthread_barrier_wait): Likewise.
2971         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
2972         Call __pthread_barrier_wait instead of pthread_barrier_wait.
2973         (helper_thread): Likewise.
2974         (init_mq_netlink): Call __pthread_barrier_init instead of
2975         pthread_barrier_init.
2977         [BZ #18542]
2978         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
2979         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
2980         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
2981         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
2982         vswscanf.
2983         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
2984         Remove variable.
2986         [BZ #18540]
2987         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
2988         strong alias of _IO_fflush.  Use libc_hidden_def.
2989         * libio/iofflush_u.c (fflush_unlocked): Rename to
2990         __fflush_unlocked and define as weak alias of __fflush_unlocked.
2991         Use libc_hidden_weak.
2992         * include/stdio.h (__fflush_unlocked): Declare.  Use
2993         libc_hidden_proto.
2994         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
2995         fflush_unlocked.
2996         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
2997         Remove variable.
2999         [BZ #18539]
3000         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
3001         define as weak alias of __addseverity.
3002         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
3003         Remove variable.
3004         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3005         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3006         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3008         [BZ #18536]
3009         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
3010         (__tfind): Likewise.
3011         (__tdelete): Likewise.
3012         (__twalk): Likewise.
3013         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
3014         __twalk to GLIBC_PRIVATE.
3015         * include/search.h (__tsearch): Use libc_hidden_proto.
3016         (__tfind): Likewise.
3017         (__tdelete): Likewise.
3018         (__twalk): Likewise.
3019         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
3020         Call __tdelete instead of tdelete.
3021         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
3022         tfind.  Call __tsearch instead of tsearch.
3023         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
3024         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
3025         Remove variable.
3026         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3028         [BZ #18534]
3029         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
3030         (dprintf): Define as a weak alias of __dprintf, not a strong
3031         alias.
3032         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
3033         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
3034         dprintf.
3035         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
3036         Remove variable.
3037         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3038         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3040         [BZ #18533]
3041         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
3042         not a strong alias.
3043         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
3044         Remove variable.
3046         [BZ #18532]
3047         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
3048         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
3049         (in6addr_loopback): Rename to __in6addr_loopback and define as
3050         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
3051         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
3052         libc_hidden_proto.
3053         (__in6addr_any): Likewise.
3054         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
3055         in6addr_any.
3056         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
3057         variable.
3058         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3060 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
3062         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
3063         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
3064         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3065         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3066         redirections for pow.
3067         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3068         * sysdeps/x86_64/fpu/Versions: New versions added.
3069         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3070         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3071         build of SSE, AVX2 and AVX512 IFUNC versions.
3072         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
3073         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
3074         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
3075         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
3076         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
3077         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
3078         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
3079         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
3080         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
3081         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
3082         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
3083         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
3084         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
3085         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
3086         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3087         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3088         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3089         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3090         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3091         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3092         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3093         * NEWS: Mention addition of x86_64 vector pow.
3095         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3096         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3097         redirections for expf.
3098         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3099         * sysdeps/x86_64/fpu/Versions: New versions added.
3100         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3101         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3102         build of SSE, AVX2 and AVX512 IFUNC versions.
3103         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
3104         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
3105         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
3106         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
3107         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
3108         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
3109         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
3110         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
3111         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
3112         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
3113         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
3114         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
3115         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
3116         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3117         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3118         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3119         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3120         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3121         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3122         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3123         * NEWS: Mention addition of x86_64 vector expf.
3125         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
3126         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
3127         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3128         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3129         redirections for exp.
3130         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3131         * sysdeps/x86_64/fpu/Versions: New versions added.
3132         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3133         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3134         build of SSE, AVX2 and AVX512 IFUNC versions.
3135         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
3136         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
3137         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
3138         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
3139         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
3140         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
3141         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
3142         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
3143         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
3144         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
3145         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
3146         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
3147         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
3148         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3149         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3150         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3151         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3152         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3153         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3154         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3155         * NEWS: Mention addition of x86_64 vector exp.
3157         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3158         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3159         redirections for logf.
3160         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3161         * sysdeps/x86_64/fpu/Versions: New versions added.
3162         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3163         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3164         build of SSE, AVX2 and AVX512 IFUNC versions.
3165         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
3166         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
3167         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
3168         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
3169         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
3170         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
3171         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
3172         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
3173         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
3174         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
3175         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
3176         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
3177         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
3178         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3179         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3180         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3181         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3182         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3183         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3184         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3185         * NEWS: Mention addition of x86_64 vector logf.
3187         * bits/libm-simd-decl-stubs.h: Added stubs for log.
3188         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
3189         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3190         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3191         redirections for log.
3192         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3193         * sysdeps/x86_64/fpu/Versions: New versions added.
3194         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3195         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3196         build of SSE, AVX2 and AVX512 IFUNC versions.
3197         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
3198         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
3199         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
3200         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
3201         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
3202         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
3203         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
3204         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
3205         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
3206         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
3207         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
3208         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
3209         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
3210         test.
3211         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3212         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3213         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3214         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3215         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3216         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3217         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3218         * NEWS: Mention addition of x86_64 vector log.
3220 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3222         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
3223         cfi_adjust_cfa_offset argument.
3224         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
3225         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
3227         [BZ #18034]
3228         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
3229         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
3230         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
3231         ordering using ldar.
3232         (_dl_tlsdesc_dynamic): Likewise.
3233         (_dl_tlsdesc_return_lazy): Likewise.
3234         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
3235         relaxed atomics instead of volatile and synchronize with release store.
3236         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
3237         volatile.
3238         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3240 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
3242         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3243         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
3244         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3245         * sysdeps/x86_64/fpu/Versions: New versions added.
3246         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3247         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3248         build of SSE, AVX2 and AVX512 IFUNC versions.
3249         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
3250         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
3251         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
3252         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
3253         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
3254         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
3255         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
3256         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
3257         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
3258         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
3259         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
3260         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
3261         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
3262         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3263         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3264         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3265         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3266         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3267         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3268         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3269         * NEWS: Mention addition of x86_64 vector sinf.
3271 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
3273         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
3274         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
3275         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
3276         Remove variable.
3277         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3278         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3280 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
3282         [BZ #18530]
3283         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
3284         strong alias of _IO_fputs.  Use libc_hidden_def.
3285         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
3286         and define as weak alias of __fputs_unlocked.  Use
3287         libc_hidden_weak.
3288         * include/stdio.h (__fputs_unlocked): Declare.  Use
3289         libc_hidden_proto.
3290         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
3291         fputs_unlocked.
3293         [BZ #18529]
3294         * resolv/netdb.h [__USE_POSIX]: Change condition to
3295         [__USE_XOPEN2K].
3296         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
3297         not expect.
3298         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
3299         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
3300         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
3301         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
3302         [XPG4 || UNIX98] (AI_ALL): Likewise.
3303         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
3304         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
3305         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
3306         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
3307         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
3308         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
3309         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
3310         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
3311         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
3312         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
3313         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
3314         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
3315         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
3316         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
3317         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
3318         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3319         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3320         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
3321         [XPG4 || UNIX98] (gai_strerror): Likewise.
3322         [XPG4 || UNIX98] (getaddrinfo): Likewise.
3323         [XPG4 || UNIX98] (getnameinfo): Likewise.
3325         [BZ #18528]
3326         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
3327         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
3328         __USE_XOPEN2K8].
3329         (getgrent): Likewise.
3330         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
3331         expect.
3332         [XPG3 || POSIX2008] (endgrent): Likewise.
3333         [XPG3] (setgrent): Likewise.
3334         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
3335         variable.
3336         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3338         [BZ #18527]
3339         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
3340         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
3341         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
3342         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
3343         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
3344         * include/unistd.h (__getlogin_r): Declare.  Use
3345         libc_hidden_proto.
3346         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
3347         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
3348         variable.
3349         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3350         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3351         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3353 2015-06-12  Martin Sebor  <msebor@redhat.com>
3355         [BZ #18512]
3356         * Makerules (check-install-supported): New target.
3357         (install): Add check-install-supported as a dependency.
3358         * manual/install.texi (Installing the C Library): Document
3359         that overriding prefix and exec_prefix is not supported.
3360         Mention DESTDIR.
3361         * INSTALL: Regenerate from the above.
3363 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
3365         [BZ #18519]
3366         * posix/Versions (libc): Export __libc_pread at version
3367         GLIBC_PRIVATE.
3368         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
3369         instead of pread.
3370         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
3371         variable.
3373         [BZ #18522]
3374         * misc/efgcvt_r.c
3375         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
3376         (cvt_symbol): Use weak_alias instead of strong_alias.
3377         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
3378         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
3379         Remove variable.
3380         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3381         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3383         [BZ #18520]
3384         * inet/herrno.c (h_errno): Rename to __h_errno.
3385         (__libc_h_errno): Define as alias of __h_errno not h_errno.
3386         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
3387         to __h_errno instead of h_errno.
3388         * nptl/herrno.c (h_errno): Rename to __h_errno.
3389         (__h_errno_location): Refer to __h_errno not h_errno.
3390         * resolv/Versions (h_errno): Rename to __h_errno.
3391         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
3392         Remove variable.
3393         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3395 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
3397         * configure.ac: More strict check for AVX512 assembler support.
3398         * configure: Regenerated.
3400         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
3401         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
3402         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3403         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
3404         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3405         * sysdeps/x86_64/fpu/Versions: New versions added.
3406         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3407         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3408         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3409         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
3410         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
3411         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
3412         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
3413         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
3414         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
3415         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
3416         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
3417         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
3418         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
3419         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
3420         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
3421         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
3422         test.
3423         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3424         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3425         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3426         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3427         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3428         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3429         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3430         * NEWS: Mention addition of x86_64 vector sin.
3432 2015-06-11  Florian Weimer  <fweimer@redhat.com>
3434         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
3435         comment.
3437 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
3439         [BZ #18479]
3440         * nptl/pt-interp.c: New file.
3441         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
3442         Add pt-interp.
3443         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
3444         $(common-objpfx)runtime-linker.h.
3446 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
3448         * Makeconfig (+interp): Remove unused variable.
3449         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
3450         only.  Depend on $(common-objpfx)runtime-linker.h instead of
3451         $(elf-objpfx)runtime-linker.h.
3452         ($(elf-objpfx)runtime-linker.h): Rename to
3453         $(common-objpfx)runtime-linker.h and move ...
3454         * Makerules [$(build-shared) = yes]: ... here.
3455         * elf/interp.c: Include <runtime-linker.h> instead of
3456         <elf/runtime-linker.h>.
3458 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3460         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
3461         (__gettimeofday_syscall): Remove vsyscall fallback.
3462         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
3463         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
3464         Add syscall fallback function.
3465         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
3466         if vDSO is not present.
3467         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
3468         fallback function.
3469         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
3470         present.
3471         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
3472         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
3474 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
3476         [BZ #18497]
3477         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
3478         of wcscmp.
3479         (wcscmp): Define as weak alias of WCSCMP.
3480         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
3481         wcscoll.
3482         (USE_HIDDEN_DEF): Define.
3483         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
3484         __wcscoll.  Don't use libc_hidden_weak.
3485         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
3486         wcscmp.
3487         * sysdeps/i386/i686/multiarch/wcscmp-c.c
3488         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
3489         __GI_wcscmp.
3490         (weak_alias): Undefine and redefine.
3491         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
3492         __wcscmp and define as weak alias of __wcscmp.
3493         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
3494         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
3495         (__wcscoll): Likewise.
3496         (wcscmp): Don't use libc_hidden_proto.
3497         (wcscoll): Likewise.
3498         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
3499         wcscoll.
3500         * posix/regexec.c (check_node_accept_bytes): Likewise.
3501         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
3502         variable.
3503         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3504         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3506         [BZ #18507]
3507         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
3508         __fstatvfs and define as weak alias of __fstatvfs.  Use
3509         libc_hidden_weak.
3510         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
3511         and define as weak alias of __statvfs.  Use libc_hidden_weak.
3512         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
3513         Define as alias of __fstatvfs, not fstatvfs.
3514         (fstatvfs64): Likewise.
3515         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
3516         Define as alias of __statvfs, not statvfs.
3517         (statvfs64): Likewise.
3518         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
3519         Remove variable.
3521 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3524         (HAVE_GETCPU_VSYSCALL): Define.
3525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3526         (HAVE_GETCPU_VSYSCALL): Likewise.
3527         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
3528         * sysdeps/unix/sysv/linux/sched_getcpu.c
3529         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
3530         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
3531         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
3532         prototype.
3533         * sysdeps/unix/sysv/linux/x86_64/init-first.c
3534         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
3535         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
3536         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
3537         Define.
3538         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
3539         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3540         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
3541         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3543 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
3545         * sysdeps/x86_64/fpu/Makefile: New file.
3546         * sysdeps/x86_64/fpu/Versions: New file.
3547         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
3548         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
3549         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
3550         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
3551         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
3552         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
3553         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
3554         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
3555         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
3556         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
3557         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
3558         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
3559         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
3560         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3561         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3562         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
3563         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
3564         * sysdeps/x86_64/configure.ac: Options for libmvec build.
3565         * sysdeps/x86_64/configure: Regenerated.
3566         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
3567         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
3568         * manual/install.texi (Configuring and compiling): Document
3569         --disable-mathvec.
3570         * INSTALL: Regenerated.
3571         * NEWS: Mention addition of libmvec and x86_64 vector cos.
3573         * math/Makefile: Added rules for vector tests.
3574         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
3575         declaration under condition.
3576         * math/test-double-vlen2.h: New file.
3577         * math/test-double-vlen4.h: New file.
3578         * math/test-double-vlen8.h: New file.
3579         * math/test-vec-loop.h: Added initialization macro.
3580         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
3581         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
3582         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
3583         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
3584         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
3585         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
3586         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
3587         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
3588         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
3589         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
3590         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
3592         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3593         * sysdeps/x86_64/fpu/Versions: New versions added.
3594         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
3595         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
3596         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
3597         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
3598         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
3599         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
3600         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
3601         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
3602         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
3603         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
3604         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
3605         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
3606         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
3607         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3608         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3609         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3610         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
3611         * NEWS: Mention addition of x86_64 vector cosf.
3613         * math/Makefile: Added CFLAGS for new tests.
3614         * math/test-float-vlen16.h: New file.
3615         * math/test-float-vlen4.h: New file.
3616         * math/test-float-vlen8.h: New file.
3617         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
3618         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
3619         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3620         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
3621         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
3622         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
3623         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
3624         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
3625         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
3626         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
3627         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
3629 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
3631         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
3632         * locale/programs/ld-ctype.c: Likewise.
3634 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
3636         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
3637         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
3638         bit_ZMM16_31_state): New macro.
3639         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3640         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
3642 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
3644         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
3646 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
3648         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
3650 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
3652         [BZ #18498]
3653         * libio/memstream.c (open_memstream): Rename to __open_memstream
3654         and define as weak alias of __open_memstream.
3655         * include/stdio.h (__open_memstream): Declare.  Use
3656         libc_hidden_proto.
3657         (open_memstream): Don't use libc_hidden_proto.
3658         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
3659         open_memstream.
3660         * posix/getopt.c (_getopt_internal_r): Likewise.
3661         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
3662         variable.
3663         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3664         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3665         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3667         [BZ #18496]
3668         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
3669         instead of wcrtomb.
3671         [BZ #18483]
3672         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
3673         [__USE_XOPEN2K8].  Remove redundant #endif.
3674         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
3675         Remove redundant #if.
3676         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
3677         Remove variable.
3678         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3679         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3681         [BZ #18495]
3682         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
3683         (__iswlower): Likewise.
3684         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
3685         (__iswlower): Likewise.
3686         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
3687         instead of towlower.
3688         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
3689         instead of iswlower.  Call __towupper instead of towupper.
3690         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
3691         instead of iswalnum.
3693 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3695         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
3696         errors to stderr.
3698 2015-06-05  Florian Weimer  <fweimer@redhat.com>
3700         [BZ #15661]
3701         [BZ #17322]
3702         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
3703         Check for overflow properly.  Check for O_APPEND.  Ignore large
3704         file system block sizes.  Add comments about problems.
3705         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
3706         * manual/filesys.texi (Storage Allocation): New node.
3708 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3710         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
3711         cancellable syscalls.
3712         (SYS_ify): Add guard to no redefine it.
3713         (INLINE_SYSCALL): Likewise.
3714         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
3715         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
3716         SYSCALL_CANCEL instead.
3717         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
3718         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
3719         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
3720         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
3721         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
3722         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
3723         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
3724         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
3725         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
3726         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
3727         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
3728         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
3729         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
3730         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
3731         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
3732         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
3733         Likewise.
3734         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
3735         (__libc_pread64): Likewise.
3736         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
3737         (__libc_preadv): Likewise.
3738         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
3739         (__libc_readv64): Likewise.
3740         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
3741         (__libc_pwrite): Likewise.
3742         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
3743         (__libc_pwrite64): Likewise.
3744         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
3745         (__libc_pwritev): Likewise.
3746         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
3747         (__libc_pwritev64): Likewise.
3748         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
3749         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
3750         (sync_file_range): Likewise.
3751         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
3752         Likewise.
3753         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
3754         Likewise.
3755         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
3756         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
3757         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
3758         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
3759         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
3760         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
3761         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
3762         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
3763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
3764         Likewise.
3765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3766         (__libc_read64): Likewise.
3767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
3768         Likewise.
3769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
3770         Likewise.
3771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
3772         Likewise.
3773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
3774         Likewise.
3775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3776         (__libc_pread64): Likewise.
3777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
3778         Likewise.
3779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3780         (__libc_pwrite64): Likewise.
3781         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
3782         (sync_file_range): Likewise.
3783         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
3784         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
3785         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3786         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
3787         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
3788         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3789         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3790         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
3791         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
3792         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3793         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3794         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
3795         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
3796         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
3797         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
3798         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3799         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
3800         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3801         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
3802         Likewise.
3803         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
3804         Likewise.
3805         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
3806         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
3807         Likewise.
3808         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
3809         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
3810         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
3811         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
3812         Likewise.
3813         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
3814         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
3815         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
3816         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
3817         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
3819 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
3821         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
3822         Include dl-vdso.
3823         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
3824         Use VDSO routines for gettimeofday, clock_gettime if
3825         available.
3826         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
3827         Declare VDSO symbols.
3828         * sysdeps/unix/sysv/linux/arm/sysdep.h:
3829         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
3830         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3831         * sysdeps/unix/sysv/linux/arm/Versions: Add
3832         __vdso_clock_gettime.
3834 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3836         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
3837         be an inline implementation regardless of library is built within.
3838         (open_not_cancel_2): Likewise.
3839         (__read_nocancel): Likewise.
3840         (__write_nocancel): Likewise.
3841         (openat_not_cancel): Likewise.
3842         (openat_not_cancel_3): Likewise.
3843         (openat64_not_cancel): Likewise.
3844         (openat64_not_cancel_3): Likewise.
3845         (__close_nocancel): Likewise.
3846         (pause_not_cancel): Likewise.
3847         (nanosleep_not_cancel): Likewise.
3848         (sigsuspend_not_cancel): Likewise.
3850 2015-06-04  Torvald Riegel  <triegel@redhat.com>
3852         [BZ #14958]
3853         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
3854         wake-up.
3855         (__pthread_rwlock_rdlock_slow): Likewise.
3856         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3857         Likewise.
3858         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3859         Likewise.
3860         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
3861         * nptl/tst-rwlock16.c: New file.
3862         * nptl/Makefile (tests): Add new test.
3864 2015-06-04  Torvald Riegel  <triegel@redhat.com>
3866         [BZ #18324]
3867         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
3868         missing wake-up of readers.
3869         * nptl/tst-rwlock15.c: New file.
3870         * nptl/Makefile (tests): Add new test.
3872 2015-06-03  Roland McGrath  <roland@hack.frob.com>
3874         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
3875         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
3876         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
3877         and __nacl_supply_interface_rtld.
3878         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
3879         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
3880         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
3881         Add __nacl_supply_interface_rtld.
3882         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
3884 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
3886         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
3887         isfinite.
3888         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3889         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
3891 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
3893         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
3894         __signbit* with standard C99 macros.
3895         * math/e_exp10l.c: Likewise.
3896         * math/e_exp2l.c: Likewise.
3897         * math/e_scalb.c: Likewise.
3898         * math/e_scalbf.c: Likewise.
3899         * math/e_scalbl.c: Likewise.
3900         * math/s_ldexp.c: Likewise.
3901         * math/s_ldexpf.c: Likewise.
3902         * math/s_ldexpl.c: Likewise.
3903         * math/w_atan2.c: Likewise.
3904         * math/w_atan2f.c: Likewise.
3905         * math/w_atan2l.c: Likewise.
3906         * math/w_cosh.c: Likewise.
3907         * math/w_coshf.c: Likewise.
3908         * math/w_coshl.c: Likewise.
3909         * math/w_exp10.c: Likewise.
3910         * math/w_exp10f.c: Likewise.
3911         * math/w_exp10l.c: Likewise.
3912         * math/w_exp2.c: Likewise.
3913         * math/w_exp2f.c: Likewise.
3914         * math/w_exp2l.c: Likewise.
3915         * math/w_fmod.c: Likewise.
3916         * math/w_fmodf.c: Likewise.
3917         * math/w_fmodl.c: Likewise.
3918         * math/w_hypot.c: Likewise.
3919         * math/w_hypotf.c: Likewise.
3920         * math/w_hypotl.c: Likewise.
3921         * math/w_jnl.c: Likewise.
3922         * math/w_lgamma.c: Likewise.
3923         * math/w_lgamma_r.c: Likewise.
3924         * math/w_lgammaf.c: Likewise.
3925         * math/w_lgammaf_r.c: Likewise.
3926         * math/w_lgammal.c: Likewise.
3927         * math/w_lgammal_r.c: Likewise.
3928         * math/w_pow.c: Likewise.
3929         * math/w_powf.c: Likewise.
3930         * math/w_powl.c: Likewise.
3931         * math/w_remainder.c: Likewise.
3932         * math/w_remainderf.c: Likewise.
3933         * math/w_remainderl.c: Likewise.
3934         * math/w_scalb.c: Likewise.
3935         * math/w_scalbf.c: Likewise.
3936         * math/w_scalbl.c: Likewise.
3937         * math/w_scalbln.c: Likewise.
3938         * math/w_scalblnf.c: Likewise.
3939         * math/w_scalblnl.c: Likewise.
3940         * math/w_sinh.c: Likewise.
3941         * math/w_sinhf.c: Likewise.
3942         * math/w_sinhl.c: Likewise.
3943         * math/w_tgamma.c: Likewise.
3944         * math/w_tgammaf.c: Likewise.
3945         * math/w_tgammal.c: Likewise.
3946         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3947         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
3948         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3949         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3950         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3951         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3952         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3953         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3954         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3955         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3956         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3957         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3958         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3959         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3960         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3961         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3962         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3963         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3964         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3965         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3966         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3967         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3968         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3969         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3970         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3971         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3972         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
3973         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3974         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3975         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3976         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
3977         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
3978         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
3979         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
3980         * stdio-common/printf_fp.c: Likewise.
3981         * stdio-common/printf_fphex.c: Likewise.
3982         * stdio-common/printf_size.c: Likewise.
3984 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
3986         [BZ #18470]
3987         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
3988         strnlen.
3989         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
3990         Remove variable.
3991         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3992         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3993         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3994         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3995         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3996         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3997         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3998         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3999         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4000         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4002         [BZ #18468]
4003         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
4004         weak alias of __wmemchr.  Use libc_hidden_weak.
4005         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
4006         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
4007         instead of wmemchr.
4009 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4011         [BZ #18383]
4012         * elf/tst-tlsalign-extern.c: New file.
4013         * elf/tst-tlsalign-extern-static.c: New file.
4014         * elf/tst-tlsalign-vars.c: New file.
4015         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
4016         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
4017         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
4018         ($(objpfx)tst-tlsalign-extern-static): Likewise.
4019         (test-xfail-tst-tlsalign-extern-static): New variable.
4021 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
4023         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
4024         Use variable name _sc_err instead of err.
4025         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
4026         instead of ret.
4027         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
4028         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
4029         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
4030         (INLINE_SYSCALL): Likewise.
4032         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
4033         * include/string.h (__strnlen): Use libc_hidden_proto.
4034         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
4035         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
4036         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
4037         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
4038         (libc_hidden_def): Undefine and redefine.
4039         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
4040         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
4041         __GI_strnlen.
4042         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
4043         libc_hidden_def.
4044         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
4046         [BZ #18469]
4047         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
4048         weak alias of __towlower.  Use libc_hidden_weak.
4049         (towupper): Rename to __towupper and define as weak alias of
4050         __towupper.  Use libc_hidden_weak.
4051         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
4052         (__towupper): Likewise.
4053         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
4054         __towlower instead of towlower.
4056 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4058         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
4059         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
4061 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4063         * sysdeps/aarch64/libm-test-ulps: Update.
4065 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4067         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
4068         Define.
4069         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4070         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
4071         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4072         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4073         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
4074         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
4075         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
4077 2015-06-01  Martin Sebor  <msebor@redhat.com>
4079         [BZ #18116]
4080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4081         (__setcontext): Use extended four-operand version of mtsf whenever
4082         possible.
4083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4084         (__novec_swapcontext): Likewise.
4086 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4088         * benchtests/scripts/compare_bench.py: New file.
4089         * benchtests/scripts/import_bench.py (mean): New function.
4090         (split_list): Likewise.
4091         (do_for_all_timings): Likewise.
4092         (compress_timings): Likewise.
4094         * benchtests/scripts/import_bench.py: New file.
4095         * benchtests/scripts/validate_benchout.py: Import import_bench
4096         instead of jsonschema.
4097         (validate_bench): Remove function.
4098         (main): Use import_bench.
4100 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
4102         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
4103         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
4105 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4107         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4109 2015-05-28  Roland McGrath  <roland@hack.frob.com>
4111         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
4112         set THREAD_SELF->tid to a magic value and futex-wake it.
4113         Pass its address to the thread_exit system call.
4114         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
4115         bit is clear.
4116         * sysdeps/nacl/lowlevellock.h: New file.
4117         * sysdeps/nacl/lll_timedwait_tid.c: New file.
4119         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
4120         Add TIMEOUT to current time, don't subtract it.
4122 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
4124         [BZ #2981]
4125         [BZ #18422]
4126         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
4127         ($(objpfx)tst-audit2.out): Also depend on
4128         $(objpfx)tst-auditmod9b.so.
4129         * elf/tst-audit2.c: Include <dlfcn.h>.
4130         (calloc_called): New.
4131         (calloc): Allow to be called more than once.
4132         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
4134 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
4136         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
4137         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
4139 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
4141         * stdlib/monetary.h: Fix comment.
4143 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
4145         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
4146         Avoid using variables in #defines that might cause shadowing.
4147         (INTERNAL_VSYSCALL_CALL): Likewise.
4149 2015-05-26  Roland McGrath  <roland@hack.frob.com>
4151         * sysdeps/nacl/lll_timedlock_wait.c: New file.
4153         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
4154         * nptl/lll_timedlock_wait.c: ... to this new file.
4155         * nptl/Makefile (libpthread-routines): Add it.
4156         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
4157         * nptl/lll_timedwait_tid.c: ... to this new file.
4158         * nptl/Makefile (libpthread-routines): Add it.
4159         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
4160         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
4161         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
4162         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
4163         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
4164         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
4165         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
4166         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
4167         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
4168         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
4170 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4172         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
4173         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4174         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4175         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
4176         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4177         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
4178         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4179         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
4180         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4181         * sysdeps/unix/sysv/linux/tile/sysdep.h
4182         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4183         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
4184         using vDSO syscall macro.
4186 2015-05-26  Andriy Rysin  <arysin@gmail.com>
4188         [BZ #17293]
4189         * uk_UA: Fix sorting order for Ukrainian locale
4191 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
4193         * stdlib/monetary.h: Fix comment.
4195 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4197         [BZ #18234]
4198         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
4199         st_mtim and st_ctim members.
4200         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
4201         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
4202         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
4203         (struct stat64): Likewise.
4204         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
4205         (struct stat64): Likewise.
4206         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
4207         (struct stat64): Likewise.
4209 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4211         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
4212         Define and include sysdep-vdso.h.
4213         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
4214         Likewise.
4215         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
4216         Likewise.
4217         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
4218         Define with VDSO_SYMBOL and use PTR_MANGLE.
4219         (__vdso_clock_gettime): Likewise.
4220         (__vdso_clock_getres): Likewise.
4221         (_libc_vdso_platform_setup): Likewise.
4222         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
4223         Likewise.
4224         (_libc_vdso_platform_setup): Likewise.
4225         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
4226         Likewise.
4227         (__vdso_clock_gettime): Likewise.
4228         (__vdso_clock_getres): Likewise.
4229         (__vdso_get_tbfreq): Likewise.
4230         (__vdso_getcpu): Likewise.
4231         (__vdso_time): Likewise.
4232         (__vdso_sigtramp_rt64): Likewise.
4233         (__vdso_signtramp32): Likewise.
4234         (__vdso_sigtramp_rt32): Likewise.
4235         (_libc_vdso_platform_setup): Likewise.
4236         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
4237         Likewise.
4238         (__vdso_clock_gettime): Likewise.
4239         (__vdso_clock_getres): Likewise.
4240         (_libc_vdso_platform_setup): Likewise.
4241         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
4242         Likewise.
4243         (__vdso_clock_gettime): Likewise.
4244         (_libc_vdso_platform_setup): Likewise.
4245         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4246         Likewise.
4247         (__vdso_getcpu): Likewise.
4248         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
4249         Use VDSO_SYMBOL macro to define.
4250         (__vdso_clock_gettime): Likewise.
4251         (__vdso_clock_getres): Likewise.
4252         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
4253         Likewise.
4254         (__vdso_clock_gettime): Likewise.
4255         (__vdso_clock_getres): Likewise.
4256         (__vdso_get_tbfreq): Likewise.
4257         (__vdso_getcpu): Likewise.
4258         (__vdso_time): Likewise.
4259         (__vdso_sigtramp_rt64): Likewise.
4260         (__vdso_signtramp32): Likewise.
4261         (__vdso_sigtramp_rt32): Likewise.
4262         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
4263         Likewise.
4264         (__vdso_clock_gettime): Likewise.
4265         (__vdso_clock_getres): Likewise.
4266         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
4267         Likewise.
4268         (__vdso_clock_gettime): Likewise.
4269         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
4270         Likewise.
4271         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
4272         macro.
4273         (INTERNAL_VSYSCALL): Likewise.
4274         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
4275         Remove macro.
4276         (INTERNAL_VSYSCALL): Likewise.
4277         (INTERNAL_VSYSCALL_NCS): Likewise.
4278         (INTERNAL_VSYSCALL_CALL): New macro.
4279         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4280         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
4281         Likewise.
4282         (INTERNAL_VSYSCALL): Likewise.
4283         (INTERNAL_VSYSCALL_NCS): Likewise.
4284         (INTERNAL_VSYSCALL_CALL): New macro.
4285         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4287         (INLINE_VSYSCALL): Remove macro.
4288         (INTERNAL_VSYSCALL): Remove macro.
4289         (INTERNAL_VSYSCALL_NCS): Remove macro.
4290         (INTERNAL_VSYSCALL_CALL): New macro.
4291         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
4292         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
4293         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4294         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
4295         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4297         (INLINE_VSYSCALL): Remove macro.
4298         (INTERNAL_VSYSCALL): Likewise.
4299         (INTERNAL_VSYSCALL_NCS): Likewise.
4300         (INTERNAL_VSYSCALL_CALL): New macro.
4301         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
4302         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
4303         PTR_DEMANGLE on vDSO pointer.
4304         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4305         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
4306         macro.
4307         (INTERNAL_SYSCALL): Likewise.
4308         (INTERNAL_VSYSCALL_NCS): Remove macro.
4309         (INTERNAL_VSYSCALL_CALL): New macro.
4310         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
4311         Remove macro.
4312         (INTERNAL_VSYSCALL): Likewise.
4313         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
4314         sysdep-vdso.h instead of libc-vdso.h.
4315         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
4316         definition.
4317         (INLINE_VSYSCALL): Likewise.
4318         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
4319         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
4320         definition.
4321         (INLINE_VSYSCALL): Likewise.
4322         (INTERNAL_VSYSCALL): Likewise.
4323         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4324         * sysdeps/unix/sysv/linux/timespec_get.c
4325         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4326         (timespec_get): Use ANSI prototype.
4327         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
4328         and definition for Linux.
4330 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
4332         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
4333         * include/libc-symbols.h: libmvec_hidden_* macro series added.
4335 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4337         [BZ #2981]
4338         [BZ #18410]
4339         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
4340         for missing DT_PLTRELSZ.
4342 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
4344         Remove obsolete aliases that broke 'locale -a'
4345         [BZ #18412]
4346         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
4347         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
4348         breaking some applications that use 'locale -a' output.
4349         Change the encoding of this file from Latin-1 to ASCII to avoid
4350         other potential problems with people grepping this file.
4352 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4354         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
4355         -fasynchronous-unwind-tables.
4356         (CFLAGS-sendto.c): Likewise.
4357         (CFLAGS-sendmsg.c): Likewise.
4358         (CFLAGS-connect.c): Likewise.
4359         (CFLAGS-recvmsg.c): Likewise.
4360         (CFLAGS-recvfrom.c): Likewise.
4361         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
4362         (SOCKETCALL): New macro: non-cancellable socketcall.
4363         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
4364         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
4365         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
4366         * sysdeps/unix/sysv/linux/accept.c: New file.
4367         * sysdeps/unix/sysv/linux/bind.c: Likewise.
4368         * sysdeps/unix/sysv/linux/connect.c: Likewise.
4369         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
4370         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
4371         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
4372         * sysdeps/unix/sysv/linux/listen.c: Likewise.
4373         * sysdeps/unix/sysv/linux/recv.c: Likewise.
4374         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
4375         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
4376         * sysdeps/unix/sysv/linux/send.c: Likewise.
4377         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
4378         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
4379         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
4380         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
4381         * sysdeps/unix/sysv/linux/socket.c: Likewise.
4382         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
4383         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
4384         prototype.
4385         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
4386         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4387         instead of __internal_xxx function.
4388         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
4389         prototype.
4390         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
4391         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4392         instead of __internal_xxx function.
4393         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
4394         prototype.
4395         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
4396         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4397         instead of __internal_xxx function.
4398         * sysdeps/unix/sysv/linux/accept.S: Remove file.
4399         * sysdeps/unix/sysv/linux/bind.S: Likewise.
4400         * sysdeps/unix/sysv/linux/connect.S: Likewise.
4401         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
4402         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
4403         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
4404         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
4405         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
4406         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
4407         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
4408         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
4409         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
4410         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
4411         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
4412         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
4413         * sysdeps/unix/sysv/linux/listen.S: Likewise.
4414         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
4415         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
4416         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
4417         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
4418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
4419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
4420         * sysdeps/unix/sysv/linux/recv.S: Likewise.
4421         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
4422         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
4423         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
4424         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4425         * sysdeps/unix/sysv/linux/send.S: Likewise.
4426         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
4427         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
4428         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
4429         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
4430         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
4431         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
4432         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
4433         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
4434         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
4435         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
4436         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
4437         socketcall is implemented in GLIBC.
4439 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
4441         * soft-fp/fmadf4.c: Include <libc-internal.h>.
4442         (__fma): Ignore uninitialized warnings around packing.
4443         * soft-fp/fmasf4.c: Include <libc-internal.h>.
4444         (__fmaf): Ignore uninitialized warnings around packing.
4445         * soft-fp/fmatf4.c: Include <libc-internal.h>.
4446         (__fmal): Ignore uninitialized warnings around packing.
4448         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
4449         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4450         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
4451         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4453         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
4454         switch statement into default case.
4455         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
4457         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
4458         a conditional in forcing "inexact".
4459         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4460         Likewise.
4462 2015-05-22  Roland McGrath  <roland@hack.frob.com>
4464         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4465         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
4466         for each INTERNAL_SYSCALL use.
4468 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
4470         [BZ #438]
4471         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
4472         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
4473         variable.
4475         [BZ #18444]
4476         * string/basename.c (basename): Rename to __basename and define as
4477         weak alias of __basename.  Use libc_hidden_weak.
4478         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
4479         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
4480         __basename instead of basename.
4481         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
4482         Remove variable.
4483         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4485 2015-05-18  Florian Weimer  <fweimer@redhat.com>
4487         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
4488         (_IO_JUMPS_FILE_plus): New.
4489         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
4490         _IO_CAST_FIELD_ACCESS.
4491         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
4492         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
4493         * libio/freopen.c (freopen): Likewise.
4494         * libio/freopen64.c (freopen64): Likewise.
4495         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
4496         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
4497         * libio/iofwide.c (_IO_fwide): Likewise.
4498         * libio/memstream.c (open_memstream): Likewise.
4499         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
4500         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4501         * libio/oldiopopen.c (_IO_old_popen): Likewise.
4503 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
4505         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
4506         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
4507         NADJ.
4508         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
4509         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
4510         NADJ.
4511         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
4512         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
4513         NADJ.
4515         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
4516         (p == 4) case.
4518         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
4519         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
4520         Remove variable.
4521         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4522         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4523         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4525 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4527         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
4528         Adjust jump table label generation macros.
4530 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4532         * stdio-common/vfprintf.c (vfprintf): Move local variables
4533         args_malloced, specs, specs_malloced, and the code after
4534         do_positional to the printf_positional function.
4535         (printf_positional): New function.
4537 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4539         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
4540         function.
4541         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
4542         STEP4_TABLE, process_arg): Move macro definitions
4543         out of the vfprintf function.  (Cosmetic change only.)
4545 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
4547         * benchtests/Makefile (stdio-common-bench): Define.
4548         (benchset): Add stdio-common-bench.
4549         * sprintf-inputs: New file.
4550         * sprintf-source.c: New file.
4552 2015-05-21  Andreas Schwab  <schwab@suse.de>
4554         [BZ #13028]
4555         [BZ #17053]
4556         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
4557         of struct __res_state.
4558         * resolv/res_send.c (__libc_res_nsend): Likewise.
4559         (get_nsaddr): New function.
4560         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
4561         statp directly.
4563 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
4565         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
4566         -D_POSIX_C_SOURCE=199506L.
4568         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
4570         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
4571         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
4572         Do not mention otherwise.
4573         [POSIX] (_XOPEN_VERSION): Do not expect.
4574         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
4575         [POSIX] (_POSIX2_C_BIND): Likewise.
4576         [POSIX] (_POSIX2_VERSION): Likewise.
4577         [POSIX] (_XOPEN_XPG2): Likewise.
4578         [POSIX] (_XOPEN_XPG3): Likewise.
4579         [POSIX] (_XOPEN_XPG4): Likewise.
4580         [POSIX] (_XOPEN_UNIX): Likewise.
4581         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
4582         [POSIX] (_POSIX_BARRIERS): Likewise.
4583         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
4584         [POSIX] (_POSIX_CPUTIME): Likewise.
4585         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
4586         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
4587         [POSIX] (_POSIX_SHELL): Likewise.
4588         [POSIX] (_POSIX_SPAWN): Likewise.
4589         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
4590         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
4591         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
4592         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
4593         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
4594         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
4595         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
4596         [POSIX] (_XBS5_LP64_OFF64): Likewise.
4597         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
4598         [POSIX] (_POSIX_TIMEOUTS): Likewise.
4599         [POSIX] (_POSIX2_PBS): Likewise.
4600         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
4601         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
4602         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
4603         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
4604         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
4605         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
4606         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
4607         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
4608         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
4609         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
4610         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
4611         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
4612         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
4613         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
4614         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
4615         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
4616         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
4617         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
4618         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
4619         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
4620         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
4621         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
4622         [POSIX] (_SC_2_C_BIND): Likewise.
4623         [POSIX] (_SC_2_C_VERSION): Likewise.
4624         [POSIX] (_SC_2_PBS): Likewise.
4625         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
4626         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
4627         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
4628         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
4629         [POSIX] (_SC_2_PBS_TRACK): Likewise.
4630         [POSIX] (_SC_ATEXIT_MAX): Likewise.
4631         [POSIX] (_SC_BARRIERS): Likewise.
4632         [POSIX] (_SC_BASE): Likewise.
4633         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
4634         [POSIX] (_SC_DEVICE_IO): Likewise.
4635         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
4636         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
4637         [POSIX] (_SC_FD_MGMT): Likewise.
4638         [POSIX] (_SC_FIFO): Likewise.
4639         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
4640         [POSIX] (_SC_FILE_LOCKING): Likewise.
4641         [POSIX] (_SC_FILE_SYSTEM): Likewise.
4642         [POSIX] (_SC_IOV_MAX): Likewise.
4643         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
4644         [POSIX] (_SC_NETWORKING): Likewise.
4645         [POSIX] (_SC_PAGE_SIZE): Likewise.
4646         [POSIX] (_SC_PASS_MAX): Likewise.
4647         [POSIX] (_SC_PIPE): Likewise.
4648         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
4649         [POSIX] (_SC_REGEXP): Likewise.
4650         [POSIX] (_SC_SHELL): Likewise.
4651         [POSIX] (_SC_SIGNALS): Likewise.
4652         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
4653         [POSIX] (_SC_SPIN_LOCKS): Likewise.
4654         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
4655         [POSIX] (_SC_USER_GROUPS): Likewise.
4656         [POSIX] (_SC_USER_GROUPS_R): Likewise.
4657         [POSIX] (_SC_STREAMS): Likewise.
4658         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
4659         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
4660         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
4661         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
4662         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
4663         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
4664         [POSIX] (_PC_FILESIZEBITS): Likewise.
4665         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
4666         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
4667         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
4668         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
4669         [POSIX] (uid_t): Likewise.
4670         [POSIX] (gid_t): Likewise.
4671         [POSIX] (off_t): Likewise.
4672         [POSIX] (pid_t): Likewise.
4673         [POSIX] (cuserid): Allow.
4674         (_SC_2_CHAR_TERM): Require constant.
4675         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
4676         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
4677         variable.
4679 2015-05-20  Roland McGrath  <roland@hack.frob.com>
4681         * sysdeps/nacl/pthread-pids.h: New file.
4682         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
4683         (create_thread): Use __nacl_get_tid to initialize PD->tid.
4685         * nptl/pthread-pids.h: New file.
4686         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
4687         * nptl/nptl-init.c: Include <pthread-pids.h>.
4688         (__pthread_initialize_minimal_internal):
4689         Call __pthread_initialize_pids instead of set_tid_address syscall.
4691         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
4692         * sysdeps/posix/usleep.c: ... here.
4694 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4696         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
4697         call_pselect6 object.
4698         [$(subdir) = io]: Remove call_sync_file_range object.
4699         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
4700         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
4701         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
4702         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
4704 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
4706         * math/s_cproj.c: Add include "math_private.h".
4707         * math/s_cprojf.c: Likewise.
4708         * math/s_cprojl.c: Likewise.
4710 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
4712         [BZ #18244]
4713         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
4714         high mantissa bit when testing whether P is a NaN.
4715         * math/libm-test.inc (remainder_test_data): Add more tests.
4716         (remquo_test_data): Likewise.
4718         [BZ #18049]
4719         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
4720         below -32, return the argument, with underflow if subnormal.
4721         * math/auto-libm-test-in: Add more tests of atanh.
4722         * math/auto-libm-test-out: Regenerated.
4724 2015-05-19  Roland McGrath  <roland@hack.frob.com>
4726         [BZ #18434]
4727         * nptl/tst-sem15.c: New file.
4728         * nptl/Makefile (tests): Add it.
4729         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
4730         s/<</>>/ to fix typo in EOVERFLOW check.
4731         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
4733 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4735         * manual/strings.texi (envz_remove): Fix typo in safety
4736         annotations.
4738 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
4739             Steve Ellcey  <sellcey@imgtec.com>
4741         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
4742         in order to avoid strict alias warnings.
4743         (iruserok_af): Ditto for ra.
4745 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
4747         [BZ #17581]
4748         * malloc/hooks.c
4749         (magicbyte): Convert to a function and avoid returning 0x01.
4750         (mem2mem_check): Avoid using a length byte equal to the magic byte.
4751         (mem2chunk_check): Fix unsigned comparisons to zero.
4752         Hoist defs of sz and magic.
4754 2015-05-19  Richard Henderson  <rth@redhat.com>
4756         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
4758         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4760 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4762         [BZ #16159]
4763         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
4764         * malloc/arena.c (arena_lock): Check if arena is corrupt.
4765         (reused_arena): Find a non-corrupt arena.
4766         (heap_trim): Pass arena to unlink.
4767         * malloc/hooks.c (malloc_check_get_size): Pass arena to
4768         malloc_printerr.
4769         (top_check): Likewise.
4770         (free_check): Likewise.
4771         (realloc_check): Likewise.
4772         * malloc/malloc.c (malloc_printerr): Add arena argument.
4773         (unlink): Likewise.
4774         (munmap_chunk): Adjust.
4775         (ARENA_CORRUPTION_BIT): New macro.
4776         (arena_is_corrupt): Likewise.
4777         (set_arena_corrupt): Likewise.
4778         (sysmalloc): Use mmap if there are no usable arenas.
4779         (_int_malloc): Likewise.
4780         (__libc_malloc): Don't fail if arena_get returns NULL.
4781         (_mid_memalign): Likewise.
4782         (__libc_calloc): Likewise.
4783         (__libc_realloc): Adjust for additional argument to
4784         malloc_printerr.
4785         (_int_free): Likewise.
4786         (malloc_consolidate): Likewise.
4787         (_int_realloc): Likewise.
4788         (_int_memalign): Don't touch corrupt arenas.
4789         * malloc/tst-malloc-backtrace.c: New test case.
4791         * Makefile (summarize-tests): Fix return value on success.
4793         * manual/string.texi (Envz Functions): Add envz_remove.
4795 2015-05-18  Roland McGrath  <roland@hack.frob.com>
4797         * sysdeps/posix/opendir.c: Include <stdbool.h>.
4798         (invalid_name): New function, broken out of ...
4799         (__opendirat): ... here.  Call it.
4800         (need_isdir_precheck): New function, broken out of ...
4801         (__opendirat): ... here.  Call it.
4802         Use __fxstatat64, not __xstatat64.
4803         (opendir_oflags): New function, broken out of ...
4804         (__opendirat): ... here.  Call it.
4805         (opendir_tail): New function, broken out of ...
4806         (__opendirat): ... here.  Call it.
4807         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
4808         opendir_tail, rather than punting to __opendirat.
4809         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
4811 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4813         * .gitignore: Ignore generated *.pyc.
4815 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
4817         * include/stdio.h: Define __need_wint_t.
4818         * test-skeleton.c: Avoid `for' loop initial declaration.
4819         * nptl/tst-initializers1.c: Use test-skeleton.c.
4821 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4823         [BZ #18418]
4824         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
4826 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
4828         [BZ #16352]
4829         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
4830         (__ieee754_atanh): Force underflow exception for results with
4831         small absolute value.
4832         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
4833         (__ieee754_atanhf): Force underflow exception for results with
4834         small absolute value.
4835         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
4836         (__ieee754_atanh): Force underflow exception for results with
4837         small absolute value.
4838         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
4839         (__ieee754_atanhf): Force underflow exception for results with
4840         small absolute value.
4841         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
4842         (__ieee754_atanhl): Force underflow exception for results with
4843         small absolute value.
4844         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
4845         (__ieee754_atanhl): Force underflow exception for results with
4846         small absolute value.
4847         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
4848         (__ieee754_atanhl): Force underflow exception for results with
4849         small absolute value.
4850         * math/auto-libm-test-in: Do not allow missing underflow
4851         exceptions from atanh.
4852         * math/auto-libm-test-out: Regenerated.
4854         [BZ #18221]
4855         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
4856         2**-28 as threshold for returning x or +/- 1/x.
4857         * math/auto-libm-test-in: Add more tests of tan.
4858         * math/auto-libm-test-out: Regenerated.
4860         [BZ #18220]
4861         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4862         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
4863         * math/auto-libm-test-in: Add another test of lgamma.
4864         * math/auto-libm-test-out: Regenerated.
4866 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
4868         * stdio-common/printf_fp.c (___printf_fp): Use abs.
4869         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
4870         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
4871         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
4872         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
4873         (ADD2A): Use fabs.  (SUB2A): Use fabs.
4874         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
4875         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
4876         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
4877         (log1): Use fabs.  (my_log2): Use fabs.
4878         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
4879         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
4880         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
4881         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
4882         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
4883         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
4884         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
4885         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
4886         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
4887         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
4888         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
4890 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
4892         [BZ #18217]
4893         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
4894         as threshold for returning 1 - x.
4895         * math/auto-libm-test-in: Add more tests of erfc.
4896         * math/auto-libm-test-out: Regenerated.
4898 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
4900         [BZ #18196]
4901         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
4902         threshold for large arguments.
4903         * math/auto-libm-test-in: Add another test of atan.
4904         * math/auto-libm-test-out: Regenerated.
4906         [BZ #16339]
4907         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
4908         (__log1p): Force underflow exception for results with small
4909         absolute value.
4910         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
4911         (__log1pf): Force underflow exception for results with small
4912         absolute value.
4913         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
4914         (__log1p): Force underflow exception for results with small
4915         absolute value.
4916         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
4917         (__log1pf): Force underflow exception for results with small
4918         absolute value.
4919         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
4920         (__log1pl): Force underflow exception for results with small
4921         absolute value.
4922         * math/auto-libm-test-in: Do not allow missing underflow
4923         exceptions from log1p.
4924         * math/auto-libm-test-out: Regenerated.
4926 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
4927             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4929         [BZ #16704]
4930         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
4932 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
4934         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
4935         (libmvec): New variable.
4936         * configure.ac: Added option for mathvec build.
4937         * configure: Regenerated.
4938         * mathvec/Depend: New file.
4939         * mathvec/Makefile: New file.
4940         * shlib-versions: Added libmvec.
4941         * math/Makefile: Added rule for libm.so installation.
4943         * bits/math-vector.h: New file.
4944         * bits/libm-simd-decl-stubs.h: New header.
4945         * math/Makefile (headers): Added new header
4946         libm-simd-decl-stubs.h.
4947         * math/math.h (__MATHCALL_VEC): New macro.
4949         * math/gen-libm-have-vector-test.sh: Script generates series of macros
4950         for conditions in testing functions.
4951         * math/Makefile: Added call of libm-have-vector-test.sh.
4952         * math/libm-test.inc (HAVE_VECTOR): New macros.
4954         * math/libm-test.inc: START refactored.
4955         * math/test-double.c (TEST_MATHVEC): Add define.
4956         * math/test-float.c: Likewise.
4957         * math/test-idouble.c: Likewise.
4958         * math/test-ifloat.c: Likewise.
4959         * math/test-ildoubl.c: Likewise.
4960         * math/test-ldouble.c: Likewise.
4961         * sysdeps/generic/math-tests-arch.h
4962         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
4963         architecture check.
4965         * math/test-double.c (FUNC_TEST): New macro.
4966         * math/test-float.c: Likewise.
4967         * math/test-idouble.c: Likewise.
4968         * math/test-ifloat.c: Likewise.
4969         * math/test-ildoubl.c: Likewise.
4970         * math/test-ldouble.c: Likewise.
4971         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
4973 2015-05-13  Roland McGrath  <roland@hack.frob.com>
4975         * sysdeps/nacl/fdopendir.c: New file.
4977         * dirent/scandir-tail.c: New file.
4978         * dirent/scandir64-tail.c: New file.
4979         * dirent/Makefile (routines): Add them.
4980         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
4981         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
4982         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
4983         [!SCANDIR] (SCANDIR_TAIL): New macro.
4984         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
4985         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
4986         (SCANDIRAT): Macro removed.
4987         (SCANDIR_TAIL): New macro.
4988         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
4989         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
4990         (SCANDIRAT): Just call __opendirat and __scandir_tail.
4991         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
4992         (READDIR): Macro removed.
4993         (SCANDIR_TAIL): New macro.
4994         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
4995         (SCANDIR_TAIL): New macro.
4997         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
4998         * dirent/scandir-cancel.c: ... to this new file.
4999         * dirent/Makefile (routines): Add it.
5000         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
5001         * sysdeps/unix/sysv/linux/i386/scandir64.c
5002         (SKIP_SCANDIR_CANCEL): Macro removed.
5003         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
5005         * dirent/tst-scandir.c: New file.
5006         * dirent/tst-scandir64.c: New file.
5007         * dirent/Makefile (tests): Add them.
5009 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5011         [BZ #18409]
5012         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
5014 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5016         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
5017         list.
5019 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
5021         * benchtests/bench-strcoll.c: New benchmark.
5022         * benchtests/Makefile: Generate locales and run benchmark.
5023         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
5024         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
5025         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
5026         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
5027         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
5028         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
5029         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
5030         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
5031         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
5032         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
5033         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
5034         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
5035         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
5036         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
5037         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
5038         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
5039         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
5040         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
5041         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
5042         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
5043         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
5044         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
5045         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
5046         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
5048 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
5050         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
5051         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5053 2015-05-12  Roland McGrath  <roland@hack.frob.com>
5055         * posix/uname-values.h: New file.
5056         * posix/uname.c: Include that instead of <config-name.h>.
5057         * sysdeps/nacl/uname-values.h: New file.
5058         * sysdeps/arm/nacl/uname-values.h: New file.
5060 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
5062         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
5063         splitting into fields.
5065 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
5067         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
5068         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
5069         * locale/localeinfo.h: Add enum collation_encoding_type.
5070         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
5071         * programs/ld-collate.c (collate_output): Add encoding type info.
5072         * string/strcoll_l.c (STRDIFF): New function.
5073         * (STRCOLL): Use STRDIFF to skip over equal prefix.
5074         * wcsmbs/wcscoll_l.c: Define STRDIFF.
5076 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
5078         [BZ #18397]
5079         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
5080         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
5081         <fpu_control.h> instead of <math/fpu_control.c>.
5082         * sysdeps/mips/mips32/fpu/Makefile: New file.
5084 2015-05-11  Andreas Schwab  <schwab@suse.de>
5086         [BZ #18007]
5087         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
5088         nss_endgrent.
5089         (_nss_compat_endgrent): Call nss_endgrent.
5090         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
5091         nss_endpwent.
5092         (_nss_compat_endpwent): Call nss_endpwent.
5093         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
5094         needent, call nss_setspent only if non-zero.
5095         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
5096         (internal_endspent): Don't call nss_endspent.
5097         (_nss_compat_endspent): Call nss_endspent.
5098         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
5099         Remove.  All uses removed.
5100         (internal_setent): Remove parameter stayopen, add parameter
5101         stream.  Use it instead of global variable.
5102         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
5103         (internal_endent, internal_getent): Add parameter stream.  Use it
5104         instead of global variable.
5105         (CONCAT(_nss_files_end,ENTNAME))
5106         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
5107         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
5108         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
5109         uses removed.
5110         (internal_setent, internal_endent): Add parameter stream.  Use it
5111         instead of global variable.
5112         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
5113         stream.
5114         (get_next_alias): Add parameter stream.
5115         (_nss_files_getaliasent_r): Pass global stream.
5116         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
5117         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
5118         (_nss_files_gethostbyname4_r): Pass local stream to
5119         internal_setent, internal_getent and internal_endent.  Remove
5120         locking.
5122 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5124         * tst-strfmon1.c (tests): Update expected currency symbol.
5126 2015-05-08  Roland McGrath  <roland@hack.frob.com>
5128         * sysdeps/nacl/gethostname.c: New file.
5130 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
5132         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
5133         and sinh.
5134         * math/auto-libm-test-out: Regenerated.
5135         * sysdeps/i386/fpu/libm-test-ulps: Update.
5136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5138 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
5140         [BZ #18125]
5141         * stdlib/tst-setcontext3.c: New file.
5142         * stdlib/tst-setcontext3.sh: New file.
5143         * stdlib/Makefile (tests): Add tst-setcontext3.
5144         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
5145         to verify test program created output file.
5146         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
5147         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
5148         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
5149         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
5151 2015-05-06  Roland McGrath  <roland@hack.frob.com>
5153         [BZ #18383]
5154         * elf/tst-tlsalign.c: New file.
5155         * elf/tst-tlsalign-static.c: New file.
5156         * elf/tst-tlsalign-lib.c: New file.
5157         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
5158         (tests-static): Add tst-tlsalign-static.
5159         (modules-names): Add tst-tlsalign-lib.
5160         (test-xfail-tst-tlsalign): New variable.
5161         (test-xfail-tst-tlsalign-static): New variable.
5163         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
5164         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
5166 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
5168         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
5169         csqrt, erfc, sin and sincos.
5170         * math/auto-libm-test-out: Regenerated.
5171         * sysdeps/i386/fpu/libm-test-ulps: Update.
5172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5174 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5176         * sysdeps/aarch64/libm-test-ulps: Update.
5178 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
5180         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
5181         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
5182         * math/auto-libm-test-out: Regenerated.
5183         * sysdeps/i386/fpu/libm-test-ulps: Update.
5184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5186 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
5188         [BZ #18265]
5189         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
5190         (wcsncpy): Likewise.
5192 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5194         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5195         Assume __ASSUME_FALLOCATE is always true.
5196         * sysdeps/unix/sysv/linux/posix_fallocate64.c
5197         (__posix_fallocate64_l64): Likweise.
5198         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
5199         (posix_fallocate): Likewise.
5200         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
5201         (__posix_fallocate64_l64): Likewise.
5202         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5203         [!__ASSUME_FALLOCATE]: Add comment.
5205 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5207         * sysdeps/unix/sysv/linux/i386/Makefile
5208         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
5209         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
5210         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
5211         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
5212         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
5213         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
5214         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
5216 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
5218         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
5219         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
5220         tgamma.
5221         * math/auto-libm-test-out: Regenerated.
5222         * sysdeps/i386/fpu/libm-test-ulps: Update.
5223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5225 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5227         * math/auto-libm-test-in: Add more tests of tgamma.
5228         * math/auto-libm-test-out: Regenerated.
5229         * sysdeps/i386/fpu/libm-test-ulps: Update.
5230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5232         * math/auto-libm-test-in: Add more tests of tanh.
5233         * math/auto-libm-test-out: Regenerated.
5234         * sysdeps/i386/fpu/libm-test-ulps: Update.
5235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5237         * math/auto-libm-test-in: Add more tests of tan.
5238         * math/auto-libm-test-out: Regenerated.
5239         * sysdeps/i386/fpu/libm-test-ulps: Update.
5240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5242         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
5243         * math/auto-libm-test-out: Regenerated.
5244         * sysdeps/i386/fpu/libm-test-ulps: Update.
5245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5247         * math/auto-libm-test-in: Add another test of pow.
5248         * math/auto-libm-test-out: Regenerated.
5249         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5251         * math/auto-libm-test-in: Add more tests of lgamma.
5252         * math/auto-libm-test-out: Regenerated.
5253         * sysdeps/i386/fpu/libm-test-ulps: Update.
5254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5256         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
5257         log1p.
5258         * math/auto-libm-test-out: Regenerated.
5259         * sysdeps/i386/fpu/libm-test-ulps: Update.
5260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5262 2015-05-01  Mark Wielaard  <mjw@redhat.com>
5264         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
5265         Elf64_Chdr structs and ELFCOMPRESS constants.
5267 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5269         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
5270         expm1.
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 erf and erfc.
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 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5282         * config.h.in (HAVE_AARCH64_BE): Add.
5284 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
5286         * math/auto-libm-test-in: Add more tests of csqrt.
5287         * math/auto-libm-test-out: Regenerated.
5288         * sysdeps/i386/fpu/libm-test-ulps: Update.
5289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5291         * math/auto-libm-test-in: Add more tests of cosh and sinh.
5292         * math/auto-libm-test-out: Regenerated.
5293         * sysdeps/i386/fpu/libm-test-ulps: Update.
5294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5296         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
5298 2015-04-29  Roland McGrath  <roland@hack.frob.com>
5300         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
5301         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
5303         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
5304         (euidaccess, eaccess): Define as weak aliases.
5306         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
5307         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
5308         but __suseconds_t is often 'long int' so some sources assume that
5309         type is being used (e.g. they use %ld to print tv_usec).
5311 2015-04-29  Florian Weimer  <fweimer@redhat.com>
5313         [BZ #18007]
5314         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
5315         (CVE-2014-8121)
5316         * nss/tst-nss-getpwent.c: New file.
5317         * nss/Makefile (tests): Add new test.
5319 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
5321         [BZ #18346]
5322         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
5323         exponents less than 48 as cases where high part of mantissa needs
5324         examining to determine whether argument is integral.
5325         * math/libm-test.inc (round_test_data): Add more tests.
5327 2015-04-28  Mark Wielaard  <mjw@redhat.com>
5329         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
5331 2015-04-27  David S. Miller  <davem@davemloft.net>
5333         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
5334         __tls_get_addr.
5335         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5337 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
5339         [BZ#18333]
5340         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
5342 2015-04-27  Florian Weimer  <fweimer@redhat.com>
5344         [BZ#18333]
5345         * time/tzset.c (parse_tzname): Return error on memory allocation
5346         failure.
5347         * test-skeleton.c (struct temp_name_list): Change type of name
5348         member to non-const.
5349         (add_temp_file): Create a copy of the file name.
5350         (delete_temp_files): Deallocate memory.
5351         (create_temp_file): Add comment.
5353 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5355         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
5356         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
5358 2015-04-24  Roland McGrath  <roland@hack.frob.com>
5360         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
5361         * sysdeps/arm/configure: Regenerated.
5363 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5365         [BZ #17715]
5366         * time/tzfile.c (__tzfile_read): Check for large values of
5367         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
5368         * time/tzset.c (__tzstring_len): New function, based on the old
5369         __tzstring function.
5370         (__tzstring): Call __tzstring_len.
5371         (parse_tzname): New helper function extracted from
5372         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
5373         the input string.
5374         (parse_offset): New helper function extracted from
5375         __tzset_parse_tz.  Replace switch with fallthrough with
5376         initialization before sscanf.
5377         (parse_rule): Likewise.
5378         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
5379         new-style function definition.
5380         * timezone/Makefile (tests): Add tst-tzset.
5381         (tst-tzset.out): Dependencies on time zone files.
5382         (tst-tzset-ENV): Set TZDIR.
5383         (testdata/XT%): Copy crafted time zone files.
5384         * timezone/README: Mention crafted time zone files.
5385         * timezone/testdata/XT1, timezone/testdata/XT2,
5386         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
5387         files.
5388         * timezone/tst-tzset.c: New test.
5390 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5392         * Makeconfig (+gccwarn): Remove -Winline.
5394 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5396         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
5398 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5400         * NEWS: Mention sysconf() cache information support for s390.
5401         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
5403 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
5405         * math/k_casinh.c (__kernel_casinh): Use __copysign.
5406         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
5407         (__nearbyint): Likewise.
5408         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
5409         (copysignl): Likewise.
5411 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
5413         [BZ #18287]
5414         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
5415         based on padding.  (CVE-2015-1781)
5417 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5419         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
5420         libc-vdso.h.
5421         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
5422         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
5423         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
5424         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
5425         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
5426         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
5427         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
5428         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5429         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
5430         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
5431         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
5432         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5433         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
5434         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
5435         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
5436         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
5437         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
5438         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
5439         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
5440         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
5441         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
5442         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
5443         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
5445 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
5447         * stdlib/setenv.c (__add_to_environ):
5448         Dump core quickly if setenv (..., NULL, ...) is called.
5449         This time, do it the right way, and pacify GCC with a pragma.
5451 2015-04-17  Roland McGrath  <roland@hack.frob.com>
5453         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
5454         IMAP->l_prev cannot be null, and #if out the code for the contrary
5455         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
5456         believe that NS (&_dl_ns[NSID]) could point outside the array.
5458         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
5459         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
5460         before using NSID as an index.
5462 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
5464         [BZ #17825]
5465         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
5466         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
5467         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5469 2015-04-17  Roland McGrath  <roland@hack.frob.com>
5471         Add preliminary port to Google Native Client on ARM.
5472         * abi-tags (.*-.*-nacl.*): New entry.
5473         * sysdeps/arm/nacl: New directory.
5474         * sysdeps/nacl: New directory.
5476 2015-04-16  David S. Miller  <davem@davemloft.net>
5478         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
5479         lowlevellock-futex.h
5481 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
5483         * sysdeps/tile/configure.ac: New file.
5484         * sysdeps/tile/configure: Regenerated.
5486 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5488         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
5489         conditionals for weak_alias and libc_hidden_weak.
5490         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
5491         libc_hidden_weak and weak_alias.
5492         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
5493         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
5494         and weak_alias for static one.
5496 2015-04-15  David S. Miller  <davem@davemloft.net>
5498         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5500 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5502         [BZ #18206]
5503         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
5504           Use signed comparision instead of substraction to avoid
5505           overflow bug.
5506         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
5507           Take the sign of ret.
5508         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
5509           Do not expect precise return values. Only the sign matters.
5510         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
5511         * wcsmbs/test-wcsncmp.c: New File.
5512         * string/test-strncmp.c: Add wcsncmp support.
5514 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5516         [BZ #6792]
5517         * math/w_log1p.c: New file.
5518         * math/w_log1pf.c: Likewise.
5519         * math/w_log1pl.c: Likewise.
5520         * math/Makefile (libm-calls): Add w_log1p.
5521         * math/s_log1pl.c (log1pl): Remove weak_alias.
5522         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
5523         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
5524         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
5525         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
5526         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
5527         [NO_LONG_DOUBLE] (log1pl): Likewise.
5528         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
5529         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
5530         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
5531         (log1p): Remove long_double_symbol.
5532         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
5533         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
5534         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
5535         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
5536         remove weak_alias for corresponding log1p function.
5537         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
5538         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
5539         * sysdeps/ia64/fpu/w_log1p.c: New file.
5540         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
5541         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
5542         * math/libm-test.inc (log1p_test_data): Add errno expectations.
5544 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
5546         [BZ #18247]
5547         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
5548         decimal exponent by 1.
5549         * stdlib/tst-strtod-round-data: Add more tests.
5550         * stdlib/tst-strtod-round.c (tests): Regenerated.
5552 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
5554         * math/auto-libm-test-in: Add more tests of clog and clog10.
5555         * math/auto-libm-test-out: Regenerated.
5556         * sysdeps/i386/fpu/libm-test-ulps: Update.
5557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5559 2015-04-09  Roland McGrath  <roland@hack.frob.com>
5561         * Makeconfig (module-cppflags): Exclude all .v.i files.
5562         (skip-module-cppflags): Variable removed.
5564         * configure.ac (libc_config_ok): Initialize before reading
5565         preconfigure scripts, not after.
5566         * configure: Regenerated.
5568         * test-skeleton.c (TIMEOUT): Move #define to top level.
5569         (main): Grok environment variable TEST_DIRECT.  If set, print
5570         test expectation details into that file and then behave as if
5571         given --direct.
5573 2015-04-09  Florian Weimer  <fweimer@redhat.com>
5575         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
5576         warning on 32-bit.
5578 2015-04-08  David S. Miller  <davem@davemloft.net>
5580         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5582 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
5584         * math/auto-libm-test-in: Add more tests of atanh.
5585         * math/auto-libm-test-out: Regenerated.
5586         * sysdeps/i386/fpu/libm-test-ulps: Update.
5587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5589         * math/auto-libm-test-in: Add more tests of atan.
5590         * math/auto-libm-test-out: Regenerated.
5591         * sysdeps/i386/fpu/libm-test-ulps: Update.
5592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5594 2015-04-08  Florian Weimer  <fweimer@redhat.com>
5596         * elf/pldd.c (main): Rewrite to use struct
5597         scratch_buffer instead of extend_alloca.
5598         * elf/pldd-xx.c (find_maps): Likewise.
5599         * grp/initgroups.c: Include <scratch_buffer.h> instead of
5600         <alloca.h>.
5601         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
5602         scratch_buffer instead of extend_alloca.
5603         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
5604         grp/compat-initgroups.c.
5605         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
5606         Rewrite to use struct scratch_buffer instead of extend_alloca.
5607         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
5608         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5610 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
5612         * math/auto-libm-test-in: Add more tests of cbrt.
5613         * math/auto-libm-test-out: Regenerated.
5614         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5616         * math/auto-libm-test-in: Add more tests of cabs.
5617         * math/auto-libm-test-out: Regenerated.
5618         * sysdeps/i386/fpu/libm-test-ulps: Update.
5619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5621         [BZ #18210]
5622         [BZ #18211]
5623         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
5624         (__ieee754_atan2): Set FE_TONEAREST mode for internal
5625         computations.
5626         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
5627         clog10.
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         [BZ #18197]
5633         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
5634         (atan): Set FE_TONEAREST mode for internal computations.
5635         * math/auto-libm-test-in: Add more tests of atan.
5636         * math/auto-libm-test-out: Regenerated.
5638 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
5640         [BZ #17930]
5641         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
5643 2015-04-07  Florian Weimer  <fweimer@redhat.com>
5645         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
5647 2015-04-07  Florian Weimer  <fweimer@redhat.com>
5649         * include/scratch_buffer.h: New file.
5650         * malloc/scratch_buffer_grow.c: Likewise.
5651         * malloc/scratch_buffer_grow_preserve.c: Likewise.
5652         * malloc/scratch_buffer_set_array_size.c: Likewise.
5653         * malloc/tst-scratch_buffer.c: Likewise.
5654         * malloc/Makefile (routines): Add scratch_buffer_grow.
5655         (tests): Add test case.
5656         * malloc/Versions (GLIBC_PRIVATE): Export
5657         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
5658         __libc_scratch_buffer_set_array_size.
5660 2015-04-06  Richard Henderson  <rth@redhat.com>
5662         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
5663         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5665         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
5666         unsigned int before printing.
5668 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5670         [BZ #17596]
5671         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
5672         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5674 2015-04-02  Florian Weimer  <fweimer@redhat.com>
5676         * include/libc-internal.h (libc_max_align_t): Define.
5678 2015-04-02  Andreas Schwab  <schwab@suse.de>
5680         [BZ #16850]
5681         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
5683 2015-04-02  Mel Gorman  <mgorman@suse.de>
5685         [BZ #17195]
5686         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
5687         as well as the main arena.
5689 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5691         [BZ #18185]
5692         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
5693         sharing L2 cache to 2 for Silvermont/Knights Landing.
5695 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5697         [BZ #17711]
5698         * config.make.in (have-protected-data): New.
5699         * configure.ac: Check linker support for protected data symbol.
5700         * configure: Regenerated.
5701         * elf/Makefile (modules-names): Add tst-protected1moda and
5702         tst-protected1modb if $(have-protected-data) is yes.
5703         (tests): Add tst-protected1a and tst-protected1b if
5704         $(have-protected-data) is yes.
5705         ($(objpfx)tst-protected1a): New.
5706         ($(objpfx)tst-protected1b): Likewise.
5707         (tst-protected1modb.so-no-z-defs): Likewise.
5708         * elf/tst-protected1a.c: New file.
5709         * elf/tst-protected1b.c: Likewise.
5710         * elf/tst-protected1mod.h: Likewise.
5711         * elf/tst-protected1moda.c: Likewise.
5712         * elf/tst-protected1modb.c: Likewise.
5714 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5716         [BZ #17711]
5717         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
5718         indicates it is called from do_lookup_x on relocation against
5719         protected data, skip the data definion in the executable from
5720         copy reloc.
5721         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
5722         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
5723         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
5724         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
5725         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
5726         otherwise to 0.
5727         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5728         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
5729         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
5730         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5731         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
5732         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
5734 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
5736         * sysdeps/nptl/pthread.h: Remove duplicate definition of
5737         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
5739 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
5741         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
5742         THREAD_SETMEM_NC.
5743         * sysdeps/x86_64/nptl/tls.h: Ditto.
5745 2015-03-27  Roland McGrath  <roland@hack.frob.com>
5747         * dlfcn/tststatic.c (main): Converted to ...
5748         (do_test): ... this.
5749         (TEST_FUNCTION): New macro.
5750         Include test-skeleton.c.
5752 2015-03-26  Alan Modra  <amodra@gmail.com>
5754         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
5755         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
5756         zero for undefined weak.
5757         (elf_machine_plt_conflict): Similarly.
5759 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
5761         * math/auto-libm-test-in: Add more tests of acosh, asinh and
5762         atanh.
5763         * math/auto-libm-test-out: Regenerated.
5764         * sysdeps/i386/fpu/libm-test-ulps: Update.
5765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5767         * math/auto-libm-test-in: Add another test of asin.
5768         * math/auto-libm-test-out: Regenerated.
5769         * sysdeps/i386/fpu/libm-test-ulps: Update.
5770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5772         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
5773         Remove macro.
5774         (LLL_EBX_REG): Likewise.
5775         (LLL_ENTER_KERNEL): Likewise.
5777         * math/auto-libm-test-in: Add more tests of asin.
5778         * math/auto-libm-test-out: Regenerated.
5779         * sysdeps/i386/fpu/libm-test-ulps: Update.
5780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5782         [BZ #18138]
5783         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
5784         libc_do_syscall_args): New structure.
5785         (INTERNAL_SYSCALL_MAIN_0): New macro.
5786         (INTERNAL_SYSCALL_MAIN_1): Likewise.
5787         (INTERNAL_SYSCALL_MAIN_2): Likewise.
5788         (INTERNAL_SYSCALL_MAIN_3): Likewise.
5789         (INTERNAL_SYSCALL_MAIN_4): Likewise.
5790         (INTERNAL_SYSCALL_MAIN_5): Likewise.
5791         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
5792         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
5793         Replace conditional definitions by conditional definitions of ....
5794         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
5795         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
5796         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
5797         (libpthread-sysdep_routines): Add libc-do-syscall.
5798         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
5799         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
5800         to __NR_futex not 240.
5802 2015-03-25  Alan Modra  <amodra@gmail.com>
5804         * NEWS: Advertise TLS optimization.
5805         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
5806         (DT_PPC_NUM): Increment.
5807         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
5808         (CHECK_STATIC_TLS): Use here.
5809         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
5810         TLS descriptors.
5811         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5812         * sysdeps/powerpc/dl-tls.c: New file.
5813         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
5814         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
5815         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
5816         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
5817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
5818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
5819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
5821 2015-03-25  Alan Modra  <amodra@gmail.com>
5823         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
5824         for overlapping .opd entries" to "support...".
5825         * sysdeps/powerpc/powerpc64/configure: Regenerate
5827 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
5829         * math/auto-libm-test-in: Add more tests of acos.
5830         * math/auto-libm-test-out: Regenerated.
5831         * sysdeps/i386/fpu/libm-test-ulps: Update.
5832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5834         * math/auto-libm-test-in: Add more tests of expm1.
5835         * math/auto-libm-test-out: Regenerated.
5836         * sysdeps/i386/fpu/libm-test-ulps: Update.
5837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5839 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
5841         * math/auto-libm-test-in: Add more tests of cosh and sinh.
5842         * math/auto-libm-test-out: Regenerated.
5843         * sysdeps/i386/fpu/libm-test-ulps: Update.
5844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5846         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5849         * math/auto-libm-test-in: Add more tests of log2.
5850         * math/auto-libm-test-out: Regenerated.
5851         * sysdeps/i386/fpu/libm-test-ulps: Update.
5852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5854 2015-03-23  Roland McGrath  <roland@hack.frob.com>
5856         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
5857         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
5858         _IO_IS_APPENDING bit in READ_WRITE instead.
5860 2015-03-23  Florian Weimer  <fweimer@redhat.com>
5862         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
5863         (__determine_cpumask_size): Replace extend_alloca with a
5864         variable-length array.  Do not treat res == 0 as an error.
5866 2015-03-23  Florian Weimer  <fweimer@redhat.com>
5868         [BZ #18100]
5869         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
5870         and integer overflow.
5871         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
5872         (main): Add integer overflow tests.
5873         * manual/pattern.texi (Calling Wordexp): Document additional use
5874         for WRDE_SYNTAX.
5876 2015-03-23  Alan Modra  <amodra@gmail.com>
5878         * config.h.in: Remove HAVE_ASM_PPC_REL16.
5879         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
5880         and false branch of conditional.
5881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5882         Likewise.
5884 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
5886         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
5887         libc-modules.h
5888         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
5889         unused declaration of _hurd_intr_rpc_msg_in_trap.
5890         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
5891         defined instead of whether it is non-zero.
5892         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
5893         input constraint instead of both input and output constraint.  Use ecx
5894         clobber instead of %ecx.
5895         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
5896         mutex_unlock): Use a statement expression instead of an expression list.
5897         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
5898         type to vm_size_t instead of vm_address_t.
5899         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
5900         defined instead of whether it is non-zero.
5901         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
5902         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
5903         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
5904         comparisons with mapaddr.
5905         * nscd/nscd-client.h: Include <time.h>.
5906         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
5907         9th parameter to __vm_region instead of int.
5908         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
5909         * scripts/check-local-headers.sh (exclude): Add device/,
5910         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
5911         cthreads.h.
5913 2015-03-19  Roland McGrath  <roland@hack.frob.com>
5915         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
5916         to account for alignment padding.
5917         * sysdeps/arm/memmove.S: Likewise.
5919 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
5921         * sysdeps/unix/sysv/linux/generic/README: New file.
5923 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
5925         [BZ #18138]
5926         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
5927         (futex_abstimed_wait)
5928         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
5929         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
5930         of lll_futex_timed_wait.
5932 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
5934         [BZ #17542]
5935         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
5937 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
5939         [BZ #17090]
5940         [BZ #17620]
5941         [BZ #17621]
5942         [BZ #17628]
5943         * NEWS: Update.
5944         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
5945         entries with Static TLS too.  Skip entries past the end of the
5946         allocated DTV, from Alan Modra.
5947         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
5948         Static TLS DTV entry set up from...
5949         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
5950         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
5951         * nptl/allocatestack.c (init_one_static_tls): ... and here...
5952         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
5953         for Static TLS.
5954         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
5955         that the slot we find is associated with the given map before
5956         using its generation count.
5957         * nptl_db/db_info.c: Include ldsodefs.h.
5958         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
5959         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
5960         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
5961         (link_map::l_tls_offset): New struct field.
5962         (dtv_t::counter): Likewise.
5963         (rtld_global): New struct.
5964         (_rtld_global): New rtld variable.
5965         (dl_tls_dtv_slotinfo_list): New rtld global field.
5966         (dtv_slotinfo_list): New struct.
5967         (dtv_slotinfo): Likewise.
5968         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
5969         (td_lookup): Rename to...
5970         (td_mod_lookup): ... this.  Use new mod parameter instead of
5971         LIBPTHREAD_SO.
5972         * nptl_db/td_thr_tlsbase.c: Include link.h.
5973         (dtv_slotinfo_list, dtv_slotinfo): New functions.
5974         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
5975         addresses even if the DTV is out of date or missing them.
5976         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
5977         index zero-length arrays.
5978         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
5979         (td_lookup): Make it a macro implemented in terms of...
5980         (td_mod_lookup): ... this declaration.
5981         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
5982         (DB_MAIN_VARIABLE): Likewise.
5984 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
5986         [BZ #18134]
5987         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
5989 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
5991         * stdlib/setenv.c (__add_to_environ): Revert previous change.
5993 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
5995         [BZ #18128]
5996         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
5997         (atomic_add, atomic_increment_and_test)
5998         (atomic_decrement_and_test): Fix 64-bit arithmetic.
6000 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
6002         * stdlib/setenv.c (__add_to_environ):
6003         Dump core quickly if setenv (..., NULL, ...) is called.
6005 2015-03-13  Roland McGrath  <roland@hack.frob.com>
6007         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
6008         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
6009         all the necessary asm magic in one place.
6010         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
6011         using those.
6013 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
6015         [BZ #14906]
6016         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
6017         traced file mtime. Use consistent log message.
6018         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
6019         (register_traced_file): Call install_watches. Always set mtime.
6020         (invalidate_cache): Iterate over all trace files. Call install_watches.
6021         (inotify_check_files): Don't inline. Handle watching parent
6022         directories and configuration file movement in and out.
6023         (handle_inotify_events): New function.
6024         (main_loop_poll): Call handle_inotify_events.
6025         (main_loop_epoll): Likewise.
6026         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
6027         (struct traced_file): Use array of inotify fds. Add parent directory,
6028         and basename.
6029         (struct database_dyn): Remove unused file_mtime.
6030         (init_traced_file): New inline function.
6031         (define_traced_file): New macro.
6032         * nss/nss_db/db-init.c: Use define_traced_file.
6033         (_nss_db_init): Use init_traced_file.
6034         * nss/nss_files/files-init.c: Use define_traced_file.
6035         (_nss_files_init): Use init_traced_file.
6037 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
6039         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
6040         [_LIBC]: Do not include <stdlib.h>.
6041         [!_LIBC] (abort): Remove declaration.
6042         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
6043         _FP_STATIC_ASSERT instead of conditionally calling abort.
6044         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
6045         (_FP_EXTEND_CNAN): Likewise.
6046         (FP_TRUNC): Likewise.
6047         (__FP_CLZ): Likewise.
6048         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
6050 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
6052         * manual/string.texi (XPG basename): Fix prototype.
6054 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6056         [BZ #18080]
6057         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
6058         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6059         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
6060         (__setcontext): Likewise.
6061         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
6062         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6063         Call rt_sigprocmask syscall one time to set new signal mask
6064         and retrieve the current signal mask instead of two calls.
6065         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
6066         (__swapcontext): Likewise.
6067         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
6068         * stdlib/tst-setcontext2.c: New file.
6070 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6072         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6074 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
6076         [BZ #18093]
6077         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
6078         the wrong size.
6080 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6082         [BZ #18043]
6083         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
6085 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6087         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
6088         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
6089         Remove define.
6090         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
6091         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
6092         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
6093         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
6094         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
6095         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
6096         define.
6097         * nptl_db/td_symbol_list.c (td_lookup): Remove
6098         HAVE_ASM_GLOBAL_DOT_NAME code.
6099         * sysdeps/powerpc/powerpc64/configure.ac: Remove
6100         HAVE_ASM_GLOBAL_DOT_NAME check.
6101         * sysdeps/powerpc/powerpc64/configure: Regenerate.
6102         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
6103         (DOT_LABEL): Remove define.
6104         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
6105         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
6106         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
6107         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
6108         (__TLS_GET_ADDR): Likewise.
6109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
6110         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
6112 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
6114         [BZ #18111]
6115         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
6116         (_FPU_SETCW): Initialize cw from fpsr before storing.
6117         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
6118         (fesetexceptflag): Rewrite using fpu_control.h.
6119         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
6121 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
6123         [BZ #18110]
6124         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
6125         asms.
6126         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6128 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
6130         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
6131         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
6132         abort.
6133         (_FP_FMA): Likewise.
6134         (_FP_DIV): Likewise.
6136 2015-03-10  Roland McGrath  <roland@hack.frob.com>
6138         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
6139         with 0 in that case.
6140         * Makefile (summarize-tests): New canned sequence, factored out of
6141         commands for targets tests and xtests.  Display summary lines that
6142         don't start with PASS: or XFAIL: rather than ones that do start with
6143         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
6144         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
6145         do start with ERROR: or FAIL:.
6146         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
6147         (except for [$(build-shared) = yes]).
6148         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
6149         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
6150         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
6151         * nptl/Makefile: Revert 2015-03-04 changes.
6152         [$(CXX) empty] (tests-unsupported): New variable.
6153         * debug/Makefile: Likewise.
6155         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
6156         gnulib file.  Replace __attribute with __attribute__ throughout.
6158 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
6160         * sysdeps/hppa/fpu/libm-test-ulps: Update.
6162 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6164         [BZ #18104]
6165         * math/auto-libm-test-in: Add another test of pow.
6166         * math/auto-libm-test-out: Regenerated.
6168 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6170         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
6171         $(config-cflags-nofma).
6173 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6175         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
6176         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
6177         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
6178         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
6179         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
6180         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
6181         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
6182         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
6183         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
6184         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
6185         Add comment on closing #endif.
6187 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6189         * posix/wordexp.c (CHAR_IN_SET): New macro.
6190         (parse_param): Use it.
6192 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6194         * sysdeps/powerpc/fpu/libm-test-ulps: update.
6196 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6198         [BZ #18043]
6199         * posix/wordexp.c (parse_param): Fix buffer overflow.
6200         * posix/wordexp-test.c (test_case): Add test case.
6202 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6204         [BZ #18042]
6205         * posix/wordexp.c (parse_backtick): Fix off-by-one.
6206         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
6208 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6210         [BZ #18043]
6211         * posix/wordexp-test.c (test_case): Add test for BZ #18043
6212         (do_bz18043): Delete.
6213         (at_page_end): New.
6214         (testit): Refactor to have words at the edge of unreadable page.
6216 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6218         [BZ #16734]
6219         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
6220         Cleanup read-only streams as well.
6221         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
6223 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6225         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
6226         <bits/libc-lockP.h>
6228 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
6230         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
6231         on [__KERNEL__].
6232         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
6233         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
6234         * soft-fp/op-common.h (_FP_DECL): Likewise.
6236 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6238         * elf/ifuncdep2.c (global): Replace
6239         __attribute__((visibility("protected"))) with
6240         asm (".protected global").
6241         * elf/ifuncmod1.c (global): Likewise.
6242         * elf/ifuncmod5.c (global): Likewise.
6244 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
6246         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
6247         <asm/sfp-machine.h> instead of <sfp-machine.h>.
6249 2015-03-06  Roland McGrath  <roland@hack.frob.com>
6251         * manual/install.texi (Configuring and compiling):
6252         Document test-wrapper-env-only.
6253         * INSTALL: Regenerated.
6255 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
6257         [BZ #18043]
6258         * posix/wordexp.c (parse_param): Fix buffer overflow.
6259         * posix/wordexp-test.c (do_bz18043): Add test case.
6261 2015-03-06  Vincent Bernat  <vincent@bernat.im>
6263         * time/tst-strptime2.c (do_test): Ensure failing tests are
6264         reported correctly.
6265         * time/tst-strptime3.c (do_test): Likewise.
6267 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
6269         Fix aio_error thread-safety.
6270         * sysdeps/pthread/aio_error.c: New file
6271         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
6272         synchronization.
6274 2015-03-06  Florian Weimer  <fweimer@redhat.com>
6276         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
6277         (group_number, vfprintf): Use it.
6278         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
6279         (JUMP, REF): Use it.
6280         (WORK_BUFFER_SIZE): New enum constant.
6281         (process_arg, vfprintf): Use it.
6283 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
6285         * manual/errno.texi (Error Messages): Complete example function
6286         by adding missing #define.
6287         (program_invocation_name): Add statement indicating GNU
6288         extension and reference which header file declares the variable.
6289         (program_invocation_short_name): Likewise.
6291 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
6293         * manual/errno.texi (Error Messages): Delete strerror ISO C89
6294         compatibility note.
6296 2015-03-05  Roland McGrath  <roland@hack.frob.com>
6298         * Makeconfig (test-wrapper-env-only): New variable.
6299         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
6300         then use that with $(test-wrapper-env-only) rather than using
6301         $(test-wrapper-env) $(run-program-env) $($*-ENV).
6303 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
6305         [BZ #18082]
6306         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
6307         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
6308         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
6309         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
6310         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
6311         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
6312         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
6313         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
6314         Likewise.
6315         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
6316         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
6317         Likewise.
6318         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
6319         Likewise.
6320         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
6321         Likewise.
6322         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
6323         Likewise.
6324         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
6325         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
6326         Likewise.
6327         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
6328         Likewise.
6329         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
6330         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
6332 2015-03-04  Roland McGrath  <roland@hack.frob.com>
6334         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
6335         (ETH_ALEN): New macro.
6336         (struct ether_addr): Use it for length of ether_addr_octet.
6338         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
6339         (setdb): Don't call __nss_configure_lookup for "rpc".
6340         (do_test): Don't call test_rpc.
6341         (output_rpcent, test_rpc): Functions moved ...
6342         * sunrpc/test-rpcent.c: ... to this new file.
6343         * sunrpc/Makefile (tests): Add it.
6345         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
6346         __xpg_sigpause.
6347         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
6348         * nptl/tst-signal6.c: Likewise.
6349         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
6350         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
6352         * configure.ac (libc_cv_cxx_link_ok): New check.
6353         Reset CXX to empty if it fails to link.
6354         * configure: Regenerated.
6355         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
6356         bug-atexit3-lib only if $(CXX) is nonempty.
6357         * nptl/Makefile (tests): Likewise for tst-cancel24.
6358         (tests, tests-static): Likewise for tst-cancel24-static.
6359         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
6360         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
6361         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
6362         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
6364 2015-03-04  Andreas Schwab  <schwab@suse.de>
6366         [BZ #17631]
6367         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
6368         for non-GCC compilers.
6369         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6370         Likewise.
6372 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6374         [BZ #17776]
6375         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
6376         integer before bitwise and assembly operations.
6377         (feclearexcept): Likewise.
6378         * math/test-fenvinline.c: New file.
6379         * math/Makefile: Add test-fenvinline test.
6381 2015-03-03  Alan Modra  <amodra@gmail.com>
6383         [BZ #16512]
6384         * scripts/localplt.awk: Strip off symbol version.
6385         * NEWS: Mention bug fix.
6387 2015-03-02  Roland McGrath  <roland@hack.frob.com>
6389         * sysdeps/pthread/timer_routines.c
6390         (timer_free_list, thread_free_list, thread_active_list): Make static.
6392 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
6394         [BZ #17779]
6395         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6396         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6397         Undefine.
6398         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6399         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6400         Likewise.
6401         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6402         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6403         Likewise.
6405 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
6407         [BZ #18036]
6408         * posix/fnmatch_loop.c (END): Detect invalid pattern.
6409         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
6411 2015-03-02  Andreas Schwab  <schwab@suse.de>
6413         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
6414         variable name.
6416 2015-03-02  Florian Weimer  <fweimer@redhat.com>
6418         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
6419         Return error status.
6421 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
6423         [BZ #15969]
6424         * locale/findlocale.c (_nl_find_locale): Introduce const
6425         version of loc_name and drop unsafe type casts.
6427 2015-02-27  Roland McGrath  <roland@hack.frob.com>
6429         * dlfcn/tststatic2.c (main): Converted to ...
6430         (do_test): ... this.
6431         (TEST_FUNCTION): New macro.
6432         Include test-skeleton.c.
6434 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
6436         [BZ #17711]
6437         * elf/Makefile (tests): Add vismain only if PIE is enabled.
6438         (tests-pie): Add vismain.
6439         (CFLAGS-vismain.c): New.
6440         * elf/vismain.c: Add comments for PIE requirement.
6442 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
6444         [BZ #18046]
6445         [BZ #18047]
6446         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
6447         0x1p-56L as threshold for just returning the argument.
6448         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
6449         0x1p-32L as threshold for just returning the argument.
6450         * math/auto-libm-test-in: Add more tests of atanh.
6451         * math/auto-libm-test-out: Regenerated.
6452         * sysdeps/i386/fpu/libm-test-ulps: Update.
6453         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
6455 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
6457         * string/bcopy.c (bcopy): Call memmove for performance.
6459 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
6461         * string/bzero.c (__bzero): Call memset for performance.
6463 2015-02-27  John David Anglin  <dave.anglin@bell.net>
6465         [BZ #18068]
6466         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
6467         to 00100000.
6469 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
6471         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
6473 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
6475         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
6476         (__kernel_standard): Use CSTR macro when setting exc.name.
6477         * sysdeps/ieee754/Makefile [$(subdir) = math]
6478         (CFLAGS-k_standard.c): Remove variable.
6480         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
6481         setting p and q from "else if" to "else".
6482         (qzero): Likewise.
6483         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
6484         (qone): Likewise.
6485         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
6486         (qzerof): Likewise.
6487         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
6488         (qonef): Likewise.
6489         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
6490         (qzero): Likewise.
6491         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
6492         (qone): Likewise.
6494         [BZ #18038]
6495         [BZ #18039]
6496         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
6497         return pi/2 for arguments below 0x1p-113L.
6498         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
6499         return pi/2 for arguments below 0x1p-106L.
6500         * math/auto-libm-test-in: Add more tests of acos.
6501         * math/auto-libm-test-out: Regenerated.
6503         [BZ #16351]
6504         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
6505         (MO): New macro.
6506         (__ieee754_asin): Force underflow exception for results with small
6507         absolute value.
6508         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
6509         (MO): New macro.
6510         (__ieee754_asinf): Force underflow exception for results with
6511         small absolute value.
6512         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
6513         (__ieee754_asin): Force underflow exception for results with small
6514         absolute value.
6515         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
6516         (__ieee754_asinf): Force underflow exception for results with
6517         small absolute value.
6518         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
6519         (__ieee754_asinl): Force underflow exception for results with
6520         small absolute value.
6521         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
6522         (__ieee754_asinl): Force underflow exception for results with
6523         small absolute value.
6524         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
6525         (__ieee754_asinl): Force underflow exception for results with
6526         small absolute value.
6527         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
6528         Include <math.h>.
6529         * math/auto-libm-test-in: Do not mark underflow exceptions as
6530         possibly missing for bug 16351.
6531         * math/auto-libm-test-out: Regenerated.
6533         [BZ #18030]
6534         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
6535         of power of 2 down when low part has opposite sign.
6536         * math/libm-test.inc (logb_test_data): Add more tests.
6538 2015-02-26  Andreas Schwab  <schwab@suse.de>
6540         [BZ #18032]
6541         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
6542         over collating symbol inside a bracket expression.  Minor cleanup.
6543         * posix/tst-fnmatch3.c (do_test): Add test case.
6545 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
6547         [BZ #18029]
6548         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
6549         Adjust exponent of power of 2 down when low part has opposite
6550         sign.
6551         * math/libm-test.inc (ilogb_test_data): Add more tests.
6553 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
6555         [BZ #15969]
6556         * locale/findlocale.c (_nl_find_locale): Fix constness error in
6557         the previous change.
6559         [BZ #15969]
6560         * locale/findlocale.c (_nl_find_locale): Retry archive search
6561         after alias expansion.
6563 2015-02-25  Roland McGrath  <roland@hack.frob.com>
6565         * iconv/tst-iconv3.c (main): Converted to ...
6566         (do_test): ... this.
6567         (TEST_FUNCTION): New macro.
6568         Include test-skeleton.c.
6570         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
6571         (convert): Make function static.
6572         (test_unalign): Likewise.  Add const to argument pointee types.
6573         (main): Replace with static function do_test.
6574         Print "Succeeded." only if RET is zero.
6575         (TEST_FUNCTION): New macro.
6576         Include test-skeleton.c.
6578         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
6579         returns a null pointer.
6581 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6583         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
6584         to __memcpy_ppc only for static builds.
6586 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
6588         [BZ #18020]
6589         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
6590         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
6591         * math/auto-libm-test-in: Add more tests of asinh.
6592         * math/auto-libm-test-out: Regenerated.
6593         * sysdeps/i386/fpu/libm-test-ulps: Update.
6594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6596 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
6598         [BZ #15850]
6599         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
6600         and ip6_mtuinfo definitions here.
6601         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
6602         in this define too.  Update comment.
6604 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
6606         * elf/sprof.c (load_shobj): Tweak error message to match others.
6608 2015-02-24  Kevin Easton  <kevin@guarana.org>
6610         [BZ #16145] (partial fix)
6611         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
6612         to reduce lock contention.
6614 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
6616         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
6617         (struct timex): Update time comment.
6618         (ADJ_SETOFFSET): Define.
6620 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
6622         [BZ #18019]
6623         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6624         2**56 not 2**28 as threshold for log (2x) formula.
6625         * math/auto-libm-test-in: Add more tests of acosh.
6626         * math/auto-libm-test-out: Regenerated.
6627         * sysdeps/i386/fpu/libm-test-ulps: Update.
6628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6630 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
6632         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
6633         parenthesis around the buf assignment.
6634         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
6636 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
6638         [BZ #16783]
6639         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
6640         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
6641         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
6642         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6643         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6644         * math/libm-test.inc (scalb_test_data): Add more tests.
6646 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6648         [BZ #17916]
6649         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
6650         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
6652 2015-02-24  Eric Rannaud  <e@nanocritical.com>
6654         [BZ #17523]
6655         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
6656         * io/bits/fcntl2.h (open): Use it.
6657         (openat): Likewise.
6658         * io/open.c (__libc_open): Likewise.
6659         * io/open64.c (__libc_open64): Likewise.
6660         * io/open64_2.c (__open64_2): Likewise.
6661         * io/open_2.c (__open_2): Likewise.
6662         * io/openat.c (__openat): Likewise.
6663         * io/openat64.c (__openat64): Likewise.
6664         * io/openat64_2.c (__openat64_2): Likewise.
6665         * io/openat_2.c (__openat_2): Likewise.
6666         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
6667         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
6668         * sysdeps/posix/open64.c (__libc_open64): Likewise.
6669         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6670         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
6671         (__open_nocancel): Likewise.
6672         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
6673         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
6674         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
6676 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6678         [BZ #14841]
6679         * resolv/gethnamaddr.c (getanswer): Skip logging if
6680         RES_USE_DNSSEC is set.
6681         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6683 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
6685         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
6687 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
6689         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6690         201304L, for Unicode 7.
6692 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
6694         [BZ #17836]
6695         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
6696         shared library.  Add gmon-start.os otherwise.
6697         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
6698         $(objpfx)gmon-start.os if builing shared library.
6699         ($(objpfx)g$(static-start-installed-name)): Likewise.
6701 2015-02-23  Andreas Schwab  <schwab@suse.de>
6703         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
6705 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
6707         [BZ #17269]
6708         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
6709         (enlarge_userbuf): Likewise.
6711 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
6713         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
6714         * math/atest-exp.c (TIMEOUT): Adjust to 200.
6715         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
6716         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
6718 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
6720         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
6721         expression inside statement expression.
6723 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6725         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
6726         <sysdeps/nptl/lowlevellock.h> and remove macros and
6727         functions that are now defined there.
6728         (SYS_futex): Remove.
6729         (lll_compare_and_swap): Remove.
6730         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
6732 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
6734         [BZ #17999]
6735         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
6736         instead of scandirat.
6737         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
6738         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
6739         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
6740         __scandirat.
6741         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
6742         (__scandirat): Declare.  Use libc_hidden_proto.
6743         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
6744         Remove variable.
6745         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6747 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
6749         [BZ #15319]
6750         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
6751         (MO): New macro.
6752         (__ieee754_atan2): For results with small absolute value, force
6753         underflow exception and remove excess range and precision from
6754         return value.
6755         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
6756         (MO): New macro.
6757         (__ieee754_atan2f): For results with small absolute value, force
6758         underflow exception and remove excess range and precision from
6759         return value.
6760         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
6761         (MO): New macro.
6762         (__atan): For results with small absolute value, force underflow
6763         exception and remove excess range and precision from return value.
6764         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
6765         (MO): New macro.
6766         (__atanf): For results with small absolute value, force underflow
6767         exception and remove excess range and precision from return value.
6768         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
6769         <math.h>.
6770         (__ieee754_atan2): Force underflow exception for results with
6771         small absolute value.
6772         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
6773         <math_private.h>.
6774         (atan): Force underflow exception for results with small absolute
6775         value.
6776         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
6777         (__atanf): Force underflow exception for results with small
6778         absolute value.
6779         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
6780         <math.h>.
6781         (__atanl): Force underflow exception for results with small
6782         absolute value.
6783         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
6784         (__atanl): Force underflow exception for results with small
6785         absolute value.
6786         * sysdeps/x86/fpu/bits/mathinline.h
6787         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
6788         (__ieee754_atan2): Only define inline for long double.
6789         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
6790         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
6791         * math/auto-libm-test-in: Do not mark underflow exceptions as
6792         possibly missing for bug 15319.  Add more tests of atan2.
6793         * math/auto-libm-test-out: Regenerated.
6794         * math/libm-test.inc (casin_test_data): Do not mark underflow
6795         exceptions as possibly missing for bug 15319.
6796         (casinh_test_data): Likewise.
6797         * sysdeps/i386/fpu/libm-test-ulps: Update.
6799 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
6801         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
6802         * sysdeps/mips/bits/endian.h: Fix comments.
6804 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
6806         [BZ #17996]
6807         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
6808         (hdestroy_r): Likewise.
6809         (hsearch_r): Likewise.
6810         (__hcreate_r): Declare and use libc_hidden_proto.
6811         (__hdestroy_r): Likewise.
6812         (__hsearch_r): Likewise.
6813         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
6814         (hcreate): Call __hcreate_r instead of hcreate_r.
6815         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
6816         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
6817         as weak alias of __hcreate_r.
6818         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
6819         __hdestroy_r.
6820         (hsearch_r): Rename to __hsearch_r and define as weak alias of
6821         __hsearch_r.
6822         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
6823         Remove variable.
6824         (test-xfail-XPG4/search.h/linknamespace): Likewise.
6825         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
6826         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6827         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6829 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6831         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
6832         arena_lock into a single arena_get.
6834 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
6836         * dl-reloc.c: Inlucde libc-internal.h.
6837         (_dl_try_allocate_static_tls): Call ALIGN_UP.
6838         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
6839         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
6840         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
6841         (grow_heap): Likewise.
6842         * malloc/malloc.c: Include libc-internal.h.
6843         (do_check_malloc): Call powerof2.
6844         (sysmalloc): Use pagesize. Call ALIGN_UP.
6845         (systrim): Use pagesize.
6846         (mremap_chunk): Use pagesize. Call ALIGN_UP.
6847         (__libc_valloc): Use pagesize.
6848         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
6850 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
6852         [BZ #17991]
6853         * include/sys/resource.h (__getrlimit64): Declare.  Use
6854         libc_hidden_proto.
6855         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
6856         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
6857         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
6858         getrlimit64.
6859         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
6860         __getrlimit64.
6861         [!getrlimit64] (getrlimit64): Define as weak alias of
6862         __getrlimit64.  Use libc_hidden_weak.
6863         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
6864         using __getrlimit64 not __new_getrlimit64.
6865         (__GI_getrlimit64): Likewise.
6866         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
6867         Likewise.
6868         (__GI_getrlimit64): Likewise.
6869         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
6870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
6871         (getrlimit): Add __getrlimit64 alias.
6872         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
6873         Likewise.
6874         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
6875         Remove variable.
6876         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6877         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6879 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
6881         * libio/fileops.c: Add missing sys/mman.h
6882         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
6884 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
6886         * manual/math.texi (Errors in Math Functions): Clarify goals
6887         regarding inexact and underflow exceptions.
6889 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
6891         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
6892         * sysdeps/mips/memset.S: Ditto.
6894 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
6896         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
6898 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6900         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
6901         (__v1longjmp): Remove versioned symbol.
6902         (__v1siglongjmp): Remove alias and versioned symbol.
6903         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
6904         (__v2siglongjmp): Likewise.
6906 2015-02-16  Torvald Riegel  <triegel@redhat.com>
6908         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
6910 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
6912         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
6914 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
6916         [BZ #17987]
6917         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
6918         zero result does not depend on the sign resulting from
6919         subtraction.
6920         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6921         Likewise.
6922         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
6923         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
6924         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6925         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
6926         * math/libm-test.inc (remquo_test_data): Add more tests.
6928 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
6930         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
6931         Problem reported by J William Piggott.
6933 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
6935         [BZ #17978]
6936         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
6937         products 4 * y and 2 * y where those would overflow.
6938         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6939         Likewise.
6940         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
6941         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
6942         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6943         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
6944         * math/libm-test.inc (remquo_test_data): Add more tests.
6946         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
6948         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
6949         [defined _COMPILING_NEWLIB].
6950         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
6951         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
6953         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
6954         [!defined __mips_isa_rev || __mips_isa_rev < 6].
6956 2015-02-16  Torvald Riegel  <triegel@redhat.com>
6958         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
6959         acquired.
6961 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
6963         [BZ #17792]
6964         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
6965         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
6966         HOST_STACK_END_ADDR): Likewise.
6968 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
6970         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
6971         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
6972         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
6974 2015-02-13  Roland McGrath  <roland@hack.frob.com>
6976         * sysdeps/generic/c++-types.data: New file.
6977         * sysdeps/generic/ld.abilist: New file.
6978         * sysdeps/generic/libBrokenLocale.abilist: New file.
6979         * sysdeps/generic/libanl.abilist: New file.
6980         * sysdeps/generic/libc.abilist: New file.
6981         * sysdeps/generic/libcrypt.abilist: New file.
6982         * sysdeps/generic/libdl.abilist: New file.
6983         * sysdeps/generic/libm.abilist: New file.
6984         * sysdeps/generic/libpthread.abilist: New file.
6985         * sysdeps/generic/libresolv.abilist: New file.
6986         * sysdeps/generic/librt.abilist: New file.
6988 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
6990         [BZ #17569]
6991         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6992         Compute absolute value of x as modified by fmod, not original
6993         value of x.
6994         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
6995         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
6996         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
6997         RUN_TEST_ffI_f1_mod8.
6998         (remquo_test_data): Add more tests.
7000 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7002         * sysdeps/init_array/pt-crti.S: New file.
7004 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7006         [BZ #17967]
7007         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
7008         __builtin_fmaf instead of relying on contraction of a * b + c.
7010 2015-02-12  J William Piggott  <elseifthen@gmx.com>
7012         [BZ #17969]
7013         * manual/time.texi: correct the zoneinfo path in the TZ Variable
7014         node.
7016 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7018         [BZ #17964]
7019         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
7020         __builtin_fma instead of relying on contraction of a * b + c.
7022 2015-02-12  Roland McGrath  <roland@hack.frob.com>
7024         * Makeconfig (ASFLAGS): Add -Werror=undef.
7025         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
7026         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
7027         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
7029         * Makeconfig (after-link): New variable.
7030         (+link-pie, +link-pie-tests): Use it.
7031         (+link-static, +link-static-tests): Likewise.
7032         (+link, +link-tests): Likewise.
7033         * Makerules (build-module, build-module-asneeded): Likewise.
7034         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
7035         Likewise.
7036         * elf/Makefile ($(objpfx)ld.so): Likewise.
7038 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
7040         [BZ #17965]
7041         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
7042         both struct timeval and struct timespec.
7044 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7046         [BZ #16560]
7047         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7048         and redefine.
7049         (__ieee754_exp2l): Do not multiply small fractional parts by
7050         M_LN2l.
7051         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
7052         small argument.
7053         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7054         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7055         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
7056         * math/auto-libm-test-in: Add more tests of exp2.
7057         * math/auto-libm-test-out: Regenerated.
7059 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7061         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
7062         unaligned path.
7064 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7066         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
7067         little endian.
7069 2015-02-12  Andreas Schwab  <schwab@suse.de>
7071         [BZ #15790]
7072         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
7073         Filter out elision flags from value returned in kind.
7074         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
7075         * nptl/tst-pthread-mutexattr.c: New file.
7077 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7079         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
7080         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
7081         into gnu-gnu, and update comment to refer to abi-tags.
7083 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
7085         [BZ #15467]
7086         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
7087         (__sincos): Set errno to EDOM for infinite argument.
7088         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
7089         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
7090         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
7091         (__sincosl): Set errno to EDOM for infinite argument.
7092         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
7093         (__sincosl): Set errno to EDOM for infinite argument.
7094         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
7095         (__sincosl): Set errno to EDOM for infinite argument.
7096         * math/libm-test.inc (sincos_test_data): Test errno setting.
7098 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
7100         * string/strxfrm_l.c: Remove #define STRCMP.
7101         * string/strcoll_l.c: Remove #define STRLEN.
7102         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
7103         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
7105 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
7107         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
7108         * sysdeps/mips/mips32/sfp-machine.h: ... here.
7109         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
7110         * sysdeps/mips/mips64/Makefile: ... here.
7111         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
7112         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
7113         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
7114         * sysdeps/mips/mips64/sfp-machine.h: ... here.
7115         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
7116         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
7117         * sysdeps/mips/mips64/n64/Implies: Likewise.
7119 2015-02-10  Roland McGrath  <roland@hack.frob.com>
7121         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
7122         <sys/time.h>, <string.h>, and <errno.h>.
7123         (dest_offset, dest_address, value, zero): Remove unused variables.
7124         (ldouble): Remove typedef.
7125         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
7126         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
7127         1).  Fix code style.
7128         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
7129         (check): Function removed.
7130         (CHECK): New macro.
7131         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
7132         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
7133         Don't call set_sigaction_FP and remove_sigaction_FP here.
7134         (ldouble_test): Just use 'long double' as macro argument, no need for
7135         the 'ldouble' typedef.
7136         (do_test): Set up SIGFPE handler at start, using plain signal rather
7137         than sigaction.  Fix code style.
7139 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
7141         [BZ #17949]
7142         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
7143         jump label.
7145 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7147         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
7148         * sysdeps/powerpc/powerpc32/configure: Regenerated.
7150         * sysdeps/powerpc/configure.ac: Remove file.
7151         * sysdeps/powerpc/configure: Likewise.
7153         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7154         [sysdep_routines]: Remove wordcopy-power6 object.
7155         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7156         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
7157         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
7158         (__memmove_ppc32): Likewise.
7159         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
7160         file.
7161         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
7162         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
7163         Remove preprocessor.
7165         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7166         [sysdep_routines]: Remove wide chars objects.
7167         [wcsmbs]: New rule for wide char objects.
7169         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7170         Remove wordcopy-power6 obejct.
7171         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
7172         Use local call for wordcopy and memcpy symbols.
7173         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
7174         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
7175         implementation for loader.
7176         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
7178         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7179         Remove wordcopy-power7 object.
7180         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
7181         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
7182         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
7183         (_wordcopy_fwd_dest_aligned): Likewise.
7184         (_wordcopy_bwd_aligned): Likewise.
7185         (_wordcopy_bwd_dest_aligned): Likewise.
7187         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
7188         Rewrite to call __memmove_ppc instead of include default
7189         implementation.
7191         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7192         Remove wide chars objects.
7193         [wcsmbs]: New rule for wide char objects.
7195 2015-02-09  Andreas Schwab  <schwab@suse.de>
7197         [BZ #17912]
7198         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7199         in terms of __O_DIRECTORY.
7201 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7203         * time/getdate.c: Include <stdbool.h>.
7204         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
7205         call PTR_MANGLE.
7206         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
7207         PTR_DEMANGLE.
7209 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
7211         Add ersatz _Static_assert on older C hosts
7212         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
7213         pre-C11 C platform that is not known to support _Static_assert.
7215 2015-02-07  Richard Braun  <rbraun@sceen.net>
7217         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
7218         sigstate.
7219         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
7221 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7223         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
7224         priority against unexistent AIO_PRIO_DELTA_MAX.
7225         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
7226         instead of int.
7227         * misc/fchflags.c (fchflags): Likewise.
7228         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
7229         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
7230         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
7231         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
7232         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
7233         Declare macros.
7234         [__USE_MISC] (chflags, fchflags): Declare functions.
7235         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
7236         EINVAL when nfds is greater than FD_SETSIZE.
7237         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
7238         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
7239         45.
7240         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
7241         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
7242         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
7243         MACH_RCV_TIMED_OUT.
7244         * hurd/hurd/signal.h (_hurd_self_sigstate,
7245         _hurd_critical_section_lock, _hurd_critical_section_unlock):
7246         Explicit casts from void *.
7247         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
7248         * abi-tags: Rename gnu-gnu os into gnu.
7250         [BZ #4719]
7251         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
7252         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
7253         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
7254         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
7255         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
7256         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
7258         [BZ #17944]
7259         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
7260         duplicates ADDR->sun_path with sockaddr LEN limitation.
7261         * sysdeps/mach/hurd/connect.c: Include <string.h>
7262         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
7263         * sysdeps/mach/hurd/sendmsg.c: Likewise.
7264         * sysdeps/mach/hurd/sendto.c: Likewise.
7265         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
7266         implementing it by hand.
7268 2015-02-06  Roland McGrath  <roland@hack.frob.com>
7270         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
7271         Use sfi_breg on ldr.
7272         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
7273         Likewise.
7275         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
7276         it's defined.
7277         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
7278         Test SIGSETXID only if it's defined.
7280         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
7282         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
7283         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
7285         * nptl/tst-align2.c: Moved ...
7286         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
7287         * nptl/Makefile (tests): Remove tst-align2.
7288         * sysdeps/unix/sysv/linux/Makefile
7289         [$(subdir) = nptl] (tests): Add tst-align-clone.
7290         * nptl/tst-getpid1.c: Moved ...
7291         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
7292         * nptl/tst-getpid2.c: Moved ...
7293         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
7294         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
7295         * sysdeps/unix/sysv/linux/Makefile
7296         [$(subdir) = nptl] (tests): ... here.
7297         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
7298         * sysdeps/unix/sysv/linux/Makefile
7299         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
7301         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
7302         Drop trailing \n from perror argument.  Use return rather than exit.
7304         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
7305         on [SA_SIGINFO].
7306         * nptl/tst-cancel21.c (do_test): Likewise.
7307         * debug/tst-backtrace6.c: Include <signal.h> first thing.
7308         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
7309         [!SA_SIGINFO]: Make it a stub test.
7311         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
7312         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
7314         * posix/tst-getlogin.c: Move to ...
7315         * login/tst-getlogin.c: ... here.
7316         * posix/Makefile (tests): Move tst-getlogin to ...
7317         * login/Makefile (tests): ... here.
7319         * libio/tst-atime.c (do_test): Move local variables SV and E
7320         inside [ST_NOATIME] conditional.
7322         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
7324         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
7326         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
7327         (wait_code): New function replaces macro.
7328         Call nanosleep rather than syscall.
7330         * nptl/pt-system.c: Rewritten.  Put everything under
7331         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7332         Use IFUNC to redirect when possible.
7334         * nptl/pt-longjmp.c: Rewritten.  Put everything under
7335         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7336         Use IFUNC to redirect when possible.
7338         * nptl/pt-fork.c: Rewritten.  Put everything under
7339         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7340         Use IFUNC to redirect when possible.
7341         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
7343         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
7344         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
7345         unconditionally nowadays.  This included the only reference to
7346         __vdso_clock_gettime that appears outside libc proper.
7347         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
7348         Remove version set (containing only __vdso_clock_gettime).
7349         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
7350         Add attribute_hidden.
7351         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
7352         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
7353         libc_hidden_data_def.
7354         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7355         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7357         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
7358         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
7359         setrpcent, and getrpcport to ...
7360         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
7361         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
7362         getrpcbynumber_r, and getrpcent_r to ...
7363         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
7364         * inet/getrpcbyname.c: Moved ...
7365         * sunrpc/getrpcbyname.c: ... here.
7366         * inet/getrpcbyname_r.c: Moved ...
7367         * sunrpc/getrpcbyname_r.c: ... here.
7368         * inet/getrpcbynumber.c: Moved ...
7369         * sunrpc/getrpcbynumber.c: ... here.
7370         * inet/getrpcbynumber_r.c: Moved ...
7371         * sunrpc/getrpcbynumber_r.c: ... here.
7372         * inet/getrpcent.c: Moved ...
7373         * sunrpc/getrpcent.c: ... here.
7374         * inet/getrpcent_r.c: Moved ...
7375         * sunrpc/getrpcent_r.c: ... here.
7376         * inet/Makefile (routines): Move those to ...
7377         * sunrpc/Makefile (routines): ... here.
7378         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
7379         the $(subdirs) list.
7380         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
7381         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
7382         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
7383         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
7385         * elf/Makefile (routines): Include $(all-dl-routines), not just
7386         $(dl-routines).
7387         (rtld-routines): Likewise.  Use = rather than :=.
7388         * sysdeps/aarch64/Makefile [$(subdir) = elf]
7389         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
7390         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
7391         * sysdeps/arm/Makefile: Likewise.
7392         * sysdeps/i386/Makefile: Likewise.
7393         * sysdeps/x86_64/Makefile: Likewise.
7394         * sysdeps/hppa/Makefile [$(subdir) = elf]
7395         (sysdep_routines, sysdep-rtld-routines): Don't add
7396         $(sysdep-dl-routines) to these.
7397         * sysdeps/ia64/Makefile: Likewise.
7398         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
7399         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
7400         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
7401         Don't add dl-static to these; sysdep-dl-routines alone is enough.
7402         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
7403         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
7404         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
7405         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
7406         * sysdeps/powerpc/Makefile [$(subdir) = elf]
7407         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
7408         these; sysdep-dl-routines alone is enough.
7410 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
7412         [BZ #17932]
7413         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
7414         where multiplication results in zero and third argument is finite
7415         and nonzero.
7416         * math/auto-libm-test-in: Add more tests of fma.
7417         * math/auto-libm-test-out: Regenerated.
7419         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
7420         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
7421         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
7422         (_FP_CMP_EQ): Likewise.
7423         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
7425         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
7426         extra argument CHECK_NAN.  Redefine as wrapper around
7427         _FP_EXTEND_CNAN.
7429 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
7431         * version.h (RELEASE): Set to "stable".
7432         (VERSION): Set to "2.21"
7433         * include/features.h (__GLIBC_MINOR__): Set to 21.
7435         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
7437 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7438             Paul Eggert  <eggert@cs.ucla.edu>
7440         [BZ #16618]
7441         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
7442         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
7443         size in bytes. Store needed elements in wpmax. Use needed size
7444         in bytes for extend_alloca.
7446 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
7448         * manual/install.texi: Latest tested versions are GCC 4.9.2,
7449         binutls 2.25, and texinfo 5.2.
7450         * INSTALL: Regenerate.
7451         * sysdeps/nios2/configure: Regenerate.
7452         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
7453         * manual/contrib.texi: Update.
7454         * po/be.po: Update.
7455         * po/bg.po: Update.
7456         * po/ca.po: Update.
7457         * po/cs.po: Update.
7458         * po/da.po: Update.
7459         * po/de.po: Update.
7460         * po/el.po: Update.
7461         * po/eo.po: Update.
7462         * po/es.po: Update.
7463         * po/fi.po: Update.
7464         * po/fr.po: Update.
7465         * po/gl.po: Update.
7466         * po/hr.po: Update.
7467         * po/hu.po: Update.
7468         * po/ia.po: Update.
7469         * po/id.po: Update.
7470         * po/it.po: Update.
7471         * po/ja.po: Update.
7472         * po/ko.po: Update.
7473         * po/lt.po: Update.
7474         * po/nb.po: Update.
7475         * po/nl.po: Update.
7476         * po/pl.po: Update.
7477         * po/pt_BR.po: Update.
7478         * po/ru.po: Update.
7479         * po/rw.po: Update.
7480         * po/sk.po: Update.
7481         * po/sl.po: Update.
7482         * po/sv.po: Update.
7483         * po/tr.po: Update.
7484         * po/uk.po: Update.
7485         * po/vi.po: Update.
7486         * po/zh_CN.po: Update.
7487         * po/zh_TW.po: Update.
7489         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
7490         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
7491         * sysdeps/hppa/dl-irel.h: Remove #warning.
7492         * sysdeps/hppa/entry.h: Provide prototype for
7493         __canonicalize_funcptr_for_compare and cast argument.
7494         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
7495         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
7496         * sysdeps/hppa/sotruss-lib.c: New file.
7497         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
7498         (atomic_compare_and_exchange_val_acq): Use __typeof__.
7499         (atomic_compare_and_exchange_bool_acq): Likewise.
7500         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
7501         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
7503         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
7504         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
7505         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
7507 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
7509         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
7510         called function in non-PIC case.
7512 2015-01-31  David S. Miller  <davem@davemloft.net>
7514         * sysdeps/sparc/sparc32/bits/atomic.h
7515         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
7516         unlock not after it.
7517         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
7518         volatile register usage warnings from the compiler.
7520         * sysdeps/sparc/nptl/sem_init.c: Delete.
7521         * sysdeps/sparc/nptl/sem_post.c: Delete.
7522         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
7523         * sysdeps/sparc/nptl/sem_wait.c: Delete.
7524         * sysdeps/sparc/sparc32/sem_init.c: New file.
7525         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
7526         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
7527         padding explicitly initialized.
7528         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
7529         padding for in-semaphore spinlock.
7530         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
7531         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
7532         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
7533         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
7534         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
7535         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
7536         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
7537         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
7538         version.
7539         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
7540         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
7542 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
7544         [BZ #17801]
7545         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7546         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
7547         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
7548         New.
7549         (index_AVX_Fast_Unaligned_Load): Likewise.
7550         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
7551         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
7552         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
7553         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
7554         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
7555         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
7556         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
7557         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
7558         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
7560 2015-01-29  Andreas Schwab  <schwab@suse.de>
7562         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
7564 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
7566         [BZ #17892]
7567         * nscd/nscd_stat.c (send_stats): Initialize DATA.
7569 2015-01-28  Martin Sebor  <msebor@redhat.com>
7571         * math/README.libm-test: Clarify. Add "How to read the test output."
7573 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
7575         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
7576         Define to 0.
7578 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
7580         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
7581         (__HAVE_64B_ATOMICS): Define to 0.
7583 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7585         [BZ #17885]
7586         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
7587         value to set as new flag.
7589         [BZ #16576]
7590         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
7591         and use _ARCH_PPCSQ instead.
7592         (__ieee754_sqrt): Likewise.
7593         (__ieee754_sqrtf): Likewise.
7594         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
7595         _ARCH_PPCSQ is defined.
7596         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
7597         fsqrt instruction.
7598         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
7599         _ARCH_PPCSQ is defined.
7600         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
7601         fsqrts instruction.
7602         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
7604 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7606         * iconv/loop.c: Suppress array out of bound warning caused by GCC
7607         bug (GCC BZ #64739).
7609 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
7611         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
7612         Mark _retval as used.
7613         (lll_futex_wake_unlock): Likewise.
7614         (lll_futex_timed_wait_requeue_pi): Likewise.
7616         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
7617         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
7618         register variables.
7620         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
7621         libm_hidden_def.
7623         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
7624         (__bswap_64): Mark as __always_inline.
7626 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
7628         [BZ #15378]
7629         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
7630         when none of the search directories exist.
7632 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7634         [BZ #17869]
7635         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
7636         power8 in .machine directive.
7638         [BZ #17868]
7639         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
7640         set dependency from opd value.
7642 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
7644         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7645         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
7646         architecture.
7648 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
7650         [BZ #17870]
7651         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
7652         with uint64_t.
7653         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
7654         (uint64_t) 1.
7655         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
7656         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
7657         Replace 1UL with (uint64_t) 1.
7658         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
7659         int with uint64_t.
7661 2015-01-23  Roland McGrath  <roland@hack.frob.com>
7663         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
7664         (if_freenameindex): Likewise.
7666         * resource/getrlimit64.c: Add missing libc_hidden_def.
7668 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
7670         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
7671         __label__.
7672         (_FP_FMA): Likewise.
7673         (_FP_TO_INT_ROUND): Likewise.
7674         (_FP_FROM_INT): Likewise.
7676 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7678         [BZ #16418]
7679         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
7680         Make code racy and cancel safe.
7682 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
7684         * sysdeps/arm/unwind-resume.h: Fix copyright year.
7685         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
7686         attribution.
7688         * pwd/tst-getpw.c: Rewrite.
7690         [BZ #17702]
7691         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
7692         (modules-names): Add moddummy1 and moddummy2.
7693         ($(objpfx)tst-rec-dlopen): Define.
7694         * dlfcn/moddummy1.c: New file.
7695         * dlfcn/moddummy2.c: New file.
7696         * dlfcn/tst-rec-dlopen.c: New file.
7697         * elf/dl-cache.c (_dl_load_cache_lookup):
7698         Return char*. Copy result with alloca/strcpy/strdup.
7699         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
7700         returns char*. Free cached. If not saving realname
7701         free cached.
7702         * elf/dl-open.c (dl_open_worker): Do not assert that
7703         _r_debug->r_state is RT_CONSISTENT.
7704         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
7705         returns char*.
7707 2015-01-21  Torvald Riegel  <triegel@redhat.com>
7708             Carlos O'Donell  <carlos@redhat.com>
7710         [BZ #12674]
7711         * nptl/sem_waitcommon.c: New file.
7712         * nptl/sem_wait.c: Include sem_waitcommon.c.
7713         (__sem_wait_cleanup, do_futex_wait): Remove.
7714         (__new_sem_wait): Adapt.
7715         (__new_sem_trywait): New function.
7716         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
7717         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
7718         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
7719         (sem_timedwait): Adapt.
7720         * nptl/sem_post.c (__new_sem_post): Adapt.
7721         (futex_wake): New function.
7722         (__old_sem_post): Add release MO fence.
7723         * nptl/sem_open.c (sem_open): Adapt.
7724         * nptl/sem_init.c (__new_sem_init): Adapt.
7725         (futex_private_if_supported): New function.
7726         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
7727         (__old_sem_getvalue): Add using previous code.
7728         * sysdeps/nptl/internaltypes.h: Adapt.
7729         * nptl/tst-sem13.c (do_test): Adapt.
7730         * nptl/tst-sem11.c (main): Adapt.
7731         * nptl/sem_trywait.c: Remove.
7732         * nptl/DESIGN-sem.txt: Remove.
7733         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
7734         (gen-as-const-headers): Remove structsem.sym.
7735         * nptl/structsem.sym: Remove.
7736         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
7737         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
7738         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
7739         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
7740         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
7741         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
7742         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
7743         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
7744         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
7745         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
7746         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
7747         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
7748         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
7749         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
7750         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
7751         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
7752         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
7753         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
7754         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
7755         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
7756         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
7757         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
7759 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
7761         * INSTALL: Regenerated.
7763         * po/libc.pot: Regenerated.
7765 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
7766             Sandra Loosemore  <sandra@codesourcery.com>
7767             Andrew Jenner  <andrew@codesourcery.com>
7768             Joseph Myers  <joseph@codesourcery.com>
7769             Nathan Sidwell  <nathan@codesourcery.com>
7771         * NEWS: Mention new Nios II port.
7772         * sysdeps/nios2/Implies: New file.
7773         * sysdeps/nios2/Makefile: New file.
7774         * sysdeps/nios2/Subdirs: New file.
7775         * sysdeps/nios2/Versions: New file.
7776         * sysdeps/nios2/__longjmp.S: New file.
7777         * sysdeps/nios2/abort-instr.h: New file.
7778         * sysdeps/nios2/backtrace.c: New file.
7779         * sysdeps/nios2/bits/endian.h: New file.
7780         * sysdeps/nios2/bits/fenv.h: New file.
7781         * sysdeps/nios2/bits/link.h: New file.
7782         * sysdeps/nios2/bits/setjmp.h: New file.
7783         * sysdeps/nios2/bsd-_setjmp.S: New file.
7784         * sysdeps/nios2/bsd-setjmp.S: New file.
7785         * sysdeps/nios2/configure: New generated file.
7786         * sysdeps/nios2/configure.ac: New file.
7787         * sysdeps/nios2/crti.S: New file.
7788         * sysdeps/nios2/crtn.S: New file.
7789         * sysdeps/nios2/dl-init.c: New file.
7790         * sysdeps/nios2/dl-machine.h: New file.
7791         * sysdeps/nios2/dl-sysdep.h: New file.
7792         * sysdeps/nios2/dl-tls.h: New file.
7793         * sysdeps/nios2/dl-trampoline.S: New file.
7794         * sysdeps/nios2/gccframe.h: New file.
7795         * sysdeps/nios2/gmp-mparam.h: New file.
7796         * sysdeps/nios2/jmpbuf-offsets.h: New file.
7797         * sysdeps/nios2/jmpbuf-unwind.h: New file.
7798         * sysdeps/nios2/ldsodefs.h: New file.
7799         * sysdeps/nios2/libc-tls.c: New file.
7800         * sysdeps/nios2/libm-test-ulps: New file.
7801         * sysdeps/nios2/machine-gmon.h: New file.
7802         * sysdeps/nios2/math-tests.h: New file.
7803         * sysdeps/nios2/math_private.h: New file.
7804         * sysdeps/nios2/memusage.h: New file.
7805         * sysdeps/nios2/nptl/Makefile: New file.
7806         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
7807         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
7808         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
7809         * sysdeps/nios2/nptl/pthreaddef.h: New file.
7810         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
7811         * sysdeps/nios2/nptl/tls.h: New file.
7812         * sysdeps/nios2/preconfigure: New file.
7813         * sysdeps/nios2/s_fma.c: New file.
7814         * sysdeps/nios2/s_fmaf.c: New file.
7815         * sysdeps/nios2/setjmp.S: New file.
7816         * sysdeps/nios2/sfp-machine.h: New file.
7817         * sysdeps/nios2/sotruss-lib.c: New file.
7818         * sysdeps/nios2/stackguard-macros.h: New file.
7819         * sysdeps/nios2/stackinfo.h: New file.
7820         * sysdeps/nios2/start.S: New file.
7821         * sysdeps/nios2/sysdep.h: New file.
7822         * sysdeps/nios2/tls-macros.h: New file.
7823         * sysdeps/nios2/tst-audit.h: New file.
7824         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
7825         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
7826         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
7827         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
7828         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
7829         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
7830         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
7831         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
7832         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
7833         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
7834         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
7835         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
7836         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
7837         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
7838         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
7839         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
7840         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
7841         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
7842         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
7843         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
7844         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
7845         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
7846         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
7847         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
7848         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
7849         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
7850         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
7851         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
7852         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
7853         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
7854         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
7855         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
7856         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
7857         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
7858         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
7859         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
7860         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
7861         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
7862         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
7863         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
7864         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
7865         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
7866         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
7867         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
7869 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7871         [BZ #17844]
7872         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
7873         (getutent): Use weak_alias in non SHARED case
7874         and default_symbol_version in SHARED case.
7875         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
7876         (getutent_r, pututline): Likewise.
7877         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
7878         (getutid): Likewise.
7879         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
7880         (getutid_r): Likewise.
7881         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
7882         (getutline): Likewise.
7883         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
7884         (getutline_r): Likewise.
7885         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
7886         (updwtmp): Likewise.
7888 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7890         [BZ #17848]
7891         * sysdeps/s390/s390-32/memcmp.S
7892         (memcmp_g5): Rename to __memcmp_g5.
7893         * sysdeps/s390/s390-32/memcpy.S
7894         (memcpy_g5): Rename to __memcpy_g5.
7895         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7896         (memcpy_mvcle) Rename to __memcpy_mvcle.
7897         * sysdeps/s390/s390-32/memset.S
7898         (memset_g5): Rename to __memset_g5.
7899         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7900         (IFUNC_RESOLVE): Prefix ifunc-resolve function
7901         and use prefixed functions.
7902         * sysdeps/s390/s390-32/multiarch/memcmp.S
7903         (memcmp_z196): Rename to __memcmp_z196.
7904         (memcmp_z10): Rename to __memcmp_z10.
7905         (memcmp): Set alias to __memcmp_g5.
7906         (bcmp): Set alias to __memcmp_g5.
7907         * sysdeps/s390/s390-32/multiarch/memcpy.S
7908         (memcpy_z196): Rename to __memcpy_z196.
7909         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7910         (memcpy_z10): Rename to __memcpy_z10.
7911         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7912         (memcpy): Set alias to __memcpy_g5.
7913         * sysdeps/s390/s390-32/multiarch/memset.S
7914         (memset_z196): Rename to __memset_z196.
7915         Jump to __memset_mvcle instead of memset_mvcle.
7916         (memset_z10): Rename to __memset_z10.
7917         Jump to __memset_mvcle instead of memset_mvcle.
7918         (memset_mvcle) Rename to __memset_mvcle.
7919         (memset): Set alias to __memset_g5.
7920         * sysdeps/s390/s390-64/memcmp.S
7921         (memcmp_z900): Rename to __memcmp_z900.
7922         * sysdeps/s390/s390-64/memcpy.S
7923         (memcpy_z900): Rename to __memcpy_z900.
7924         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7925         (memcpy_mvcle) Rename to __memcpy_mvcle.
7926         * sysdeps/s390/s390-64/memset.S
7927         (memset_z900): Rename to __memset_z900.
7928         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
7929         (IFUNC_RESOLVE): Prefix ifunc-resolve function
7930         and use prefixed functions.
7931         * sysdeps/s390/s390-64/multiarch/memcmp.S
7932         (memcmp_z196): Rename to __memcmp_z196.
7933         (memcmp_z10): Rename to __memcmp_z10.
7934         (memcmp): Set alias to __memcmp_z900.
7935         (bcmp): Set alias to __memcmp_z900.
7936         * sysdeps/s390/s390-64/multiarch/memcpy.S
7937         (memcpy_z196): Rename to __memcpy_z196.
7938         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7939         (memcpy_z10): Rename to __memcpy_z10.
7940         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7941         (memcpy): Set alias to __memcpy_z900.
7942         * sysdeps/s390/s390-64/multiarch/memset.S
7943         (memset_z196): Rename to __memset_z196.
7944         Jump to __memset_mvcle instead of memset_mvcle.
7945         (memset_z10): Rename to __memset_z10.
7946         Jump to __memset_mvcle instead of memset_mvcle.
7947         (memset_mvcle) Rename to __memset_mvcle.
7948         (memset): Set alias to __memset_z900.
7950 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
7952         [BZ #17748]
7953         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
7954         __fesetenv instead of fesetenv.
7956 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7958         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
7959         macro.
7961 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7963         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
7964         regression on LE.
7966         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
7967         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
7968         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7969         strncmp-power8 object.
7970         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7971         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
7972         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
7973         * NEWS: Update.
7975 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7976             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7978         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
7979         trailing byte check.
7981 2015-01-13  David S. Miller  <davem@davemloft.net>
7983         * include/signal.h (__sigreturn): Guard with __USE_MISC.
7985 2015-01-13  Roland McGrath  <roland@hack.frob.com>
7987         * login/logout.c (logout): Use memset rather than bzero.
7988         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
7989         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
7990         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
7991         (_gethtbyaddr): Likewise.
7992         * locale/programs/simple-hash.c (bcopy): Macro removed.
7994 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7996         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7997         Add strcmp-power8 object.
7998         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7999         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
8000         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
8001         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
8002         __strcmp_power8 implementation.
8003         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
8004         * NEWS: Update.
8006         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8007         Add strncpy-power8 and stpncpy-power8 objects.
8008         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8009         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
8010         implementations.
8011         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
8012         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
8013         __stpncpy_power8 implementation.
8014         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
8015         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
8016         __strncpy_power8 implementation.
8017         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
8018         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
8019         * NEWS: Update.
8021         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
8022         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
8023         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
8025         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8026         strncat-power8 object.
8027         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
8028         __strcat_power8 implementation.
8029         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8030         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
8031         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
8032         optimized strcat for power8.
8034         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8035         strcpy-power8 and stpcpy-power8 objects.
8036         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8037         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
8038         implementations.
8039         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
8040         multiarch stpcpy implementation for POWER8.
8041         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
8042         multiarch strcpy implementation for POWER8.
8043         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
8044         __strcpy_power8 function.
8045         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
8046         stpcpy for POWER8.
8047         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
8048         strcpy for POWER8.
8049         * NEWS: Update.
8051 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
8053         [BZ #16009]
8054         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
8055         weights and rules. Use do_xfrm_cached if data fits in cache,
8056         do_xfrm otherwise.  Moved former main loop to...
8057         * (do_xfrm_cached): New function.
8058         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
8059         find_idx, find_position and stack_push.
8060         * (find_idx): New function.
8061         * (find_position): Likewise.
8062         * localedata/sort-test.sh: Added test run for do_xfrm.
8063         * localedata/xfrm-test.c (main): Added command line option
8064         -nocache to run the test with strings that are too large for
8065         the STRXFRM cache.
8067 2015-01-13  Torvald Riegel  <triegel@redhat.com>
8069         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
8070         variable to lll_futex_wake call, not the value itself.
8072 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
8074         [BZ #17803]
8075         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
8076         twom64.  Adjust value to 0x1p-64L.
8077         (__scalblnl): Only return standard underflowing result for K <=
8078         -64 not K <= -63; adjust exponent for underflowing result by 64
8079         not 63.
8080         * math/libm-test.inc (scalbn_test_data): Add more tests.
8081         (scalbln_test_data): Likewise.
8083         [BZ #17834]
8084         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
8085         0x1p63L.
8086         (__scalblnl): Get new exponent of adjusted subnormal value from ES
8087         not HX.
8088         * math/libm-test.inc (scalbn_test_data): Add more tests.
8089         (scalbln_test_data): Likewise.
8091 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8092             Stefani Seibold  <stefani@seibold.net>
8094         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
8095         (sysdep_routines): Add dl-vdso here, ...
8096         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
8097         (sysdep_routines): ... not here.
8098         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
8099         fallback when vDSO is not presented.
8100         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
8101         Define with libc_hidden_proto/libc_hidden_data_def definitions.
8102         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
8103         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
8104         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
8105         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
8106         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
8107         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
8108         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
8109         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
8110         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
8111         fallback configurable symbol when vDSO is not available.
8112         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
8113         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
8114         be able to redefine fallback symbol when vDSO is not available.
8115         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
8116         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
8118 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8120         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
8121         (TLS_INIT_TP): Add tm_capable initialization.
8122         (TLS_DEFINE_INIT_TP): Likewise.
8123         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
8124         TCB.
8125         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
8126         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
8127         calculation.
8128         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
8129         transactoion is lock elision is built and TCB tm_capable is set.
8130         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
8131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8132         (INTERNAL_SYSCALL_NCS): Likewise.
8133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8134         (INTERNAL_SYSCALL_NCS): Likewise.
8135         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
8137         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
8138         for powerpc.
8139         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8140         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
8141         and remove it for 32 bits case.
8142         [pthread_rwlock_t] (__rwelision): New field for lock elision.
8143         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
8144         initialization.
8145         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
8146         Disable lock elision with rdlocks if elision is not available.
8148         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
8149         (sysdep_routines): Add lock elision objects.
8150         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8151         [pthread_mutex_t] (__spins): Rework to add lock elision field.
8152         [pthread_mutex_t] (__elision): Add field.
8153         [__PTHREAD_SPINS]: Adjust to init lock elision field.
8154         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
8155         elision definitions for powerpc.
8156         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
8157         implementation of lock elision for powerpc.
8158         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
8159         implementation of timed lock elision for powerpc.
8160         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
8161         implementation of trylock with lock elision for powerpc.
8162         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
8163         implementaion of unlock for lock elision for powerpc.
8164         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
8165         automatic enable lock elision for mutexes.
8166         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
8167         transaction execution definitions for powerpc.
8168         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
8169         definitions.
8170         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
8171         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
8172         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
8173         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
8174         * NEWS: Update.
8176 2015-01-09  Roland McGrath  <roland@hack.frob.com>
8178         * sysdeps/posix/shm-directory.c: Use <> rather than ""
8179         for #include of <shm-directory.h>.
8181 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
8183         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
8184         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
8186 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
8188         [BZ #17791]
8189         * NEWS: Mention bug fix.
8190         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
8191         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
8192         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
8194 2015-01-09  Torvald Riegel <triegel@redhat.com>
8196         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
8198 2015-01-09  Torvald Riegel <triegel@redhat.com>
8200         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
8202 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8204         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
8205         pointer and cast to uintptr_t.
8207 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8209         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
8210         removed.
8211         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
8213 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8215         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
8216         of 0.
8218 2015-01-08  Roland McGrath  <roland@hack.frob.com>
8220         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
8221         <nptl/pthreadP.h> instead.
8222         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
8224         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
8225         already defined.
8226         [__SIGRTMIN] (init): Function removed.
8227         [__SIGRTMIN] (initialized): Variable removed.
8228         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
8229         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
8230         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
8231         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
8232         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
8233         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
8234         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
8235         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
8236         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
8237         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
8238         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
8239         * sysdeps/nptl/allocrtsig.c: New file.
8240         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
8241         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
8242         * sysdeps/generic/testrtsig.h: File removed.
8244         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
8245         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
8247         * nptl/nptl-init.c (pthread_functions): Conditionalize
8248         .ptr__nptl_setxid initialization on [SIGSETXID].
8250         * sysdeps/nptl/sys/procfs.h: New file.
8251         * nptl_db/Makefile (headers): Add it.
8252         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
8254         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
8255         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
8256         * nptl/pthread_attr_setaffinity.c: Include it.
8257         * nptl/pthread_setattr_default_np.c: Likewise.
8258         * nptl/check-cpuset.h: New file.
8260 2015-01-08  Richard Henderson  <rth@redhat.com>
8262         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
8263         (CFLAGS-tst-execstack-prog.c): Likewise.
8264         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
8266 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
8267             Sandra Loosemore  <sandra@codesourcery.com>
8268             Andrew Jenner  <andrew@codesourcery.com>
8269             Joseph Myers  <joseph@codesourcery.com>
8270             Nathan Sidwell  <nathan@codesourcery.com>
8272         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
8273         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
8274         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
8275         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
8276         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
8277         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
8278         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
8279         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
8280         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
8281         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
8282         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
8283         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
8284         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
8285         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
8286         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
8287         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
8288         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
8290 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8292         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
8293         timespec struct member in syscall macro.
8294         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
8295         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
8296         first timeval struct member in syscall macro.
8297         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
8299 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
8301         [BZ #17748]
8302         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
8303         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
8304         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
8305         __feupdateenv and define as weak alias of __feupdateenv.  Use
8306         libm_hidden_weak.
8307         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
8308         libm_hidden_def.
8309         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
8310         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
8311         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8312         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
8313         libm_hidden_def.
8314         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
8315         __feupdateenv and define as weak alias of __feupdateenv.  Use
8316         libm_hidden_weak.
8317         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
8318         libm_hidden_def.
8319         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
8320         __feupdateenv and define as weak alias of __feupdateenv.  Use
8321         libm_hidden_weak.
8322         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
8323         libm_hidden_def.
8324         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8325         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
8326         (__feupdateenv): Likewise.
8327         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
8328         __feupdateenv and define as weak alias of __feupdateenv.  Use
8329         libm_hidden_weak.
8330         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8331         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
8332         libm_hidden_def.
8333         * sysdeps/tile/math_private.h (__feupdateenv): New inline
8334         function.
8335         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
8336         libm_hidden_def.
8337         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
8338         __feupdateenv instead of feupdateenv.
8339         (default_libc_feupdateenv_test): Likewise.
8340         (libc_feresetround_ctx): Likewise.
8342 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8344         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
8345         prototype.
8347 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
8349         * posix/regcomp.c (parse_bracket_exp): Initialize type to
8350         COLL_SYM in a couple of places to avoid uninitialized variable
8351         wanings on tilegx gcc 4.8.2.
8353 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
8355         * sysdeps/aarch64/strcpy.S: New file.
8356         * sysdeps/aarch64/stpcpy.S: New file.
8357         * NEWS: Updated.
8359 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
8361         * sysdeps/aarch64/strrchr.S: New file.
8362         * NEWS: Updated.
8364 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
8366         [BZ #17658]
8367         * stdlib/setenv.c: Fix memory leak when setting large,
8368         duplicate string.
8370 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
8372         [BZ #17273]
8373         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
8374         and tabs from buffer before parsing fstab entry.
8375         * misc/tst-mntent.c (main): Add test for mount entry with
8376         trailing spaces and tabs.
8378 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
8380         [BZ #17748]
8381         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
8382         * math/fesetround.c (fesetround): Rename to __fesetround and
8383         define as weak alias of __fesetround.  Use libm_hidden_weak.
8384         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
8385         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
8386         * sysdeps/arm/fesetround.c (fesetround): Likewise.
8387         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
8388         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
8389         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
8390         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
8391         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
8392         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
8393         __fesetround_inline.
8394         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
8395         __fesetround_inline instead of __fesetround.
8396         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
8397         __fesetround and define as weak alias of __fesetround.  Use
8398         libm_hidden_weak.  Call __fesetround_inline instead of
8399         __fesetround.
8400         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
8401         __fesetround and define as weak alias of __fesetround.  Use
8402         libm_hidden_weak.
8403         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
8404         Likewise.
8405         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
8406         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8407         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
8408         * sysdeps/tile/math_private.h (__fesetround): New inline function.
8409         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
8410         __fesetround and define as weak alias of __fesetround.  Use
8411         libm_hidden_weak.
8412         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
8413         __fesetround instead of fesetround.
8414         (default_libc_feholdexcept_setround): Likewise.
8415         (libc_feholdsetround_ctx): Likewise.
8416         (libc_feholdsetround_noex_ctx): Likewise.
8418         [BZ #17748]
8419         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
8420         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
8421         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
8422         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
8423         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8424         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
8425         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8426         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
8427         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8428         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8429         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8430         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8431         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8432         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8433         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
8434         libm_hidden_def.
8435         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
8436         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
8437         Likewise.
8438         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8439         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8440         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8441         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8442         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
8443         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
8444         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
8445         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
8446         __fesetenv instead of fesetenv.
8447         (libc_feresetround_noex_ctx): Likewise.
8448         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
8449         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8450         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
8451         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
8452         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
8453         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
8454         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8455         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
8456         (__feupdateenv): Likewise.
8457         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8458         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8459         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8460         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
8462 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
8464         [BZ #17806]
8465         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
8466         addresses have been freed.
8468 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
8470         * resolv/res_init.c (__res_vinit): Improve comments about nserv
8471         and nservall.
8473 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
8475         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
8476         Clean up check_pf allocation pattern. addresses
8478 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8480         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
8481         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
8482         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
8483         * nptl/pthread_exit.c (__pthread_exit): Likewise.
8484         * nptl/pthread_join.c (pthread_join): Likewise.
8485         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
8486         * sysdeps/posix/waitid.c (__waitid): Likewise.
8487         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
8488         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
8489         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
8490         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
8491         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
8492         Likewise.
8493         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
8494         (__libc_pread64): Likewise.
8495         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
8496         (__libc_pwrite): Likewise.
8497         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
8498         (__libc_pwrite64): Likewsie.
8499         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
8500         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
8501         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
8502         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
8503         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
8504         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
8505         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
8507         Likewise.
8508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8509         (__libc_pread64): Likewise.
8510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
8511         Likewise.
8512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8513         (__libc_pwrite64): Likewise.
8514         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
8515         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
8516         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
8517         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
8518         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
8519         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
8520         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
8521         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
8522         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
8523         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
8524         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
8525         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
8526         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
8527         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
8528         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
8529         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
8530         Likewise.
8532 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
8534         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
8535         (CFLAGS-test-double.c): Likewise.
8536         (CFLAGS-test-ldouble.c): Likewise.
8537         (CPPFLAGS-test-ifloat.c): Likewise.
8538         (CPPFLAGS-test-idouble.c): Likewise.
8539         (CPPFLAGS-test-ildoubl.c): Likewise.
8540         (CFLAGS-test-test-fenv.c): Remove variable.
8541         (CFLAGS-test-misc.c): Likewise.
8543 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
8545         [BZ #17797]
8546         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
8547         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
8548         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
8549         CLOCKS_PER_SEC == 1000000.
8550         * time/clocktest.c (main): Replace %ld with %jd and cast to
8551         intmax_t.
8553 2015-01-05  Roland McGrath  <roland@hack.frob.com>
8555         * sysdeps/generic/unwind-resume.h: New file.
8556         * sysdeps/gnu/unwind-resume.c: Include it.
8557         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
8558         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
8559         argument list.
8560         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
8561         global rather than static.
8562         (_Unwind_Resume): Update user.
8563         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
8564         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
8565         rather than static.  Add __attribute__ ((cold)).
8566         (_Unwind_Resume, __gcc_personality_v0): Update callers.
8567         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
8568         * sysdeps/arm/arm-unwind-resume.S: New file.
8569         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
8570         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
8571         * sysdeps/arm/Makefile [$(subdir) = csu]
8572         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
8573         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8574         Add rt-arm-unwind-resume.
8575         [$(subdir) = nptl]
8576         (libpthread-sysdep_routines, libpthread-shared-only-routines):
8577         Add pt-arm-unwind-resume.
8578         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
8579         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
8581 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8583         [BZ #17748]
8584         * include/fenv.h (__feholdexcept): Declare.  Use
8585         libm_hidden_proto.
8586         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
8587         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
8588         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8589         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
8590         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
8591         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
8592         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
8593         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8594         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
8595         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
8596         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8597         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
8598         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
8599         (feholdexcept): Likewise.
8600         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
8601         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8602         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8603         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8604         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
8605         __feholdexcept instead of feholdexcept.
8606         (default_libc_feholdexcept_setround): Likewise.
8608 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8610         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
8611         to avoid using stl/str to align destination.
8613 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8615         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
8617 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8619         [BZ #17796]
8620         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
8621         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
8622         Define as weak alias not strong alias.
8624 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8626         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
8627         bltzal with addiupc.
8628         (RTLD_START): Ditto.
8630 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
8632         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
8633         for __vdso_* functions in declarations.
8634         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
8635         definitions.
8636         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
8637         INTERNAL_VSYSCALL): Use struct return types to check for error.
8639         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
8640         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
8641         function with cast from llround().
8642         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
8643         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
8644         Define.
8646 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8648         [BZ #17793]
8649         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
8650         Define as weak alias not strong alias.
8652         [BZ #17635]
8653         * ctype/ctype-c99.c: New file.  isblank implementation moved from
8654         ...
8655         * ctype/ctype-extn.c: ... here.
8656         (__isblank_l): Move to ...
8657         * ctype/ctype-c99_l.c: ... here.  New file.
8658         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
8659         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
8660         Remove variable.
8661         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
8662         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
8663         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
8664         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
8665         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
8667         [BZ #17777]
8668         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
8669         (posix_fadvise64): Define as weak alias not strong alias.
8670         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8671         (posix_fallocate64): Likewise.
8672         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
8673         Remove variable.
8674         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
8675         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
8676         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
8677         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
8678         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
8680 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
8682         [BZ #16191]
8683         * NEWS: Mention bug fix.
8684         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
8685         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
8686         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
8687         (HOST_STACK_END_ADDR): Likewise.
8689 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
8691         [BZ #17748]
8692         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
8693         * math/fegetround.c (fegetround): Rename to __fegetround and
8694         define as weak alias of __fegetround.  Use libm_hidden_weak.
8695         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
8696         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
8697         * sysdeps/arm/fegetround.c (fegetround): Likewise.
8698         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
8699         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8700         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
8701         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
8702         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
8703         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8704         Undefine after rather than before function definition; use
8705         parentheses around function name in definition.
8706         (__fegetround): Also undefine macro after function definition.
8707         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
8708         __fegetround and define as weak alias of __fegetround.  Use
8709         libm_hidden_weak.  Do not undefine as macro.
8710         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8711         Likewise.
8712         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
8713         __fegetround and define as weak alias of __fegetround.  Use
8714         libm_hidden_weak.
8715         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8716         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8717         * sysdeps/tile/math_private.h (__fegetround): New inline function.
8718         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
8719         __fegetround and define as weak alias of __fegetround.  Use
8720         libm_hidden_weak.
8721         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
8722         __fegetround instead of fegetround.
8724         [BZ #17782]
8725         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
8726         Condition macro definition on [__USE_MISC].
8728         [BZ #17781]
8729         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
8730         (struct sigaction): Change type of sa_flags field to int.
8732         [BZ #17780]
8733         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
8734         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
8735         __glibc_reserved0.
8737         * nptl/version.c (banner): Use single year in copyright notice.
8739         * NEWS: Update copyright dates.
8740         * catgets/gencat.c (print_version): Likewise.
8741         * csu/version.c (banner): Likewise.
8742         * debug/catchsegv.sh: Likewise.
8743         * debug/pcprofiledump.c (print_version): Likewise.
8744         * debug/xtrace.sh (do_version): Likewise.
8745         * elf/ldconfig.c (print_version): Likewise.
8746         * elf/ldd.bash.in: Likewise.
8747         * elf/pldd.c (print_version): Likewise.
8748         * elf/sotruss.sh: Likewise.
8749         * elf/sprof.c (print_version): Likewise.
8750         * iconv/iconv_prog.c (print_version): Likewise.
8751         * iconv/iconvconfig.c (print_version): Likewise.
8752         * locale/programs/locale.c (print_version): Likewise.
8753         * locale/programs/localedef.c (print_version): Likewise.
8754         * login/programs/pt_chown.c (print_version): Likewise.
8755         * malloc/memusage.sh (do_version): Likewise.
8756         * malloc/memusagestat.c (print_version): Likewise.
8757         * malloc/mtrace.pl: Likewise.
8758         * manual/libc.texinfo: Likewise.
8759         * nptl/version.c (banner): Likewise.
8760         * nscd/nscd.c (print_version): Likewise.
8761         * nss/getent.c (print_version): Likewise.
8762         * nss/makedb.c (print_version): Likewise.
8763         * posix/getconf.c (main): Likewise.
8764         * scripts/test-installation.pl: Likewise.
8765         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8767 2015-01-02  Will Newton  <will.newton@linaro.org>
8769         * sysdeps/arm/armv7/configure: Removed.
8770         * sysdeps/arm/armv7/configure.ac: Likewise.
8772 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
8774         * All files with FSF copyright notices: Update copyright dates
8775         using scripts/update-copyrights.
8776         * intl/plural.c: Regenerated.
8777         * locale/programs/charmap-kw.h: Likewise.
8778         * locale/programs/locfile-kw.h: Likewise.
8780 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8782         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
8784 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
8786         [BZ #17748]
8787         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
8788         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
8789         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
8790         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
8791         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8792         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
8793         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8794         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
8795         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8796         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8797         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8798         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8799         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8800         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8801         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
8802         libm_hidden_def.
8803         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
8804         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
8805         Likewise.
8806         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8807         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8808         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8809         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8810         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
8811         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
8812         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
8813         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
8814         __fegetenv instead of fegetenv.
8815         (libc_feholdsetround_noex_ctx): Likewise.
8817 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
8819         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
8820         (Elf_MIPS_ABIFlags_v0): New structure.
8821         (EF_MIPS_FP64): Define.
8822         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
8823         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
8824         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
8825         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
8826         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
8827         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
8828         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
8829         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
8830         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
8831         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
8832         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
8833         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
8834         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
8835         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
8836         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
8837         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
8838         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
8839         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
8840         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
8841         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
8842         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
8843         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
8844         field.
8845         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
8846         EF_MIPS_FP64.
8847         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
8848         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
8849         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
8850         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
8851         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
8852         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
8853         * sysdeps/mips/tst-abi-interlink.c: Likewise.
8854         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
8855         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
8856         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
8857         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
8858         record the current FP ABI extension.
8859         (mips-mode-switch): Define to show if kernel headers support mode
8860         switching.
8861         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8862         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
8863         supported SYSV ABI version to 3.
8864         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
8865         feature.
8867 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8868             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8870         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
8871         path.
8872         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
8874 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
8876         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
8877         __fegetround and redefine to call __fegetround.  Remove condition
8878         on [!__NO_MATH_INLINES].
8879         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
8880         function.
8881         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
8882         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8883         Remove macro.
8884         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
8885         instead of <fenv_libc.h>.
8886         (__llrintl): Call fegetround instead of __fegetround.
8887         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
8888         instead of <fenv_libc.h>.
8889         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8890         (__lrintl): Call fegetround instead of __fegetround.
8891         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
8892         instead of <fenv_libc.h>.
8893         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8894         (__rintl): Call fegetround instead of __fegetround.
8896 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8898         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
8899         arrays.
8901 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
8903         [BZ #17775]
8904         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
8905         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
8906         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
8908 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
8910         * sysdeps/i386/tls-macros.h: Include <features.h>.
8911         (TLS_LE): Use non-PIC version for GCC >= 5.0.
8912         (TLS_IE): Likewise.
8913         (TLS_LD): Likewise.
8914         (TLS_GD): Likewise.
8915         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
8916         define for GCC >= 5.0.
8918 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
8920         * math/test-fenv.c (test_single_exception, set_single_exc,
8921         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
8922         feexcp_mask_test, feenable_test, fe_single_test): Add
8923         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
8924         case where they are not used.
8925         * math/libm-test.inc: Likewise.
8926         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
8927         unused in the absence of FP rounding/exception support.
8928         * stdio-common/tst-printf-round.c: Likewise.
8929         * stdlib/tst-strtod-round.c: Likewise.
8930         * stdlib/tst-strtod-underflow.c: Likewise.
8932 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
8934         [BZ #17723]
8935         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
8936         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
8937         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8938         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8939         libm_hidden_weak.
8940         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
8941         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
8942         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
8943         libm_hidden_def.
8944         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8945         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8946         libm_hidden_weak.
8947         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
8948         Likewise.
8949         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
8950         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8951         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8952         libm_hidden_weak.
8953         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
8954         libm_hidden_def.
8955         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8956         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
8957         (__feraiseexcept): Likewise.
8958         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8959         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8960         libm_hidden_weak.
8961         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
8962         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
8963         libm_hidden_def.
8964         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
8965         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
8966         Use libm_hidden_def.
8967         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
8968         libm_hidden_def.
8969         (feraiseexcept): Define as weak not strong alias.  Use
8970         libm_hidden_weak.
8971         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
8972         New inline function.  Factored out of ...
8973         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
8974         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
8975         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
8976         feraiseexcept.
8977         * math/w_acos.c (__acos): Likewise.
8978         * math/w_asin.c (__asin): Likewise.
8979         * math/w_ilogb.c (__ilogb): Likewise.
8980         * math/w_j0.c (y0): Likewise.
8981         * math/w_j1.c (y1): Likewise.
8982         * math/w_jn.c (yn): Likewise.
8983         * math/w_log.c (__log): Likewise.
8984         * math/w_log10.c (__log10): Likewise.
8985         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
8986         * sysdeps/aarch64/fpu/math_private.h
8987         (libc_feupdateenv_test_aarch64): Likewise.
8988         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
8989         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
8990         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
8991         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
8992         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
8993         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
8994         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
8995         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8996         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8997         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8999 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9001         [BZ #17732]
9002         * io/test-utime.c (main): Replace %ld with %jd and cast to
9003         intmax_t.
9004         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
9005         * nptl/tst-mutex5.c: Include <stdint.h>.
9006         (do_test): Replace %ld with %jd and cast to intmax_t.
9007         * posix/tst-regex.c (run_test): Likewise.
9008         (run_test_backwards): Likewise.
9009         * rt/tst-clock.c: Include <stdint.h>.
9010         (clock_test): Replace %ld with %jd and cast to intmax_t.
9011         * rt/tst-cpuclock1.c: Include <stdint.h>.
9012         (do_test): Replace %lu with %ju and cast to uintmax_t.
9013         * rt/tst-cpuclock2.c: Include <stdint.h>.
9014         (do_test): Replace %lu with %ju and cast to uintmax_t.
9015         * rt/tst-mqueue1.c: Include <stdint.h>.
9016         (check_attrs): Replace %ld with %jd and cast to intmax_t.
9017         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
9018         intmax_t.
9019         * rt/tst-mqueue4.c (do_test): Likewise.
9020         * rt/tst-timer4.c: Include <stdint.h>.
9021         (check_ts): Replace %ld with %jd and cast to intmax_t.
9022         (do_test): Likewise.
9023         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
9024         and cast to intmax_t.
9025         * sysdeps/pthread/tst-timer.c (main): Likewise.
9026         * time/clocktest.c (main): Likewise.
9027         * time/tst-posixtz.c (do_test): Likewise.
9028         * timezone/tst-timezone.c (main): Likewise.
9030 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9031             H.J. Lu  <hongjiu.lu@intel.com>
9033         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
9034         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
9035         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
9036         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
9037         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
9038         version if bit_Fast_Unaligned_Load is set.
9039         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9040         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9041         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9042         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9043         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9044         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9045         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9046         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
9047         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
9048         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
9049         to 4.
9050         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
9051         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
9052         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
9053         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
9055 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
9057         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
9058         instead of #if to avoid a Wundef warning.
9059         * stdlib/tst-limits.c (do_test): Likewise.
9061         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
9062         parallel other exception macros.
9063         (fegetenv): Convert from macro to extern inline so that it applies
9064         retroactively to inline functions already seen by the compiler.
9065         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
9067         * posix/Makefile (before-compile): Use $(objpfx) for
9068         posix-conf-vars-def.h.
9070 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9072         * posix/getconf.c (main): Use size_t for type of I.
9073         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
9074         NSPEC.
9076         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
9077         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
9078         * posix/posix-envs.def: Likewise.
9079         * sysdeps/posix/sysconf.c: Likewise.
9080         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
9081         (specs): Remove array.
9082         * scripts/gen-posix-conf-vars.awk: Support generation of specs
9083         array.
9085         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
9086         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
9087         (__sysconf): Use CONF_IS_* macros.
9089         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
9090         ($(objpfx)posix-conf-vars-def.h): New target.
9091         * posix/posix-conf-vars.list: New file.
9092         * posix/posix-conf-vars.h: New file.
9093         * posix/confstr.c: Include posix-conf-vars.h.
9094         (confstr): Use CONF_IS_* macros.
9095         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
9096         CONF_IS_* macros.
9097         * scripts/gen-posix-conf-vars.awk: New file.
9099 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
9101         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
9102         fegetround): Add no-op macros to avoid linknamespace issues.
9104         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
9105         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
9107         * sysdeps/unix/sysv/linux/tile/sysdep.h
9108         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
9109         assembly-specific section to avoid a redefinition warning.
9111         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
9112         long before casting to pointer to avoid a cast warning.
9114 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
9116         * sysdeps/tile/tilegx/Implies: New file.
9118 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
9120         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
9122 2014-12-23  Florian Weimer  <fweimer@redhat.com>
9124         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
9126 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9128         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
9129         not define.
9130         * sysdeps/unix/sysv/linux/utimes.c: Do not include
9131         <kernel-features.h>.
9132         (__utimes) [__NR_utimes]: Make code unconditional.
9133         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
9134         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9135         (__ASSUME_UTIMES): Do not undefine.
9136         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9137         (__ASSUME_UTIMES): Likewise.
9138         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9139         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
9140         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
9141         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
9143 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9145         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
9147 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
9149         [BZ #17747]
9150         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
9151         alias to weak alias for j0l, y0l.
9152         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
9153         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
9155         [BZ #17746]
9156         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
9157         conversion.
9159 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9161         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
9162         to zero if not already defined.
9164 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9166         [BZ #17724]
9167         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
9168         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
9169         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
9170         (char *) casts added.
9171         * sysdeps/ieee754/k_standardf.c: New file.
9172         * sysdeps/ieee754/k_standardl.c: Likewise.
9173         * math/Makefile (libm-support): Remove k_standard.
9174         (libm-calls): Add k_standard.
9176 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9178         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9179         Optimize to avoid an unnecessary FPCR read.
9181 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9183         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
9184         Optimize to reduce FPCR/FPSR accesses.
9186 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9188         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
9189         Call libc_fetestexcept_aarch64.
9191 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9193         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
9194         Call libc_fesetround_aarch64.
9196 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9198         [BZ #17733]
9199         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
9200         (__bind): Do not define as weak alias.
9201         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
9202         define.
9203         (__getsockname): Do not define as weak alias.
9205 2014-12-22  Will Newton  <will.newton@linaro.org>
9207         * manual/install.texi: Document that we require bison 2.7
9208         or above.
9209         * INSTALL: Regenerate.
9210         * configure.ac: Use AC_CHECK_PROG_VER instead of
9211         AC_PATH_PROG when checking for bison and check for
9212         version 2.7 or above.
9213         * configure: Regenerate.
9215 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
9217         [BZ #17745]
9218         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
9219         * sysdeps/tile/ffsll.c (ffsll): To here.
9221         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
9223 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9225         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
9226         if not defined.
9227         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
9228         definition.
9229         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9230         hidden ___tls_get_addr.
9231         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9232         hidden __tls_get_addr.
9233         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
9234         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
9235         Likewise.
9237 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
9239         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
9240         _dl_init call.
9242 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9244         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
9245         from "call _dl_init@PLT".
9246         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
9248 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
9250         * manual/search.texi: (Array Sort Function): Clarify stable sorting
9251         guarantees.
9253 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
9255         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
9257 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9259         [BZ #17744]
9260         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
9261         strnlen.
9263 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9265         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
9266         of multu on MIPSr6.
9267         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
9268         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
9269         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
9270         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
9271         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
9273 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9275         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
9276         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
9277         (PTR_SUBU): Use subu for mips32r6/mips64r6.
9278         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9279         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
9280         mips32r6/mips64r6.
9281         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
9283 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
9285         * string/strncat.c (STRNCAT): Simplify implementation.
9287 2014-12-19  David S. Miller  <davem@davemloft.net>
9289         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
9290         access the quad as both a long double and as a series of 4 words.
9292         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
9293         link_map->l_info array access.
9295 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9297         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
9299         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
9300         * math/atest-exp2.c (TIMEOUT): Likewise.
9301         * math/atest-sincos.c (TIMEOUT): Likewise.
9303 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9305         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
9306         -Wno-error with -fno-builtin-lround.
9308 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9310         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
9311         Contains futex constants and functions moved over from ...
9312         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
9313         <lowlevellock-futex.h>.
9314         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9315         (lll_timedwait_tid): Add comments and parentheses around macro
9316         arguments.
9318 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9320         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
9321         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
9322         (__lll_private_flag): Remove.
9323         (lll_futex_wait): Likewise.
9324         (lll_futex_timed_wait): Likewise.
9325         (lll_futex_wake): Likewise.
9326         (lll_futex_requeue): Likewise.
9327         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9328         (__lll_timedwait_tid): Spell out argument names.
9329         (lll_timedwait_tid): Add comments and parentheses around macro
9330         arguments.
9331         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
9332         LLL_SHARED and LLL_PRIVATE usable from assembly code.
9334 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9336         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
9337         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9338         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9339         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
9340         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
9341         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
9342         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
9343         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
9344         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
9345         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
9346         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
9347         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
9348         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
9349         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
9350         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
9351         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
9352         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
9353         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
9354         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
9356 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9358         * sysdeps/x86_64/x32/Makefile: New file.
9360 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9362         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
9363         1L with (mp_limb_t) 1.
9365 2014-12-17  Roland McGrath  <roland@hack.frob.com>
9367         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
9368         * nptl/libc_pthread_init.c: ... here.
9369         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
9370         * nptl/register-atfork.c: ... here.
9372         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
9373         Use pthread_sigmask rather than INTERNAL_SYSCALL.
9374         Use assert_perror to check its return value.
9375         (__gai_create_helper_thread): Likewise.
9377         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
9379         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
9381 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
9383         [BZ #17725]
9384         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
9385         __profil_counter.
9386         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
9387         Likewise.
9388         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
9389         Likewise.
9390         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
9391         Likewise.
9392         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
9393         (profil_counter): Likewise.
9394         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
9395         (profil_counter): Likewise.
9396         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
9397         Likewise.
9398         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
9399         Likewise.
9400         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
9401         (profil_counter): Likewise.
9402         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
9403         Likewise.
9404         [!__profil_counter] (profil_counter): Define as weak alias of
9405         __profil_counter.
9406         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
9407         (profil_counter): Rename to __profil_counter.
9408         [!__profil_counter] (profil_counter): Define as weak alias of
9409         __profil_counter.
9410         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
9411         (profil_counter): Rename to __profil_counter.
9412         [!__profil_counter] (profil_counter): Define as weak alias of
9413         __profil_counter.
9414         * sysdeps/posix/profil.c: Update comment referring to
9415         profil_counter.
9416         (__profil): Use __profil_counter instead of profil_counter.
9417         * sysdeps/posix/sprofil.c (profil_counter): Rename to
9418         __profil_counter.  Use __profil_counter_ushort and
9419         __profil_counter_uint in definitions.
9420         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
9421         instead of profil_counter_uint and profil_counter_ushort.
9423         [BZ #17722]
9424         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
9425         define as weak alias of __inet_makeaddr.
9426         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
9427         as weak alias of __inet_addr.
9428         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
9429         as weak alias of __inet_pton.  Use libc_hidden_weak.
9430         * include/arpa/inet.h (__inet_pton): Declare.  Use
9431         libc_hidden_proto.
9432         (inet_makeaddr): Don't use libc_hidden_proto.
9433         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
9434         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
9435         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
9436         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
9437         Remove variable.
9438         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9439         (test-xfail-POSIX/time.h/linknamespace): Likewise.
9441 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
9443         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
9445 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9447         * stdio-common/bug-vfprintf-nargs.c (do_test):
9448         Cast value to intptr_t to avoid format warning
9449         for usage with PRIdPTR printing macro.
9451 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9453         * libio/tst-widetext.c (do_test):
9454         Use format type %td instead of %Zd for ptrdiff_t
9455         in order to avoid format warning.
9457 2014-12-17  Andreas Schwab  <schwab@suse.de>
9459         * nscd/mem.c (gc): Add size_t cast to match printf format.
9461 2014-12-16  Roland McGrath  <roland@hack.frob.com>
9463         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
9464         (init): Apply PTR_MANGLE to pointers before storing them.
9465         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
9466         before using them.
9468 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
9470         [BZ #17719]
9471         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
9472         define as weak alias of __memrchr.
9473         (__memrchr): Do not define as strong alias of memrchr.
9474         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
9475         Remove variable.
9476         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9477         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
9478         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9480         [BZ #17717]
9481         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
9482         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
9483         (if_indextoname): Rename to __if_indextoname and define as weak
9484         alias of __if_indextoname.  Use libc_hidden_weak.
9485         (if_freenameindex): Rename to __if_freenameindex and define as
9486         weak alias of __if_freenameindex.
9487         (if_nameindex): Rename to __if_nameindex and define as weak alias
9488         of __if_nameindex.
9489         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
9490         __if_nametoindex and define as weak alias of __if_nametoindex.
9491         Use libc_hidden_weak.
9492         (if_freenameindex): Rename to __if_freenameindex and define as
9493         weak alias of __if_freenameindex.
9494         (if_nameindex): Rename to __if_nameindex and define as weak alias
9495         of __if_nameindex.
9496         (if_indextoname): Rename to __if_indextoname and define as weak
9497         alias of __if_indextoname.  Use libc_hidden_weak.
9498         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
9499         __if_nametoindex and define as weak alias of __if_nametoindex.
9500         Use libc_hidden_weak.
9501         (if_freenameindex): Rename to __if_freenameindex and define as
9502         weak alias of __if_freenameindex.  Use libc_hidden_weak.
9503         (if_nameindex_netlink): Use __if_freenameindex instead of
9504         if_freenameindex.
9505         (if_nameindex): Rename to __if_nameindex and define as weak alias
9506         of __if_nameindex.  Use libc_hidden_weak.
9507         (if_indextoname): Rename to __if_indextoname and define as weak
9508         alias of __if_indextoname.  Use libc_hidden_weak.
9509         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
9510         libc_hidden_proto.
9511         [!_ISOMAC] (__if_freenameindex): Likewise.
9512         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
9513         if_nametoindex.
9514         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
9515         variable.
9516         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
9517         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9518         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9519         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9520         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9521         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9522         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
9524         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
9525         Remove variable.
9526         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
9527         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
9529 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9531         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
9532         subscript above bounds'
9534         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
9535         bounds.
9537 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
9539         * libio/tst-fopenloc.c: Use test-skeleton.c.
9541         * stdlib/tst-bsearch.c: Use test-skeleton.c.
9542         (entry): Rename to ITEM.
9543         (do_test, comp): Adjust.
9545         * stdio-common/tst-fseek.c: Use test-skeleton.c.
9547 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9549         * string/tester.c: Include <libc-internal.h>.
9550         (test_memset): Ignore -Wmemset-transposed-args.
9552 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9554         * misc/tst-mntent2.c (do_test): Fix warning.
9556 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9558         * elf/tst-unique4lib.cc(a): Mark as used.
9560 2014-12-16  Florian Weimer  <fweimer@redhat.com>
9562         [BZ #17630]
9563         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
9564         names.
9566 2014-12-16  Allan McRae  <allan@archlinux.org>
9568         * stdio-common/Makefile (tests): Re-add bug26.
9570 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
9572         [BZ #17657]
9573         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
9574         static array.
9576 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
9578         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
9579         (__lll_lock_wait): Likewise.
9580         (__lll_timedlock_wait): Likewise.
9581         (__lll_timedwait_tid): Likewise.
9582         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
9583         (__lll_robust_timedlock_wait): Likewise.
9584         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
9585         (lll_cond_trylock): Likewise.
9586         (__lll_lock): Likewise.
9587         (__lll_robust_lock): Likewise.
9588         (__lll_cond_lock): Likewise.
9589         (lll_robust_cond_lock): Likewise.
9590         (__lll_timedlock): Likewise.
9591         (__lll_robust_timedlock): Likewise.
9592         (__lll_unlock): Likewise.
9593         (__lll_robust_unlock): Likewise.
9594         (lll_wait_tid): Likewise.
9595         (lll_timedwait_tid): Likewise.
9597 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9599         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
9601 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9603         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
9605 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
9607         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
9608         * stdio-common/tst-sprintf.c: Likewise.
9610 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9612         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
9614 2014-12-15  Jeff Law  <law@redhat.com>
9616         [BZ #16617]
9617         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
9618         on the heap.  (CVE-2012-3406)
9619         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
9620         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
9621         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
9623 2014-12-15  Will Newton  <will.newton@linaro.org>
9625         * manual/install.texi: Bump required version of texinfo
9626         to 4.7 from 4.5.
9627         * INSTALL: Regenerated.
9628         * configure.ac: Check for makeinfo version 4.7 and above.
9629         * configure: Regenerated.
9631 2014-12-12  Roland McGrath  <roland@hack.frob.com>
9633         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
9634         PREFIX, string constant to insert between directory and name.
9635         * sysdeps/posix/shm_open.c: Update caller.
9636         * sysdeps/posix/shm_unlink.c: Likewise.
9637         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
9638         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
9639         (SEM_SHM_PREFIX): New macro.
9640         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
9641         [$(have-thread-library) = no].
9642         * nptl/Makefile (libpthread-routines): Add shm-directory.
9643         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
9644         * sysdeps/nptl/shm-directory.h: New file.
9645         * sysdeps/posix/shm-directory.c
9646         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
9647         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
9648         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
9649         INTERNAL_SYSCALL.
9650         (__where_is_shmfs): Function removed.
9651         (mountpoint, defaultmount, defaultdir, __namedsem_once):
9652         Variables removed.
9653         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
9654         Use SHM_GET_NAME.
9655         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
9657         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
9658         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
9659         unconditional for use inside libpthread.
9660         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
9662 2014-12-12  Roland McGrath  <roland@hack.frob.com>
9664         * nptl/pthread_getaffinity.c: New file.
9665         * nptl/pthread_setaffinity.c: New file.
9666         * nptl/pthread_getname.c: New file.
9667         * nptl/pthread_setname.c: New file.
9669         * nptl/pthread_create.c (START_THREAD_DEFN)
9670         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
9672 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9673             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9675         * resolv/res_send.c (send_vc): Disable warning resplen may
9676         be used uninitialized.
9678 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9680         * nptl/tst-mutex6.c
9681         (ATTR_NULL): New define checks ATTR against NULL.
9682         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
9683         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
9685 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
9687         [BZ #17581]
9688         * malloc/hooks.c
9689         (mem2mem_check): Revert my previous change.
9690         (malloc_check_get_size): Revert my previous change.
9691         (mem2chunk_check): Revert my previous change.
9693 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9695         * sysdeps/posix/shm-directory.c: New file.
9696         * sysdeps/posix/shm-directory.h: New file.
9697         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
9698         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
9699         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
9700         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
9701         Transmute EPERM to EACCES.
9702         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
9703         from ...
9704         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
9705         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
9707 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9709         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
9710         pointer and cast to uintptr_t.
9711         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
9712         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
9713         Add cast to avoid warning.
9714         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
9716 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
9718         * nptl/semaphore.h: Move to ...
9719         * sysdeps/pthread/semaphore.h: ... here.
9720         * Makefile (installed-headers): Change nptl/semaphore.h to
9721         sysdeps/pthread/semaphore.h.
9723 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9725         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
9726         generated error format strings.
9728         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
9729         -Wformat-extra-args warnings for scanf formats.
9730         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
9731         test of zero-length format (duh).
9732         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
9733         corner-case scanf format test.
9734         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
9735         generated fprintf format string.
9736         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
9737         corner-case sprintf format tests.
9738         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
9739         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
9740         -Wformat-extra-args warnings throughout.
9741         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
9742         (CFLAGS-scanf4.c): Likewise.
9743         (CFLAGS-scanf7.c): Likewise.
9744         (CFLAGS-tst-sprintf.c): Likewise.
9745         (CFLAGS-tst-printf.c): Likewise.
9746         (CFLAGS-tst-printfsz.c): Likewise.
9748 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
9750         * include/cpio.h: New file.
9751         * include/fmtmsg.h: Likewise.
9753         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
9754         corresponding format argument to size_t.
9755         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
9756         arguments.
9757         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
9758         corresponding format argument to size_t.
9759         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
9760         arguments.
9761         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
9762         corresponding format argument to size_t.
9763         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
9764         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
9765         (CFLAGS-tst-mbswcs2.c): Likewise.
9766         (CFLAGS-tst-mbswcs3.c): Likewise.
9767         (CFLAGS-tst-mbswcs4.c): Likewise.
9768         (CFLAGS-tst-mbswcs5.c): Likewise.
9769         (CFLAGS-tst-trans.c): Likewise
9771 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9773         * posix/regexbug1.c (main): Use "%s" format with regerror results,
9774         rather than assuming they won't contain any '%'s.
9776 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
9778         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
9779         inhibit_loop_to_libcall to avoid recursive calls.
9780         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
9781         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
9783 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
9785         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
9786         prototype.
9788 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
9790         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
9791         integer value instead of boolean.
9793 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
9795         * malloc/malloc.c: Fix powerof2 check.
9797 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9799         * locale/programs/locfile.h (maybe_swap_uint32):
9800         Remove inline and add unused attribute.
9802 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9804         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9805         Truncating assembler expression to a .long expression.
9807 2014-12-11  Andreas Schwab  <schwab@suse.de>
9809         * elf/rtld.c (struct map_args): Constify str member.
9810         (do_preload): Constify fname argument.
9812 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9814         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
9815         constants definition.
9817 2014-12-11  Andreas Schwab  <schwab@suse.de>
9819         [BZ #16657]
9820         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
9821         FORCE_ELISION instead of DO_ELISION.
9822         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
9823         Remove.
9824         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
9825         Likewise.
9827         * iconvdata/gconv-modules: Remove duplicate entry.
9829 2014-12-11  Will Newton  <will.newton@linaro.org>
9831         Merge gettext 0.19.3 into intl/.
9833         This involves a number of cosmetic changes to comments
9834         and ANSI function definitions and prototypes throughout
9835         all the files. The gettext copyright header is used but
9836         with the date ranges taken from the glibc copy.
9838         * NEWS: Add gettext merge to 2.21.
9839         * intl/bindtextdom.c: Switch to gettext copyright.
9840         Use ANSI definitions and prototypes.
9841         Use gl_* locking primitives rather than __libc_* ones.
9842         Use __builtin_expect rather than __glibc_likely/unlikely.
9843         * intl/dcgettext.c: Switch to gettext copyright.
9844         Use ANSI definitions and prototypes.
9845         * intl/dcigettext.c: Switch to gettext copyright.
9846         Use ANSI definitions and prototypes.
9847         (INTDIV0_RAISES_SIGFPE): New define.
9848         Use gl_* locking primitives rather than __libc_* ones.
9849         Include eval-plural.h instead of plural-eval.c.
9850         Use __builtin_expect rather than __glibc_likely/unlikely.
9851         * intl/dcngettext.c: Switch to gettext copyright.
9852         Use ANSI definitions and prototypes.
9853         * intl/dgettext.c: Likewise.
9854         * intl/dngettext.c: Likewise.
9855         * intl/plural-eval.c: Renamed to...
9856         * intl/eval-plural.h: ...this.
9857         * intl/explodename.c: Switch to gettext copyright.
9858         Use ANSI definitions and prototypes.
9859         (_nl_explode_name): Use strchr instead of __rawmemchr.
9860         * intl/finddomain.c: Switch to gettext copyright.
9861         Use ANSI definitions and prototypes.
9862         Use gl_* locking primitives rather than __libc_* ones.
9863         (_nl_find_domain): Use malloc rather than alloca for
9864         allocation of temporary locale name.
9865         * intl/gettext.c: Switch to gettext copyright.
9866         Use ANSI definitions and prototypes.
9867         * intl/gettextP.h: Switch to gettext copyright.
9868         Use ANSI definitions and prototypes.
9869         Use gl_* locking primitives rather than __libc_* ones.
9870         * intl/gmo.h: Switch to gettext copyright.
9871         (struct sysdep_string): Move struct segment_pair outside of
9872         struct definition.
9873         * intl/hash-string.c: Use ANSI definitions and prototypes.
9874         * intl/hash-string.h: Switch to gettext copyright.
9875         Use ANSI definitions and prototypes.
9876         * intl/l10nflist.c: Switch to gettext copyright.
9877         Use ANSI definitions and prototypes.
9878         (_nl_normalize_codeset): Avoid integer overflow.
9879         * intl/loadinfo.h: Switch to gettext copyright.
9880         Use ANSI definitions and prototypes.
9881         (LIBINTL_DLL_EXPORTED): New define.
9882         (PATH_SEPARATOR): New define.
9883         * intl/loadmsgcat.c: Switch to gettext copyright.
9884         * intl/localealias.c: Switch to gettext copyright.
9885         Use ANSI definitions and prototypes.
9886         (_nl_expand_alias): Use PATH_SEPARATOR.
9887         * intl/ngettext.c: Switch to gettext copyright.
9888         Use ANSI definitions and prototypes.
9889         * intl/plural-exp.c: Likewise.
9890         * intl/plural-exp.h: Switch to gettext copyright.
9891         Use ANSI definitions and prototypes.
9892         (struct expression): Move definition of enum operator outside
9893         of struct definition.
9894         * intl/plural.c: Regenerate.
9895         * intl/plural.y: Switch to gettext copyright.
9896         Use ANSI definitions and prototypes.
9897         Port to bison 3.0.
9898         * intl/textdomain.c: Switch to gettext copyright.
9899         Use ANSI definitions and prototypes.
9900         Use gl_* locking primitives rather than __libc_* ones.
9902 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
9904         * debug/warning-nop.c: Add used atrribute.
9906 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9908         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
9910         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
9911         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
9912         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
9914 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9915             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9917         [BZ #17634]
9918         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
9919         Undefine after defining function.  Define as weak alias of
9920         __wcschr.  Use libc_hidden_weak.
9921         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
9922         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
9923         (libc_hidden_def): Also define __GI___wcschr alias.
9924         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
9925         __wcschr and define as weak alias of __wcschr.
9926         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
9927         __wcschr.
9928         [!WCSCHR] (DEFAULT_WCSCHR): Define.
9929         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
9930         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
9931         libc_hidden_weak.  Do not use libc_hidden_def.
9932         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
9933         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
9934         __GI___wcschr alias.
9935         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
9936         [IS_IN (libc)] (wcschr): Define as macro expanding to
9937         __redirect_wcschr.
9938         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
9939         [IS_IN (libc)] (__wcschr_power6): Likewise.
9940         [IS_IN (libc)] (__wcschr_power7): Likewise.
9941         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
9942         instead of wcschr.
9943         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
9944         __libc_wcschr.
9945         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
9946         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
9947         __wcschr and define as weak alias of __wcschr.  Use
9948         libc_hidden_builtin_def.
9949         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
9950         as weak alias of __wcschr.  Use libc_hidden_weak.
9951         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
9952         wcschr.
9953         * time/era.c (_nl_init_era_entries): Likewise.
9954         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
9955         variable.
9956         (test-xfail-XPG3/time.h/linknamespace): Likewise.
9957         (test-xfail-XPG4/time.h/linknamespace): Likewise.
9959 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9961         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
9962         format for long int variable.
9964 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
9966         [BZ #10672]
9967         * manual/search.texi: (Array Sort Function): Remove claim how to make
9968         qsort stable.
9970 2014-12-10  Andreas Schwab  <schwab@suse.de>
9972         [BZ #12847]
9973         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
9974         user-controlled locks.
9976 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
9978         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
9979         register.
9981 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9983         * configure.ac (--disable-werror): New configure option.
9984         (enable_werror): New AC_SUBST.
9985         * configure: Regenerated.
9986         * config.make.in (enable-werror): New variable.
9987         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
9988         -Wno-error=undef.
9989         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
9990         * manual/install.texi (Configuring and compiling): Document
9991         --disable-werror.
9992         * INSTALL: Regenerated.
9993         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
9994         (CFLAGS-tst-chk2.c): Likewise.
9995         (CFLAGS-tst-chk3.c): Likewise.
9996         (CFLAGS-tst-chk4.cc): Likewise.
9997         (CFLAGS-tst-chk5.cc): Likewise.
9998         (CFLAGS-tst-chk6.cc): Likewise.
9999         (CFLAGS-tst-lfschk1.c): Likewise.
10000         (CFLAGS-tst-lfschk2.c): Likewise.
10001         (CFLAGS-tst-lfschk3.c): Likewise.
10002         (CFLAGS-tst-lfschk4.cc): Likewise.
10003         (CFLAGS-tst-lfschk5.cc): Likewise.
10004         (CFLAGS-tst-lfschk6.cc): Likewise.
10006         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
10007         (main): Disable -Wdeprecated-declarations around calls to
10008         register_printf_function.
10010         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
10011         (do_test): Disable -Wdiv-by-zero around some calls to
10012         fwrite_unlocked and fread_unlocked.
10014         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
10015         (DIAG_POP_NEEDS_COMMENT): Likewise.
10016         (_DIAG_STR1): Likewise.
10017         (_DIAG_STR): Likewise.
10018         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
10019         * stdio-common/bug21.c: Include <libc-internal.h>.
10020         (do_test): Disable -Wformat around call to sscanf.
10021         * stdio-common/scanf14.c: Include <libc-internal.h>.
10022         (main): Disable -Wformat around some calls to scanf functions.
10024 2014-12-09  Torvald Riegel  <triegel@redhat.com>
10026         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
10028 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10030         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
10031         stack variable alignment.
10033 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
10035         [BZ #17682]
10036         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
10037         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
10038         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
10039         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
10040         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
10041         __getrlimit instead of getrlimit.
10042         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
10043         __gettimeofday instead of gettimeofday.
10044         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10045         Likewise.
10046         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10047         Likewise.
10048         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10049         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
10050         Remove variable.
10051         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10052         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10054 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10056         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
10057         for wide-character tests.
10059 2014-12-04  Roland McGrath  <roland@hack.frob.com>
10061         * io/openat64.c: #include <libc-internal.h>
10062         (__openat64): Prototypify.  Use ignore_value on MODE.
10063         * io/openat.c: Likewise.
10064         * misc/reboot.c: #include <libc-internal.h>
10065         (reboot): Prototypify.  Use ignore_value on HOWTO.
10066         * misc/ptrace.c: #include <libc-internal.h>
10067         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
10069 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
10071         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
10072         XPG4, UNIX98 and XOPEN2K.
10073         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
10074         Remove variable.
10075         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10077 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10079         * libio/fileops.c: Use ISO C style for function definitions.
10080         * libio/iofopen.c: Likewise.
10081         * libio/wfileops.c: Likewise.
10083         [BZ #17653]
10084         * libio/fileops.c (_IO_new_file_underflow): Unset cached
10085         offset on EOF.
10086         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
10087         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
10088         (fgets_func): Function pointer to fgets and fgetws.
10089         (do_ftell_test): Add test to verify ftell value after read
10090         EOF.
10091         (do_test): Set fgets_func.
10093         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
10094         O_TRUNC flag for w and w+ modes.
10095         (do_rewind_test): Likewise.
10096         (do_ftell_test): Likewise.
10097         (do_write_test): Likewise.
10099         [BZ #17647]
10100         * libio/fileops.c (do_ftell): Seek only when there are
10101         unflushed writes.
10102         * libio/wfileops.c (do_ftell_wide): Likewise.
10103         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
10104         test case.
10105         (do_one_test): Call it.
10107 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
10109         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
10110         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
10111         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
10112         Remove variable.
10113         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10114         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10115         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10117 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10119         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
10120         Remove variable.
10121         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10123         [BZ #17668]
10124         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
10125         as weak alias of __getifaddrs.  Use libc_hidden_weak.
10126         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10127         __freeifaddrs.  Use libc_hidden_weak.
10128         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
10129         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
10130         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10131         __freeifaddrs.  Use libc_hidden_weak.
10132         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
10133         __getifaddrs and define as weak alias of __getifaddrs.  Use
10134         libc_hidden_weak.
10135         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10136         __freeifaddrs.  Use libc_hidden_weak.
10137         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
10138         Remove variable.
10139         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10140         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10142 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
10144         [BZ #17601]
10145         * sysdeps/mips/start.S (__start): Use indirect jump to call
10146         __libc_start_main.
10148 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10150         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
10152         * nptl/tst-mutex1.c: Include <stdbool.h>.
10153         [!ATTR] (ATTR_NULL): New macro.
10154         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
10155         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
10156         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
10158         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
10159         to char *.
10161         [BZ #17665]
10162         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
10163         Change conditional to [__USE_MISC].
10165         [BZ #17664]
10166         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
10167         fgets_unlocked.
10168         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
10169         __fgets_unlocked.
10170         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
10171         fgets_unlocked.
10172         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
10173         Remove variable.
10174         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10175         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10176         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10177         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10178         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10179         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10180         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10181         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10182         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10184         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
10186 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10188         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10189         Remove strpbrk objects.
10190         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10191         (__libc_ifunc_impl_list): Remove strpbrk implementation.
10192         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
10193         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
10194         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
10195         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
10197         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10198         Remove strcspn objects.
10199         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10200         (__libc_ifunc_impl_list): Remove strcspn implementation.
10201         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
10202         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
10203         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
10204         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
10206         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10207         Remove strspn objetcs.
10208         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10209         (__libc_ifunc_impl_list): Remove strspn implementation.
10210         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
10211         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10212         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
10213         * sysdeps/powerpc/powerpc64/strspn.S: New file.
10215 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
10217         [BZ #17581]
10218         * malloc/hooks.c
10219         (mem2mem_check): Add a terminator to the chain of checking blocks.
10220         (malloc_check_get_size): Use it here.
10221         (mem2chunk_check): Ditto.
10223 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10225         * sysdeps/powerpc/powerpc64/strtok.S: New file.
10226         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
10228 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
10230         * bits/ioctl-types.h: Indent preprocessor directives correctly.
10232         * nptl/nptl-init.c: Include libc-internal.h.
10233         (__pthread_initialize_minimal_internal): Use ROUND_UP.
10235         * elf/ldconfig.c (search_dir): Expand comment.
10237 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
10239         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
10240         variable.
10241         (linknamespace-symlist-stdlibs-tests): Likewise.
10242         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
10243         instead of $(objpfx)symlist-stdlibs.
10244         (linknamespace-libs-isoc): New variable.
10245         (linknamespace-libs): Use $(linknamespace-libs-isoc).
10246         (linknamespace-libs-ISO): New variable.
10247         (linknamespace-libs-ISO99): Likewise.
10248         (linknamespace-libs-ISO11): Likewise.
10249         (linknamespace-libs-XPG3): Likewise.
10250         (linknamespace-libs-XPG4): Likewise.
10251         (linknamespace-libs-POSIX): Likewise.
10252         (linknamespace-libs-UNIX98): Likewise.
10253         (linknamespace-libs-XOPEN2K): Likewise.
10254         (linknamespace-libs-POSIX2008): Likewise.
10255         (linknamespace-libs-XOPEN2K8): Likewise.
10256         ($(objpfx)symlist-stdlibs): Replace by
10257         $(linknamespace-symlist-stdlibs-tests).  Use
10258         $(linknamespace-libs-$*) as set of libraries.
10259         ($(linknamespace-header-tests)): Update dependencies.  Use
10260         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
10261         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
10262         * conform/linknamespace.pl: Remove comment about considering
10263         definitions of symbols from irrelevant libraries.
10265 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
10267         [BZ #13862]
10268         * elf/dl-tls.c: Include <atomic.h>.
10269         (oom): Remove #ifdef SHARED/#endif.
10270         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
10271         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
10272         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
10273         big enough.
10274         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
10275         * nptl/Makefile (tests): Add tst-stack4.
10276         (modules-names): Add tst-stack4mod.
10277         ($(objpfx)tst-stack4): New.
10278         (tst-stack4mod.sos): Likewise.
10279         ($(objpfx)tst-stack4.out): Likewise.
10280         ($(tst-stack4mod.sos)): Likewise.
10281         (clean): Likewise.
10282         * nptl/tst-stack4.c: New file.
10283         * nptl/tst-stack4mod.c: Likewise.
10285 2014-11-27  J. Brown  <jb999@gmx.de>
10287         * sysdeps/x86/bits/string.h: Add recent CPUs.
10289 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
10291         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
10292         sigblock.
10294         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
10295         feof.
10297         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
10298         variable.
10300 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
10302         * nscd/connections.c: Include libc-internal.h because of macro
10303         usage ignore_value.
10305 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10307         * string/bits/string3.h (__warn_memset_zero_len): Don't
10308         declare for gcc newer than 5.0.
10309         (memset): Don't test for zero-length __LEN for gcc newer than
10310         5.0.
10312 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
10314         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
10315         size_t for %zu format.
10317         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
10318         difference, not %ju.
10320 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
10322         * include/libc-internal.h (ignore_value): New macro.
10323         * nscd/connections.c (restart): Wrap calls to setuid and setgid
10324         with ignore_value.
10326         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
10327         definition.
10329         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
10330         pthread_cleanup_push to void *.
10332         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
10333         Undefine.
10335         [BZ #16619]
10336         [BZ #16740]
10337         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
10338         instead of 1L << 52.
10340         * libio/bug-rewind.c (do_test): Check fwscanf return values.
10341         * libio/bug-rewind2.c (do_test): Likewise.
10343         * debug/test-stpcpy_chk-ifunc.c: Remove file.
10344         * debug/test-strcpy_chk-ifunc.c: Likewise.
10345         * wcsmbs/test-wcschr-ifunc.c: Likewise.
10346         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
10347         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
10348         * wcsmbs/test-wcslen-ifunc.c: Likewise.
10349         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
10350         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
10351         * Rules [$(multi-arch) = no] (tests): Do not filter out
10352         $(tests-ifunc).
10353         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
10354         * debug/Makefile (tests-ifunc): Remove variable.
10355         (tests): Do not add $(tests-ifunc).
10356         * wcsmbs/Makefile (tests-ifunc): Remove variable.
10357         (tests): Do not add $(tests-ifunc).
10358         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
10359         [TEST_IFUNC]: Remove conditionals.
10360         * string/test-string.h (TEST_IFUNC): Remove macro.
10361         [TEST_IFUNC]: Remove conditionals.
10363         * string/test-strchr.c [!WIDE] (L): New macro.
10364         [WIDE] (L): Likewise.
10365         (check1): Use CHAR instead of char.  Use L on string and character
10366         constants.
10368 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
10370         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
10371         tests.
10372         * sysdeps/powerpc/bits/atomic.h
10373         (__arch_atomic_exchange_and_add_32_acq): Add definition.
10374         (__arch_atomic_exchange_and_add_32_rel): Likewise.
10375         (atomic_exchange_and_add_acq): Likewise.
10376         (atomic_exchange_and_add_rel): Likewise.
10377         * sysdeps/powerpc/powerpc32/bits/atomic.h
10378         (__arch_atomic_exchange_and_add_64_acq): Add definition.
10379         (__arch_atomic_exchange_and_add_64_rel): Likewise.
10380         * sysdeps/powerpc/powerpc64/bits/atomic.h
10381         (__arch_atomic_exchange_and_add_64_acq): Add definition.
10382         (__arch_atomic_exchange_and_add_64_rel): Likewise.
10384 2014-11-26  Torvald Riegel  <triegel@redhat.com>
10386         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
10387         Change synchronization of __sched_fifo_min_prio and
10388         __sched_fifo_max_prio.
10389         * nptl/pthread_mutexattr_getprioceiling.c
10390         (pthread_mutexattr_getprioceiling): Likewise.
10391         * nptl/pthread_mutexattr_setprioceiling.c
10392         (pthread_mutexattr_setprioceiling): Likewise.
10393         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
10394         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
10395         Likewise.
10397 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
10399         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
10400         void.
10402 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
10404         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
10405         third argument const.
10407 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
10409         fnmatch: work around GCC compiler warning bug with uninit var
10410         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
10411         This works around a bug with x86-64 GCC 4.9.2 and earlier
10412         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
10413         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
10414         used uninitialized in this function [-Wmaybe-uninitialized]".
10416 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
10418         * posix/bug-regex31.c (main): Return RES not 0.
10420 2014-11-25  Anton Blanchard <anton@samba.org>
10422         * sysdeps/powerpc/bits/atomic.h
10423         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
10425 2014-11-24  Sterling Augustine  <saugustine@google.com>
10427         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
10429 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
10431         [BZ #17608]
10432         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
10434 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
10436         [BZ #17633]
10437         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
10438         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
10439         variable.
10440         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10441         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10443 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
10445         * string/strncpy.c (strncpy): Improve performance by using memset.
10447 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
10449         * string/strcpy.c (strcpy):
10450         Improve performance by using strlen and memcpy.
10452 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
10454         * string/strcoll_l.c (get_next_seq): __always_inline.
10455         * string/strcoll_l.c (do_compare): __always_inline.
10457 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10459         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
10460         defined.
10461         * include/mqueue.h: Likewise.
10462         * include/stdlib.h: Likewise.
10464         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
10465         (get_null_defines): Adjust.
10466         * sunrpc/Makefile: Adjust comment.
10467         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
10468         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
10469         (CFLAGS-interp.c): Likewise.
10470         (CFLAGS-ldconfig.c): Likewise.
10471         (CPPFLAGS-.os): Likewise.
10472         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10473         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
10474         * extra-modules.mk (extra-modules.mk): Likewise.
10475         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
10476         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
10477         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
10478         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
10479         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
10480         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
10481         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
10482         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
10483         * iconvdata/Makefile (CPPFLAGS): Likewise.
10484         (cpp-srcs-left): Add libof for all iconvdata routines.
10485         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
10486         * include/assert.h: Likewise.
10487         * include/ctype.h: Likewise.
10488         * include/errno.h: Likewise.
10489         * include/libc-symbols.h: Likewise.
10490         * include/math.h: Likewise.
10491         * include/netdb.h: Likewise.
10492         * include/resolv.h: Likewise.
10493         * include/stdio.h: Likewise.
10494         * include/stdlib.h: Likewise.
10495         * include/string.h: Likewise.
10496         * include/sys/stat.h: Likewise.
10497         * include/wctype.h: Likewise.
10498         * intl/l10nflist.c: Likewise.
10499         * libidn/idn-stub.c: Likewise.
10500         * libio/libioP.h: Likewise.
10501         * nptl/libc_multiple_threads.c: Likewise.
10502         * nptl/pthreadP.h: Likewise.
10503         * posix/regex_internal.h: Likewise.
10504         * resolv/res_hconf.c: Likewise.
10505         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
10506         * sysdeps/arm/memmove.S: Likewise.
10507         * sysdeps/arm/sysdep.h: Likewise.
10508         * sysdeps/generic/_itoa.h: Likewise.
10509         * sysdeps/generic/symbol-hacks.h: Likewise.
10510         * sysdeps/gnu/errlist.awk: Likewise.
10511         * sysdeps/gnu/errlist.c: Likewise.
10512         * sysdeps/i386/i586/memcpy.S: Likewise.
10513         * sysdeps/i386/i586/memset.S: Likewise.
10514         * sysdeps/i386/i686/memcpy.S: Likewise.
10515         * sysdeps/i386/i686/memmove.S: Likewise.
10516         * sysdeps/i386/i686/mempcpy.S: Likewise.
10517         * sysdeps/i386/i686/memset.S: Likewise.
10518         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10519         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10520         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
10521         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
10522         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10523         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10524         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
10525         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10526         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10527         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10528         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10529         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10530         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10531         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10532         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10533         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10534         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
10535         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
10536         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
10537         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10538         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10539         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10540         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10541         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10542         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10543         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10544         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
10545         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10546         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
10547         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10548         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10549         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10550         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10551         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10552         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10553         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10554         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10555         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10556         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10557         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10558         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10559         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10560         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10561         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10562         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10563         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10564         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
10565         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
10566         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10567         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10568         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10569         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
10570         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
10571         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10572         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10573         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
10574         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10575         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
10576         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
10577         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10578         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10579         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10580         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
10581         * sysdeps/nptl/bits/libc-lock.h: Likewise.
10582         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
10583         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
10584         * sysdeps/posix/closedir.c: Likewise.
10585         * sysdeps/posix/opendir.c: Likewise.
10586         * sysdeps/posix/readdir.c: Likewise.
10587         * sysdeps/posix/rewinddir.c: Likewise.
10588         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
10589         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
10590         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10591         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10592         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10593         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
10594         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
10595         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
10596         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
10597         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
10598         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
10599         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
10600         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
10601         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
10602         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
10603         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
10604         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
10605         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
10606         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
10607         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
10608         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
10609         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
10610         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
10611         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
10612         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
10613         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
10614         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
10615         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
10616         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
10617         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
10618         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
10619         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
10620         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
10621         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
10622         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
10623         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
10624         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10625         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10626         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
10627         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
10628         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
10629         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
10630         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
10631         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
10632         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
10633         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
10634         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
10635         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
10636         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
10637         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
10638         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
10639         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
10640         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
10641         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
10642         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
10643         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
10644         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
10645         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
10646         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
10647         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
10648         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
10649         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
10650         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
10651         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
10652         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
10653         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
10654         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
10655         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
10656         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
10657         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
10658         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
10659         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
10660         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
10661         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
10662         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
10663         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
10664         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
10665         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
10666         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10667         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
10668         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
10669         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10670         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
10671         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
10672         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10673         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
10674         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
10675         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
10676         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
10677         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10678         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
10679         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
10680         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
10681         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
10682         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10683         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
10684         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
10685         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10686         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
10687         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
10688         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10689         * sysdeps/unix/alpha/sysdep.S: Likewise.
10690         * sysdeps/unix/alpha/sysdep.h: Likewise.
10691         * sysdeps/unix/make-syscalls.sh: Likewise.
10692         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10693         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10694         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10695         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
10696         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10697         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
10698         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
10699         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10700         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10701         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
10702         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10703         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10704         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10705         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10706         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10707         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10708         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10709         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10710         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
10711         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10712         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
10713         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10714         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10715         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10716         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10717         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10718         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
10720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
10721         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
10722         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10723         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10724         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10725         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10726         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10727         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10728         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10729         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10730         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10731         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
10732         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10733         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10734         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10735         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
10736         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10737         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10738         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10739         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10740         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10741         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10742         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10743         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10744         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10745         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10746         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
10747         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10748         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10749         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10750         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
10751         * sysdeps/x86_64/memcpy.S: Likewise.
10752         * sysdeps/x86_64/memmove.c: Likewise.
10753         * sysdeps/x86_64/memset.S: Likewise.
10754         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
10755         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10756         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10757         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
10758         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
10759         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10760         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10761         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10762         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10763         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10764         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10765         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10766         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
10767         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10768         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10769         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
10770         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10771         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10772         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10773         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10774         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
10775         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10776         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10777         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10778         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10779         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10780         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10781         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
10782         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10783         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10784         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
10785         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10786         * sysdeps/x86_64/strcmp.S: Likewise.
10788         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
10790         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
10791         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
10792         * elf/rtld-Rules: Likewise.
10793         * elf/setup-vdso.h: Likewise.
10794         * include/assert.h: Likewise.
10795         * include/bits/stdlib-float.h: Likewise.
10796         * include/errno.h: Likewise.
10797         * include/sys/stat.h: Likewise.
10798         * include/unistd.h: Likewise.
10799         * sysdeps/aarch64/setjmp.S: Likewise.
10800         * sysdeps/alpha/setjmp.S: Likewise.
10801         * sysdeps/arm/__longjmp.S: Likewise.
10802         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
10803         * sysdeps/arm/setjmp.S: Likewise.
10804         * sysdeps/arm/sysdep.h: Likewise.
10805         * sysdeps/generic/_itoa.h: Likewise.
10806         * sysdeps/generic/dl-sysdep.h: Likewise.
10807         * sysdeps/generic/ldsodefs.h: Likewise.
10808         * sysdeps/i386/dl-tls.h: Likewise.
10809         * sysdeps/i386/setjmp.S: Likewise.
10810         * sysdeps/m68k/setjmp.c: Likewise.
10811         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
10812         * sysdeps/mach/hurd/opendir.c: Likewise.
10813         * sysdeps/posix/getcwd.c: Likewise.
10814         * sysdeps/posix/opendir.c: Likewise.
10815         * sysdeps/posix/profil.c: Likewise.
10816         * sysdeps/powerpc/dl-procinfo.h: Likewise.
10817         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10818         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10819         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10820         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10821         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
10822         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
10823         * sysdeps/s390/dl-tls.h: Likewise.
10824         * sysdeps/s390/s390-32/setjmp.S: Likewise.
10825         * sysdeps/s390/s390-64/setjmp.S: Likewise.
10826         * sysdeps/sh/sh3/setjmp.S: Likewise.
10827         * sysdeps/sh/sh4/setjmp.S: Likewise.
10828         * sysdeps/unix/alpha/sysdep.h: Likewise.
10829         * sysdeps/unix/arm/sysdep.S: Likewise.
10830         * sysdeps/unix/i386/sysdep.S: Likewise.
10831         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10832         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10833         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10834         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10835         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10836         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10837         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
10838         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10839         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10840         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
10841         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
10842         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10843         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10846         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10847         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10848         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10849         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10850         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10851         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10852         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10853         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10854         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10855         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10856         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10857         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10858         * sysdeps/unix/x86_64/sysdep.S: Likewise.
10859         * sysdeps/x86_64/setjmp.S: Likewise.
10861         * include/math.h: Use IS_IN instead of IS_IN_libm.
10862         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
10863         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10864         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10865         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10866         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10867         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10868         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10869         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10870         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10871         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10872         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
10873         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
10874         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
10875         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
10876         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
10877         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
10878         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
10879         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
10880         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
10881         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
10882         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
10883         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
10884         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
10885         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
10886         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
10887         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
10888         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
10889         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
10890         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
10891         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
10892         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
10893         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10894         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
10895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
10896         Likewise.
10897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
10898         Likewise.
10899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
10900         Likewise.
10901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
10902         Likewise.
10903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
10904         Likewise.
10905         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10906         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
10907         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10908         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10909         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10910         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
10912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
10913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
10914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
10915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
10916         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
10917         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
10918         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
10919         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
10920         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
10921         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
10922         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
10923         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
10924         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10925         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
10926         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
10927         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
10928         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
10929         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
10930         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10931         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
10933         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
10934         * nptl/pthreadP.h: Likewise.
10935         * nptl_db/structs.def: Likewise.
10936         * sysdeps/arm/sysdep.h: Likewise.
10937         * sysdeps/nptl/bits/libc-lock.h: Likewise.
10938         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
10939         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
10940         * sysdeps/unix/alpha/sysdep.h: Likewise.
10941         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10942         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10943         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10944         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10945         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10946         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10947         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10948         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10949         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10950         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10951         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10952         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10953         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10954         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
10956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
10957         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10958         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10959         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10960         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10961         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10962         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10963         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10964         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10965         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
10966         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10968         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
10969         * nptl/pthreadP.h: Likewise.
10970         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10971         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10972         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10973         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10974         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10975         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10976         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10977         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10978         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10979         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10980         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10981         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10983         Likewise.
10984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10985         Likewise.
10986         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10987         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10988         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10989         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10990         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10991         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10992         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10993         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10995         * dlfcn/dladdr.c: Use IS_IN.
10996         * dlfcn/dladdr1.c: Likewise.
10997         * dlfcn/dlclose.c: Likewise.
10998         * dlfcn/dlerror.c: Likewise.
10999         * dlfcn/dlinfo.c: Likewise.
11000         * dlfcn/dlmopen.c: Likewise.
11001         * dlfcn/dlopen.c: Likewise.
11002         * dlfcn/dlsym.c: Likewise.
11003         * dlfcn/dlvsym.c: Likewise.
11005         * include/ifaddrs.h: Use IS_IN.
11006         * inet/check_pf.c: Likewise.
11007         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11008         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
11010         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
11011         IS_IN_ldconfig.
11012         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
11013         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
11015         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
11016         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
11017         IS_IN (libc).
11019         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
11021         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
11022         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11023         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11024         * include/libc-symbols.h (IS_IN_LIB): New macro.
11025         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
11026         * include/netdb.h: Likewise.
11027         * include/stap-probe.h: Remove all uses of IN_LIB.
11029         * Makeconfig (module-cppflags-real): Define MODULE_NAME
11030         instead of IN_MODULE.
11031         * include/libc-symbols.h (IN_MODULE): Define using
11032         MODULE_NAME.
11033         (PASTE_NAME, PASTE_NAME1): New macros.
11034         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
11035         of IN_LIB.
11036         (STAP_PROBE_ASM): Likewise.
11038 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11040         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
11041         __mach_init in dlopened libc.
11043 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
11045         * sysdeps/arm/preconfigure.ac: Delete EABI check.
11046         * sysdeps/arm/preconfigure: Regenerate.
11048 2014-11-21  Roland McGrath  <roland@hack.frob.com>
11050         * nptl/pthread_create.c (__pthread_create_2_1): Set
11051         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
11052         when copying values from IATTR into PD.
11054 2014-11-21  Will Newton  <will.newton@linaro.org>
11055             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
11057         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
11058         Refactor inline-asm.  Also add comment.
11060         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
11061         ElfW macro instead of hardcoded Elf64 types.
11062         (la_aarch64_gnu_pltenter): Likewise.
11063         * sysdeps/aarch64/dl-machine.h
11064         (elf_machine_runtime_setup): Use ElfW(Addr).
11066         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
11067         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
11068         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
11069         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
11070         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
11071         (R_AARCH64_TLS_DTPMOD64): Rename to ..
11072         (R_AARCH64_TLS_DTPMOD): This.
11073         (R_AARCH64_TLS_DTPREL64): Rename to ...
11074         (R_AARCH64_TLS_DTPREL): This.
11075         (R_AARCH64_TLS_TPREL64): Rename to ...
11076         (R_AARCH64_TLS_TPREL): This.
11077         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
11078         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
11079         R_AARCH64_TLS_TPREL64.
11080         (elf_machine_rela): Likewise.
11082 2014-11-21  Torvald Riegel  <triegel@redhat.com>
11084         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
11085         by setting it to 0.  64b atomics are not supported currently.
11087 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11089         [BZ #16469]
11090         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
11091         search domain names.
11093 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11095         [BZ #16469]
11096         * NEWS: Update.
11097         * resolv/res_query.c (__libc_res_nquerydomain): Retain
11098         trailing dot.
11099         * posix/tst-getaddrinfo5.c: New.
11100         * posix/Makefile (tests): Add it.
11102 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11104         [BZ #14498]
11105         * NEWS: Fixed.
11106         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
11107         after parsing line but before break_if_match.
11108         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
11109         if there is a protocol mismatch.
11111 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
11113         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
11114         because the potential race is on the user-supplied stream.
11116 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11118         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
11119         string literal if not passed a buffer.
11120         * manual/job.texi (ctermid): Update reasoning, note deviation
11121         from posix, suggest mtasurace when not passed a buffer, for
11122         future non-preliminary safety notes.
11124 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11126         * manual/users.texi (cuserid): Fix MT-Safety note for the case
11127         of not passing it a buffer.
11128         Reported by Peng Haitao.
11130 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11132         * manual/Makefile ($(objpfx)stamp-summary): Require
11133         check-safety.sh to pass.
11134         * manual/check-safety.sh: Wish for verification that every
11135         @deftypefn and @deftypefun is followed by a @safety remark.
11137 2014-11-20  Roland McGrath  <roland@hack.frob.com>
11139         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
11141         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
11142         PTHREAD_CANCEL_ASYNCHRONOUS.
11143         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
11144         send SIGCANCEL.
11146         * nptl/default-sched.h: New file.
11147         * sysdeps/unix/sysv/linux/default-sched.h: New file.
11148         * nptl/pthread_create.c: Include it.
11149         (__pthread_create_2_1): Use collect_default_sched instead of making
11150         Linux syscalls here directly.
11152 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11154         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
11155         __pthread_once): Use C11 atomics.
11157 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11159         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
11161 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11163         * include/atomic.h (__atomic_link_error, __atomic_check_size,
11164         atomic_thread_fence_acquire, atomic_thread_fence_release,
11165         atomic_thread_fence_seq_cst, atomic_load_relaxed,
11166         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
11167         atomic_compare_exchange_weak_relaxed,
11168         atomic_compare_exchange_weak_acquire,
11169         atomic_compare_exchange_weak_release,
11170         atomic_exchange_acquire, atomic_exchange_release,
11171         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
11172         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
11173         atomic_fetch_and_acquire,
11174         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
11176 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11178         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
11179         USE_ATOMIC_COMPILER_BUILTINS): Define.
11180         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
11181         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11182         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
11183         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11184         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
11185         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11186         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
11187         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11188         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
11189         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11190         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
11191         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11192         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
11193         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11194         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
11195         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11196         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11197         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11198         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11199         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11200         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
11201         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11202         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11203         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11204         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
11205         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11206         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11207         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11208         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
11209         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11210         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
11211         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11212         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
11213         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11214         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
11215         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11216         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
11217         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11218         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
11219         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11221 2014-11-19  Roland McGrath  <roland@hack.frob.com>
11223         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
11224         the sched_priority value here.  It was already checked when the user
11225         called pthread_attr_setschedparam.
11227         * nptl/tst-bad-schedattr.c: New file.
11228         * nptl/Makefile (tests): Add it.
11230 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
11231             Florian Weimer  <fweimer@redhat.com>
11232             Joseph Myers  <joseph@codesourcery.com>
11233             Adam Conrad  <adconrad@0c3.net>
11234             Andreas Schwab  <schwab@suse.de>
11235             Brooks  <bmoses@google.com>
11237         [BZ #17625]
11238         * wordexp-test.c (__dso_handle): Add prototype.
11239         (__register_atfork): Likewise.
11240         (__app_register_atfork): New function.
11241         (registered_forks): New global.
11242         (register_fork): New function.
11243         (test_case): Add 3 new tests for WRDE_CMDSUB.
11244         (main): Call __app_register_atfork.
11245         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
11246         fork count is non-zero fail the test.
11247         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
11248         is set.
11249         (parse_dollars): Remove check for WRDE_NOCMD.
11250         (parse_dquote): Likewise.
11252 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11254         * Makeconfig (built-modules): List non-library modules to be
11255         built.
11256         (module-cppflags): Include libc-modules.h for
11257         everything except shlib-versions.v.i.
11258         (CPPFLAGS): Use it.
11259         (before-compile): Add libc-modules.h.
11260         ($(common-objpfx)libc-modules.h,
11261         $(common-objpfx)libc-modules.stmp): New targets.
11262         (common-generated): Add libc-modules.h and libc-modules.stmp.
11263         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
11264         * include/libc-symbols.h: Don't include libc-modules.h.
11265         * include/libc-modules.h: Remove file.
11266         * scripts/gen-libc-modules.awk: New script to generate
11267         libc-modules.h.
11268         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
11269         Depend on libc-modules.stmp.
11271         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
11273         * Makeconfig (in-module): Get value of libof set for the
11274         translation unit.
11275         (CPPFLAGS): Use $(in-module).
11276         * Makerules: Don't suffix routine names for nonlib.
11277         * include/libc-modules.h: New file.
11278         * include/libc-symbols.h: Include libc-modules.h
11279         (IS_IN): New macro to replace IS_IN_* macros.
11280         * elf/Makefile: Set libof-* for each routine.
11281         * elf/rtld-Rules: Likewise.
11282         * extra-modules.mk: Likewise.
11283         * iconv/Makefile: Likewise.
11284         * iconvdata/Makefile: Likewise.
11285         * locale/Makefile: Likewise.
11286         * malloc/Makefile: Likewise.
11287         * nss/Makefile: Likewise.
11288         * sysdeps/gnu/Makefile: Likewise.
11289         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
11290         * sysdeps/unix/sysv/linux/Makefile: Likewise.
11291         * sysdeps/s390/s390-64/Makefile: Likewise.
11292         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
11293         CPPFLAGS for nscd instead of nonlib.
11295 2014-11-18  Roland McGrath  <roland@hack.frob.com>
11297         * nptl/createthread.c: New file.
11299         * nptl/createthread.c: Moved ...
11300         * sysdeps/unix/sysv/linux/createthread.c: ... here.
11302         * nptl/createthread.c: Add proper top-line comment.
11303         (do_clone): Folded into ...
11304         (create_thread): ... here.  Take new arguments STOPPED_START and
11305         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
11306         increment __nptl_threads, do event-reporting logic, do
11307         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
11308         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
11309         resource cleanup if sched_setaffinity or sched_setscheduler fails,
11310         just send SIGCANCEL.
11311         * nptl/pthread_create.c: Forward-declare create_thread before
11312         including createthread.c.
11313         (start_thread): Use new macro START_THREAD_DEFN to replace defining
11314         declaration, and new macro START_THREAD_SELF to replace argument.
11315         Remove return statement.
11316         (report_thread_creation): New function.
11317         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
11318         synchronization logic, and __nptl_nthreads increment here, around
11319         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
11320         PD->parent_cancelhandling here, before create_thread.  When
11321         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
11322         __deallocate_stack, and ENOMEM translation here.
11324 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
11326         [BZ #17616]
11327         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
11328         (mptwo): Rename to __mptwo.
11329         (__inv): Use __mptwo instead of mptwo.
11330         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
11331         (mptwo): Rename to __mptwo.
11332         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
11333         of mpone and __mptwo instead of mptwo.
11334         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
11335         instead of mpone.
11336         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11337         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
11338         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
11339         of mpone and __mptwo instead of mptwo.
11340         (__mpranred): Use __mpone instead of mpone.
11341         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
11342         variable.
11343         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
11344         (test-xfail-ISO99/math.h/linknamespace): Likewise.
11345         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
11346         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
11347         (test-xfail-ISO11/math.h/linknamespace): Likewise.
11348         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
11349         (test-xfail-XPG3/math.h/linknamespace): Likewise.
11350         (test-xfail-XPG4/math.h/linknamespace): Likewise.
11351         (test-xfail-POSIX/math.h/linknamespace): Likewise.
11352         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
11353         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
11354         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
11355         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
11356         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
11357         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
11358         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
11359         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
11360         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
11361         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
11363 2014-11-18  Tom de Vries  <tom@codesoucery.com>
11365         * manual/signal.texi (Primitives Interrupted by Signals): In section,
11366         replace BSD Handler xref with BSD Signal Handling.
11368 2014-11-17  Richard Henderson  <rth@redhat.com>
11370         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
11371         (_FP_PACK_RAW_2): Remove.
11372         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
11373         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
11374         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
11375         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
11376         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
11377         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
11378         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
11379         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
11380         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
11381         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
11382         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
11383         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
11384         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
11385         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
11386         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
11387         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
11389 2014-11-14  Roland McGrath  <roland@hack.frob.com>
11391         * signal/signal.h [__USE_MISC]
11392         (struct sigvec): Remove type.
11393         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
11394         (sigvec): Remove declaration.
11395         * sysdeps/posix/sigvec.c: Moved ...
11396         * signal/sigvec.c: ... here, replacing old file.
11397         (struct sigvec): New type, copied from old signal.h definition.
11398         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
11399         (__sigvec): Convert definition to prototype.
11400         (sigvec): Replace weak_alias with compat_symbol.
11401         * signal/Versions (libc: GLIBC_2.21): New version set.
11402         * include/signal.h: Remove __sigvec declaration.
11403         * sysdeps/unix/bsd/sigvec.c: Remove file.
11404         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
11405         * manual/signal.texi (BSD Handler): Remove subsection.
11406         Move siginterrupt up to ...
11407         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
11408         (Blocking in BSD): Fold subsection into its parent.
11409         * NEWS: Mention sigvec removal.
11411 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
11413         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
11414         (DLA_FMS): Make definition conditional only on [__FMA4__].
11415         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
11416         definition.
11418         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
11419         Make definition conditional only on [PROF].
11420         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
11421         definition.
11422         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
11423         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
11425         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
11426         !__GNUC__].
11427         * include/signal.h (__sigpause): Move declaration above call to
11428         libc_hidden_proto.
11429         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
11430         variable.
11431         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
11432         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
11434 2014-11-14  David S. Miller  <davem@davemloft.net>
11436         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
11437         Define before including <string/memcpy.c> and <string/mempcpy.c>.
11439 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
11441         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
11442         * configure: Regenerated.
11443         * manual/install.texi (Tools for Compilation): Document a
11444         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
11445         compiler verified to work.
11446         * INSTALL: Regenerated.
11448         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
11449         redeclare with asm name.
11450         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
11451         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
11452         including <string.h>.
11453         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11454         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
11455         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11456         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
11457         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11458         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
11459         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11461 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
11463         * stdlib/strtol.c (__strtol): Use prototype definition.
11465         [BZ #17594]
11466         * stdlib/strtol.c (SYM__): New macro.
11467         (SYM__1): Likewise.
11468         (__strtol): Likewise.
11469         (strtol): Rename to __strtol and define as weak alias of
11470         __strtol.  Use libc_hidden_weak.
11472 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11474         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
11475         Use numbered labels in inline assembly.
11477 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11479         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
11480         Add setjmp LIBC_PROBE.
11481         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
11482         Likewise.
11483         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
11484         Add longjmp, longjmp_target LIBC_PROBE.
11485         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
11486         Likewise.
11488 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11490         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11491         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
11492         to get rid of unused variable warning.
11494 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11496         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
11497         Check for unwind_backtrace ==  NULL only in SHARED case.
11498         (__backchain_backtrace): Compile only in SHARED case.
11499         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
11500         Likewise.
11501         (__backchain_backtrace): Declare as static.
11503 2014-11-12  Roland McGrath  <roland@hack.frob.com>
11505         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
11506         (__libc_multiple_threads_ptr): Variable moved ...
11507         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
11509 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
11511         * conform/GlibcConform.pm: New file.
11512         * conform/conformtest.pl: Use GlibcConform module.
11513         * conform/linknamespace.pl: New file.
11514         * conform/list-header-symbols.pl: Likewise.
11515         * conform/Makefile (linknamespace-symlists-base): New variable.
11516         (linknamespace-symlists-tests): Likewise.
11517         (linknamespace-header-base): Likewise.
11518         (linknamespace-header-tests): Likewise.
11519         (tests-special): Add new tests.
11520         ($(linknamespace-symlists-tests)): New rule.
11521         (linknamespace-libs): New variable.
11522         ($(objpfx)symlist-stdlibs): New rule.
11523         ($(linknamespace-header-tests)): Likewise.
11524         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
11525         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
11526         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
11527         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
11528         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
11529         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
11530         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
11531         (test-xfail-ISO/math.h/linknamespace): Likewise.
11532         (test-xfail-ISO/signal.h/linknamespace): Likewise.
11533         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
11534         (test-xfail-ISO/time.h/linknamespace): Likewise.
11535         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
11536         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
11537         (test-xfail-ISO99/math.h/linknamespace): Likewise.
11538         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
11539         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
11540         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
11541         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
11542         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
11543         (test-xfail-ISO11/math.h/linknamespace): Likewise.
11544         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
11545         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
11546         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
11547         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
11548         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
11549         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
11550         (test-xfail-XPG3/math.h/linknamespace): Likewise.
11551         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
11552         (test-xfail-XPG3/search.h/linknamespace): Likewise.
11553         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
11554         (test-xfail-XPG3/time.h/linknamespace): Likewise.
11555         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
11556         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
11557         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
11558         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
11559         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
11560         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
11561         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
11562         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
11563         (test-xfail-XPG4/math.h/linknamespace): Likewise.
11564         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
11565         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
11566         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
11567         (test-xfail-XPG4/search.h/linknamespace): Likewise.
11568         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
11569         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
11570         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
11571         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
11572         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
11573         (test-xfail-XPG4/time.h/linknamespace): Likewise.
11574         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
11575         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
11576         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
11577         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
11578         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
11579         (test-xfail-POSIX/math.h/linknamespace): Likewise.
11580         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
11581         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
11582         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
11583         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
11584         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
11585         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
11586         (test-xfail-POSIX/time.h/linknamespace): Likewise.
11587         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
11588         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
11589         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
11590         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
11591         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
11592         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
11593         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
11594         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
11595         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
11596         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
11597         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
11598         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
11599         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
11600         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
11601         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
11602         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
11603         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
11604         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
11605         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
11606         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
11607         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
11608         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
11609         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
11610         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
11611         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
11612         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
11613         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
11614         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
11615         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
11616         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
11617         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
11618         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
11619         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
11620         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
11621         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
11622         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
11623         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
11624         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
11625         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
11626         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
11627         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
11628         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
11629         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
11630         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
11631         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
11632         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
11633         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
11634         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
11635         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
11636         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
11637         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
11638         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
11639         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
11640         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
11641         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
11642         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
11643         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
11644         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
11645         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
11646         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
11647         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
11648         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
11649         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
11650         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
11651         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
11652         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
11653         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
11654         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
11655         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
11656         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
11657         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
11658         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
11659         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
11660         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
11661         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
11662         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
11663         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
11664         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
11665         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
11666         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
11667         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
11668         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
11669         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
11670         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
11671         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
11672         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
11673         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
11674         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
11675         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
11676         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
11677         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
11678         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
11679         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
11680         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
11681         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
11682         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
11683         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
11684         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
11686         [BZ #17589]
11687         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
11688         of fgets_unlocked.
11690         [BZ #17585]
11691         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
11692         (memmem): Rename to __memmem and define as weak alias of
11693         __memmem.  Use libc_hidden_weak.
11694         (__memmem): Use libc_hidden_def.
11695         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
11696         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
11697         memmem.
11699         [BZ #17582]
11700         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
11701         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
11702         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
11703         and define as weak alias of __fgets_unlocked.  Use
11704         libc_hidden_weak.
11705         (__fgets_unlocked): Use libc_hidden_def.
11706         * include/stdio.h (__fgets_unlocked): Declare.  Use
11707         libc_hidden_proto.
11708         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
11709         __fgets_unlocked instead of fgets_unlocked.
11710         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
11711         (GET_NPROCS_CONF_PARSER): Likewise.
11712         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
11713         (GET_NPROCS_CONF_PARSER): Likewise.
11715         [BZ #17574]
11716         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
11717         weak alias of __wmemset.  Use libc_hidden_weak.
11718         (__wmemset): Use libc_hidden_def.
11719         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
11720         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
11721         of wmemset.
11723         [BZ #17573]
11724         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
11725         with asm name __mempcpy.
11726         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
11728         [BZ #17572]
11729         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
11730         and define as weak alias of __rawmemchr.
11731         (__rawmemchr): Do not define as strong alias of rawmemchr.
11733         [BZ #17571]
11734         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
11735         alias of __qsort_r.
11736         (qsort): Call __qsort_r instead of qsort_r.
11737         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
11738         (__qsort_r): Declare.  Call libc_hidden_proto.
11739         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
11740         instead of qsort_r.
11741         * nscd/gai.c (__qsort_r): Define to qsort_r.
11742         * posix/tst-rfc3484.c (__qsort_r): Likewise.
11743         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
11744         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
11746         [BZ #17570]
11747         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
11748         define as weak alias of __malloc_info.
11750         [BZ #17584]
11751         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
11752         as weak alias of __rewinddir.  Don't use libc_hidden_def.
11753         (__rewinddir): Use libc_hidden_def.
11754         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
11755         as weak alias of __rewinddir.  Don't use libc_hidden_def.
11756         (__rewinddir): Use libc_hidden_def.
11757         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
11758         weak alias of __rewinddir.  Don't use libc_hidden_def.
11759         (__rewinddir): Use libc_hidden_def.
11760         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
11761         (__rewinddir): Use libc_hidden_proto.
11762         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
11763         rewinddir.
11764         (__getcwd): Use __rewinddir instead of rewinddir.
11766         [BZ #17583]
11767         * libio/fileno.c (fileno): Rename to __fileno and define as weak
11768         alias of __fileno.  Use libc_hidden_weak.
11769         (__fileno): Use libc_hidden_def.
11770         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
11771         * libio/ftello.c (ftello): Rename to __ftello and define as weak
11772         alias of __ftello.
11773         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
11774         __ftello.
11775         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
11776         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
11777         libc_hidden_def.
11778         (fread_unlocked): Don't use libc_hidden_ver.
11779         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
11780         and define as weak alias of __fread_unlocked.  Don't use
11781         libc_hidden_def.
11782         (__fread_unlocked): Use libc_hidden_def.
11783         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
11784         (ftello): Don't use libc_hidden_proto.
11785         (__ftello): Declare.  Use libc_hidden_proto.
11786         (fread_unlocked): Don't use libc_hidden_proto.
11787         (__fread_unlocked): Declare.  Use libc_hidden_proto.
11788         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
11789         and __ftello instead of fileno, fread_unlocked and ftello.
11791 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11793         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
11794         GOT12.
11795         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
11796         Likewise.
11797         (_dl_start_user): Likewise.
11798         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
11800 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
11801             Siddhesh Poyarekar  <siddhesh@redhat.com>
11803         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
11804         Move argv and envp down instead of moving argc up.
11805         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
11807 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
11809         [BZ #17506]
11810         * test-skeleton.c (main): Return successful if one of
11811         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
11812         * string/tst-strcoll-overflow.c: Define expected status.
11814 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
11816         [BZ #17475]
11817         * locale/iso-639.def: Define Bhili and Tulu language codes.
11819 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
11821         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
11823 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
11825         [BZ #17555]
11826         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
11828 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
11830         * configure.ac: Updated check of minimal required version to
11831         2.22.
11832         * manual/install.texi (Tools for Compilation): Updated version
11833         number.
11834         * configure: Regenerated.
11835         * INSTALL: Likewise.
11837 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
11839         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
11840         __tls_get_addr.
11842 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
11844         * include/sys/wait.h (__libc_waitpid): Remove declaration.
11845         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
11846         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11847         libc_hidden_weak.
11848         (waitpid): Define as alias of __waitpid.
11849         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
11850         __waitpid.
11851         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11852         libc_hidden_weak.
11853         (waitpid): Define as alias of __waitpid.
11854         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
11855         __libc_waitpid alias.
11856         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
11857         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
11858         Likewise.
11859         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
11860         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
11861         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
11862         alias.
11863         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
11864         __waitpid.
11865         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11866         libc_hidden_weak.
11867         (waitpid): Define as alias of __waitpid.
11869 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
11871         * manual/llio.texi: Add comment that write safety has been
11872         fixed in Linux.
11874         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
11875         (localplt-build-dso): Add elf/ld.so.
11876         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
11877         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
11878         and free for ld.so.
11879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
11880         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
11881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
11882         Likewise.
11883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11884         Likewise.
11885         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
11886         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
11887         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
11888         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
11889         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
11890         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
11891         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
11892         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
11893         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
11894         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
11895         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
11897 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
11899         [BZ #14132]
11900         * include/libc-symbols.h (INTUSE): Remove macro.
11901         (INTDEF): Likewise.
11902         (INTVARDEF): Likewise.
11903         (_INTVARDEF): Likewise.
11904         (INTDEF2): Likewise.
11905         (INTVARDEF2): Likewise.
11906         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
11907         rtld_hidden_def instead of INTVARDEF.
11908         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
11909         (_dl_starting_up_internal): Remove declaration.
11910         (_dl_starting_up): Use rtld_hidden_proto.
11911         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
11912         declaration.
11913         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
11914         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
11915         _dl_starting_up.
11916         * elf/dl-writev.h (_dl_writev): Likewise.
11917         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
11918         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
11919         _dl_starting_up_internal.
11921 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11923         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
11924         test-skeleton.c.
11926 2014-11-05  Will Newton  <will.newton@linaro.org>
11928         * benchtests/Makefile: (bench-malloc): Add malloc thread
11929         scalability benchmark.
11930         * benchtests/bench-malloc-threads.c: New file.
11932 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
11934         * sysdeps/aarch64/strchrnul.S: New file.
11936 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11938         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
11939         definition.
11940         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11941         Likwise.
11942         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11943         Likewise.
11944         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11945         Likewise.
11946         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11947         Likewise.
11948         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11949         Likewise.
11951 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
11953         * catgets/test-gencat.c: Use test-skeleton.c.
11954         * catgets/tst-catgets.c: Likewise.
11955         * csu/tst-empty.c: Likewise.
11956         * elf/tst-audit2.c: Likewise.
11957         * elf/tst-global1.c: Likewise.
11958         * elf/tst-pathopt.c: Likewise.
11959         * elf/tst-piemod1.c: Likewise.
11960         * elf/tst-tls10.c: Likewise.
11961         * elf/tst-tls11.c: Likewise.
11962         * elf/tst-tls12.c: Likewise.
11963         * gnulib/tst-gcc.c: Likewise.
11964         * iconvdata/tst-e2big.c: Likewise.
11965         * iconvdata/tst-loading.c: Likewise.
11966         * iconv/tst-iconv1.c: Likewise.
11967         * iconv/tst-iconv2.c: Likewise.
11968         * inet/test-inet6_opt.c: Likewise.
11969         * inet/tst-gethnm.c: Likewise.
11970         * inet/tst-network.c: Likewise.
11971         * inet/tst-ntoa.c: Likewise.
11972         * intl/tst-codeset.c: Likewise.
11973         * intl/tst-gettext2.c: Likewise.
11974         * intl/tst-gettext3.c: Likewise.
11975         * intl/tst-ngettext.c: Likewise.
11976         * intl/tst-translit.c: Likewise.
11977         * io/test-stat.c: Likewise.
11978         * libio/test-fmemopen.c: Likewise.
11979         * libio/tst-freopen.c: Likewise.
11980         * libio/tst-sscanf.c: Likewise.
11981         * libio/tst-ungetwc1.c: Likewise.
11982         * libio/tst-ungetwc2.c: Likewise.
11983         * libio/tst-widetext.c: Likewise.
11984         * localedata/tst-ctype.c: Likewise.
11985         * localedata/tst-digits.c: Likewise.
11986         * localedata/tst-leaks.c: Likewise.
11987         * localedata/tst-mbswcs1.c: Likewise.
11988         * localedata/tst-mbswcs2.c: Likewise.
11989         * localedata/tst-mbswcs3.c: Likewise.
11990         * localedata/tst-mbswcs4.c: Likewise.
11991         * localedata/tst-mbswcs5.c: Likewise.
11992         * localedata/tst-setlocale.c: Likewise.
11993         * localedata/tst-trans.c: Likewise.
11994         * localedata/tst-wctype.c: Likewise.
11995         * localedata/tst-xlocale1.c: Likewise.
11996         * login/tst-grantpt.c: Likewise.
11997         * malloc/tst-calloc.c: Likewise.
11998         * malloc/tst-malloc.c: Likewise.
11999         * malloc/tst-mallocstate.c: Likewise.
12000         * malloc/tst-mcheck.c: Likewise.
12001         * malloc/tst-mtrace.c: Likewise.
12002         * malloc/tst-obstack.c: Likewise.
12003         * math/atest-exp2.c: Likewise.
12004         * math/atest-exp.c: Likewise.
12005         * math/atest-sincos.c: Likewise.
12006         * math/test-matherr.c: Likewise.
12007         * math/test-misc.c: Likewise.
12008         * math/test-powl.c: Likewise.
12009         * math/tst-definitions.c: Likewise.
12010         * misc/tst-dirname.c: Likewise.
12011         * misc/tst-efgcvt.c: Likewise.
12012         * misc/tst-fdset.c: Likewise.
12013         * misc/tst-hsearch.c: Likewise.
12014         * misc/tst-mntent2.c: Likewise.
12015         * nptl/tst-sem7.c: Likewise.
12016         * nptl/tst-sem8.c: Likewise.
12017         * nptl/tst-sem9.c: Likewise.
12018         * nss/test-netdb.c: Likewise.
12019         * posix/tst-fnmatch.c: Likewise.
12020         * posix/tst-getlogin.c: Likewise.
12021         * posix/tst-gnuglob.c: Likewise.
12022         * posix/tst-mmap.c: Likewise.
12023         * pwd/tst-getpw.c: Likewise.
12024         * resolv/tst-inet_ntop.c: Likewise.
12025         * rt/tst-timer.c: Likewise.
12026         * stdio-common/test-fseek.c: Likewise.
12027         * stdio-common/test-popen.c: Likewise.
12028         * stdio-common/test-vfprintf.c: Likewise.
12029         * stdio-common/tst-cookie.c: Likewise.
12030         * stdio-common/tst-fileno.c: Likewise.
12031         * stdio-common/tst-gets.c: Likewise.
12032         * stdio-common/tst-obprintf.c: Likewise.
12033         * stdio-common/tst-perror.c: Likewise.
12034         * stdio-common/tst-sprintf2.c: Likewise.
12035         * stdio-common/tst-sprintf3.c: Likewise.
12036         * stdio-common/tst-sprintf.c: Likewise.
12037         * stdio-common/tst-swprintf.c: Likewise.
12038         * stdio-common/tst-tmpnam.c: Likewise.
12039         * stdio-common/tst-unbputc.c: Likewise.
12040         * stdio-common/tst-wc-printf.c: Likewise.
12041         * stdlib/tst-environ.c: Likewise.
12042         * stdlib/tst-fmtmsg.c: Likewise.
12043         * stdlib/tst-limits.c: Likewise.
12044         * stdlib/tst-rand48-2.c: Likewise.
12045         * stdlib/tst-rand48.c: Likewise.
12046         * stdlib/tst-random2.c: Likewise.
12047         * stdlib/tst-random.c: Likewise.
12048         * stdlib/tst-strtol.c: Likewise.
12049         * stdlib/tst-strtoll.c: Likewise.
12050         * stdlib/tst-tls-atexit.c: Likewise.
12051         * stdlib/tst-xpg-basename.c: Likewise.
12052         * string/test-ffs.c: Likewise.
12053         * string/tst-bswap.c: Likewise.
12054         * string/tst-inlcall.c: Likewise.
12055         * string/tst-strtok.c: Likewise.
12056         * string/tst-strxfrm.c: Likewise.
12057         * sysdeps/x86_64/tst-audit10.c: Likewise.
12058         * sysdeps/x86_64/tst-audit3.c: Likewise.
12059         * sysdeps/x86_64/tst-audit4.c: Likewise.
12060         * sysdeps/x86_64/tst-audit5.c: Likewise.
12061         * time/tst-ftime_l.c: Likewise.
12062         * time/tst-getdate.c: Likewise.
12063         * time/tst-mktime3.c: Likewise.
12064         * time/tst-mktime.c: Likewise.
12065         * time/tst-posixtz.c: Likewise.
12066         * time/tst-strptime2.c: Likewise.
12067         * time/tst-strptime3.c: Likewise.
12068         * wcsmbs/tst-btowc.c: Likewise.
12069         * wcsmbs/tst-mbrtowc.c: Likewise.
12070         * wcsmbs/tst-mbsrtowcs.c: Likewise.
12071         * wcsmbs/tst-wchar-h.c: Likewise.
12072         * wcsmbs/tst-wcpncpy.c: Likewise.
12073         * wcsmbs/tst-wcrtomb.c: Likewise.
12074         * wcsmbs/tst-wcsnlen.c: Likewise.
12075         * wcsmbs/tst-wcstof.c: Likewise.
12077 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
12079         [BZ #14132]
12080         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
12081         INTDEF.
12082         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
12083         declaration.
12084         (_dl_mcount): Use rtld_hidden_proto.
12085         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
12086         _dl_mcount.
12087         * elf/rtld.c (_rtld_global_ro): Likewise.
12089         [BZ #14132]
12090         * elf/dl-init.c (_dl_init): Don't use INTDEF.
12091         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
12092         of _dl_init_internal.
12093         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
12094         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
12095         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
12096         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
12097         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
12098         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
12099         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
12100         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
12101         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
12102         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
12103         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
12104         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
12105         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12106         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12107         * sysdeps/tile/dl-start.S (_start): Likewise.
12108         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
12109         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
12111         [BZ #14132]
12112         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
12113         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
12114         (rtld_progname): Make macro definition unconditional.
12115         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
12116         INTDEF.
12117         (dlmopen_doit): Do not use INTUSE with _dl_argv.
12118         (dl_main): Likewise.
12119         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12120         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
12121         instead of _dl_argv_internal.
12122         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12123         __GI__dl_argv instead of INTUSE(_dl_argv).
12124         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
12125         __GI__dl_argv instead of _dl_argv_internal.
12127         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
12128         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
12129         macro.
12130         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
12131         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
12132         New macro.
12133         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
12134         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
12135         macro.
12136         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
12137         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
12139 2014-11-04  Andreas Schwab  <schwab@suse.de>
12141         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
12143 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12145         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
12146         mtvsrd instruction in binary form.
12148 2014-11-03  Andreas Schwab  <schwab@suse.de>
12150         [BZ #17522]
12151         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
12152         for less than MB_LEN_MAX use a local buffer of that size.
12153         * libio/tst-fputws.c: New file.
12154         * libio/Makefile (tests): Add tst-fputws.
12156 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
12158         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
12159         the size of the fpu_fr.fpu_dregs[] array.
12161 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
12163         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
12164         (__nanosleep): Do not define as alias.
12165         (nanosleep): Define as alias of __nanosleep.
12166         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
12167         __libc_nanosleep name.
12169 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12171         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
12172         install.texi in comment.
12174 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12176         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
12177         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
12178         ... add here and use lwsync or sync ...
12179         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
12180         ... and add here using lwsync.
12182 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
12184         * elf/dl-machine-reject-phdr.h: New file.
12185         * elf/dl-load.c: #include that.
12186         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
12187         if that returned true.
12189 2014-10-31  Roland McGrath  <roland@hack.frob.com>
12191         [BZ #17496]
12192         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
12193         gen-as-const-headers chunk.  Add a big scare comment after the last
12194         safe place to touch before-compile.
12196 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12198         * manual/install.texi (Tools for Compilation): Update autoconf
12199         version requirements.
12200         * INSTALL: Regenerated.
12202         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
12203         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
12204         (__libc_pselect): Likewise.
12206         [BZ #14138]
12207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
12208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12212 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12214         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
12215         correct barrier instruction.
12216         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
12217         Likewise.
12218         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
12219         Likewise.
12221 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12223         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
12224         after defining inlines.  Instead, just use parens to defeat macro
12225         expansion of __isctype in its declaration.
12227 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12229         * include/sys/uio.h (__libc_readv): Remove declaration.
12230         (__libc_writev): Likewise.
12231         * misc/readv.c (__libc_readv): Rename to __readv.
12232         (__readv): Do not define as alias.
12233         (readv): Define as alias of __readv.
12234         * misc/writev.c (__libc_writev): Rename to __writev.
12235         (__writev): Do not define as alias.
12236         (writev): Define as alias of __writev.
12237         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
12238         (__readv): Do not define as alias.
12239         (readv): Define unconditionally as alias of __readv.
12240         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
12241         (__writev): Do not define as alias.
12242         (writev): Define unconditionally as alias of __writev.
12243         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
12244         name.
12245         (writev): Do not define __libc_writev name.
12247 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12249         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
12250         (convert_charseq): New function, broken out of ...
12251         (use_from_charmap): ... here.  Call it.
12252         (use_to_charmap): Use convert_charseq and free instead of duplicating
12253         its code with a variable-length stack struct.
12255 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12257         * include/fcntl.h (__libc_creat): Remove declaration.
12258         * io/creat.c (__libc_creat): Rename to creat.
12259         (creat): Do not define as alias.
12260         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
12261         of creat instead of __libc_creat.
12262         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
12263         to creat.
12264         (creat): Do not define as alias.
12265         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
12266         __libc_creat.
12267         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
12268         __libc_creat name.
12269         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
12270         Likewise.
12272 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
12274         * manual/llio.texi: Add comments discussing why write() may be
12275         considered MT-unsafe on Linux.
12277 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
12279         * dl-load.c (local_strdup): Remove.
12280         (expand_dynamic_string_token): Use __strdup.
12281         (decompose_rpath): Likewise.
12282         (_dl_map_object): Likewise.
12284 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
12286         [BZ #14132]
12287         * sysdeps/generic/unwind-dw2-fde.c
12288         (__register_frame_info_bases_internal): Do not declare.
12289         (__register_frame_info_table_bases_internal): Likewise.
12290         (__deregister_frame_info_bases_internal): Likewise.
12291         (__register_frame_info_bases): Declare and use hidden_proto before
12292         definition.  Use hidden_def instead of INTDEF.
12293         (__register_frame_info_table_bases): Likewise.
12294         (__deregister_frame_info_bases): Likewise.
12295         (__register_frame_info): Do not use INTUSE.
12296         (__register_frame): Likewise.
12297         (__register_frame_info_table): Likewise.
12298         (__register_frame_table): Likewise.
12299         (__deregister_frame_info): Likewise.
12300         (__deregister_frame): Likewise.
12302 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
12304         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12305         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
12306         not undefine.
12307         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
12308         Likewise.
12309         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
12310         Likewise.
12312 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
12314         [BZ #14138]
12315         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
12316         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
12317         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
12318         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
12319         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
12320         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
12321         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
12322         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
12323         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
12324         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
12325         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
12326         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
12327         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
12328         syscall.
12329         (setfsuid): Likewise.
12330         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
12331         (setfsuid): Likewise.
12332         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
12333         (setfsuid): Likewise.
12334         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
12335         Likewise.
12336         (setfsuid): Likewise.
12337         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
12338         (setfsuid): Likewise.
12339         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
12340         Likewise.
12341         (setfsuid): Likewise.
12343 2014-10-27  Andreas Schwab  <schwab@suse.de>
12345         [BZ #17501]
12346         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
12347         check for Slow_SSE4_2 feature bit.
12348         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
12349         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12350         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
12351         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
12353 2014-10-24  Roland McGrath  <roland@hack.frob.com>
12355         * configure.ac: Validate compiler version with a empirical test of
12356         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
12357         $CC -v output.
12358         * configure: Regenerated.
12360         * inet/htons.c (htons): Prototypify.
12361         * inet/htonl.c (htonl): Likewise.
12363 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12365         * string/strncat.c (strncat): Improve performance by using strlen.
12367 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12369         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
12371 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12373         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
12374         Call libc_fetestexcept_aarch64.
12376 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12378         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
12379         Call libc_feholdexcept_aarch64.
12381 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12383         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
12384         Call get_rounding_mode.
12386 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12388         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
12389         Simplify logic.
12391 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12393         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
12394         Simplify logic.
12396 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
12398         [BZ #14138]
12399         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
12400         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
12401         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
12402         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
12403         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
12404         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
12405         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
12406         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
12407         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
12408         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
12409         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12410         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
12411         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
12412         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
12413         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
12414         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
12415         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
12416         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
12417         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
12418         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
12419         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
12420         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
12421         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
12422         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
12423         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
12424         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
12425         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
12426         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
12427         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
12428         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
12429         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
12430         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
12431         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
12432         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
12433         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
12434         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
12435         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
12436         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
12437         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
12438         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
12439         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
12440         syscall.
12441         (geteuid): Likewise.
12442         (getgid): Likewise.
12443         (getuid): Likewise.
12444         (getresgid): Likewise.
12445         (getresuid): Likewise.
12446         (getgroups): Likewise.
12447         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
12448         (geteuid): Likewise.
12449         (getgid): Likewise.
12450         (getuid): Likewise.
12451         (getresgid): Likewise.
12452         (getresuid): Likewise.
12453         (getgroups): Likewise.
12454         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
12455         (geteuid): Likewise.
12456         (getgid): Likewise.
12457         (getuid): Likewise.
12458         (getresgid): Likewise.
12459         (getresuid): Likewise.
12460         (getgroups): Likewise.
12461         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
12462         Likewise.
12463         (geteuid): Likewise.
12464         (getgid): Likewise.
12465         (getuid): Likewise.
12466         (getresgid): Likewise.
12467         (getresuid): Likewise.
12468         (getgroups): Likewise.
12469         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
12470         (geteuid): Likewise.
12471         (getgid): Likewise.
12472         (getuid): Likewise.
12473         (getresgid): Likewise.
12474         (getresuid): Likewise.
12475         (getgroups): Likewise.
12476         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
12477         Likewise.
12478         (geteuid): Likewise.
12479         (getgid): Likewise.
12480         (getuid): Likewise.
12481         (getgroups): Likewise.
12483         [BZ #14138]
12484         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
12485         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
12486         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
12487         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12488         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
12489         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
12490         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
12491         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
12492         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
12493         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
12494         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
12495         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
12496         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
12497         __chown.
12498         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
12499         (lchown): Likewise.
12500         (fchown): Likewise.
12501         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
12502         Likewise.
12503         (lchown): Likewise.
12504         (fchown): Likewise.
12505         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
12506         (lchown): Likewise.
12507         (fchown): Likewise.
12508         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
12509         Likewise.
12510         (lchown): Likewise.
12511         (fchown): Likewise.
12513 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12515         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
12516         Simplify logic.
12518 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12520         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
12521         Cleanup logic.
12523 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12525         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
12526         Remove unused include.
12528 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12530         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
12531         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
12532         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
12533         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
12535 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
12536             Helge Deller <deller@gmx.de>
12538         [BZ #17508]
12539         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
12540         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
12541         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
12543 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
12545         [BZ #14132]
12546         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
12547         Remove macro definition.
12548         (__ashrdi3_v_glibc20): Likewise.
12549         (__lshrdi3_v_glibc20): Likewise.
12550         (__cmpdi2_v_glibc20): Likewise.
12551         (__ucmpdi2_v_glibc20): Likewise.
12552         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
12553         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12554         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12555         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12556         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12557         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
12559 2014-10-22  Roland McGrath  <roland@hack.frob.com>
12561         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
12562         old GNU extension [0] syntax.
12563         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
12564         alloca rather than an array member with variable length.
12565         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
12566         * nscd/nscd.c (invalidate_db): New function, broken out of ...
12567         (parse_opt): ... here.  Likewise use alloca there.
12568         Validate the -i argument before checking for rootness.
12569         (send_shutdown): New function, broken out of ...
12570         (parse_opt): ... here.
12572 2014-10-22  Roland McGrath  <roland@hack.frob.com>
12574         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
12575         macro to get at the _rt_local_ro field.
12576         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
12577         ([PIC] case) or _dl_hwcap ([!PIC] case).
12578         * sysdeps/arm/setjmp.S: Likewise.
12580         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
12581         * sysdeps/arm/configure.ac: New check to define it.
12582         * sysdeps/arm/configure: Regenerated.
12583         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
12584         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
12585         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
12586         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
12587         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
12588         Use move/movt pair instead of a load.
12589         (LDST_GLOBAL): Macro removed.
12590         (LDR_GLOBAL): New macro replaces it.
12591         (LDR_HIDDEN): New macro.
12592         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
12593         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
12595         * setjmp/tst-setjmp-static.c: New file.
12596         * setjmp/Makefile (tests): Add it.
12597         (tests-static): New variable.
12599 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
12601         [BZ #17485]
12602         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
12604 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
12606         [BZ #14132]
12607         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
12609 2014-10-21  Roland McGrath  <roland@hack.frob.com>
12611         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
12613 2014-10-20  Roland McGrath  <roland@hack.frob.com>
12615         * io/fts.c (dirent_not_directory): New function.
12616         (fts_build): Call it.
12618 2014-10-20  Roland McGrath  <roland@hack.frob.com>
12620         * nptl/version.c (__nptl_main): Use normal __write rather than
12621         INTERNAL_SYSCALL.
12622         (banner): Update copyright years.
12624         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
12625         gettimeofday.
12626         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
12627         * nptl/pthread_cond_timedwait.c: Likewise.
12628         * nptl/pthread_mutex_timedlock.c: Likewise.
12629         * nptl/sem_timedwait.c: Likewise.
12631         * sysdeps/nptl/bits/libc-lock.h
12632         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12633         (__libc_lock_init_recursive): Return void, not 0.
12634         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
12635         (__libc_rwlock_init): Likewise.
12636         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
12638 2014-10-20  Torvald Riegel  <triegel@redhat.com>
12640         [BZ #15215]
12641         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
12642         (__pthread_once_slow): ... here.
12643         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
12644         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
12646 2014-10-20  Torvald Riegel  <triegel@redhat.com>
12648         [BZ #15215]
12649         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
12650         __PTHREAD_ONCE_FORK_GEN_INCR): New.
12651         * sysdeps/nptl/fork.c (__libc_fork): Use them.
12652         * nptl/pthread_once.c (__pthread_once): Likewise.
12653         Update comments.
12655 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
12657         [BZ #14138]
12658         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
12659         name.
12660         (writev): Use __libc_writev as strong name.
12661         * sysdeps/unix/sysv/linux/readv.c: Remove file.
12662         * sysdeps/unix/sysv/linux/writev.c: Likewise.
12664 2014-10-17  Roland McGrath  <roland@hack.frob.com>
12666         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
12668         * sysdeps/i386/nptl/tls.h
12669         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
12670         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
12671         New macros.
12672         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
12673         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
12674         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
12675         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
12676         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
12677         Call CHECK_THREAD_SYSINFO instead of doing an assert.
12679         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12680         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
12681         on [__NR_futex].
12682         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
12683         broken out of ...
12684         (__pthread_mutex_init): ... here.  Call it.
12685         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
12686         Conditionalize PI cases on [__NR_futex].
12687         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
12688         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
12689         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12691         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
12692         conditional on [SIGSETXID].
12693         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
12694         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
12695         is defined.  Likewise for SIGSETXID.
12696         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
12697         Conditionalize definitions on [SIGSETXID].
12698         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
12699         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
12700         unblocking on [SIGCANCEL].
12702         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
12703         [__NR_set_robust_list].
12705 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12707         * string/strcoll_l.c (get_next_seq): Fix up formatting.
12708         (do_compare): Likewise.
12710 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
12712         [BZ #15884]
12713         * string/strcoll_l.c: Don't include stdio.h.
12714         (coll_seq): Remove members idxarr and rulearr.
12715         (get_next_seq_cached): Remove function.
12716         (get_next_seq): Likewise.
12717         (get_next_seq_nocache): Rename to get_next_seq.
12718         (do_compare): Remove function.
12719         (do_compare_nocache): Rename to do_compare.
12720         (STRCOLL): Remove weight and rules cache.
12722 2014-10-16  Roland McGrath  <roland@hack.frob.com>
12724         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
12725         * sysdeps/arm/sfp-machine.h: ... to here.
12726         * sysdeps/arm/Implies: Remove arm/soft-fp.
12728 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
12730         * conform/data/sys/utsname.h-data (*_t): Allow.
12731         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
12732         [POSIX] (WEXITED): Do not expect constant.
12733         [POSIX] (WSTOPPED): Likewise.
12734         [POSIX] (WNOHANG): Likewise.
12735         [POSIX] (WNOWAIT): Likewise.
12736         [POSIX] (siginfo_t): Do not expect type or elements.
12737         [POSIX] (pid_t): Do not expect type.
12738         [POSIX] (signal.h): Do not allow header.
12739         [POSIX] (sys/resource.h): Likewise.
12740         [POSIX] (si_*): Do not allow pattern.
12741         [POSIX] (W*): Likewise.
12742         [POSIX] (P_*): Likewise.
12743         [POSIX] (BUS_*): Likewise.
12744         [POSIX] (CLD_*): Likewise.
12745         [POSIX] (FPE_*): Likewise.
12746         [POSIX] (ILL_*): Likewise.
12747         [POSIX] (POLL_*): Likewise.
12748         [POSIX] (SEGV_*): Likewise.
12749         [POSIX] (SI_*): Likewise.
12750         [POSIX] (TRAP_*): Likewise.
12751         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
12752         variable.
12754 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
12756         [BZ #12926]
12757         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
12758         infinite loop when __recvmsg returns 0.
12760 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
12762         * CANCEL-FCT-WAIVE: Remove file.
12763         * CANCEL-FILE-WAIVE: Likewise.
12765         [BZ #14132]
12766         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
12767         instead of INTVARDEF.
12768         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12769         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
12770         rtld_hidden_data_def instead of INTVARDEF.
12771         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12772         * elf/dl-deps.c (expand_dst): Likewise.
12773         * elf/dl-load.c (_dl_dst_count): Likewise.
12774         (_dl_dst_substitute): Likewise.
12775         (decompose_rpath): Likewise.
12776         (_dl_init_paths): Likewise.
12777         (open_path): Likewise.
12778         (_dl_map_object): Likewise.
12779         * elf/rtld.c (dl_main): Likewise.
12780         (process_dl_audit): Likewise.
12781         (process_envvars): Likewise.
12782         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
12783         Remove declaration.
12784         (__libc_enable_secure): Use rtld_hidden_proto.
12786 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12788         * elf/dl-load.c
12789         (add_path): New function broken out of _dl_rtld_di_serinfo.
12790         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
12792 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
12794         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
12795         parentheses around macro arguments.
12796         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
12797         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
12798         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
12799         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
12800         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
12801         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
12802         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12803         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
12804         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
12805         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
12806         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
12807         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
12808         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
12809         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
12810         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
12811         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
12812         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
12813         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
12814         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
12815         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
12816         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
12817         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
12818         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
12819         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
12820         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12821         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
12822         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
12823         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
12824         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
12825         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
12826         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
12827         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
12828         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
12829         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
12830         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
12831         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
12832         Likewise.
12833         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
12834         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
12835         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
12836         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
12837         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
12838         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
12839         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
12840         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
12841         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
12842         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
12843         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
12844         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
12845         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
12846         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
12847         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
12848         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
12849         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
12850         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
12851         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
12852         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
12853         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
12854         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
12855         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
12856         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
12857         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
12858         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
12859         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
12860         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
12861         (_FP_FRAC_SRS_1): Likewise.
12862         (_FP_FRAC_CLZ_1): Likewise.
12863         (_FP_MUL_MEAT_1_imm): Likewise.
12864         (_FP_MUL_MEAT_1_wide): Likewise.
12865         (_FP_MUL_MEAT_1_hard): Likewise.
12866         (_FP_SQRT_MEAT_1): Likewise.
12867         (_FP_FRAC_ASSEMBLE_1): Likewise.
12868         (_FP_FRAC_DISASSEMBLE_1): Likewise.
12869         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
12870         (__FP_CLZ_2): Likewise.
12871         (_FP_MUL_MEAT_2_wide): Likewise.
12872         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
12873         (_FP_MUL_MEAT_2_gmp): Likewise.
12874         (_FP_MUL_MEAT_2_120_240_double): Likewise.
12875         (_FP_SQRT_MEAT_2): Likewise.
12876         (_FP_FRAC_ASSEMBLE_2): Likewise.
12877         (_FP_FRAC_DISASSEMBLE_2): Likewise.
12878         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
12879         (_FP_FRAC_CLZ_4): Likewise.
12880         (_FP_MUL_MEAT_4_wide): Likewise.
12881         (_FP_MUL_MEAT_4_gmp): Likewise.
12882         (_FP_SQRT_MEAT_4): Likewise.
12883         (_FP_FRAC_ASSEMBLE_4): Likewise.
12884         (_FP_FRAC_DISASSEMBLE_4): Likewise.
12885         * soft-fp/op-common.h (_FP_CMP): Likewise.
12886         (_FP_CMP_EQ): Likewise.
12887         (_FP_CMP_UNORD): Likewise.
12888         (_FP_TO_INT): Likewise.
12889         (_FP_FROM_INT): Likewise.
12890         [!__FP_CLZ] (__FP_CLZ): Likewise.
12891         (_FP_DIV_HELP_imm): Likewise.
12892         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
12893         Likewise.
12894         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
12895         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
12896         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
12897         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
12898         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
12899         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
12900         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
12901         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
12902         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
12903         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
12904         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
12905         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
12906         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
12907         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
12908         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
12909         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
12910         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
12911         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
12912         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
12913         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
12914         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
12915         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
12916         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
12917         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
12918         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
12919         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
12920         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
12921         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
12922         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
12923         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
12924         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
12925         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
12926         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
12927         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
12928         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
12929         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
12930         (FP_UNPACK_RAW_SP): Likewise.
12931         (FP_PACK_RAW_S): Likewise.
12932         (FP_PACK_RAW_SP): Likewise.
12933         (FP_UNPACK_S): Likewise.
12934         (FP_UNPACK_SP): Likewise.
12935         (FP_UNPACK_SEMIRAW_S): Likewise.
12936         (FP_UNPACK_SEMIRAW_SP): Likewise.
12937         (FP_PACK_S): Likewise.
12938         (FP_PACK_SP): Likewise.
12939         (FP_PACK_SEMIRAW_S): Likewise.
12940         (FP_PACK_SEMIRAW_SP): Likewise.
12941         (_FP_SQRT_MEAT_S): Likewise.
12942         (FP_CMP_S): Likewise.
12943         (FP_CMP_EQ_S): Likewise.
12944         (FP_CMP_UNORD_S): Likewise.
12945         (FP_TO_INT_S): Likewise.
12946         (FP_FROM_INT_S): Likewise.
12948         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
12950         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
12951         (FP_EX_INVALID_IMZ): Likewise.
12952         (FP_EX_INVALID_IMZ_FMA): Likewise.
12953         (FP_EX_INVALID_ISI): Likewise.
12954         (FP_EX_INVALID_ZDZ): Likewise.
12955         (FP_EX_INVALID_IDI): Likewise.
12956         (FP_EX_INVALID_SQRT): Likewise.
12957         (FP_EX_INVALID_CVI): Likewise.
12958         (FP_EX_INVALID_VC): Likewise.
12959         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
12960         "invalid" exceptions.
12961         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
12962         (_FP_ADD_INTERNAL): Likewise.
12963         (_FP_MUL): Likewise.
12964         (_FP_FMA): Likewise.
12965         (_FP_DIV): Likewise.
12966         (_FP_CMP_CHECK_NAN): Likewise.
12967         (_FP_SQRT): Likewise.
12968         (_FP_TO_INT): Likewise.
12969         (FP_EXTEND): Likewise.
12971 2014-10-09  Allan McRae  <allan@archlinux.org>
12973         * po/fr.po: Update French translation from translation project.
12975 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
12977         [BZ #14132]
12978         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
12979         of INTDEF.
12980         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
12981         (__cxa_atexit): Use libc_hidden_proto.
12982         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
12984         [BZ #14132]
12985         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
12986         declaration.
12987         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
12988         [!_ISOMAC] (__iswspace_l_internal): Likewise.
12989         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
12990         [!_ISOMAC] (__iswctype_internal): Likewise.
12991         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
12992         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
12993         alias.
12994         (fcntl): Remove __fcntl_internal alias.
12995         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
12996         __connect_internal alias.
12997         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
12998         Likewise.
13000         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
13001         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
13002         FP_DENORM_ZERO.
13003         (_FP_CHECK_FLUSH_ZERO): New macro.
13004         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
13005         (_FP_CMP): Likewise.
13006         (_FP_CMP_EQ): Likewise.
13007         (_FP_TO_INT): Do not set inexact for subnormal arguments if
13008         FP_DENORM_ZERO.
13009         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
13010         (FP_TRUNC): Likewise.
13012         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
13013         treated as invalid conversion, not as normal exponent.
13015         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
13016         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
13017         (_FP_CMP_EQ): Likewise.
13018         (_FP_CMP_UNORD): Likewise.
13019         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
13020         (FP_CMP_EQ_D): Likewise.
13021         (FP_CMP_UNORD_D): Likewise.
13022         * soft-fp/extended.h (FP_CMP_E): Likewise.
13023         (FP_CMP_EQ_E): Likewise.
13024         (FP_CMP_UNORD_E): Likewise.
13025         * soft-fp/quad.h (FP_CMP_Q): Likewise.
13026         (FP_CMP_EQ_Q): Likewise.
13027         (FP_CMP_UNORD_Q): Likewise.
13028         * soft-fp/single.h (FP_CMP_S): Likewise.
13029         (FP_CMP_EQ_S): Likewise.
13030         (FP_CMP_UNORD_S): Likewise.
13031         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
13032         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
13033         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
13034         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
13035         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
13036         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
13037         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
13038         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
13039         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
13040         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
13041         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
13042         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
13043         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
13044         to FP_CMP_Q.
13045         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
13046         FP_CMP_Q.
13047         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
13048         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
13049         FP_CMP_EQ_Q.
13050         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
13051         FP_CMP_Q.
13052         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
13053         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
13054         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
13055         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
13056         FP_CMP_EQ_Q.
13057         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
13058         FP_CMP_Q.
13059         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
13060         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
13061         FP_CMP_EQ_Q.
13062         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
13063         FP_CMP_Q.
13064         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
13065         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
13066         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
13067         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
13068         FP_CMP_EQ_Q.
13070         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
13071         a subnormal result, set the underflow exception if trapping on
13072         underflow is enabled.
13073         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
13074         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
13075         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
13076         redefine to 0.
13077         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
13078         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13079         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13080         * soft-fp/extendxftf2.c (__extendxftf2): Use
13081         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
13083         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
13084         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
13085         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13086         FP_HANDLE_EXCEPTIONS.
13087         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
13088         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13089         FP_HANDLE_EXCEPTIONS.
13090         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
13091         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13092         FP_HANDLE_EXCEPTIONS.
13093         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
13094         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13095         FP_HANDLE_EXCEPTIONS.
13097 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
13099         [BZ #14132]
13100         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
13101         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
13102         use INTUSE.
13103         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
13104         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
13105         Remove alias.
13106         (__adjtimex): Define using libc_hidden_ver.
13107         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
13108         Remove declaration.
13109         (ntp_gettime): Call __adjtimex directly.
13110         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
13111         Remove declaration.
13112         (ntp_gettimex): Call __adjtimex directly.
13113         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
13114         __adjtimex_internal alias.
13116 2014-10-08  Roland McGrath  <roland@hack.frob.com>
13118         [BZ #17460]
13119         * nscd/nscd.c (more_help): Rewrite list of tables collection
13120         using xstrdup and asprintf.
13122         * nscd/nscd_conf.c: Remove local xstrdup declaration.
13124 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13125             Roland McGrath  <roland@hack.frob.com>
13127         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
13128         (do_lookup_unique): ... local function 'enter' here; update callers.
13130 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
13132         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
13133         compat_symbol calls on [SHARED].
13134         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
13135         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
13136         Remove.
13137         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13138         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
13139         (oldsetrlimit): Remove.
13140         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13142         (lchown): New syscall entry.
13143         (oldsetrlimit): Remove.
13144         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13145         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
13146         (oldsetrlimit): Remove.
13147         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13149         [BZ #14138]
13150         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
13151         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
13152         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
13153         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
13154         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
13155         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
13156         (fchown): Likewise.
13157         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
13158         (fchown): Likewise.
13159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
13160         Likewise.
13162 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13164         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
13165         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
13166         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
13167         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
13168         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
13169         Likewise.
13170         (__old_sem_post): Likewise.
13172 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
13174         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
13175         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
13176         HAVE_CLOCK_GETTIME_VSYSCALL macros.
13177         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
13178         Use INLINE_VSYSCALL macro.
13179         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
13180         __vdso_clock_gettime.
13181         * sysdeps/unix/sysv/linux/tile/init-first.c
13182         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
13183         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
13184         __vdso_clock_gettime.
13186         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
13187         to set up frame more cleanly.
13189         * sysdeps/tile/memcmp.c: New file.
13191         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
13193         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
13194         * sysdeps/tile/tilegx/strcasestr.c: New file.
13195         * sysdeps/tile/tilegx/strnlen.c: New file.
13196         * sysdeps/tile/tilegx/strstr.c: New file.
13198         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
13200 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
13202         * nptl/tst-setuid3.c: Write errors to stdout.
13204 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13206         * elf/dl-deps.c
13207         (preload): New functions broken out of _dl_map_object_deps.
13208         (_dl_map_object_deps):  Remove a nested function. Update call sites.
13210 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
13212         [BZ #14138]
13213         * sysdeps/unix/sysv/linux/execve.c: Remove file.
13214         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
13216 2014-10-01  Steve Ellcey  <sellcey@mips.com>
13218         * sysdeps/mips/strcmp.S: New.
13220 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
13222         [BZ #14138]
13223         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
13224         (linkat): Likewise.
13225         (mkdirat): Likewise.
13226         (readlinkat): Likewise.
13227         (renameat): Likewise.
13228         (symlinkat): Likewise.
13229         (unlinkat): Likewise.
13230         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
13231         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
13232         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
13233         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
13234         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
13235         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
13236         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
13238 2014-09-30  Will Newton  <will.newton@linaro.org>
13240         * math/math.h: Define long double math functions if
13241         _LIBC_TEST is defined.
13242         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
13244         * localedata/Makefile: Move assignment to tests-special
13245         into an ifdef testing run-built-tests.
13246         * timezone/Makefile: Likewise.
13248 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
13250         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
13251         with $(BASH) not $(SHELL).
13253 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
13254             Matthew LeGendre  <legendre1@llnl.gov>
13256         [BZ #17411]
13257         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
13258         l_reloc_result.
13260 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13262         * stdio-common/printf_fp.c
13263         (hack_digit): New function, broken out of ...
13264         (__printf_fp): ... local function here.  Update call sites.
13265         hack_digit now takes an additional parameter that is a pointer
13266         to a struct of the referenced locals.  Those locals moved inside
13267         the struct and references updated.
13269 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
13271         * aclocal.m4: Require autoconf 2.69.
13272         * configure: Regenerated.
13273         * sysdeps/aarch64/configure: Likewise.
13274         * sysdeps/alpha/configure: Likewise.
13275         * sysdeps/arm/armv7/configure: Likewise.
13276         * sysdeps/arm/configure: Likewise.
13277         * sysdeps/ia64/configure: Likewise.
13278         * sysdeps/mach/configure: Likewise.
13279         * sysdeps/mips/configure: Likewise.
13280         * sysdeps/s390/configure: Likewise.
13281         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
13282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
13284         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
13285         file.
13286         * sysdeps/ia64/configure.ac: Likewise.
13288 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
13290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
13291         specify symbol version for ld.so.  Do not include entry for
13292         libpthread.
13293         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13294         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13295         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13297         [BZ #14171]
13298         * Makeconfig [$(build-shared) = yes]
13299         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
13300         makefiles.
13301         [$(build-shared) = yes && $(soversions.mk-done) = t]
13302         ($(common-objpfx)gnu/lib-names.h): Remove rule.
13303         [$(build-shared) = yes && $(soversions.mk-done) = t]
13304         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
13305         to Makerules.
13306         [$(build-shared) = yes && $(soversions.mk-done) = t]
13307         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
13308         here.
13309         [$(build-shared) = yes && $(soversions.mk-done) = t]
13310         (common-generated): Don't append gnu/lib-names.h and
13311         gnu/lib-names.stmp here.
13312         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
13313         (lib-names-h-abi): New variable.
13314         [$(build-shared) = yes && $(soversions.mk-done) = t]
13315         (lib-names-stmp-abi): Likewise.
13316         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13317         abi-variants] (before-compile): Append
13318         $(common-objpfx)$(lib-names-h-abi).
13319         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13320         abi-variants] (common-generated): Append gnu/lib-names.h.
13321         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13322         abi-variants] (install-others-nosubdir): Depend on
13323         $(inst_includedir)/$(lib-names-h-abi).
13324         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13325         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
13326         [$(build-shared) = yes && $(soversions.mk-done) = t]
13327         ($(common-objpfx)$(lib-names-h-abi)): New rule.
13328         [$(build-shared) = yes && $(soversions.mk-done) = t]
13329         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
13330         [$(build-shared) = yes && $(soversions.mk-done) = t]
13331         (common-generated): Append $(lib-names-h-abi) and
13332         $(lib-names-stmp-abi).
13333         * scripts/lib-names.awk: Do not handle multi being set.
13334         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
13335         Remove variable.
13336         (abi-lp64_be-ld-soname): Likewise.
13337         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
13338         Likewise.
13339         (abi-hard-ld-soname): Likewise.
13340         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
13341         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
13342         Remove variable.
13343         (abi-o32_hard-ld-soname): Likewise.
13344         (abi-o32_soft_2008-ld-soname): Likewise.
13345         (abi-o32_hard_2008-ld-soname): Likewise.
13346         (abi-n32_soft-ld-soname): Likewise.
13347         (abi-n32_hard-ld-soname): Likewise.
13348         (abi-n32_soft_2008-ld-soname): Likewise.
13349         (abi-n32_hard_2008-ld-soname): Likewise.
13350         (abi-n64_soft-ld-soname): Likewise.
13351         (abi-n64_hard-ld-soname): Likewise.
13352         (abi-n64_soft_2008-ld-soname): Likewise.
13353         (abi-n64_hard_2008-ld-soname): Likewise.
13354         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
13355         Likewise.
13356         (abi-64-v2-ld-soname): Likewise.
13357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
13358         ld.so entries.
13359         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
13360         variable.
13361         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
13362         entry.
13363         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
13364         variable.
13365         (abi-64-ld-soname): Likewise.
13366         (abi-x32-ld-soname): Likewise.
13367         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
13368         entry.
13369         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13371 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
13373         [BZ #14138]
13374         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
13375         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
13376         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
13377         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
13378         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
13379         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
13380         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
13381         syscall entry for GLIBC_2.2 symbol version.
13382         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
13383         Likewise.
13384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13385         (setrlimit): Likewise.
13386         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
13387         Likewise.
13389 2014-09-23  Will Newton  <will.newton@linaro.org>
13391         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
13392         _LINUX_ARM_SYSDEP_H include guard too.
13393         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
13394         define.
13396 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
13398         * sysdeps/unix/sysv/linux/eventfd.c:
13399         Make first argument unsigned.
13400         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
13401         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
13403 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
13405         * socket/recvmmsg.c (recvmmsg): Drop const argument.
13406         * socket/sys/socket.h: Likewise
13407         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
13409 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13411         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
13413 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
13415         * time/tst-ftime.c: New test.
13416         * time/Makefile (tests): Add tst-ftime.
13418 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
13420         * soft-fp/extended.h: Fix comment formatting.
13421         * soft-fp/op-1.h: Likewise.
13422         * soft-fp/op-2.h: Likewise.
13423         * soft-fp/op-4.h: Likewise.
13424         * soft-fp/op-8.h: Likewise.
13425         * soft-fp/op-common.h: Likewise.
13426         * soft-fp/soft-fp.h: Likewise.
13428         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
13430 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
13432         [BZ #6652]
13433         * Makeconfig (soversions-default-setname): Remove variable.
13434         ($(common-objpfx)soversions.i): Don't pass default_setname to
13435         soversions.awk.
13436         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
13437         oldest_abi to abi-versions.awk.
13438         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
13439         * config.make.in (oldest-abi): Remove variable.
13440         * configure.ac (--enable-oldest-abi): Remove configure option.
13441         * configure: Regenerated.
13442         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
13443         text.
13444         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
13445         * scripts/soversions.awk: Do not handle default_setname variable.
13446         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
13447         variable.
13448         * sysdeps/mach/hurd/configure: Regenerated.
13449         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
13450         variable.
13451         * sysdeps/unix/sysv/linux/configure: Regenerated.
13453 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13455         * elf/Makefile (CFLAGS-interp.c): Remove.
13456         ($(elf-objpfx)runtime-linker.h): Generate header with linker
13457         path string.
13458         * elf/interp.c: Include generated runtime-linker.h
13460         * Makerules (lib%.so): Don't include $(+interp) in
13461         prerequisites.
13462         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
13463         * dlfcn/eval.c: Remove file.
13465         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
13466         macros.
13468         [BZ #17266]
13469         * misc/sys/cdefs.h: Define __extern_always_inline for clang
13470         4.2 and newer.
13472         [BZ #17370]
13473         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
13475 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13476             Jakub Jelinek  <jakub@redhat.com>
13478         [BZ #17266]
13479         * libio/stdio.h: Check definition of __fortify_function
13480         instead of __extern_always_inline to include bits/stdio2.h.
13481         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
13482         check if __extern_always_inline is defined.
13483         [__USE_MISC || __USE_XOPEN]: Likewise.
13484         [__USE_ISOC99] Likewise.
13485         * misc/sys/cdefs.h (__fortify_function): Define only if
13486         __extern_always_inline is defined.
13487         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
13488         __extern_always_inline and __extern_inline only for g++-4.3
13489         and newer or a compatible gcc.
13491 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
13493         [BZ #17371]
13494         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
13495         last change to handle zero prefix length.
13497 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13499         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
13500         _SC_REGEX_VERSION.
13502         * posix/getconf.c (vars): Add _POSIX_IPV6 and
13503         _POSIX_RAW_SOCKETS.
13505 2014-09-13  Allan McRae  <allan@archlinux.org>
13507         * po/ru.po: Update Russian translation from translation project.
13509 2014-09-12  Roland McGrath  <roland@hack.frob.com>
13511         * locale/programs/locale.c (show_locale_vars): Inline local function
13512         into its sole call site.  Clean up some style nits.
13513         (print_item): New function, broken out of ...
13514         (show_info): ... local function here.  Clean up style nits.
13516         * locale/programs/ld-ctype.c (set_one_default): New function, broken
13517         out of ...
13518         (set_class_defaults): ... local function set_default here.
13519         Define set_default as a macro locally to pass constant parameters.
13520         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
13521         rather than a shared local.
13523         * stdlib/rpmatch.c (try): New function, broken out of ...
13524         (rpmatch): ... local function here.  Also, prototypify definition.
13526 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
13528         * scripts/soversions.awk: Do not handle configuration names.
13529         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
13530         vendor and os variables to soversions.awk.
13531         * configure.ac: Do not modify gnu-* host_os.
13532         * configure: Regenerated
13533         * shlib-versions: Remove first column with configuration names.
13534         * nptl/shlib-versions: Likewise.
13535         * nptl_db/shlib-versions: Likewise.
13536         * sysdeps/hppa/shlib-versions: Likewise.
13537         * sysdeps/m68k/shlib-versions: Likewise.
13538         * sysdeps/mach/hurd/shlib-versions: Likewise.
13539         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
13540         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
13541         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
13542         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
13543         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
13544         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
13545         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
13546         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
13547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
13548         Likewise.
13549         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13550         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
13551         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
13552         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
13553         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
13554         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
13555         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13556         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13559         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
13560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13561         Regenerated.
13562         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
13563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
13564         Condition symbol version definitions on [HAVE_ELFV2_ABI].
13566         * shlib-versions: Remove OS-specific entries.  Moved to files in
13567         sysdeps.
13568         * sysdeps/mach/hurd/shlib-versions: New file.
13569         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
13571         * nptl/shlib-versions: Remove architecture-specific entries.
13572         Moved to files in sysdeps.
13573         * shlib-versions: Likewise.
13574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
13575         file.
13576         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13577         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
13578         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
13579         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
13581         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
13582         (UDP_NO_CHECK6_RX): Likewise.
13584 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13586         * sysdeps/posix/sysconf.c (__sysconf): Spell
13587         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
13589 2014-08-12  Florian Weimer  <fweimer@redhat.com>
13591         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
13592         loading.
13593         * iconv/Versions (__gconv_transliterate): Export for use from
13594         gconv modules.
13595         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
13596         (struct __gconv_trans_data, __gconv_trans_fct,
13597         __gconv_trans_context_fct, __gconv_trans_query_fct,
13598         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
13599         definitions.
13600         (struct __gconv_step_data): Remove __trans member.
13601         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
13602         longer hidden.  Remove unused trans_data argument.
13603         * iconv/gconv_int.h (struct trans_struct): Remove definition.
13604         (__gconv_translit_find): Remove declaration.
13605         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
13606         prototype.
13607         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
13608         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
13609         trans_data argument.  Add hidden definition.
13610         (__gconv_translit_find): Remove.
13611         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
13612         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
13613         * iconv/skeleton.c: Remove transliteration initialization.
13614         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
13615         __gconv_step_data initialization.
13616         * libio/iofwide.c (__libio_translit_): Remove.
13617         (_IO_fwide): Adjust struct __gconv_step_data initialization.
13618         * wcsmbs/btowc.c (__btowc): Likewise.
13619         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13620         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13621         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
13622         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
13623         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
13624         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
13625         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
13626         * wcsmbs/wctob.c (wctob): Likewise.
13628 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13630         [BZ #16194]
13631         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
13632         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
13633         register usage.
13634         * sysdeps/x86/Makefile: Adjust.
13636 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13637             Roland McGrath  <roland@hack.frob.com>
13639         * locale/weight.h: Add include guard.
13640         (findidx): Make static rather than auto; take new parameters
13641         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
13642         * locale/weightwc.h: Likewise.
13643         * posix/fnmatch_loop.c
13644         (FCT): Change type of EXTRA from int32_t to wint_t.
13645         Don't include either header inside the function.
13646         Call FINDIDX rather than findidx, and pass new arguments.
13647         #undef FINDIDX at the end of the file.
13648         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
13649         FINDIDX before including fnmatch_loop.c for the non-wide version.
13650         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
13651         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
13652         for the wide version.
13653         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
13654         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
13655         Pass new arguments to findidx.
13656         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
13657         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
13658         Don't #include it inside the function.  Pass new arguments to findidx.
13659         * posix/regex_internal.h
13660         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
13661         (re_string_elem_size_at): Don't #include it inside the function.
13662         Pass new arguments to findidx.
13663         * string/strcoll_l.c: #include WEIGHT_H at top level.
13664         (get_next_seq): Don't #include it inside the function.
13665         Pass new arguments to findidx.
13666         (get_next_seq_nocache): Likewise.
13667         * string/strxfrm_l.c: #include WEIGHT_H at top level.
13668         (STRXFRM): Don't #include it inside the function.
13669         Pass new arguments to findidx.
13671 2014-09-11  Florian Weimer  <fweimer@redhat.com>
13673         [BZ #17344]
13674         * malloc/malloc.c (unlink): Turn asserts into a call to
13675         malloc_printerr.
13677 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
13679         [BZ #17370]
13680         * libio/wfileops (do_ftell_wide): Free OUT.
13682 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
13684         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
13686 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13688         [BZ #17363]
13689         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
13690         group if the current group is empty.
13692 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13694         * benchtests/bench-memset.c (test_main): Add more test from size
13695         from 32 to 512 bytes.
13696         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13697         Add POWER8 memset object.
13698         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13699         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
13700         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
13701         implementation.
13702         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
13703         Likewise.
13704         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
13705         multiarch POWER8 memset optimization.
13706         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
13707         POWER8 memset optimization.
13709         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13710         Remove bzero multiarch objects.
13711         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
13712         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
13713         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
13714         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
13715         Remove define.
13716         [__bzero]: Redefine to specific name.
13717         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
13718         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
13719         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
13720         define.
13721         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13722         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13724 2014-09-10  Florian Weimer  <fweimer@redhat.com>
13726         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
13727         warnings into errors.
13729         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
13730         __cxa_thread_atexit_impl prototype.
13732 2014-09-09  Steve Ellcey  <sellcey@mips.com>
13734         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
13735         Fix capitalization of error message.
13737 2014-09-09  Steve Ellcey  <sellcey@mips.com>
13739         * sysdeps/mips/preconfigure: Modify ABI tests.
13741 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
13743         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
13745 2014-09-07  Roland McGrath  <roland@hack.frob.com>
13746             Carlos O'Donell  <carlos@systemhalted.org>
13748         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
13749         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
13750         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
13751         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
13752         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
13753         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
13754         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
13755         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
13756         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
13757         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
13758         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
13759         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
13760         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
13761         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
13762         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
13763         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
13764         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
13765         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
13766         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
13767         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
13768         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
13769         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
13770         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
13771         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
13772         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
13773         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
13774         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
13775         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
13776         Deconditionalize the code that was previously under [RESET_PID].
13777         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
13778         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
13779         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
13780         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
13781         include sysdep.h.
13783 2014-09-08  Allan McRae  <allan@archlinux.org>
13785         * version.h (RELEASE): Set to "development".
13786         (VERSION): Set to "2.20.90"
13788 2014-09-07  Allan McRae  <allan@archlinux.org
13790         * version.h (RELEASE): Set to "stable".
13791         (VERSION): Set to "2.20"
13792         * include/features.h (__GLIBC_MINOR__): Set to 20.
13794         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
13795         Liebler.
13797         * po/ko.po: Update Korean translation from translation project.
13799 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
13801         [BZ #17354]
13802         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
13803         macro for handling signed relocations.
13805 2014-09-03  Florian Weimer  <fweimer@redhat.com>
13807         [BZ #17325]
13808         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
13809         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
13810         assert.
13811         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
13812         * iconvdata/ibm935.c (BODY): Likewise.
13813         * iconvdata/ibm937.c (BODY): Likewise.
13814         * iconvdata/ibm939.c (BODY): Likewise.
13815         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
13816         assert.
13817         * iconvdata/Makefile (iconv-test.out): Pass module list to test
13818         script.
13819         * iconvdata/run-iconv-test.sh: New test loop for checking for
13820         decoder crashers.
13822 2014-09-02  Khem Raj  <raj.khem@gmail.com>
13824         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
13825         libm_hidden_ver.
13827 2014-09-01  Allan McRae  <allan@archlinux.org>
13829         * po/eo.po: Update Esperanto translation from translation project.
13831         * po/ca.po: Update Catalan translation from translation project.
13833 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13835         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
13836         __proc_dostop call.
13838 2014-08-27  Mark Wielaard  <mjw@redhat.com>
13840         [BZ #17319]
13841         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
13842         to call set_thread_area instead of hand written asm.
13843         (__NR_set_thread_area): Removed define.
13844         (TLS_FLAG_WRITABLE): Likewise.
13845         (__ASSUME_SET_THREAD_AREA): Remove check.
13846         (TLS_EBX_ARG): Remove define.
13847         (TLS_LOAD_EBX): Likewise.
13849 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13851         Simplify atomicity of socket creation in bind.
13853         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
13854         looking up the name after linking the file.
13856 2014-08-27  Allan McRae  <allan@archlinux.org>
13858         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13860 2014-08-26  Florian Weimer  <fweimer@redhat.com>
13862         [BZ #17187]
13863         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
13864         trans_compare, open_translit, __gconv_translit_find):
13865         Remove module loading code.
13867 2014-08-26  Allan McRae  <allan@archlinux.org>
13869         * po/vi.po: Update Vietnamese translation from translation project.
13871         * po/uk.po: Update Ukrainian translation from translation project.
13873         * po/fr.po: Update French translation from translation project.
13875         * po/ru.po: Update Russian translation from translation project.
13877         * po/pl.po: Update Polish translation from translation project.
13879         * po/cs.po: Update Czech translation from translation project.
13881         * po/de.po: Update German translation from translation project.
13883         * po/bg.po: Update Bulgarian translation from translation project.
13885         * po/sv.po: Update Sweedish translation from translation project.
13887         * po/nl.po: Update Dutch translation from translation project.
13889         * po/es.po: Update Spanish translation from translation project.
13891 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13893         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
13895         * catgets/Makefile (CPPFLAGS-gencat): Remove.
13896         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
13897         (CPPFLAGS-iconvconfig): Likewise.
13898         * timezone/Makefile (CPPFLAGS-zic): Likewise.
13900         * include/libc-symbols.h: Remove unnecessary check for
13901         NOT_IN_libc.
13902         * nptl/pthreadP.h: Likewise.
13903         * sysdeps/aarch64/setjmp.S: Likewise.
13904         * sysdeps/alpha/setjmp.S: Likewise.
13905         * sysdeps/arm/sysdep.h: Likewise.
13906         * sysdeps/i386/setjmp.S: Likewise.
13907         * sysdeps/m68k/setjmp.c: Likewise.
13908         * sysdeps/posix/getcwd.c: Likewise.
13909         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13910         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
13911         * sysdeps/s390/s390-32/setjmp.S: Likewise.
13912         * sysdeps/s390/s390-64/setjmp.S: Likewise.
13913         * sysdeps/sh/sh3/setjmp.S: Likewise.
13914         * sysdeps/sh/sh4/setjmp.S: Likewise.
13915         * sysdeps/unix/alpha/sysdep.h: Likewise.
13916         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13917         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13918         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
13919         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13922         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13923         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13924         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13925         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13926         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13927         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13928         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13929         * sysdeps/x86_64/setjmp.S: Likewise.
13931 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
13933         [BZ #17263]
13934         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
13935         <stdint.h>.
13936         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
13937         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
13939 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13941         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
13943         [BZ #17262]
13944         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
13945         and __x86_64__ when disabling x87 inline functions.
13947 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
13949         [BZ #17259]
13950         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
13951         asm statement with __cpuid_count.
13953 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
13955         * configure.ac: Change __ehdr_start code to dereference the struct.
13956         Run readelf on the output to look for relocations.
13957         * configure: Regenerated.
13959 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
13961         [BZ #17261]
13962         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
13963         value to 0.
13964         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
13966 2014-08-12  Roland McGrath  <roland@hack.frob.com>
13968         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
13970 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
13972         [BZ #16892]
13973         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
13974         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
13976 2014-08-12  Sean Anderson  <seanga2@gmail.com>
13978         * malloc/malloc.c: Fix typo in comment.
13980 2014-08-09  Allan McRae  <allan@archlinux.org>
13982         * Regenerate libc.po.
13984 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
13986         * intl/tst-gettext2.sh: Check every lang file for creation.
13988 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
13990         * sysdeps/aarch64/fpu/math_private.h
13991         (libc_feholdsetround_noex_aarch64_ctx): New function.
13993 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
13995         * sysdeps/arm/armv6/strcpy.S (strcpy):
13996         Fix performance issue in misaligned cases.
13998 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14000         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
14001         Move definition from termios.h.
14002         (struct termio): Likewise.
14003         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14004         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14005         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14006         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14007         Likewise.
14008         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
14009         Move definition to ioctl-types.h
14010         (struct termio): Likewise.
14011         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14012         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14013         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14014         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14015         Likewise.
14017 2014-08-05  Richard Henderson  <rth@redhat.com>
14019         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
14020         exceptions.
14021         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
14022         Add fraiseexcpt.
14023         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
14024         Use __feraiseexcept.
14025         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
14026         Protect libm symbols with IS_IN_libm.
14028         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
14030 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
14032         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
14034 2014-08-04  Will Newton  <will.newton@linaro.org>
14036         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
14037         file.
14039 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
14041         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
14042         variants for each function.
14044 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14046         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
14047         appended ...
14048         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
14049         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
14050         appended ...
14051         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
14052         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
14053         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
14054         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
14055         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
14056         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
14057         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
14058         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
14059         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
14060         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
14061         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
14062         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
14063         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
14064         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
14065         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
14066         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
14067         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
14068         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
14069         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
14070         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
14071         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
14072         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
14073         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
14074         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
14075         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
14076         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
14077         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
14078         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
14079         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
14080         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
14081         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
14082         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
14083         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
14084         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
14085         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
14086         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
14087         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
14088         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
14089         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
14090         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
14091         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
14092         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
14093         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
14094         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
14095         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
14096         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
14097         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
14098         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
14099         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
14100         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
14101         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
14102         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
14103         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
14104         Update #include.
14105         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
14106         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
14108 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14110         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
14111         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
14112         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
14113         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
14114         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
14115         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
14117 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14119         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
14120         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
14121         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14122         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
14124 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14126         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
14127         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
14128         (__libc_vfork): Define function under this name.
14129         (__vfork): Define as an alias.
14130         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
14131         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
14133 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14135         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
14136         that was previously under [RESET_PID].
14137         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
14139 2014-08-04  Andreas Schwab  <schwab@suse.de>
14141         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
14143 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
14145         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
14146         (main): Likewise.
14148 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14150         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
14152 2014-08-01  Richard Henderon  <rth@redhat.com>
14154         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
14155         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
14156         typo in exact zero test.
14157         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14158         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14159         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14161 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14163         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
14164         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
14165         * sysdeps/arm/sysdep.h: ... here.
14166         [!__ASSEMBLER__]: Include <stdint.h>.
14168 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14170         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
14171         (HAVE_WCTYPE_H): Likewise.
14172         (HAVE_ISWCTYPE): Likewise.
14173         (ENABLE_NLS): Likewise.
14174         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
14175         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
14177         * posix/regex_internal.c: Check if DEBUG is defined and is
14178         set.
14180         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
14181         (HAVE_MBSRTOWCS): Likewise.
14182         * posix/fnmatch.c: Include string.h unconditionally.
14184 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14186         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
14187         reversal.
14189 2014-07-31  Roland McGrath  <roland@hack.frob.com>
14191         * sysdeps/generic/safe-fatal.h: New file.
14192         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
14193         * nptl/forward.c: Include it.
14194         (__pthread_unwind): Use __safe_fatal as default action, rather
14195         than a bogus use of INTERNAL_SYSCALL that could never work.
14197         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
14198         * configure.ac (libc_cv_builtin_trap): New test.
14199         * configure: Regenerated.
14200         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
14201         (ABORT_INSTRUCTION): Define using __builtin_trap.
14203         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
14204         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
14205         * sysdeps/nptl/nptl-signals.h: New file.
14206         * nptl/pthreadP.h: Include <nptl-signals.h>.
14208 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14210         * sysdeps/s390/s390-64/utf16-utf32-z9.c
14211         (ONE_DIRECTION): Define.
14212         * sysdeps/s390/s390-64/utf8-utf16-z9.c
14213         (ONE_DIRECTION): Define.
14214         * sysdeps/s390/s390-64/utf8-utf32-z9.c
14215         (ONE_DIRECTION): Define.
14217 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14219         * sysdeps/s390/Makefile: Delete file.
14220         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
14221         * sysdeps/s390/__longjmp.c: Delete file.
14222         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
14223         Remove fields __flags and __reserved.
14224         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
14225         and add versioning.
14226         * sysdeps/s390/rtld-__longjmp.c: Delete file.
14227         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
14228         * sysdeps/s390/rtld-setjmp.S: Likewise.
14229         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
14230         * sysdeps/s390/s390-32/__longjmp.c: ... here.
14231         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
14232         * sysdeps/s390/s390-32/setjmp.S: ... here.
14233         Add versioning.
14234         (__sigsetjmp): Remove setting __flags field.
14235         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
14236         * sysdeps/s390/s390-64/__longjmp.c: ... here.
14237         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
14238         * sysdeps/s390/s390-64/setjmp.S: ... here.
14239         Add versioning.
14240         (__sigsetjmp): Remove setting __flags field.
14241         * sysdeps/s390/setjmp.S: Delete file.
14242         * sysdeps/s390/sigjmp.c: Likewise.
14243         * sysdeps/s390/v1-longjmp.c: Likewise.
14244         * sysdeps/s390/v1-setjmp.h: Likewise.
14245         * sysdeps/s390/v1-sigjmp.c: Likewise.
14246         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
14247         Remove v1-longjmp_chk.
14248         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
14249         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
14250         Include debug/longjmp_chk.c and add versioning.
14251         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
14252         Include nptl/pt-longjmp.c and add versioning.
14253         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
14254         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
14255         Include __longjmp.c.
14256         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14257         Move to ...
14258         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
14259         (__getcontext): Remove setting __flags field.
14260         Add versioning.
14261         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
14262         Don't restore upper high grps.
14263         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
14264         Likewise.
14265         (__swapcontext): Remove setting uc_flags field.
14266         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
14267         Delete file.
14268         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14269         Include __longjmp.c.
14270         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14271         Move to ...
14272         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
14273         (__getcontext): Remove setting __flags field.
14274         Add versioning.
14275         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
14276         (__swapcontext): Remove setting uc_flags field.
14277         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
14278         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
14279         Remove fields uc_high_gprs and __reserved.
14280         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
14281         New file with reverted content.
14282         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
14283         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
14284         Regenerated.
14285         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
14286         Regenerated.
14288 2014-07-31  Andreas Schwab  <schwab@suse.de>
14290         * config.h.in (HAVE_IFUNC): Define to 0.
14291         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
14292         definedness.
14294 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
14296         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14297         memmove-avx-unaligned, memcpy-avx-unaligned and
14298         mempcpy-avx-unaligned.
14299         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14300         Add tests for AVX memcpy functions.
14301         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
14302         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
14303         memcpy_chk.
14304         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
14305         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
14306         memmove_chk.
14307         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
14308         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
14309         mempcpy_chk.
14310         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
14311         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
14312         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
14314 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14316         [BZ #17213]
14317         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
14318         powerpc64le.
14320 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
14322         [BZ #16839]
14323         * manual/llio.texi: Add section about open file description locks.
14324         * manual/examples/ofdlocks.c: Example of open file description
14325         lock usage.
14326         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
14327         F_OFD_SETLK, and F_OFD_SETLKW.
14329 2014-07-23  Allan McRae  <allan@archlinux.org>
14331         * po/es.po: Update Spanish translation from translation project.
14333 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
14335         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
14337 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
14339         [BZ #17078]
14340         * sysdeps/arm/dl-machine.h (elf_machine_rela)
14341         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
14342         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
14344 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
14346         [BZ #17088]
14347         * math/fesetenv.c (__fesetenv)
14348         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
14349         * math/feupdateenv.c (__feupdateenv)
14350         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
14352         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
14353         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14354         (__ASSUME_SOCKETCALL): Do not define.
14356         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
14357         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
14358         (__ASSUME_SOCKETCALL): Do not define.
14359         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
14360         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
14361         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14362         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
14363         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14364         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
14365         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14366         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14368         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
14369         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
14370         (__ASSUME_SOCKETCALL): Do not define.
14371         (__ASSUME_IPC64): Define unconditionally.
14372         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
14373         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14374         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
14375         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14376         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
14377         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14378         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
14379         Likewise.
14381         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
14382         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
14383         (__ASSUME_SOCKETCALL): Do not define.
14384         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
14385         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14386         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14387         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14388         (__ASSUME_REQUEUE_PI): Define unconditionally.
14389         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
14390         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
14391         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14392         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
14393         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14394         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14396         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
14397         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
14398         (__ASSUME_SOCKETCALL): Do not define.
14399         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
14400         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14401         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14402         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
14403         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14404         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14406         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
14407         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
14408         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14409         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
14410         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14411         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
14412         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14413         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
14414         (__ASSUME_GETCPU_SYSCALL): Likewise.
14416         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
14417         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
14418         cases for individual architectures.
14419         * sysdeps/gnu/configure: Regenerated.
14420         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
14421         LIBC_SLIBDIR_RTLDDIR.
14422         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
14423         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
14424         LIBC_SLIBDIR_RTLDDIR.
14425         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
14426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
14427         LIBC_SLIBDIR_RTLDDIR.
14428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
14429         Regenerated.
14430         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
14431         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
14432         file.
14433         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
14434         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
14435         file.
14436         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
14437         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
14438         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
14439         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
14441         * sysdeps/aarch64/shlib-versions: Move to ...
14442         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
14443         * sysdeps/alpha/shlib-versions: Move to ...
14444         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
14445         * sysdeps/arm/shlib-versions: Move to ...
14446         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
14447         * sysdeps/hppa/shlib-versions: Move all contents except for
14448         libgcc_s entry to ...
14449         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
14450         entry from ...
14451         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
14452         * sysdeps/ia64/shlib-versions: Move to ...
14453         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
14454         entry from ...
14455         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
14456         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
14457         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
14458         * sysdeps/microblaze/shlib-versions: Move to ...
14459         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
14460         * sysdeps/mips/shlib-versions: Move to ...
14461         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
14462         entry from ...
14463         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
14464         * sysdeps/tile/shlib-versions: Move to ...
14465         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
14466         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
14467         from ...
14468         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
14469         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
14470         entry from ...
14471         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
14473 2014-07-17  Will Newton  <will.newton@linaro.org>
14475         * sysdeps/arm/bits/atomic.h
14476         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
14477         (__arch_compare_and_exchange_bool_16_int): Likewise.
14478         (__arch_compare_and_exchange_bool_64_int): Likewise.
14480         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
14481         into an #else block.
14483 2014-07-16  Roland McGrath  <roland@hack.frob.com>
14485         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
14486         just Linux configurations.  Test empirically that the compiler sets
14487         __ARM_EABI__, rather than using the tuple to decide.
14488         * sysdeps/arm/preconfigure: Regenerated.
14489         * sysdeps/unix/sysv/linux/arm/configure: File removed.
14490         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
14491         contents appended ...
14492         * sysdeps/arm/configure.ac: ... here.
14493         * sysdeps/arm/configure: Regenerated.
14495 2014-07-15  Roland McGrath  <roland@hack.frob.com>
14497         * nptl/pthread_kill.c: New file.
14498         * nptl/pthread_sigmask.c: New file.
14499         * nptl/pthread_sigqueue.c: New file.
14501         * sysdeps/nptl/lowlevellock.h: New file.
14502         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
14503         * sysdeps/nptl/lowlevellock-futex.h: New file.
14505         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
14506         Remove dead declarations.
14508 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
14510         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
14511         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
14512         config-cflags-avx2.
14513         * sysdeps/x86_64/configure.ac: Likewise.
14514         * sysdeps/i386/configure: Regenerated.
14515         * sysdeps/x86_64/configure: Likewise.
14516         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14517         memset-avx2 only if config-cflags-avx2 is yes.
14518         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14519         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
14520         defined.
14521         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
14522         only if HAVE_AVX2_SUPPORT is defined.
14523         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14525 2014-07-14  Alan Modra  <amodra@gmail.com>
14527         [BZ #17153]
14528         * elf/elf.h (DT_PPC64_NUM): Correct value.
14529         * NEWS: Add to fixed bug list.
14531 2014-07-13  Jim Meyering  <meyering@fb.com>
14533         [BZ 17150]
14534         regex: don't deref NULL upon heap allocation failure
14535         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
14536         failure in one more place.
14537         To trigger the segfault, configure grep -with-included-regex,
14538         build it, and run these commands:
14539         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
14541 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
14543         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14545 2014-07-11  Richard Henderson  <rth@redhat.com>
14547         * sysdeps/aarch64/libm-test-ulps: Update.
14549 2014-07-10  Florian Weimer  <fweimer@redhat.com>
14551         [BZ #17135]
14552         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
14553         * nptl/allocatestack.c (__nptl_setxid_error): New function.
14554         (__nptl_setxid): Initialize error member.  Call
14555         __nptl_setxid_error.
14556         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
14557         * nptl/descr.h (struct xid_command): Add error member.
14558         * nptl/tst-setuid3.c: New file.
14559         * nptl/Makefile (tests): Add it.
14561 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14563         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
14564         New define.
14565         (__lll_trylock): Use __lll_base_trylock.
14566         (__lll_cond_trylock): Likewise.
14568 2014-07-10  Roland McGrath  <roland@hack.frob.com>
14570         * nptl/pthread_create.c (start_thread): Use atomic_or and
14571         lll_futex_wake directly rather than lll_robust_dead.
14572         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
14573         (lll_robust_dead): Macro removed.
14574         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
14575         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
14576         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
14577         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14578         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14579         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
14580         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
14581         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14582         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
14583         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14584         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14585         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14586         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14587         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14588         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14590         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
14591         Use atomic_compare_and_exchange_val_acq directly rather than
14592         lll_robust_trylock.
14593         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
14594         (__lll_robust_trylock, lll_robust_trylock): Removed.
14595         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
14596         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
14597         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14598         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14599         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
14600         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
14601         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14602         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
14603         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14604         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14605         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14606         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14607         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14608         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14610 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14612         * manual/locale.texi (Locale Names): New section documenting
14613         locale name syntax.  Adjust menu and node chaining accordingly.
14614         (Choosing Locale): Reference Locale Names, Locale Categories.
14615         Mention setting LC_ALL=C.  Reflect that name syntax is now
14616         documented.
14617         (Locale Categories): New section title.  Reference Locale Names.
14618         LC_ALL is an environment variable, but not a category.
14619         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
14620         description, now in Locale Name.  Reference that section.  Locale
14621         name syntax is now documented.
14623 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14625         [BZ #17137]
14626         * locale/findlocale.c (name_present, valid_locale_name): New
14627         functions.
14628         (_nl_find_locale): Use the loc_name variable to store name
14629         candidates.  Call name_present and valid_locale_name to check and
14630         validate locale names.  Return an error if the locale is invalid.
14632 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14634         * locale/setlocale.c (setlocale): Use strdup for allocating
14635         composite name copy.
14637 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14639         Sync up with gnulib.
14640         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
14641         [!_LIBC && ENABLE_NLS]: Include gettext.h.
14642         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
14643         and _GL_ARG_NONNULL.
14644         [USE_UNLOCKED_IO]: Include unlocked-io.h.
14645         [!_LIBC]: Include code for Windows and Cygwin.
14646         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
14647         Include prototype for int strerror_r.
14648         [!_LIBC] (is_open): New function.
14649         (flush_stdout): New function.
14650         (print_errno_message): Use it.
14651         (error): Likewise.
14652         (error_at_line): Likewise.
14653         (error_tail) Add function attribute macros.  Use
14654         __builtin_expect.
14656         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
14658         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
14660         * io/ftw.c: Include sys/param.h unconditionally.
14662         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
14664         [BZ #17125]
14665         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
14666         libc_freeres_ptr.
14667         (freecache): New function to free CACHE on exit.
14669         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
14670         initialization.
14672 2014-07-09  David S. Miller  <davem@davemloft.net>
14674         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14676         * sysdeps/sparc/nptl/internaltypes.h: Delete.
14677         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
14678         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
14679         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
14680         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
14681         * sysdeps/sparc/nptl/sem_init.c: Likewise.
14682         * sysdeps/sparc/nptl/sem_post.c: Likewise.
14683         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
14684         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
14685         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
14686         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
14687         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
14688         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
14690 2014-07-09  Andreas Schwab  <schwab@suse.de>
14692         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
14693         output.
14694         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
14695         (do_test): Likewise.
14697         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14699 2014-07-09  Will Newton  <will.newton@linaro.org>
14701         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
14702         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
14703         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
14704         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
14705         * sysdeps/hppa/start.S (_start): Likewise.
14707 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
14709         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
14711         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
14712         defined.
14714 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14716         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
14717         after checking that it is non-NULL.
14719         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
14721 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14723         * sysdeps/powerpc/memmove.c: Remove file.
14724         * sysdeps/powerpc/powerpc32/power4/memcopy.h
14725         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
14726         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
14727         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
14728         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
14729         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
14730         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
14731         string memmove instead of removed powerpc one.
14733         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14734         [weak_alias]: Fix compiler warning due trailing data.
14735         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
14736         [weak_alias]: Likewise.
14737         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
14738         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
14740         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14741         (__libc_ifunc_impl_list): Add memmove functions.
14743 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14745         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
14746         Remove code.
14747         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
14748         Likewise
14749         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
14750         Likewise
14751         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
14752         Likewise
14753         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
14754         Likewise
14755         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
14756         Likewise
14757         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
14758         Likewise
14759         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
14760         Likewise
14761         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
14762         Likewise
14763         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
14764         Likewise
14765         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
14766         Likewise
14767         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
14768         Likewise
14769         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
14770         Likewise
14771         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
14772         Likewise
14773         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
14774         Likewise
14775         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
14776         Likewise
14777         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
14778         Likewise
14780 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14782         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
14783         to avoid alignment traps in non-cacheable memory.
14784         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14786         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
14787         multiarch objects.
14788         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
14789         file: multiarch power7 memmove.
14790         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
14791         multiarch default memmove.
14792         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
14793         multiarch memove for powerpc32/power4.
14795         * string/bcopy.c: Use full path to include memmove.c.
14796         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
14797         multiarch objects.
14798         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
14799         bcopy for powerpc64.
14800         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
14801         bcopy for powerpc64.
14802         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
14803         and memmove implementations.
14804         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
14805         optimized multiarch memmove for POWER7/powerpc64.
14806         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
14807         default multiarch memmove for powerpc64.
14808         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
14809         multiarch for powerpc64.
14810         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
14811         for POWER7/powerpc64.
14812         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
14813         memmove for POWER7/powerpc64.
14815         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
14816         glibc default one.
14818         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
14819         __ELF_NATIVE_CLASS equal to 64.
14821 2014-07-07  Roland McGrath  <roland@hack.frob.com>
14823         * sysdeps/nptl/lowlevellock.h: File removed.
14825         * NEWS: NPTL is no longer an add-on!
14826         * nptl/internaltypes.h: Moved ...
14827         * sysdeps/nptl/internaltypes.h: ... here.
14828         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
14829         * sysdeps/nptl/fork.c: Likewise.
14830         * sysdeps/nptl/gai_misc.h: Likewise.
14831         * sysdeps/nptl/librt-cancellation.c: Likewise.
14832         * sysdeps/nptl/jmp-unwind.c: Likewise.
14833         * sysdeps/nptl/setxid.h: Likewise.
14834         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
14835         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
14836         * sysdeps/unix/sysv/linux/arm/Implies: New file.
14837         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
14838         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
14839         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
14840         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
14841         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
14842         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
14843         * sysdeps/unix/sysv/linux/mips/Implies: New file.
14844         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
14845         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
14846         * sysdeps/unix/sysv/linux/sh/Implies: New file.
14847         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
14848         * sysdeps/unix/sysv/linux/tile/Implies: New file.
14849         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
14850         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
14851         * nptl/Makeconfig: Moved ...
14852         * sysdeps/nptl/Makeconfig: ... here.
14853         * nptl/configure: File removed.
14854         * nptl/ANNOUNCE: File removed.
14855         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
14856         * sysdeps/unix/sysv/linux/configure: Regenerated.
14858         * nptl/Makefile (routines): Add libc_pthread_init,
14859         libc_multiple_threads, register-atfork and unregister-atfork.
14860         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
14861         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
14862         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
14863         pthread-pi-defines.sym, structsem.sym.
14864         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
14865         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
14866         [$(subdir) = nptl] (tests): Add tst-setgetname.
14867         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
14868         * sysdeps/unix/sysv/linux/sigaction.c: Just include
14869         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
14870         [!LIBC_SIGACTION]: Remove aliases.
14871         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14872         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14873         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14874         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
14875         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14876         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
14877         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14878         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14879         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14880         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
14881         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
14882         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
14883         __libc_allocate_rtsig_private.
14884         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
14885         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
14886         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
14887         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
14888         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
14889         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
14890         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
14891         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
14892         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
14893         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
14894         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
14895         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
14896         * nptl/internaltypes.h: ... here.
14897         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
14898         * sysdeps/nptl/jmp-unwind.c: ... here.
14899         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
14900         * nptl/libc-lowlevellock.c: ... here.
14901         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
14902         * nptl/libc_multiple_threads.c: ... here.
14903         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
14904         * nptl/libc_pthread_init.c: ... here.
14905         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
14906         * nptl/lowlevelbarrier.sym: ... here.
14907         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
14908         * nptl/lowlevelcond.sym: ... here.
14909         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
14910         * nptl/lowlevellock.c: ... here.
14911         * nptl/lowlevellock.h: Moved ...
14912         * sysdeps/nptl/lowlevellock.h: ... here.
14913         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
14914         * nptl/lowlevelrobustlock.c: ... here.
14915         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
14916         * nptl/lowlevelrobustlock.sym: ... here.
14917         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
14918         * nptl/lowlevelrwlock.sym: ... here.
14919         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
14920         * nptl/pt-fork.c: ... here.
14921         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
14922         * nptl/pthread-pi-defines.sym: ... here.
14923         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
14924         * nptl/pthread_attr_getaffinity.c: ... here.
14925         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
14926         * nptl/pthread_attr_setaffinity.c: ... here.
14927         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
14928         * nptl/pthread_mutex_cond_lock.c: ... here.
14929         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14930         Update #include.
14931         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
14932         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
14933         * nptl/pthread_once.c: ... here, replacing old file.
14934         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
14935         * nptl/pthread_yield.c: ... here.
14936         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
14937         * nptl/register-atfork.c: ... here.
14938         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
14939         * nptl/sem_post.c: ... here.
14940         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
14941         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
14942         * nptl/sem_timedwait.c: ... here.
14943         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
14944         * nptl/sem_trywait.c: ... here.
14945         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
14946         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
14947         * nptl/sem_wait.c: ... here.
14948         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
14949         * nptl/structsem.sym: ... here.
14950         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
14951         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
14952         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
14953         * nptl/unregister-atfork.c: ... here.
14954         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
14955         * nptl/unwindbuf.sym: ... here.
14956         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
14957         * sysdeps/nptl/fork.c: ... here.
14958         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
14959         * sysdeps/nptl/fork.h: ... here.
14960         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
14961         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
14962         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
14963         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
14964         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
14965         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
14966         * sysdeps/unix/sysv/linux/getpid.c: ... here.
14967         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
14968         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
14969         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
14970         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
14971         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
14972         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
14973         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
14974         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
14975         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
14976         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
14977         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
14978         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
14979         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
14980         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
14981         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
14982         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
14983         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
14984         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
14985         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
14986         * sysdeps/unix/sysv/linux/raise.c: ... here.
14987         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
14988         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
14989         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
14990         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
14991         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
14992         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
14993         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
14994         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
14995         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
14996         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
14997         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
14998         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
14999         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
15000         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
15001         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
15003 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15005         * sysdeps/generic/memcopy.h: Add comment for
15006         MEMCPY_OK_FOR_FWD_MEMMOVE.
15008 2014-07-04  Will Newton  <will.newton@linaro.org>
15010         * string/memchr.c: Merge from gnulib.
15011         [_LIBC]: Remove conditionals.
15012         (__ptr_t): Remove define.
15013         (LONG_MAX_32_BITS): Likewise.
15014         (LONG_MAX): Likewise.
15015         (MEMCHR): Use ANSI prototype and optimize algorithm.
15017         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
15019 2014-07-03  Roland McGrath  <roland@hack.frob.com>
15021         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
15022         (lll_futex_timed_wait_bitset): Fix syscall argument count.
15024         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
15025         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
15026         in a bare environment with no <stdlib.h> installed.
15027         * sysdeps/nptl/configure: Regenerated.
15029         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
15031         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
15032         AC_EGREP_CPP for kernel header checks, so they only succeed if
15033         including <linux/version.h> actually works right.
15034         * sysdeps/unix/sysv/linux/configure: Regenerated.
15036         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
15037         value so it's not diagnosed as unused.
15039         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
15040         thing) with "ifeq ($(subdir),rt)".
15042 2014-07-03  Richard Henderson  <rth@redhat.com>
15044         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
15045         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
15046         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
15048         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
15049         (math_force_eval): New.
15051         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
15052         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
15054         * sysdeps/alpha/fpu/s_round.c: Remove file.
15055         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
15057         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
15058         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
15059         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
15060         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
15061         (_dl_start, print_statistics): Likewise.
15062         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
15063         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
15065         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15066         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15067         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15068         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15069         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15070         (HP_SMALL_TIMING_AVAIL): Define.
15071         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15072         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15073         (HP_SMALL_TIMING_AVAIL): Define.
15074         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15075         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15077         * sysdeps/aarch64/hp-timing.h: New file.
15079         * sysdeps/generic/hp-timing.h: Remove dead comment.
15080         * sysdeps/generic/hp-timing-common.h: New file.
15081         * sysdeps/alpha/hp-timing.h: Include it.
15082         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
15083         * sysdeps/i386/i686/hp-timing.h: Likewise.
15084         * sysdeps/ia64/hp-timing.h: Likewise.
15085         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15086         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15087         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15088         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15089         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
15090         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
15091         (hp_timing_t): New.
15093         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
15094         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
15095         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
15096         * elf/rtld.c (_dl_start_final): Likewise.
15097         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
15098         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15099         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15100         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15101         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15102         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15103         (HP_TIMING_DIFF_INIT): Remove.
15104         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15105         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15106         (HP_TIMING_DIFF_INIT): Remove.
15107         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15108         * sysdeps/i386/i686/hp-timing.c: Remove file.
15109         * sysdeps/x86_64/hp-timing.c: Remove file.
15110         * sysdeps/ia64/hp-timing.c: Remove file.
15111         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
15112         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
15113         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
15114         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
15116         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
15117         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
15118         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
15119         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15120         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15121         (HP_TIMING_ACCUM): Remove.
15122         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15123         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
15124         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15126         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
15127         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
15128         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
15129         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
15130         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
15131         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15132         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
15133         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15135         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
15137 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
15139         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
15141 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15143         Sync up with gettext.
15144         * intl/loadmsgcat.c: Define O_BINARY if not defined.
15145         [_MSC_VER]: Include malloc.h
15146         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
15147         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
15148         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
15149         TEMP_FAILURE_RETRY.  Cast return of alloca.
15150         [!_LIBC] Call gl_rwlock_init.
15151         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
15153 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15155         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
15156         before checking its value.
15158 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15160         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
15162         * debug/memcpy_chk.c: Don't include pagecopy.h.
15163         * debug/mempcpy_chk.c: Likewise.
15164         * string/memcpy.c: Likewise.
15165         * string/memmove.c: Likewise.
15166         * sysdeps/powerpc/memmove.c: Likewise.
15167         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
15168         definition of PAGE_COPY_FWD_MAYBE here...
15169         * sysdeps/generic/pagecopy.h: ... from here.
15170         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
15172 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15173             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15175         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
15176         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
15177         optimizations.
15178         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15179         (__libc_ifunc_impl_list): Likewise.
15180         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
15181         multiarch strcat for PPC64.
15182         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
15183         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
15185 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15187         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
15189 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15191         * intl/loadmsgcat.c: Remove declaration of
15192         get_sysdep_segment_value.
15193         (get_sysdep_segment_value): Use ISO C style.
15194         (_nl_load_domain): Use ISO C style.  Get rid of redundant
15195         semicolon.  Fix typo and formatting in comment.
15196         (_nl_unload_domain): Use ISO C style.
15198         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
15200 2014-07-02  Will Newton  <will.newton@linaro.org>
15202         * malloc/obstack.c: Merge from gnulib master.
15203         [HAVE_CONFIG_H]: Remove conditional code.
15204         [!_LIBC]: Include config.h.
15205         [!ELIDE_CODE]: Don't include inttypes.h, include
15206         stdint.h unconditionally.
15207         (print_and_abort): Mark as _Noreturn.
15208         (_obstack_allocated_p): Mark as __attribute_pure__.
15209         (obstack_free): Rename to __obstack_free.
15210         [!__attribute__]: Remove conditional code.
15211         * malloc/obstack.h: Merge from gnulib master.
15212         [__cplusplus]: Move conditional down.
15213         [!__attribute_pure__]: Define __attribute_pure__ here
15214         if it is not already defined.
15215         (_obstack_memory_used): Mark as __attribute_pure__.
15216         [!__obstack_free]: Define as obstack_free.
15217         [__GNUC__]: Remove check for ancient NeXT gcc.
15219 2014-07-02  Will Newton  <will.newton@linaro.org>
15220             Paul Eggert  <eggert@cs.ucla.edu>
15222         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
15224 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15226         * resolv/gethnamaddr.c: Add comment warning that the file is
15227         not maintained.
15229 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
15231         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
15232         entries.
15234         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
15235         entry for aio_cancel and aio_cancel64.
15236         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
15237         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
15238         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
15239         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
15240         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
15241         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
15242         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
15243         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
15244         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
15245         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
15246         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
15247         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
15248         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
15250 2014-07-01  Roland McGrath  <roland@hack.frob.com>
15252         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
15253         * nptl/pthread_mutex_lock.c: Likewise.
15254         * nptl/pthread_mutex_timedlock.c: Likewise.
15255         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
15257 2014-07-01  Richard henderson  <rth@redhat.com>
15259         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
15260         (__isnan, __isnanl): Remove.
15261         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
15263         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15265 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
15267         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15269 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
15271         * resolv/nss_dns/dns-host.c (getanswer_r)
15272         [MULTI_PTRS_ARE_ALIASES]: Remove code.
15274 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
15276         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15277         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
15278         undefine.
15279         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
15280         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
15282 2014-07-01  Roland McGrath <roland@hack.frob.com>
15284         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
15285         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
15287         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
15288         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
15290         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
15291         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
15292         ... here.
15293         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
15294         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
15296         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
15297         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
15298         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
15299         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
15301         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
15302         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
15303         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
15304         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
15305         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
15306         Moved ...
15307         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
15308         ... here.
15309         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
15310         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
15311         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
15312         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
15313         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
15314         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
15315         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
15316         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
15317         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
15318         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
15319         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
15320         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
15321         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
15322         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
15323         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
15324         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
15325         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
15326         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
15327         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
15328         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
15329         ... here.
15330         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
15331         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
15332         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
15333         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
15334         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
15335         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
15336         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
15337         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
15339 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
15341         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
15342         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
15343         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
15344         Add sysdep.
15346 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15348         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15350 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
15352         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15353         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15355         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15357         * sysdeps/arm/libm-test-ulps: Regenerated.
15359 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
15360             Roland McGrath <roland@hack.frob.com>
15362         * test-skeleton.c (signal_handler): Kill the whole process group
15363         before killing the child individually.
15364         (main): Report any failure on `setpgid'.
15366 2014-06-30  Roland McGrath  <roland@hack.frob.com>
15368         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
15369         from _TLS_H to _ARM_NPTL_TLS_H.
15370         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
15371         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
15373 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
15375         [BZ #16539]
15376         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
15377         (__expm1l): Return argument unchanged when small but not
15378         subnormal.
15380         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
15381         include macro name.
15382         (_FP_UNPACK_RAW_1_P): Likewise.
15383         (_FP_PACK_RAW_1): Likewise.
15384         (_FP_PACK_RAW_1_P): Likewise.
15385         (_FP_MUL_MEAT_1_wide): Likewise.
15386         (_FP_MUL_MEAT_DW_1_hard): Likewise.
15387         (_FP_MUL_MEAT_1_hard): Likewise.
15388         (_FP_DIV_MEAT_1_imm): Likewise.
15389         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
15390         (_FP_DIV_MEAT_1_udiv): Likewise.
15391         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
15392         (_FP_UNPACK_RAW_2): Likewise.
15393         (_FP_UNPACK_RAW_2_P): Likewise.
15394         (_FP_PACK_RAW_2): Likewise.
15395         (_FP_PACK_RAW_2_P): Likewise.
15396         (_FP_MUL_MEAT_DW_2_wide): Likewise.
15397         (_FP_MUL_MEAT_2_wide): Likewise.
15398         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
15399         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
15400         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
15401         (_FP_MUL_MEAT_2_gmp): Likewise.
15402         (_FP_DIV_MEAT_2_udiv): Likewise.
15403         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
15404         (_FP_FRAC_SRL_4): Likewise.
15405         (_FP_FRAC_SRST_4): Likewise.
15406         (_FP_FRAC_SRS_4): Likewise.
15407         (_FP_UNPACK_RAW_4): Likewise.
15408         (_FP_UNPACK_RAW_4_P): Likewise.
15409         (_FP_PACK_RAW_4): Likewise.
15410         (_FP_PACK_RAW_4_P): Likewise.
15411         (_FP_MUL_MEAT_DW_4_wide): Likewise.
15412         (_FP_MUL_MEAT_4_wide): Likewise.
15413         (_FP_MUL_MEAT_4_gmp): Likewise.
15414         (umul_ppppmnnn): Likewise.
15415         (_FP_DIV_MEAT_4_udiv): Likewise.
15416         (__FP_FRAC_ADD_4): Likewise.
15417         (__FP_FRAC_SUB_3): Likewise.
15418         (__FP_FRAC_SUB_4): Likewise.
15419         (__FP_FRAC_DEC_3): Likewise.
15420         (__FP_FRAC_DEC_4): Likewise.
15421         (__FP_FRAC_ADDI_4): Likewise.
15422         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
15423         (_FP_FRAC_SRL_8): Likewise.
15424         (_FP_FRAC_SRS_8): Likewise.
15426         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
15427         include macro name.
15428         (FP_UNPACK_RAW_EP): Likewise.
15429         (FP_PACK_RAW_E): Likewise.
15430         (FP_PACK_RAW_EP): Likewise.
15431         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
15432         (_FP_ISSIGNAN): Likewise.
15433         (_FP_ADD_INTERNAL): Likewise.
15434         (_FP_FMA): Likewise.
15435         (_FP_CMP): Likewise.
15436         (_FP_SQRT): Likewise.
15437         (_FP_TO_INT): Likewise.
15438         (_FP_FROM_INT): Likewise.
15439         (FP_EXTEND): Likewise.
15440         (_FP_DIV_MEAT_N_loop): Likewise.
15442 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
15444         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
15445         throughout.
15447 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
15449         [BZ #17097]
15450         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
15451         result with correct sign in case of exponents that produce
15452         overflow except for X very close to 1.
15454 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
15456         mktime: merge #if/#ifdef usage from glibc
15457         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
15458         as that works with both Glibc's and Gnulib's style.
15459         See thread starting at Siddhesh Poyarekar's bug report at:
15460         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
15462 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15464         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
15465         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
15466         * sysdeps/tile/tilegx/memmove.c: Remove file.
15468 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
15470         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
15471         abi-name definition.
15472         * scripts/soversions.awk: Do not handle or generate ABI lines.
15473         * shlib-versions: Remove ABI entries.
15474         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
15475         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
15477 2014-06-27  Roland McGrath  <roland@hack.frob.com>
15479         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
15480         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
15481         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
15482         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
15483         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
15484         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
15485         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
15486         Moved ...
15487         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
15488         ... here.
15489         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
15490         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
15491         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
15492         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
15493         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
15494         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
15495         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
15496         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
15497         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
15498         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
15499         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
15500         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
15501         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
15502         Moved ...
15503         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
15504         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
15505         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
15506         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
15507         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
15508         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
15509         Moved ...
15510         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
15511         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
15512         Moved ...
15513         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
15514         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
15515         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
15516         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
15517         Moved ...
15518         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
15519         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
15520         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
15521         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
15522         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
15523         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
15524         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
15525         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
15526         Moved ...
15527         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
15528         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
15529         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
15530         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
15531         Moved ...
15532         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
15533         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
15534         Moved ...
15535         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
15536         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
15537         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
15538         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
15539         Moved ...
15540         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
15541         ... here.
15542         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
15543         Identical file removed.
15544         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
15545         Moved ...
15546         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
15547         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
15548         Identical file removed.
15549         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
15550         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
15551         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
15552         Moved ...
15553         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
15554         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
15555         Identical file removed.
15556         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
15557         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
15558         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
15559         Identical file removed.
15560         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
15561         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
15562         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
15563         Identical file removed.
15564         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
15565         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
15566         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
15567         Identical file removed.
15568         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
15569         Moved ...
15570         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
15571         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
15572         Identical file removed.
15573         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
15574         Moved ...
15575         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
15576         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
15577         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
15578         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
15579         Identical file removed.
15580         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
15581         Moved ...
15582         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
15583         ... here.
15584         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
15585         Identical file removed.
15586         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
15587         Moved ...
15588         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
15589         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
15590         Identical file removed.
15591         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
15592         Moved ...
15593         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
15594         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
15595         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
15596         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
15597         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
15598         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
15599         Moved ...
15600         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
15601         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
15602         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
15604         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
15605         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
15606         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
15607         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
15608         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
15610 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
15612         [BZ #17092]
15613         * nscd/nscd.c (monitor_child): Return exit status of child
15614         instead of return value from wait syscall.
15616 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
15618         * configure.ac (libc_commonpagesize): Remove variable.
15619         (libc_relro_required): Likewise.
15620         (libc_cv_z_relro): Remove configure test.
15621         * configure: Regenerated.
15622         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
15623         variable.
15624         (libc_relro_required): Likewise.
15625         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
15626         (libc_relro_required): Likewise.
15627         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
15628         (libc_relro_required): Likewise.
15629         * sysdeps/arm/preconfigure: Regenerated.
15630         * sysdeps/ia64/preconfigure: Remove file.
15631         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
15632         variable.
15633         (libc_relro_required): Likewise.
15635         [BZ #16561]
15636         [BZ #16562]
15637         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
15638         (__ieee754_yn): Set FE_TONEAREST mode internally and then
15639         recompute overflowing results in original rounding mode.
15640         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
15641         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
15642         recompute overflowing results in original rounding mode.
15643         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
15644         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15645         recompute overflowing results in original rounding mode.
15646         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
15647         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15648         recompute overflowing results in original rounding mode.
15649         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
15650         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15651         recompute overflowing results in original rounding mode.
15652         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
15653         (libc_feholdsetround_ctx): New macro.
15654         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
15655         * sysdeps/i386/fpu/libm-test-ulps: Update.
15656         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
15658 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15660         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
15661         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
15662         corresponding .cpsetup call.
15664 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15666         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
15667         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
15668         * sysdeps/arm/Makefile [$(subdir) = csu]
15669         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
15670         (static-only-routines): Add aeabi_read_tp here.
15671         (shared-only-routines): Add libc-aeabi_read_tp here.
15672         (CFLAGS-libc-start.c): Add -fexceptions here.
15673         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
15674         (sysdep_routines, static-only-routines, shared-only-routines):
15675         Don't add to these here.
15676         (CFLAGS-libc-start.c): Likewise.
15678         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
15679         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
15680         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
15681         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
15682         * sysdeps/arm/Makefile [$(subdir) = rt]
15683         (librt-sysdep_routines, librt-shared-only-routines):
15684         Append rt-aeabi_unwind_cpp_pr1 here.
15685         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
15686         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
15687         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
15688         (libpthread-sysdep_routines, libpthread-shared-only-routines):
15689         Append nptl-aeabi_unwind_cpp_pr1 here.
15690         (tests): Filter out tst-cleanupx4 here.
15691         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
15692         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
15693         Don't do those here.
15695 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15697         * scripts/list-sources.sh: Do not handle ports specially.
15699 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15701         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
15702         * sysdeps/arm/feupdateenv.c: Likewise.
15704         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
15706 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15708         * manual/texinfo.tex: Update to version 2014-05-05.10 with
15709         trailing whitespace removed.
15710         * scripts/config.guess: Update to version 2014-03-23.
15711         * scripts/config.sub: Update to version 2014-05-01
15712         * scripts/install-sh: Update to version 2013-12-25.23.
15713         * scripts/move-if-change: Update from gnulib.
15715 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15717         * debug/memmove_chk.c: Remove pagecopy.h include.
15719 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
15721         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
15722         identical to gnulib mktime.
15724 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15726         * configure.ac: Do not test for machine being rs6000.  Do not test
15727         for powerpc*-*soft.
15728         * configure: Regenerated.
15730         [BZ #11505]
15731         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
15732         test.
15733         * configure: Regenerated.
15734         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
15735         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
15736         Remove configure test.
15737         * sysdeps/arm/configure: Regenerated.
15738         * sysdeps/nptl/configure.ac: Do not check
15739         libc_cv_asm_cfi_directives.
15740         * sysdeps/nptl/configure: Regenerated.
15741         * sysdeps/x86_64/nptl/configure.ac: Remove file.
15742         * sysdeps/x86_64/nptl/configure: Remove generated file.
15743         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
15744         unconditional.
15745         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
15747 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15749         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
15750         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
15751         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
15752         it is defined.
15754         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
15755         instead of whether it is defined.
15756         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
15757         * sysdeps/hppa/dl-machine.h: Likewise.
15758         * sysdeps/ia64/dl-machine.h: Likewise.
15759         * sysdeps/m68k/dl-machine.h: Likewise.
15760         * sysdeps/microblaze/dl-machine.h: Likewise.
15761         * sysdeps/mips/dl-machine.: Likewise.
15762         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15763         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15764         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15765         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15766         * sysdeps/sh/dl-machine.h: Likewise.
15767         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15768         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15769         * sysdeps/tile/dl-machine.h: Likewise.
15770         * sysdeps/x86_64/dl-machine.h: Likewise.
15772         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
15773         code.
15774         (verify_persistent_db): Likewise.
15776 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15778         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
15779         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
15780         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
15781         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
15782         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15783         Moved ...
15784         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
15785         ... here.
15786         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
15787         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
15788         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
15789         Identical file removed.
15790         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
15791         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
15792         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
15793         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
15794         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
15795         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
15796         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
15797         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
15798         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
15799         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
15800         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15801         Moved ...
15802         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
15803         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
15804         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
15805         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
15806         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
15807         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15808         Moved ...
15809         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
15810         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
15811         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
15812         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
15813         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
15814         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15815         Identical file removed.
15816         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
15817         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
15818         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
15819         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
15820         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15821         Moved ...
15822         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
15823         ... here.
15824         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
15825         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
15826         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
15827         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
15828         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
15829         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
15830         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
15831         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
15832         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
15833         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
15834         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15835         Moved ...
15836         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
15837         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
15838         Moved ...
15839         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
15840         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
15841         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
15842         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15843         Moved ...
15844         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
15845         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
15846         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
15848         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
15849         folded into ...
15850         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
15851         * sysdeps/unix/sysv/linux/s390/Versions
15852         (libpthread: GLIBC_2.19): New version set.
15853         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
15854         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
15855         (librt: GLIBC_2.3.3): New version set.
15856         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
15857         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
15858         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
15859         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
15860         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
15861         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
15862         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
15863         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
15864         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
15865         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
15866         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
15867         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
15868         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
15869         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
15870         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
15871         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
15872         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
15873         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
15874         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
15875         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
15876         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
15877         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
15878         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
15879         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
15880         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
15881         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
15882         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
15883         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
15884         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
15885         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
15886         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
15887         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
15888         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
15889         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
15890         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
15891         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
15892         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
15893         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
15894         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
15895         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
15896         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
15897         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
15898         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
15899         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
15900         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
15902         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
15903         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
15904         (__libc_vfork): Define the function under this name.
15905         [!NOT_IN_libc] (__vfork): Make this an alias.
15906         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
15907         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
15908         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
15909         (__libc_vfork): Define the function under this name.
15910         [!NOT_IN_libc] (__vfork): Make this an alias.
15911         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
15912         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
15913         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
15914         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
15915         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
15916         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15918         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
15919         code that was previously under [RESET_PID].
15920         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
15921         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
15922         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
15924         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
15925         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
15926         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
15927         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
15928         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
15929         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
15930         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
15931         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
15932         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
15933         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
15934         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
15935         Moved ...
15936         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
15937         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
15938         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
15939         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
15940         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
15941         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
15942         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
15943         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
15944         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
15945         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
15946         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
15947         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
15948         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
15949         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
15950         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
15951         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
15952         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
15953         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
15954         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
15955         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
15956         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
15957         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
15958         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
15959         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
15960         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
15961         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
15962         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
15963         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
15964         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
15966 2014-06-25  Roland McGrath  <roland@hack.frob.com>
15968         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
15969         that was previously under [RESET_PID].
15970         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
15972 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
15974         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
15975         not undefine and redefine.
15976         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
15977         [O_CLOEXEC]: Make code unconditional.
15978         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
15979         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
15980         <kernel-features.h>.
15981         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
15982         conditional variable definition.
15983         (shm_open) [O_CLOEXEC]: Make code unconditional.
15984         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
15985         code.
15987         * configure.ac (USE_REGPARMS): Don't define here.
15988         * configure: Regenerated.
15989         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
15990         * sysdeps/i386/configure: Regenerated.
15992         * nptl/createthread.c: Don't include kernel-features.h.
15993         * nptl/pthread_cancel.c: Likewise.
15994         * nptl/pthread_condattr_setclock.c: Likewise.
15995         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
15996         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
15997         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
15998         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
15999         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
16000         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
16001         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
16002         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
16003         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
16004         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
16005         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
16006         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
16007         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
16008         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
16009         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
16010         * nscd/gai.c: Likewise.
16011         * nss/nss_db/db-open.c: Likewise.
16012         * sysdeps/generic/ldsodefs.h: Likewise.
16013         * sysdeps/sh/nptl/tls.h: Likewise.
16014         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16015         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
16016         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
16017         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
16018         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
16019         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16020         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
16021         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16022         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16023         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
16024         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
16025         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16026         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
16027         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
16028         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
16029         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
16030         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16031         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
16032         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
16033         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
16034         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
16035         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
16036         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
16037         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
16038         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
16039         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
16040         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
16041         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
16042         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
16043         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
16044         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
16045         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
16046         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
16047         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16048         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16049         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16050         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16051         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
16052         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
16053         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
16054         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16055         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
16056         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
16057         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16058         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
16059         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
16060         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
16061         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
16062         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
16063         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
16064         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
16065         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
16066         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
16067         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16068         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
16069         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16070         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
16071         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
16072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
16074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
16075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
16076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
16077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
16078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
16079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
16080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
16083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
16084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
16085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
16086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
16092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
16093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
16094         * sysdeps/unix/sysv/linux/pread.c: Likewise.
16095         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
16096         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
16097         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
16098         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
16099         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
16100         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
16101         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
16102         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
16103         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
16104         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
16105         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
16106         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
16107         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
16108         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
16109         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
16110         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16111         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
16112         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
16113         * sysdeps/unix/sysv/linux/system.c: Likewise.
16114         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
16115         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
16116         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16117         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16118         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16119         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16120         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16122         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
16123         * configure: Regenerated.
16124         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
16126         * configure.ac (base_machine): Do not set specially for particular
16127         machines here.
16128         * configure: Regenerated.
16129         * sysdeps/powerpc/preconfigure: Move machine and base_machine
16130         settings from configure.ac.
16131         * sysdeps/i386/preconfigure: New file.
16132         * sysdeps/s390/preconfigure: Likewise.
16133         * sysdeps/sh/preconfigure: Likewise.
16134         * sysdeps/sparc/preconfigure: Likewise.
16136 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16138         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
16139         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
16140         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
16141         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
16142         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
16143         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
16144         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
16145         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
16146         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
16147         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
16148         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
16149         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
16150         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
16151         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
16152         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
16153         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
16154         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
16155         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
16156         * sysdeps/sparc/sparc64/Makefile: ... appended here.
16158         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
16159         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
16160         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
16161         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
16162         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
16163         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
16164         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
16165         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
16166         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
16167         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
16168         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
16169         * sysdeps/sparc/sparc32/sem_post.c: ... here.
16170         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
16171         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
16172         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
16173         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
16174         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
16175         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
16176         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
16177         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
16178         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
16179         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
16180         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
16181         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
16182         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
16183         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
16184         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
16185         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
16186         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
16187         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
16188         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
16189         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
16190         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
16191         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
16192         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
16193         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
16194         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
16195         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
16197         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
16198         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
16199         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
16200         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
16201         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16202         Moved ...
16203         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
16204         ... here.
16205         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
16206         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
16207         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
16208         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
16209         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
16210         Moved ...
16211         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
16212         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
16213         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
16214         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
16215         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
16216         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
16217         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
16218         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16219         Moved ...
16220         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
16221         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16222         Moved ...
16223         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
16224         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
16225         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
16226         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16227         Moved ...
16228         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
16229         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
16230         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
16231         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
16232         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
16233         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
16234         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
16235         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
16236         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
16237         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16238         Moved ...
16239         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
16240         ... here.
16241         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
16242         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
16243         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
16244         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
16245         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
16246         Moved ...
16247         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
16248         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
16249         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
16250         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
16251         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
16252         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
16253         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
16254         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16255         Moved ...
16256         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
16257         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16258         Moved ...
16259         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
16260         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
16261         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
16262         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16263         Moved ...
16264         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
16265         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
16266         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
16267         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
16268         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
16270 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16272         * timezone/checktab.awk: Update from tzcode 2014e.
16273         * timezone/private.h: Likewise.
16274         * timezone/tzfile.h: Likewise.
16275         * timezone/zdump.c: Likewise.
16276         * timezone/zic.c: Likewise.
16278         * sysdeps/unix/sysv/linux/kernel-features.h
16279         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
16280         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
16281         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
16282         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16283         Remove conditional code.
16285 2014-06-25  Will Newton  <will.newton@linaro.org>
16287         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
16288         (_dl_arm_cap_flags): Add HWCAP2 values.
16289         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
16290         (_DL_HWCAP_COUNT): Increase to 37.
16291         (_DL_HWCAP_LAST): New define.
16292         (_DL_HWCAP2_LAST): New define.
16293         (_dl_procinfo): Add support for printing
16294         AT_HWCAP2 entries.
16295         (_dl_string_hwcap): Use _dl_hwcap_string.
16297 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16299         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16301 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16303         * README: Do not mention ports directory.
16305         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
16306         Remove macro.
16307         * sysdeps/unix/sysv/linux/futimes.c: Do not include
16308         <kernel-features.h>.
16309         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
16310         conditional variable definition.
16311         (__futimes): Update comment.
16312         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
16313         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
16315         [BZ #16560]
16316         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
16317         arguments close to 0.
16318         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
16319         Likewise.
16320         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
16321         Likewise.
16322         * math/auto-libm-test-in: Add more tests of exp10.
16323         * math/auto-libm-test-out: Regenerated.
16324         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16326         * sysdeps/unix/sysv/linux/kernel-features.h
16327         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
16328         * sysdeps/unix/sysv/linux/readv.c: Do not include
16329         <kernel-features.h>.
16330         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16331         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
16332         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
16333         unconditional.
16334         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
16335         conditional code.
16336         * sysdeps/unix/sysv/linux/writev.c: Do not include
16337         <kernel-features.h>.
16338         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16339         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
16340         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
16341         unconditional.
16342         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
16343         conditional code.
16345 2014-06-25  Will Newton  <will.newton@linaro.org>
16347         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
16348         comment changes throughout the file.  Remove checks
16349         for HAVE_*_H definitions that are not required.
16350         (__gen_tempname): Call abort if an unknown kind value is
16351         passed.
16353 2014-06-25  Andreas Schwab  <schwab@suse.de>
16355         [BZ #17086]
16356         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
16357         scalbln, scalblnf, scalblnl in libc.
16359 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16361         [BZ #17086]
16362         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
16363         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
16364         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
16366 2014-06-24  Roland McGrath  <roland@hack.frob.com>
16368         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
16369         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
16370         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
16371         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
16372         Update #include.
16373         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
16374         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
16375         Update #include.
16376         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
16377         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
16378         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
16379         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
16380         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
16381         * sysdeps/x86/bits/pthreadtypes.h: ... here.
16382         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
16383         * sysdeps/x86/bits/semaphore.h: ... here.
16384         * sysdeps/x86/nptl/elide.h: Moved ...
16385         * sysdeps/x86/elide.h: ... here.
16386         * sysdeps/x86_64/nptl/Implies: File removed.
16387         * sysdeps/i386/nptl/Implies: File removed.
16389 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
16391         [BZ #16539]
16392         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
16393         return the argument for normal arguments with exponent below -64.
16394         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16395         Likewise.
16396         * math/auto-libm-test-in: Add another test of expm1.
16397         * math/auto-libm-test-out: Regenerated.
16399         [BZ #16287]
16400         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
16401         calling __erfcl for arguments at least 16.
16402         * math/auto-libm-test-in: Add more tests of erf.
16403         * math/auto-libm-test-out: Regenerated.
16405         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
16406         individual architectures.
16407         * sysdeps/unix/sysv/linux/configure: Regenerated.
16408         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
16409         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
16410         * sysdeps/unix/sysv/linux/powerpc/configure.ac
16411         (ldd_rewrite_script): Define variable.
16412         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
16414         file.
16415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
16416         generated file.
16417         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
16418         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
16419         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
16420         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
16421         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
16422         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
16423         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
16424         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
16426 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16428         [BZ #17084]
16429         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
16430         Rename member __data.d to __data.__elision_data.
16432 2014-06-24  Wilco  <wdijkstr@arm.com>
16434         * NEWS: Add 16918 to fixed bug list.
16436 2014-06-24  Wilco  <wdijkstr@arm.com>
16438         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
16440 2014-06-24  Wilco  <wdijkstr@arm.com>
16442         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
16443         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
16444         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
16445         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
16446         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
16447         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
16448         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
16449         Use _FPU_MASK_RM.
16451 2014-06-24  Wilco  <wdijkstr@arm.com>
16453         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
16455 2014-06-24  Wilco  <wdijkstr@arm.com>
16457         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
16458         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
16459         * sysdeps/arm/fesetround.c (fesetround): Remove space.
16460         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
16462 2014-06-24  Wilco  <wdijkstr@arm.com>
16464         [BZ #16918]
16465         * sysdeps/arm/feupdateenv.c (feupdateenv):
16466         Rewrite to reduce FPSCR accesses and fix return value.
16468 2014-06-24  Wilco  <wdijkstr@arm.com>
16470         * sysdeps/arm/fclrexcpt.c (feclearexcept):
16471         Optimize to avoid unnecessary FPSCR writes.
16472         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
16473         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
16474         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
16475         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
16477 2014-06-24  Wilco  <wdijkstr@arm.com>
16479         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
16480         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
16481         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
16482         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
16483         Call libc_fetestexcept_vfp.
16484         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
16485         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
16486         __SOFTFP__ ifdef so that they can be built for softfp.
16488 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16490         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
16491         argument type signed char.
16493         * Makerules (check-abi): Dump diff of symlist if the test
16494         fails.
16496 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16498         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
16499         using abort.
16501         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
16502         Remove unused variable ST.
16504 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
16506         [BZ #16354]
16507         [BZ #17061]
16508         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
16509         small arguments before calling __expm1.
16510         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
16511         small arguments before calling __expm1f.
16512         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
16513         small arguments before calling __expm1l.
16514         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16515         Likewise.
16516         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
16517         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
16518         spurious underflow for some cosh tests.
16519         * math/auto-libm-test-out: Regenerated.
16520         * sysdeps/i386/fpu/libm-test-ulps: Update.
16522         [BZ #17050]
16523         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
16524         (__ieee754_y1): Set errno if return value overflows.
16525         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
16526         (__ieee754_y1f): Set errno if return value overflows.
16527         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
16528         (__ieee754_y1l): Set errno if return value overflows.
16529         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
16530         (__ieee754_y1l): Set errno if return value overflows.
16531         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
16532         * math/auto-libm-test-out: Regenerated.
16534         * math/gen-auto-libm-tests.c: Document use of
16535         ignore-zero-inf-sign.
16536         (input_flag_type): Add value flag_ignore_zero_inf_sign.
16537         (input_flags): Add ignore-zero-inf-sign.
16538         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
16539         * math/gen-libm-test.pl (generate_testfile): Handle
16540         ignore-zero-inf-sign.
16541         * math/auto-libm-test-in: Mark some cpow tests with
16542         ignore-zero-inf-sign and some with xfail-rounding.
16543         * math/auto-libm-test-out: Regenerated.
16544         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
16545         * sysdeps/i386/fpu/libm-test-ulps: Update.
16546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16548         [BZ #16315]
16549         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
16550         overflowing or underflowing operations take place with sign of
16551         result.
16552         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16553         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16554         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
16555         (__ieee754_pow): Recompute overflowing and underflowing results in
16556         original rounding mode.
16557         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
16558         (__powl_helper): Allow negative argument X and scale negated value
16559         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
16560         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
16561         overflowing or underflowing operations take place with sign of
16562         result.
16563         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
16564         Include <math.h>.
16565         * math/auto-libm-test-in: Add more tests of pow.
16566         * math/auto-libm-test-out: Regenerated.
16567         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
16568         (pow_tonearest_test_data): Remove.
16569         (pow_test_tonearest): Likewise.
16570         (pow_towardzero_test_data): Likewise.
16571         (pow_test_towardzero): Likewise.
16572         (pow_downward_test_data): Likewise.
16573         (pow_test_downward): Likewise.
16574         (pow_upward_test_data): Likewise.
16575         (pow_test_upward): Likewise.
16576         (main): Don't call removed functions.
16577         * sysdeps/i386/fpu/libm-test-ulps: Update.
16578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16580 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
16583         Moved ...
16584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
16585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16586         Moved ...
16587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
16588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16589         Moved ...
16590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
16591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16592         Moved ...
16593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
16594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16595         File removed.
16596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16597         File removed.
16598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
16599         File removed.
16600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
16601         File removed.
16602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
16603         File removed.
16604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
16605         File removed.
16606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
16607         File removed.
16608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16609         File removed.
16610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
16611         File removed.
16612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16613         File removed.
16614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
16615         File removed.
16616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
16617         File removed.
16618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
16619         Moved ...
16620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
16621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
16622         Moved ...
16623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
16624         ... here.
16625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
16626         Moved ...
16627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
16628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
16629         Moved ...
16630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
16631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
16632         Moved ...
16633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
16634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
16635         Moved ...
16636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
16637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
16638         Moved ...
16639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
16640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
16641         Moved ...
16642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
16643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
16644         Moved ...
16645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
16646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
16647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
16648         ... here.
16649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
16650         Moved ...
16651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
16652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16653         Moved ...
16654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16655         ... here.
16656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
16657         Moved ...
16658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16659         ... here.
16660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16661         Moved ...
16662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
16663         ... here.
16664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16665         Moved ...
16666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
16667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16668         Moved ...
16669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
16670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
16671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
16672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16673         Moved ...
16674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
16675         ... here.
16676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16677         Moved ...
16678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
16679         ... here.
16680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16681         Moved ...
16682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
16683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16684         Moved ...
16685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
16686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16687         Moved ...
16688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
16689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16690         Moved ...
16691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
16692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16693         Moved ...
16694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
16695         ... here.
16696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16697         Moved ...
16698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
16699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16700         Moved ...
16701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
16702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16703         Moved ...
16704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
16705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16706         Moved ...
16707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
16708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
16709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
16710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16711         Moved ...
16712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
16713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16714         Moved ...
16715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
16716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16717         Moved ...
16718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
16719         ... here.
16720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16721         Moved ...
16722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
16723         ... here.
16724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16725         Moved ...
16726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
16727         ... here.
16728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16729         Moved ...
16730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
16731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16732         Moved ...
16733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
16734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16735         Moved ...
16736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
16737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16738         Moved ...
16739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
16740         ... here.
16741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16742         Moved ...
16743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
16744         ... here.
16745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16746         Moved ...
16747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
16748         ... here.
16749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16750         Moved ...
16751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
16752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16753         Moved ...
16754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
16756 2014-06-23  Will Newton  <will.newton@linaro.org>
16757             Wilco  <wdijkstr@arm.com>
16759         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
16760         implementation.  Include get-rounding-mode.h.
16761         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
16762         [!libc_feholdsetround_noex_ctx]: Define
16763         libc_feholdsetround_noex_ctx.
16764         [!libc_feholdsetround_noexf_ctx]: Define
16765         libc_feholdsetround_noexf_ctx.
16766         [!libc_feholdsetround_noexl_ctx]: Define
16767         libc_feholdsetround_noexl_ctx.
16768         (libc_feholdsetround_ctx): New function.
16769         (libc_feresetround_ctx): New function.
16770         (libc_feholdsetround_noex_ctx): New function.
16771         (libc_feresetround_noex_ctx): New function.
16773 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16775         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
16776         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
16777         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
16778         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
16779         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
16780         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
16782         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
16783         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
16784         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
16785         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
16786         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
16787         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
16788         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
16789         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
16790         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
16791         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
16792         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
16793         Moved ...
16794         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
16795         ... here.
16796         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
16797         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
16798         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
16799         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
16800         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
16801         Moved ...
16802         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
16803         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
16804         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
16805         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
16806         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
16807         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
16808         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
16809         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
16810         Moved ...
16811         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
16812         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
16813         Moved ...
16814         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
16815         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
16816         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
16817         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
16818         Moved ...
16819         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
16820         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
16821         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
16822         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
16823         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
16824         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
16825         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
16826         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
16827         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
16828         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
16829         Moved ...
16830         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
16831         ... here.
16832         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
16833         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
16834         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
16835         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
16836         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
16837         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
16838         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
16839         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
16840         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
16841         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
16842         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
16843         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
16844         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
16845         Moved ...
16846         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
16847         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
16848         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
16849         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
16850         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
16851         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
16852         Moved ...
16853         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
16854         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
16855         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
16856         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
16857         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
16859         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
16860         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
16861         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
16862         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
16863         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
16864         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
16865         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
16866         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
16867         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
16868         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
16869         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
16870         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
16871         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
16872         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
16873         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
16874         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
16875         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
16876         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
16877         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
16878         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
16879         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
16880         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
16881         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
16882         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
16883         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
16884         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
16885         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
16886         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
16888 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
16890         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
16891         (FALLOC_FL_COLLAPSE_RANGE): New macro.
16892         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
16893         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
16894         (IPV6_PMTUDISC_INTERFACE): Likewise.
16895         (IPV6_PMTUDISC_OMIT): Likewise.
16897 2014-06-23  Andreas Schwab  <schwab@suse.de>
16899         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
16900         Remove unused errout label.
16902 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16904         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
16905         macro: hardware supports Vector Crypto instructions.
16907 2014-06-23  Will Newton  <will.newton@linaro.org>
16909         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
16910         rather than __builtin_expect.
16912         * elf/dl-lookup.c (undefined_msg): Remove variable.
16913         (_dl_lookup_symbol_x): Replace undefined_msg with string
16914         literal.
16916         * elf/dl-lookup.c (do_lookup_unique): New function.
16917         (do_lookup_x): Move STB_GNU_UNIQUE handling code
16918         to a separate function.
16920 2014-06-23  Andreas Schwab  <schwab@suse.de>
16922         [BZ #17079]
16923         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
16924         before reading the next line.
16926 2014-06-23  Will Newton  <will.newton@linaro.org>
16928         * test-skeleton.c (signal_handler): Use printf and %m
16929         rather than perror.  Use printf rather than fprintf to
16930         stderr.  Use puts rather than fputs to stderr.
16931         (main): Likewise.
16933 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
16935         * nscd/nscd.c (thread_info_t): Remove typedef.
16936         (thread_info): Remove variable.
16938 2014-06-21  Allan McRae  <allan@archlinux.org>
16940         * NEWS: Mention CVE-2014-4043.
16942 2014-06-20  Roland McGrath  <roland@hack.frob.com>
16944         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
16945         * nptl/smp.h: ... here.
16947         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
16949         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
16950         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
16951         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
16952         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
16954         * nptl/allocatestack.c: Include <stack-aliasing.h>.
16955         * nptl/stack-aliasing.h: New file.
16956         * sysdeps/i386/i686/stack-aliasing.h: New file.
16957         * sysdeps/i386/i686/nptl/Makefile: File removed.
16958         * sysdeps/x86_64/stack-aliasing.h: New file.
16959         * sysdeps/x86_64/nptl/Makefile
16960         (CFLAGS-pthread_create.c): Variable removed.
16962         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
16963         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
16964         old file.
16965         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
16966         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
16967         old file.
16969 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
16971         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16972         (__ASSUME_SIGFRAME_V2): Remove macro.
16973         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
16974         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
16975         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
16976         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
16977         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
16978         Declare as function.  Remove conditional macro definitions.
16979         (__default_rt_sa_restorer): Likewise.
16980         (__default_sa_restorer_v1): Remove declaration.
16981         (__default_sa_restorer_v2): Likewise.
16982         (__default_rt_sa_restorer_v1): Likewise.
16983         (__default_rt_sa_restorer_v2): Likewise.
16984         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
16985         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
16986         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
16988 2014-06-20  Roland McGrath  <roland@hack.frob.com>
16990         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
16991         (libpthread-routines): Add sysdep.
16992         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
16993         * sysdeps/unix/sysv/linux/sparc/Versions
16994         (libpthread: GLIBC_2.3.3): New version set.
16995         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
16996         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
16997         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
16998         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
16999         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
17000         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
17001         Moved ...
17002         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
17003         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
17004         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
17005         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
17006         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
17007         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
17008         * sysdeps/sparc/nptl/sem_init.c: ... here.
17009         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
17010         * sysdeps/sparc/nptl/sem_post.c: ... here.
17011         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
17012         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
17013         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
17014         * sysdeps/sparc/nptl/sem_wait.c: ... here.
17015         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
17016         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
17017         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
17018         (libpthread-routines): Add cpu_relax.
17019         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
17020         File removed.
17021         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
17022         (librt: GLIBC_2.3.3): New version set.
17023         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
17024         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
17025         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
17026         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
17027         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
17028         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
17029         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
17030         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
17031         Moved ...
17032         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
17033         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
17034         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
17035         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
17036         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
17037         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
17038         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
17039         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
17040         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
17041         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
17042         Moved ...
17043         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
17044         Update #include.
17045         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
17046         Moved ...
17047         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
17048         Update #include.
17049         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
17050         Moved ...
17051         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
17052         Update #include.
17053         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
17054         Moved ...
17055         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
17056         Update #include.
17057         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
17058         Moved ...
17059         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
17060         Update #include.
17061         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
17062         Moved ...
17063         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
17064         Update #include.
17065         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
17066         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
17067         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
17068         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
17069         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
17070         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
17071         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
17072         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
17073         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
17074         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
17075         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17076         Moved ...
17077         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
17078         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
17079         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
17080         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
17081         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
17083 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17085         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
17086         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
17087         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
17088         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
17089         * nscd/nscd.c: Likewise.
17090         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
17091         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
17092         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
17093         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
17095         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
17096         <kernel-features.h>.
17097         (init_mq_netlink): Remove conditional have_sock_cloexec
17098         definitions.  Remove code conditional on have_sock_cloexec < 0.
17099         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
17100         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
17101         * sysdeps/unix/sysv/linux/opensock.c: Do not include
17102         <kernel-features.h>.
17103         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
17104         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
17106 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17108         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17109         Add tests for memset_chk and memset.
17111         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
17112         with AVX2_Usable.
17114 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17116         [BZ #16046]
17117         * elf/tst-dl-iter-static.c: New file.
17118         * elf/Makefile (tests-static): Add tst-dl-iter-static.
17120         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
17121         error.
17123 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17125         * sysdeps/unix/sysv/linux/kernel-features.h
17126         (__ASSUME_F_GETOWN_EX): Remove macro.
17127         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
17128         <kernel-features.h>.
17129         (miss_F_GETOWN_EX): Remove variable or macro.
17130         (do_fcntl): Do not check miss_F_GETOWN_EX.
17131         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
17133         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
17134         Remove macro.
17135         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
17136         [!__ASSUME_AT_RANDOM]: Remove conditional code.
17137         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
17139         * sysdeps/unix/sysv/linux/kernel-features.h
17140         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
17141         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
17142         [ADJ_OFFSET_SS_READ]: Make code unconditional.
17143         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
17145 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17147         [BZ #17075]
17148         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
17149         Fix calculation of the symbol's value.
17150         * sysdeps/arm/tst-armtlsdescloc.c: New file.
17151         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
17152         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
17153         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
17154         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
17155         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
17156         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
17157         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
17158         (modules-names): Add `tst-armtlsdescmod',
17159         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
17160         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
17161         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17162         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
17163         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
17164         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17165         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
17166         ($(objpfx)tst-armtlsdescloc): New dependency.
17167         ($(objpfx)tst-armtlsdescextnow): Likewise.
17168         ($(objpfx)tst-armtlsdescextlazy): Likewise.
17169         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
17170         TLS scheme support.
17171         * sysdeps/arm/configure: Regenerate.
17173 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17175         * include/fcntl.h (__atfct_seterrno): Remove prototype.
17176         (__atfct_seterrno_2): Likewise.
17177         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
17178         <kernel-features.h>.
17179         (__ASSUME_ATFCTS): Do not undefine and redefine.
17180         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
17181         (__have_atfcts): Remove conditional definition.
17182         (__fxstatat([__NR_fstatat64]: Make code unconditional.
17183         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
17184         unreachable if [__ASSUME_ATFCTS].
17185         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
17186         not undefine and redefine.
17187         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
17188         <kernel-features.h>.
17189         (faccessat) [__NR_faccessat]: Make code unconditional.
17190         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
17191         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
17192         <kernel-features.h>.
17193         (fchmodat) [__NR_fchmodat]: Make code unconditional.
17194         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17195         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
17196         <kernel-features.h>.
17197         (fchownat) [__NR_fchownat]: Make code unconditional.
17198         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
17199         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
17200         <kernel-features.h>.
17201         (futimesat) [__NR_futimesat]: Make code unconditional.
17202         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
17203         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17204         <kernel-features.h>.
17205         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17206         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17207         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17208         <kernel-features.h>.
17209         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
17210         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17211         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
17212         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17213         <kernel-features.h>.
17214         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
17215         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17216         * sysdeps/unix/sysv/linux/linkat.c: Do not include
17217         <kernel-features.h>.
17218         (linkat) [__NR_linkat]: Make code unconditional.
17219         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17220         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
17221         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
17222         <kernel-features.h>.
17223         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
17224         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17225         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
17226         <kernel-features.h>.
17227         (mkdirat) [__NR_mkdirat]: Make code unconditional.
17228         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
17229         * sysdeps/unix/sysv/linux/openat.c: Do not include
17230         <kernel-features.h>.
17231         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
17232         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
17233         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
17234         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
17235         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
17236         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
17237         <kernel-features.h>.
17238         (readlinkat) [__NR_readlinkat]: Make code unconditional.
17239         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
17240         result of INLINE_SYSCALL directly, not via int variable.
17241         * sysdeps/unix/sysv/linux/renameat.c: Do not include
17242         <kernel-features.h>.
17243         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
17244         (renameat) [__NR_renameat]: Make code unconditional.
17245         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
17246         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
17247         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
17248         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
17249         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
17250         (__ASSUME_ATFCTS): Do not undefine and redefine.
17251         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
17252         <kernel-features.h>.
17253         (symlinkat) [__NR_symlinkat]: Make code unconditional.
17254         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17255         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
17256         <kernel-features.h>.
17257         (unlinkat) [__NR_unlinkat]: Make code unconditional.
17258         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17259         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
17260         (__ASSUME_ATFCTS): Do not undefine and redefine.
17261         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17262         <kernel-features.h>.
17263         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17264         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17265         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17266         <kernel-features.h>.
17267         (__xmknodat) [__NR_mknodat]: Make code unconditional.
17268         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17270 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17272         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
17274 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
17276         [BZ #17069]
17277         * posix/regcomp.c (parse_reg_exp): Deallocate partially
17278         constructed tree before returning error.
17279         * posix/bug-regexp36.c: Expand test case.
17281 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17283         [BZ #6803]
17284         * math/libm-test.inc (scalbln_test_date):
17285         Add errno expectations.
17286         * math/w_scalblnf.c: New File.
17287         Add wrapper which checks for setting errno to ERANGE.
17288         Add weak_alias for corresponding scalbln function.
17289         * math/w_scalbln.c: Likewise.
17290         * math/w_scalblnl.c: Likewise.
17291         * math/Makefile (libm-calls): Add w_scalbln.
17292         * sysdeps/ieee754/flt-32/s_scalblnf.c:
17293         Remove weak_alias for corresponding scalbln function.
17294         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17295         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17296         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17297         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17298         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
17299         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17300         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
17301         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17302         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
17303         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
17304         Remove long_double_symbol for scalblnl function in libm, libc.
17305         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
17306         Add wrapper which checks for setting errno to ERANGE.
17307         Add long_double_symbol for scalblnl function in libm, libc.
17308         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
17309         Remove long_double_symbol for scalblnl in libm.
17310         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
17311         Add wrapper which checks for setting errno to ERANGE.
17312         Add long_double_symbol for scalblnl function in libm.
17313         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
17314         Do not use wrapper because of own implementation.
17316 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
17318         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
17319         3 bytes for __pad1 for x32.
17320         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
17322 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
17323             H.J. Lu  <hongjiu.lu@intel.com>
17325         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
17326         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
17327         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17328         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17329         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
17331 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
17333         [BZ #17069]
17334         * posix/regcomp.c (parse_expression): Deallocate partially
17335         constructed tree before returning error.
17336         * posix/Makefile.c (tests): Add bug-regex36.
17337         (generated): Add bug-regex36.mtrace.
17338         (tests-special): Add $(objpfx)bug-regex36-mem.out
17339         (bug-regex36-ENV): New variable.
17340         ($(objpfx)bug-regex36-mem.out): New rule.
17341         * posix/bug-regex36.c: New file.
17343 2014-06-19  Will Newton  <will.newton@linaro.org>
17345         * malloc/malloc.c (systrim): If extra is zero then return
17346         early.
17348 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17350         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
17352 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
17354         * sysdeps/aarch64/strchr.S: New file.
17356 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
17358         [BZ #17022]
17359         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
17360         from arguments -2 or below.
17361         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
17362         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
17364 2014-06-18  Andreas Schwab  <schwab@suse.de>
17366         [BZ #17062]
17367         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
17368         of a bracket expr not to run off the end of the string.
17369         * posix/Makefile (tests): Add tst-fnmatch3.
17370         * posix/tst-fnmatch3.c: New file.
17372 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
17374         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
17375         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17376         [$(cross-compiling) = no]: Likewise.
17377         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17378         [$(cross-compiling) = no]: Likewise.
17380 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17382         [BZ #17031]
17383         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
17384         double, adjusted for any remainder from the high double.
17385         * math/libm-test.inc (nearbyint): Add tests.
17386         (rint): Likewise.
17388 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17390         * nptl/sysdeps/powerpc/Makefile: Moved ...
17391         * sysdeps/powerpc/nptl/Makefile: ... here.
17392         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
17393         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
17394         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
17395         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
17396         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
17397         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
17398         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
17399         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
17400         * nptl/sysdeps/powerpc/tls.h: Moved ...
17401         * sysdeps/powerpc/nptl/tls.h: ... here.
17403 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
17405         [BZ #16681]
17406         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
17407         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
17408         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
17409         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
17410         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
17411         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
17412         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
17413         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
17414         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
17416 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
17418         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17420 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
17422         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
17423         defined operator.
17425         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
17426         $TIMEOUTFACTOR.
17428 2014-06-16  Florian Weimer  <fweimer@redhat.com>
17430         [BZ #17058]
17431         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
17432         non-executed part of the test.
17434 2014-06-16  Andreas Schwab  <schwab@suse.de>
17436         * string/bits/string2.h (strdup, strndup): Update feature guard.
17438 2014-06-14  David S. Miller  <davem@davemloft.net>
17440         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17442 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
17444         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
17445         that was previously under [RESET_PID].
17446         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
17448         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
17449         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
17450         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
17451         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17452         (__libc_vfork): New strong alias.
17453         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
17455 2014-06-14 Andi Kleen  <ak@linux.intel.com>
17457         * sysdeps/generic/elide.h: New file.
17459 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17461         * Makefile (installed-headers): Adjust path of pthread.h header.
17463 2014-06-13  Roland McGrath  <roland@hack.frob.com>
17465         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
17466         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
17467         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
17468         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
17470         * nptl/sysdeps/s390/Makefile: Moved ...
17471         * sysdeps/s390/nptl/Makefile: ... here.
17472         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
17473         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
17474         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
17475         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
17476         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
17477         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
17478         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
17479         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
17480         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
17481         * sysdeps/s390/nptl/pthreaddef.h: ... here.
17482         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
17483         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
17484         * nptl/sysdeps/s390/tls.h: Moved ...
17485         * sysdeps/s390/nptl/tls.h: ... here.
17487         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
17488         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
17490 2014-06-13  David S. Miller  <davem@davemloft.net>
17492         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
17493         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
17494         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
17495         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
17496         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
17497         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
17498         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
17499         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
17500         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
17501         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
17502         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
17503         Remove RESET_PID cpp guards.
17504         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
17505         Remove RESET_PID cpp guards.
17506         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
17508 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
17510         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
17511         __sp to uintptr_t.
17513 2014-06-13  Andi Kleen  <ak@linux.intel.com>
17515         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
17516         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
17517         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
17518         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
17519         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
17520         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
17521         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
17522         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
17523         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
17524         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
17525         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
17526         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
17527         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
17528         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
17529         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
17530         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
17531         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
17532         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
17533         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
17534         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
17536         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
17537         (pthread_rwlock_rdlock): Add elision.
17538         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
17539         (pthread_rwlock_wrlock): Add elision.
17540         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
17541         (pthread_rwlock_trywrlock): Add elision.
17542         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
17543         (pthread_rwlock_tryrdlock): Add elision.
17544         * nptl/pthread_rwlock_unlock.c: Include elide.h.
17545         (pthread_rwlock_tryrdlock): Add elision unlock.
17546         * nptl/sysdeps/pthread/pthread.h:
17547         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
17548         (PTHREAD_RWLOCK_INITIALIZER,
17549         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
17550         Handle new elision field.
17551         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
17552         * sysdeps/arm/nptl/bits/pthreadtypes.h
17553         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17554         * sysdeps/sh/nptl/bits/pthreadtypes.h
17555         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17556         * sysdeps/tile/nptl/bits/pthreadtypes.h
17557         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17558         * sysdeps/a/nptl/bits/pthreadtypes.h
17559         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17560         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
17561         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17562         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
17563         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17564         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
17565         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17566         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
17567         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17568         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
17569         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17570         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
17571         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17572         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
17573         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17574         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
17575         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17576         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
17577         (elision_init): Set try_xbegin to zero when no RTM.
17578         * sysdeps/x86/nptl/bits/pthreadtypes.h
17579         (pthread_rwlock_t): Change __pad1 to __rwelision.
17580         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17582 2014-06-13  Andi Kleen  <ak@linux.intel.com>
17584         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
17585         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
17586         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
17587         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
17589 2014-06-13  Meador Inge  <meadori@codesourcery.com>
17591         [BZ #16996]
17592         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
17593         that the cached result has been set before returning it.
17595 2014-06-12  Roland McGrath  <roland@hack.frob.com>
17597         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
17598         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
17599         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
17600         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
17601         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
17602         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
17604         * nptl/sysdeps/sparc/Makefile: Moved ...
17605         * sysdeps/sparc/nptl/Makefile: ... here.
17606         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
17607         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
17608         * nptl/sysdeps/sparc/tls.h: Moved ...
17609         * sysdeps/sparc/nptl/tls.h: ... here.
17610         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
17611         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
17612         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
17613         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
17614         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
17615         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
17616         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
17617         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
17618         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
17619         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
17620         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
17621         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
17622         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
17623         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
17624         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
17625         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
17626         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
17627         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
17628         Update #include.
17629         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
17630         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
17631         Update #include.
17632         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
17633         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
17634         Update #include.
17635         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
17636         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
17637         Update #include.
17639         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
17641         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
17642         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
17644         * sysdeps/pthread/posix-timer.h: Include <list.h>.
17645         (struct list_links): Type removed.
17646         (struct thread_node, struct timer_node): Replace struct list_links
17647         with struct list_head.
17648         (list_unlink_ip): Likewise.
17649         * sysdeps/pthread/timer_routines.c
17650         (timer_free_list, thread_free_list, thread_active_list): Likewise.
17651         (list_append, list_insbefore): Likewise.
17652         (list_init): Function removed.
17653         (thread_init, init_module): Use INIT_LIST_HEAD instead.
17654         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
17655         * sysdeps/pthread/Makefile: ... here, new file.
17657         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
17658         * sysdeps/nptl/Implies: ... here.
17659         * sysdeps/unix/sysv/linux/Implies: Add nptl.
17660         * nptl/sysdeps/pthread/list.h: Moved ...
17661         * include/list.h: ... here.
17662         * nptl/sysdeps/pthread/createthread.c: Moved ...
17663         * nptl/createthread.c: ... here.
17664         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
17665         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
17666         * nptl/pt-longjmp.c: ... here.
17667         * nptl/sysdeps/pthread/Makefile: Moved ...
17668         * sysdeps/nptl/Makefile: ... here.
17669         * nptl/sysdeps/pthread/Subdirs: Moved ...
17670         * sysdeps/nptl/Subdirs: ... here.
17671         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
17672         * sysdeps/nptl/aio_misc.h: ... here.
17673         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
17674         * sysdeps/nptl/bits/libc-lock.h: ... here.
17675         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
17676         * sysdeps/nptl/bits/libc-lockP.h: ... here.
17677         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
17678         * sysdeps/nptl/bits/stdio-lock.h: ... here.
17679         * nptl/sysdeps/pthread/configure: Moved ...
17680         * sysdeps/nptl/configure: ... here.
17681         * nptl/sysdeps/pthread/configure.ac: Moved ...
17682         * sysdeps/nptl/configure.ac: ... here.
17683         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
17684         * sysdeps/nptl/gai_misc.h: ... here.
17685         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
17686         * sysdeps/nptl/librt-cancellation.c: ... here.
17687         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
17688         * sysdeps/nptl/malloc-machine.h: ... here.
17689         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
17690         * sysdeps/nptl/pthread-functions.h: ... here.
17691         * nptl/sysdeps/pthread/pthread.h: Moved ...
17692         * sysdeps/nptl/pthread.h: ... here.
17693         * nptl/sysdeps/pthread/setxid.h: Moved ...
17694         * sysdeps/nptl/setxid.h: ... here.
17695         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
17696         * sysdeps/nptl/sigfillset.c: ... here.
17697         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
17698         * sysdeps/nptl/tcb-offsets.h: ... here.
17699         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
17700         * sysdeps/nptl/tst-mqueue8x.c: ... here.
17701         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
17702         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
17703         * nptl/sysdeps/pthread/allocalim.h: Moved ...
17704         * sysdeps/pthread/allocalim.h: ... here.
17705         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
17706         * sysdeps/pthread/bits/sigthread.h: ... here.
17707         * nptl/sysdeps/pthread/flockfile.c: Moved ...
17708         * sysdeps/pthread/flockfile.c: ... here.
17709         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
17710         * sysdeps/pthread/ftrylockfile.c: ... here.
17711         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
17712         * sysdeps/pthread/funlockfile.c: ... here.
17713         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
17714         * sysdeps/pthread/posix-timer.h: ... here.
17715         * nptl/sysdeps/pthread/timer_create.c: Moved ...
17716         * sysdeps/pthread/timer_create.c: ... here.
17717         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
17718         * sysdeps/pthread/timer_delete.c: ... here.
17719         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
17720         * sysdeps/pthread/timer_getoverr.c: ... here.
17721         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
17722         * sysdeps/pthread/timer_gettime.c: ... here.
17723         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
17724         * sysdeps/pthread/timer_routines.c: ... here.
17725         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
17726         * sysdeps/pthread/timer_settime.c: ... here.
17727         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
17728         * sysdeps/pthread/tst-timer.c: ... here.
17729         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
17730         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
17732         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
17733         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
17735         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
17736         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
17737         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
17738         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
17739         Update #include target.
17740         * nptl/sysdeps/i386/i686/Makefile: Moved ...
17741         * sysdeps/i386/i686/nptl/Makefile: ... here.
17742         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
17743         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
17744         Update #include target.
17745         * nptl/sysdeps/i386/i686/tls.h: Moved ...
17746         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
17747         * nptl/sysdeps/i386/Makefile: Moved ...
17748         * sysdeps/i386/nptl/Makefile: ... here.
17749         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
17750         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
17751         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
17752         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
17753         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
17754         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
17755         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
17756         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
17757         * sysdeps/i386/nptl/pthreaddef.h: ... here.
17758         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
17759         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
17760         * nptl/sysdeps/i386/tls.h: Moved ...
17761         * sysdeps/i386/nptl/tls.h: ... here.
17763         * sysdeps/sh/Makefile [$(subdir) = csu]
17764         (gen-as-const-headers): Add tcb-offsets.sym.
17765         * nptl/sysdeps/sh/Makefile: File removed.
17766         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
17767         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
17768         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
17769         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
17770         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
17771         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
17772         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
17773         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
17774         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
17775         * sysdeps/sh/nptl/pthreaddef.h: ... here.
17776         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
17777         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
17778         * nptl/sysdeps/sh/tls.h: Moved ...
17779         * sysdeps/sh/nptl/tls.h: ... here.
17780         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
17781         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
17782         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
17783         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
17784         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
17785         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
17786         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
17787         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
17788         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
17789         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
17790         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
17791         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
17792         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
17793         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
17794         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
17795         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
17796         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
17797         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
17798         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
17799         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
17800         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
17801         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
17802         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
17803         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
17804         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
17805         Moved ...
17806         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
17807         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
17808         Moved ...
17809         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
17810         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
17811         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
17812         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
17813         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
17814         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
17815         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
17816         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
17817         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
17818         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
17819         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
17820         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
17821         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
17822         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
17823         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
17824         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
17825         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
17826         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
17827         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
17829 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17831         * posix/spawn_faction_addopen.c: Include string.h.
17833 2014-06-11  Roland McGrath  <roland@hack.frob.com>
17835         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
17836         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
17837         * nptl/sysdeps/x86_64/Makefile: Moved ...
17838         * sysdeps/x86_64/nptl/Makefile: ... here.
17839         * nptl/sysdeps/x86_64/configure: Moved ...
17840         * sysdeps/x86_64/nptl/configure: ... here.
17841         * nptl/sysdeps/x86_64/configure.ac: Moved ...
17842         * sysdeps/x86_64/nptl/configure.ac: ... here.
17843         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
17844         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
17845         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
17846         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
17847         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
17848         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
17849         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
17850         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
17851         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
17852         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
17853         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
17854         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
17855         * nptl/sysdeps/x86_64/tls.h: Moved ...
17856         * sysdeps/x86_64/nptl/tls.h: ... here.
17857         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
17858         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
17859         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
17860         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
17862         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
17864 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17866         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17868 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
17870         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
17871         type.
17872         [POSIX] (off_t): Likewise.
17873         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
17874         [POSIX] (S_ISBLK): Require macro.
17875         [POSIX] (S_ISCHR): Likewise.
17876         [POSIX] (S_ISDIR): Likewise.
17877         [POSIX] (S_ISFIFO): Likewise.
17878         [POSIX] (S_ISREG): Likewise.
17879         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
17880         optional-macro.
17881         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
17882         type.
17883         [POSIX] (time_t): Likewise.
17884         [POSIX] (timer_t): Likewise.
17886 2014-06-11  Florian Weimer  <fweimer@redhat.com>
17888         [BZ #17048]
17889         * posix/spawn_int.h (struct __spawn_action): Make the path string
17890         non-const to support deallocation.
17891         * posix/spawn_faction_addopen.c
17892         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
17893         * posix/spawn_faction_destroy.c
17894         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
17895         path in all spawn_do_open actions.
17896         * posix/tst-spawn.c (do_test): Exercise the copy operation in
17897         posix_spawn_file_actions_addopen.
17899 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
17901         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
17902         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
17903         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
17904         conditional code always true.
17905         (__libc_vfork): New alias.
17907 2014-06-11  Roland McGrath  <roland@hack.frob.com>
17909         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17910         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
17912         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
17914         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17915         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
17917         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
17918         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
17920         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17921         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
17923 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
17925         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
17926         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
17927         multiarch strcmp for PPC64.
17928         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
17929         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
17930         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
17931         multiarch optimizations.
17932         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17933         (__libc_ifunc_impl_list): Likewise.
17935 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17937         * benchtests/scripts/validate_benchout.py: New script.
17938         * benchtests/Makefile (bench-func): Call it.
17939         * benchtests/scripts/benchout.schema.json: New file.
17941 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
17943         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
17944         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
17945         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
17946         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
17947         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
17948         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
17949         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
17950         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
17951         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
17952         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
17953         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
17954         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
17955         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
17956         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
17957         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
17958         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
17959         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
17960         Moved ...
17961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
17962         ... here.
17963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
17964         Moved ...
17965         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
17966         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
17967         Moved ...
17968         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
17969         ... here.
17970         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
17971         Moved ...
17972         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
17973         ... here.
17974         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
17975         Moved ...
17976         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
17977         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
17978         Moved ...
17979         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
17980         ... here.
17981         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
17982         Moved ...
17983         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
17984         ... here.
17985         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
17986         Moved ...
17987         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
17988         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
17989         Moved ...
17990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
17991         ... here.
17992         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
17993         Moved ...
17994         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
17995         ... here.
17996         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
17997         Moved ...
17998         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
17999         ... here.
18000         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
18001         Moved ...
18002         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
18003         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
18004         Moved ...
18005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
18006         ... here.
18007         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
18008         Moved ...
18009         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
18010         ... here.
18011         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
18012         Moved ...
18013         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
18014         ... here.
18015         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
18016         Moved ...
18017         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
18018         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
18019         Moved ...
18020         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
18021         ... here.
18022         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
18023         Moved ...
18024         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
18025         ... here.
18026         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
18027         Moved ...
18028         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
18029         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
18030         Moved ...
18031         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
18032         ... here.
18033         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
18034         Moved ...
18035         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
18036         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
18037         Moved ...
18038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
18039         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
18040         Moved ...
18041         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
18042         ... here.
18043         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
18044         Moved ...
18045         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
18046         ... here.
18047         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
18048         Moved ...
18049         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
18050         ... here.
18051         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
18052         Moved ...
18053         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
18054         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
18055         Moved ...
18056         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
18057         ... here.
18058         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
18059         Moved ...
18060         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
18061         ... here.
18062         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
18063         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
18064         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
18065         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
18066         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
18067         Moved ...
18068         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18069         ... here.
18070         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
18071         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
18072         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
18073         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
18074         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
18075         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
18076         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
18077         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
18078         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
18079         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
18080         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
18081         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
18082         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
18083         Moved ...
18084         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
18085         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
18086         Moved ...
18087         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
18088         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
18089         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
18090         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
18091         Moved ...
18092         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
18093         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
18094         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
18095         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
18096         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
18097         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
18098         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
18100 2014-06-10  Wilco  <wdijkstr@arm.com>
18102         * math/test-fenv-return.c: New file.
18103         * math/Makefile: Add new test test-fenv-return.
18105 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
18107         [BZ #17042]
18108         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
18109         when x - 1 is zero.
18110         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
18111         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
18112         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
18113         0.0L for an argument of 1.0L.
18114         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
18115         Likewise.
18116         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
18117         value when x - 1 is zero.
18118         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
18119         * sysdeps/i386/fpu/libm-test-ulps: Update.
18120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18122 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
18124         [BZ #15119]
18125         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
18127 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18129         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
18130         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
18132 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18134         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18135         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
18137         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18138         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
18140         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18141         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
18143         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18144         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
18146         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
18147         if not already defined.
18148         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
18149         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
18150         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
18151         (TLS_INIT_TP): Use it.
18152         (TLS_DEFINE_INIT_TP): New macro.
18153         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
18155 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
18157         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
18158         constant.
18159         [POSIX] (IXANY): Likewise.
18160         [POSIX] (OLCUC): Likewise.
18161         [POSIX || POSIX2008] (CBAUD): Do not allow.
18162         [POSIX || POSIX2008] (DEFECHO): Likewise.
18163         [POSIX || POSIX2008] (ECHOCTL): Likewise.
18164         [POSIX || POSIX2008] (ECHOKE): Likewise.
18165         [POSIX || POSIX2008] (ECHOPRT): Likewise.
18166         [POSIX || POSIX2008] (EXTA): Likewise.
18167         [POSIX || POSIX2008] (EXTB): Likewise.
18168         [POSIX || POSIX2008] (FLUSHO): Likewise.
18169         [POSIX || POSIX2008] (LOBLK): Likewise.
18170         [POSIX || POSIX2008] (PENDIN): Likewise.
18171         [POSIX || POSIX2008] (SWTCH): Likewise.
18172         [POSIX || POSIX2008] (VDISCARD): Likewise.
18173         [POSIX || POSIX2008] (VDSUSP): Likewise.
18174         [POSIX || POSIX2008] (VLNEXT): Likewise.
18175         [POSIX || POSIX2008] (VREPRINT): Likewise.
18176         [POSIX || POSIX2008] (VSTATUS): Likewise.
18177         [POSIX || POSIX2008] (VWERASE): Likewise.
18178         (B*): Change to B[0123456789]*.
18179         * conform/data/time.h-data [POSIX || UNIX98]
18180         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
18181         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
18182         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
18183         [POSIX] (tm_*): Do not allow.
18185 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
18187         * Makefile (install): Don't set LANGUAGE.
18188         * Makefile.in (install): Likewise.
18189         * assert/Makefile (test-assert-ENV): Remove variable.
18190         (test-assert-perr-ENV): Likewise.
18191         * elf/Makefile (neededtest4-ENV): Likewise.
18192         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18193         [$(cross-compiling) = no]: Don't set LANGUAGE.
18194         * io/ftwtest-sh (LANG): Remove variable.
18195         * libio/Makefile (tst-widetext-ENV): Likewise.
18196         * manual/install.texi (Running make install): Don't refer to
18197         environment settings for make install.
18198         * INSTALL: Regenerated.
18199         * nptl/tst-tls6.sh: Don't set LANG.
18200         * posix/globtest.sh (LANG): Remove variable.
18201         * string/Makefile (tester-ENV): Likewise.
18202         (inl-tester-ENV): Likewise.
18203         (noinl-tester-ENV): Likewise.
18204         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18205         [$(cross-compiling) = no]: Don't set LANGUAGE.
18206         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
18207         without explicit environment settings.
18209 2014-06-06  Roland McGrath  <roland@hack.frob.com>
18211         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
18212         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
18213         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
18214         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
18216 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
18218         * crypt/crypt-private.h [DOS]: Add some includes taken from the
18219         other files in the crypt directory.
18220         * crypt/crypt.c: Remove duplicate includes.
18221         * crypt/crypt-entry.c: Likewise.
18222         * crypt/crypt_util.c: Likewise.
18224 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
18226         * Makeconfig (run-program-env): New variable.
18227         (run-program-prefix-before-env): Likewise.
18228         (run-program-prefix-after-env): Likewise.
18229         (run-program-prefix): Define in terms of new variables.
18230         (built-program-cmd-before-env): New variable.
18231         (built-program-cmd-after-env): Likewise.
18232         (built-program-cmd): Define in terms of new variables.
18233         (test-program-prefix-before-env): New variable.
18234         (test-program-prefix-after-env): Likewise.
18235         (test-program-prefix): Define in terms of new variables.
18236         (test-program-cmd-before-env): New variable.
18237         (test-program-cmd-after-env): Likewise.
18238         (test-program-cmd): Define in terms of new variables.
18239         * Rules (make-test-out): Use $(run-program-env).
18240         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
18241         (help): Do not mention environment variables.  Mention
18242         --timeoutfactor option.
18243         (timeoutfactor): New variable.
18244         (blacklist_exports): Remove function.
18245         (exports): Remove variable.
18246         (command): Do not include ${exports}.
18247         * manual/install.texi (Configuring and compiling): Do not mention
18248         test wrappers preserving environment variables.  Mention that last
18249         assignment to a variable must take precedence.
18250         * INSTALL: Regenerated.
18251         * benchtests/Makefile (run-bench): Use $(run-program-env).
18252         * catgets/Makefile ($(objpfx)test1.cat): Use
18253         $(built-program-cmd-before-env), $(run-program-env) and
18254         $(built-program-cmd-after-env).
18255         ($(objpfx)test2.cat): Do not specify environment variables
18256         explicitly.
18257         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
18258         $(run-program-env) and $(built-program-cmd-after-env).
18259         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
18260         $(run-program-env) and $(test-program-cmd-after-env).
18261         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
18262         explicitly.
18263         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
18264         run_program_env and test_program_cmd_after_env arguments.
18265         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
18266         * elf/tst-pathopt.sh: Use run_program_env argument.
18267         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
18268         $(test-wrapper-env) and $(run-program-env).
18269         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
18270         run_program_env arguments.
18271         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
18272         * intl/Makefile ($(objpfx)tst-gettext.out): Use
18273         $(test-program-prefix-before-env), $(run-program-env) and
18274         $(test-program-prefix-after-env).
18275         ($(objpfx)tst-gettext2.out): Likewise.
18276         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
18277         run_program_env and test_program_prefix_after_env arguments.
18278         * intl/tst-gettext2.sh: Likewise.
18279         * intl/tst-gettext4.sh: Do not set environment variables
18280         explicitly.
18281         * intl/tst-gettext6.sh: Likewise.
18282         * intl/tst-translit.sh: Likewise.
18283         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
18284         $(test-program-prefix-before-env), $(run-program-env) and
18285         $(test-program-prefix-after-env).
18286         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
18287         run_program_env and test_program_prefix_after_env arguments.
18288         * math/Makefile (run-regen-ulps): Use $(run-program-env).
18289         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
18290         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
18291         explicitly with each use of ${test_wrapper_env}.
18292         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
18293         $(test-program-prefix-before-env), $(run-program-env) and
18294         $(test-program-prefix-after-env).
18295         * posix/tst-getconf.sh: Do not set environment variables
18296         explicitly.
18297         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
18298         run_program_env and test_program_prefix_after_env arguments.
18299         * stdio-common/tst-printf.sh: Do not set environment variables
18300         explicitly.
18301         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
18302         $(test-program-prefix-before-env), $(run-program-env) and
18303         $(test-program-prefix-after-env).
18304         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
18305         run_program_env and test_program_prefix_after_env arguments.
18306         Split $test calls into $test_pre and $test.
18307         * timezone/Makefile (build-testdata): Use
18308         $(built-program-cmd-before-env), $(run-program-env) and
18309         $(built-program-cmd-after-env).
18311 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18313         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
18314         strlen for non SHARED builds.
18316 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18318         * nptl/allocatestack.c (check_list): Inlined function...
18319         (__reclaim_stacks): ... here.
18321 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
18323         [BZ #15698]
18324         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
18325         memory overrun.
18327 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
18329         * Rules (make-test-out): Include
18330         LOCPATH=$(common-objpfx)localedata in default environment.
18331         * debug/Makefile (tst-chk1-ENV): Remove variable.
18332         (tst-chk2-ENV): Likewise.
18333         (tst-chk3-ENV): Likewise.
18334         (tst-chk4-ENV): Likewise.
18335         (tst-chk5-ENV): Likewise.
18336         (tst-chk6-ENV): Likewise.
18337         (tst-lfschk1-ENV): Likewise.
18338         (tst-lfschk2-ENV): Likewise.
18339         (tst-lfschk3-ENV): Likewise.
18340         (tst-lfschk4-ENV): Likewise.
18341         (tst-lfschk5-ENV): Likewise.
18342         (tst-lfschk6-ENV): Likewise.
18343         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
18344         (tst-iconv7-ENV): Likewise.
18345         * intl/Makefile (LOCPATH-ENV): Likewise.
18346         (tst-codeset-ENV): Likewise.
18347         (tst-gettext3-ENV): Likewise.
18348         (tst-gettext5-ENV): Likewise.
18349         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
18350         (tst-fopenloc-ENV): Likewise.
18351         (tst-fgetws-ENV): Remove variable.
18352         (tst-ungetwc1-ENV): Likewise.
18353         (tst-ungetwc2-ENV): Likewise.
18354         (bug-ungetwc2-ENV): Likewise.
18355         (tst-swscanf-ENV): Likewise.
18356         (bug-ftell-ENV): Likewise.
18357         (tst-fgetwc-ENV): Likewise.
18358         (tst-fseek-ENV): Likewise.
18359         (tst-ftell-partial-wide-ENV): Likewise.
18360         (tst-ftell-active-handler-ENV): Likewise.
18361         (tst-ftell-append-ENV): Likewise.
18362         * posix/Makefile (tst-fnmatch-ENV): Likewise.
18363         (tst-regexloc-ENV): Likewise.
18364         (bug-regex1-ENV): Likewise.
18365         (tst-regex-ENV): Likewise.
18366         (tst-regex2-ENV): Likewise.
18367         (bug-regex5-ENV): Likewise.
18368         (bug-regex6-ENV): Likewise.
18369         (bug-regex17-ENV): Likewise.
18370         (bug-regex18-ENV): Likewise.
18371         (bug-regex19-ENV): Likewise.
18372         (bug-regex20-ENV): Likewise.
18373         (bug-regex22-ENV): Likewise.
18374         (bug-regex23-ENV): Likewise.
18375         (bug-regex25-ENV): Likewise.
18376         (bug-regex26-ENV): Likewise.
18377         (bug-regex30-ENV): Likewise.
18378         (bug-regex32-ENV): Likewise.
18379         (bug-regex33-ENV): Likewise.
18380         (bug-regex34-ENV): Likewise.
18381         (bug-regex35-ENV): Likewise.
18382         (tst-rxspencer-ENV): Likewise.
18383         (tst-rxspencer-no-utf8-ENV): Likewise.
18384         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
18385         (tst-sscanf-ENV): Likewise.
18386         (tst-swprintf-ENV): Likewise.
18387         (tst-swscanf-ENV): Likewise.
18388         (test-vfprintf-ENV): Likewise.
18389         (scanf13-ENV): Likewise.
18390         (bug14-ENV): Likewise.
18391         (tst-grouping-ENV): Likewise.
18392         * stdlib/Makefile (tst-strtod-ENV): Likewise.
18393         (tst-strtod3-ENV): Likewise.
18394         (tst-strtod4-ENV): Likewise.
18395         (tst-strtod5-ENV): Likewise.
18396         (testmb2-ENV): Likewise./
18397         * string/Makefile (tst-strxfrm-ENV): Likewise.
18398         (tst-strxfrm2-ENV): Likewise.
18399         (bug-strcoll1-ENV): Likewise.
18400         (test-strcasecmp-ENV): Likewise.
18401         (test-strncasecmp-ENV): Likewise.
18402         * time/Makefile (tst-strptime-ENV): Likewise.
18403         (tst-ftime_l-ENV): Likewise.
18404         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
18405         (tst-mbrtowc-ENV): Likewise.
18406         (tst-wcrtomb-ENV): Likewise.
18407         (tst-mbrtowc2-ENV): Likewise.
18408         (tst-c16c32-1-ENV): Likewise.
18409         (tst-mbsnrtowcs-ENV): Likewise.
18411 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
18413         * manual/resource.texi (How to get information about the memory
18414         subsystem?): Fix typo.
18415         Reported by Peon de la Parra Ivan <peon@keba.com>
18417 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
18419         [BZ #16882]
18420         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
18421         (pthread_spin_lock): Branch out of spin loop to proper location.
18422         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
18423         (pthread_spin_lock): Likewise.
18425         * nptl/tst-spin4.c: New test.
18426         * nptl/Makefile (tests): Add tst-spin4.
18428 2014-06-03  Andreas Schwab  <schwab@suse.de>
18430         [BZ #15946]
18431         * resolv/res_send.c (send_dg): Reload file descriptor after
18432         calling reopen.
18434 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
18436         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18438 2014-06-03  Richard Henderson  <rth@redhat.com>
18440         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
18441         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
18442         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
18443         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
18444         in the SAVE_PID block.
18445         (__libc_vfork): New alias.
18446         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
18448         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
18449         child in registers, not on the stack.  Remove RESET_PID conditionals.
18450         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
18452 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
18454         * sysdeps/aarch64/libm-test-ulps: Regenerate.
18456 2014-06-03  Wilco  <wdijkstr@arm.com>
18458         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
18459         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
18460         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
18461         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
18462         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
18463         Likewise.
18465 2014-06-03  Wilco  <wdijkstr@arm.com>
18467         * sysdeps/aarch64/fpu/math_private.h
18468         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
18469         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
18470         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
18471         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
18472         Fix declarations.
18474 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18476         * crypt/crypt-private.h: Include ufc-crypt.h.
18477         (__b64_from_24bit): Declare extern.
18478         * crypt/crypt_util.c(__b64_from_24bit): New function.
18479         (b64t): New static const variable.
18480         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
18481         (b64t): Remove variable.
18482         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
18483         * crypt/sha256-crypt.c: Include crypt-private.h.
18484         (b64t): Remove variable.
18485         (__sha256_crypt_r): Remove b64_from_24bit and replace
18486         with __b64_from_24bit.
18487         * crypt/sha512-crypt.c: Likewise.
18489 2014-06-02  Roland McGrath  <roland@hack.frob.com>
18491         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
18492         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
18493         Label the code __libc_vfork rather than __vfork.
18494         [!NOT_IN_libc] (vfork): Define as weak alias.
18495         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
18496         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
18497         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
18499 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18501         * malloc/malloc.c (malloc_info): Fix format specifier for
18502         n_mmaps.
18504 2014-06-02  Wilco  <wdijkstr@arm.com>
18506         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
18507         FPCR write.
18509 2014-06-02  Wilco  <wdijkstr@arm.com>
18511         [BZ #17009]
18512         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
18513         Rewrite to reduce FPCR/FPSR accesses.
18515 2014-06-01  David S. Miller  <davem@davemloft.net>
18517         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18519 2014-05-31  David S. Miller  <davem@davemloft.net>
18521         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
18522         to occur in round to nearest mode when |x| >= 2.0
18524 2014-05-30  Richard Henderson  <rth@twiddle.net>
18526         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
18527         (PSEUDO_RET_NOERRNO): Remove.
18528         (ret): Don't redefine.
18529         (ret_NOERRNO): Define in terms of ret.
18530         (ret_ERRVAL): Likewise.
18532         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
18533         use of PSEUDO_RET; perform the error check directly.
18535 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
18537         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
18538         with __int128_t.
18540 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18542         * malloc/malloc (malloc_info): Fix formatting.
18544 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18545             Roland McGrath  <roland@hack.frob.com>
18547         * malloc/malloc (malloc_info): Also print mmapped statistics.
18549 2014-05-30  Roland McGrath  <roland@hack.frob.com>
18551         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
18552         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
18554 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
18556         * malloc/malloc.c (malloc_info): Inline mi_arena.
18558 2014-05-29  Richard Henderson  <rth@twiddle.net>
18560         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
18561         Remove comma before expanding ASM_ARGS_##nr.
18562         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
18563         Make _x0 a strict output; make _x8 a strict input; adjust expansion
18564         of ASM_ARGS_##nr.
18565         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
18566         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
18567         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
18568         (ASM_ARGS_1): Add leading comma.
18570         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
18571         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
18572         to __errno_location.
18573         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
18574         Remove the expected plt for __errno_location.
18576         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18577         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
18578         call to __read_tp.
18580         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18581         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
18582         it and break it down.
18583         (DOCARGS_0, DOCARGS_1): Do nothing.
18584         (DOCARGS_2): Update to store into the new stack frame.
18585         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
18586         (UNDOCARGS_1): Update to restore from the new stack frame.
18587         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
18588         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
18590         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18591         (SINGLE_THREAD_P): New parameter for result regno.
18592         (PSEUDO): Update to match; use cbz instead of beq.
18594         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18595         Use ENTRY to define the _nocancel entry point.  Share the syscall
18596         and syscall error check paths with the cancel path.
18597         (PSEUDO_END): New.
18599         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
18600         whitespace; tabs before and after asm mnemonics.
18602 2014-05-29  Eric Wong  <normalperson@yhbt.net>
18604         [BZ #15132]
18605         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18606         Call fstat64 or stat64 internally, depending on arguments passed.
18607         Replace stat buffer argument with file descriptor argument.
18608         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
18609         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
18610         Pass fd to __internal_statvfs instead of calling fstat64.
18611         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
18612         Pass fd to __internal_statvfs64 instead of calling fstat64.
18613         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
18614         Pass -1 to __internal_statvfs instead of calling stat64.
18615         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
18616         Pass -1 to __internal_statvfs64 instead of calling stat64.
18618 2014-05-28  Roland McGrath  <roland@hack.frob.com>
18620         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
18621         that was previously under [RESET_PID].
18622         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
18624         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
18625         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
18627 2014-05-27  Roland McGrath  <roland@hack.frob.com>
18629         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
18631         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
18632         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
18634 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
18636         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
18638 2014-05-27  Andreas Schwab  <schwab@suse.de>
18640         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
18641         TLS_INIT_TP macro.
18642         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
18643         * elf/rtld.c (init_tls, dl_main): Likewise.
18644         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
18645         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
18646         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
18647         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
18648         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
18649         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
18650         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
18651         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
18652         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
18653         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
18654         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
18655         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
18656         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
18657         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
18658         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
18659         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
18660         * sysdeps/generic/tls.h: Update description.
18662 2014-05-27  Will Newton  <will.newton@linaro.org>
18664         [BZ #16990]
18665         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
18666         and restore r2 rather than just restoring.
18668 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18670         [BZ #16724]
18671         * libio/tst-ftell-append.c: New test case.
18672         * libio/Makefile (tests): Add test case.
18673         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
18674         append mode.
18675         * libio/wfileops.c (do_ftell_wide): Likewise.
18677 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18679         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18681         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
18682         ...
18683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
18684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18685         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
18686         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
18687         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
18688         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
18689         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
18690         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
18691         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
18692         Moved ...
18693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
18694         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
18695         Moved ...
18696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
18697         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
18698         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
18699         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
18700         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
18701         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
18702         ...
18703         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
18704         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
18705         Moved ...
18706         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
18707         here.
18708         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
18709         ...
18710         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
18711         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
18712         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
18714         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
18715         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
18716         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
18717         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
18719         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
18720         merge into ...
18721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
18722         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
18723         ...
18724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
18725         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
18726         ...
18727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
18728         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18729         Moved ...
18730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
18731         here.
18732         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18733         Moved ...
18734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
18735         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18736         Moved ...
18737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
18739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
18740         conditional [RESET_PID].
18741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
18742         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
18743         removed.
18744         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
18745         removed.
18747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
18748         <tcb-offsets.h>.
18749         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18750         (__libc_vfork): New strong alias.
18751         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
18752         removed.
18753         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
18754         Removed.
18756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
18757         <tcb-offsets.h>.
18758         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
18759         (__libc_vfork): New strong alias.
18760         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
18761         removed.
18762         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
18763         removed.
18765 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
18767         * malloc/malloc.c (mi_arena): New function.
18768         (malloc_info): Remove nested function mi_arena. Call non-nosted
18769         function mi_arena.
18771 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18773         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
18774         by insrwi.
18775         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
18776         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
18777         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
18778         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
18779         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
18780         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
18781         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
18783 2014-05-26  Andreas Schwab  <schwab@suse.de>
18785         [BZ #16984]
18786         * locale/programs/repertoire.c (repertoire_read): Add slash
18787         between I18NPATH element and file name.
18788         * locale/programs/locfile.c (locfile_read): Likewise.
18790 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
18792         * nptl/pthread_mutexattr_settype.c
18793         (__pthread_mutexattr_settype):
18794         Disable lock elision for PTHREAD_MUTEX_NORMAL.
18796 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
18798         * nptl/tst-mutex5 (do_test):
18799         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
18801 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18803         * benchtests/README: Document 'init' directive.
18804         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
18805         BENCH_INIT.
18806         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
18807         (parse_file): Recognize 'init' directive.
18809 2014-05-26  Kyle McMartin  <kyle@redhat.com>
18811         [BZ #16796]
18812         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
18813         alignment of struct pthread.
18815 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18817         [BZ #16878]
18818         * nscd/netgroupcache.c (addgetnetgrentX): Look for
18819         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
18820         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
18821         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
18823 2014-05-25  Richard Henderson  <rth@twiddle.net>
18825         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18826         (SINGLE_THREAD_P_PIC): Remove.
18827         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
18828         (SINGLE_THREAD_P_PIC): Remove.
18830         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
18831         branch to syscall error ...
18832         (PSEUDO): ... here.
18833         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
18834         from __local_syscall_error to .Lsyscall_error.
18835         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
18836         (SYSCALL_ERROR): Update label name.
18838         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18839         Do not use DOARGS/UNDOARGS.
18840         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
18841         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
18842         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
18843         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
18844         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
18846         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
18847         block comment.
18849         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
18850         define if !NOT_IN_libc.
18851         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
18852         define with non-default symbol versions.
18854 2014-05-23  Richard Henderson  <rth@twiddle.net>
18856         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
18857         (vfork, __vfork): Define via compat_symbol.
18859         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
18860         [!HAVE_IFUNC] (vfork_compat): Remove.
18861         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
18863 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
18865         [BZ #16978]
18866         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
18867         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
18868         variable.
18870 2014-05-23  Richard Henderson  <rth@twiddle.net>
18872         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
18873         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
18874         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
18875         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
18877         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
18878         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
18879         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
18880         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
18881         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
18882         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
18883         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
18884         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
18885         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
18886         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
18887         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
18888         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
18889         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
18890         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
18891         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
18892         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
18893         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
18894         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
18895         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
18896         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
18897         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
18898         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
18899         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
18900         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
18901         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
18902         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
18903         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
18904         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
18905         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
18906         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
18907         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
18908         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
18909         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
18910         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
18911         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
18912         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
18913         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
18914         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
18915         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
18916         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
18917         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
18918         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
18919         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
18920         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
18921         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
18922         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
18923         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
18924         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
18925         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
18926         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
18927         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
18928         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
18929         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
18930         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
18931         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
18932         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
18934         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
18935         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
18936         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
18937         before exiting on error.
18938         (__libc_vfork): New strong alias.
18939         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
18940         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
18942         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
18943         that was previously under [RESET_PID].
18944         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
18946         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
18948 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
18950         [BZ #16977]
18951         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
18952         value when x - 1 is zero.
18953         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
18954         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
18955         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
18956         0.0L for an argument of 1.0L.
18957         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
18958         Likewise.
18959         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
18960         value when x - 1 is zero.
18961         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
18962         * sysdeps/i386/fpu/libm-test-ulps: Update.
18963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18965 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
18967         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
18968         alphasort and versionsort.
18970 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18972         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
18973         macro.
18974         [copysignf]: Likewise.
18976 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18978         * crypt/md5-crypt.c: Fix formatting.
18980 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18982         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
18983         (b64_from_24bit): New function.
18985 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18987         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
18988         libc_hidden_builtin_def to ifunc.
18989         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18990         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
18992 2014-05-21  Roland McGrath  <roland@hack.frob.com>
18994         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
18995         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
18997 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
18999         * nscd/Depend (linuxthreads): Remove.
19000         (nptl): Add.
19001         * resolv/Depend (linuxthreads): Remove.
19002         * rt/Depend (linuxthreads): Remove.
19004         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
19005         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
19006         $(common-objpfx)elf/.
19007         (link-libc-before-gnulib): Likewise.
19008         (elfobjdir): Remove variable.
19009         * Makefile (install): Use $(elf-objpfx) instead of
19010         $(common-objpfx)elf/.
19011         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
19012         $(elfobjdir)/.
19013         (link-libc-deps): Likewise.
19014         ($(common-objpfx)libc.so): Likewise.
19015         ($(common-objpfx)linkobj/libc.so): Likewise.
19016         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
19017         instead of $(common-objpfx)elf/.
19018         (symbolic-link-list): Likewise.
19019         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19020         [$(cross-compiling) = no]: Likewise.
19021         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
19022         $(elfobjdir)/.
19023         (static-gnulib-arch): Likewise.
19024         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19025         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
19026         $(common-objpfx)elf/.
19028 2014-05-21  Richard Henderson  <rth@redhat.com>
19030         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19031         (SINGLE_THREAD_P): Use the correct width load.  Fold
19032         into the ldr offset.
19034         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
19035         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
19037 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
19039         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
19040         (libgcc_s_resume): Use __attribute_used__.
19041         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
19042         Likewise.
19044 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19046         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
19047         optimization when used with float constants.
19049         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19051 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
19053         [BZ #16915]
19054         * locale/nl_langinfo_l.c: Make direct reference to every
19055         _nl_current_CATEGORY symbol.
19056         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
19057         (tests-static): Add tst-langinfo-static.
19058         (tests-special): Add tst-langinfo-static.out.
19059         ($(objpfx)tst-langinfo.out): Redirect output.
19060         ($(objpfx)tst-langinfo-static.out): New.
19061         * localedata/tst-langinfo.sh: Send output to stdout.
19062         * localedata/tst-langinfo-static.c: New file.
19064         [BZ #16965]
19065         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
19066         when the shift amount is modulo the limb size.
19068 2014-05-20  Richard Henderson  <rth@redhat.com>
19070         [BZ #16967]
19071         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
19072         Change type of sa_flags from unsigned int to int.
19074         [BZ #16966]
19075         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
19077         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
19079 2014-05-20  Will Newton  <will.newton@linaro.org>
19081         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19082         Test the return value of the system call in the nocancel case.
19084 2014-05-20  Will Newton  <will.newton@linaro.org>
19085             Yvan Roux  <yvan.roux@linaro.org>
19087         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
19088         #include of asm/ptrace.h.
19089         (PTRACE_GET_THREAD_AREA): Remove #undef.
19090         (PTRACE_GETHBPREGS): Likewise.
19091         (PTRACE_SETHBPREGS): Likewise.
19092         (struct user_regs_struct): New structure.
19093         (struct user_fpsimd_struct): New structure.
19094         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
19095         #include of asm/ptrace.h and second #include of sys/user.h.
19096         (PTRACE_GET_THREAD_AREA): Remove #undef.
19097         (PTRACE_GETHBPREGS): Likewise.
19098         (PTRACE_SETHBPREGS): Likewise.
19099         (ELF_NGREG): Use new struct user_regs_struct.
19100         (elf_fpregset_t): Use new struct user_fpsimd_struct.
19102 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19104         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
19105         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
19107 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
19109         [BZ #16958]
19110         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
19111         membar to avoid block loads/stores to overlap previous stores.
19113 2014-05-17  Richard Henderson  <rth@redhat.com>
19115         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
19116         Create the __##syscall_name##_nocancel entry point.
19117         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
19118         Remove; let the sysdep-cancel.h code create it.
19120 2014-05-17  David S. Miller  <davem@davemloft.net>
19122         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
19123         Protect with __USE_GNU.
19124         (TIOCSET_TEMPT): Likewise.
19125         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
19126         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
19127         these are already provided in bits/ioctl-types.h
19129 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19131         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
19132         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
19134         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
19135         Use wait4 regardless of [__NR_waitpid].
19137 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
19139         PR libgcc/60166
19140         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
19141         (_FP_NANSIGN_Q): Set the quiet bit.
19143 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
19145         * benchtests/Makefile
19146         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
19147         not $(common-objpfx)math/libm.so.
19148         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
19149         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
19150         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
19151         $(common-objpfx)dlfcn/libdl.so.
19152         ($(objpfx)tst-audit8): Depend on $(libm), not
19153         $(common-objpfx)math/libm.so.
19154         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
19155         not $(common-objpfx)dlfcn/libdl.so.
19156         * math/Makefile
19157         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19158         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
19159         [$(build-shared) = yes].
19160         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
19161         $(common-objpfx)nptl/libpthread.so.
19162         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
19163         $(common-objpfx)math/libm.so$(libm.so-version) or
19164         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
19165         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
19166         $(common-objpfx)dlfcn/libdl.so.
19167         * setjmp/Makefile (link-libm): Remove variable.
19168         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
19169         * stdio-common/Makefile (link-libm): Remove variable.
19170         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
19171         * stdlib/Makefile (link-libm): Remove variable.
19172         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
19173         ($(objpfx)tst-strtod-round): Likewise.
19174         ($(objpfx)tst-tininess): Likewise.
19175         ($(objpfx)tst-strtod-underflow): Likewise.
19176         ($(objpfx)tst-strtod6): Likewise.
19177         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
19178         $(libdl), not $(common-objpfx)nptl/libpthread.so and
19179         $(common-objpfx)dlfcn/libdl.so.
19181 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19183         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
19184         BSD terminal modes definitions.
19186 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19188         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
19189         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
19191         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
19192         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
19193         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
19194         Don't do #include_next.
19195         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
19196         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
19197         Don't do #include_next.
19198         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
19199         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
19200         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
19201         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
19203 2014-05-16  Allan McRae  <allan@archlinux.org>
19205         * po/sv.po: Update Swedish translation from translation project.
19207         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
19208         in sed expression.
19210 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
19212         [BZ #16917]
19213         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
19214         errno if the TIOCGPTN ioctl fails with an error different than
19215         EINVAL.
19216         * login/tst-ptsname.c: New file.
19217         * login/Makefile (tests): Add tst-ptsname.
19219         [BZ #16943]
19220         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
19221         and prlimit64.
19223 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19225         [BZ #16849]
19226         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
19227         herrno to return EAI_AGAIN.
19229 2014-05-14  Roland McGrath  <roland@hack.frob.com>
19231         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
19232         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
19233         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
19234         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
19235         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
19236         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
19237         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
19238         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
19239         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
19240         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
19241         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
19242         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
19243         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
19244         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
19245         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
19246         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
19247         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
19248         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
19249         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
19250         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
19251         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
19252         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
19253         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
19254         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
19255         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
19256         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
19257         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
19258         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
19259         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
19260         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
19261         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
19262         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
19263         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
19264         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
19265         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19266         Moved ...
19267         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
19268         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
19269         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
19270         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
19271         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
19272         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
19273         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
19274         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
19275         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
19276         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
19277         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
19278         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
19279         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
19280         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
19281         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
19282         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
19283         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
19284         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
19285         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
19286         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
19287         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
19288         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
19289         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
19290         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
19291         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
19292         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
19293         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
19294         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19295         Moved ...
19296         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
19297         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
19298         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
19299         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
19300         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
19301         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
19302         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
19303         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
19304         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
19305         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
19306         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
19307         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
19308         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
19309         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
19310         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
19311         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
19312         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
19313         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
19314         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
19315         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19316         Moved ...
19317         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
19318         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
19319         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
19321         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
19322         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
19323         (libpthread-sysdep_routines): Add elision-related stuff here instead.
19324         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
19325         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
19326         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
19327         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
19328         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
19329         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
19330         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
19331         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
19332         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
19333         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
19334         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
19335         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
19336         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
19337         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
19338         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
19339         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
19340         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
19341         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
19342         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
19343         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
19344         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
19345         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
19346         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
19347         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
19348         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
19349         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
19350         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
19351         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
19353         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
19354         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
19356         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
19357         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
19358         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
19359         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
19360         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
19361         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
19362         Moved ...
19363         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
19364         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
19365         Moved ...
19366         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
19367         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
19368         Moved ...
19369         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
19370         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
19371         Moved ...
19372         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
19373         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
19374         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
19375         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
19376         Moved ...
19377         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
19378         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
19379         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
19380         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
19381         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
19382         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
19383         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
19384         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
19385         Moved ...
19386         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
19387         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
19388         Moved ...
19389         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
19390         ... here.
19391         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
19392         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
19393         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
19394         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
19395         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
19396         Moved ...
19397         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
19398         ... here.
19399         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
19400         Moved ...
19401         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
19402         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
19403         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
19404         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
19405         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
19406         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
19407         Moved ...
19408         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
19409         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
19410         Moved ...
19411         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
19412         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
19413         Moved ...
19414         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
19415         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
19416         Moved ...
19417         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
19418         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
19419         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
19420         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
19421         Moved ...
19422         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
19423         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
19424         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
19425         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
19426         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
19427         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
19428         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
19429         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
19430         Moved ...
19431         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
19432         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
19433         Moved ...
19434         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
19435         ... here.
19436         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
19437         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
19438         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
19439         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
19440         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
19441         Moved ...
19442         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
19443         ... here.
19444         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
19445         Moved ...
19446         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
19447         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
19448         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
19449         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
19450         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
19451         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
19452         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
19453         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
19454         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
19455         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
19456         Moved ...
19457         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
19458         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
19459         Moved ...
19460         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
19461         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
19462         Moved ...
19463         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
19464         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
19465         Moved ...
19466         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
19467         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
19468         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
19469         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
19470         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
19471         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
19472         Moved ...
19473         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
19474         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
19475         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
19476         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
19477         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
19478         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
19479         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
19480         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
19481         Moved ...
19482         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
19483         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
19484         Moved ...
19485         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
19486         ... here.
19487         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
19488         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
19489         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
19490         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
19491         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
19492         Moved ...
19493         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
19494         ... here.
19495         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
19496         Moved ...
19497         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
19498         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
19499         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
19500         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
19501         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
19502         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
19503         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
19504         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
19505         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
19506         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
19507         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
19509         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
19510         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
19512         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
19513         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
19515         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
19516         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
19517         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
19518         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
19519         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
19520         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
19521         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
19522         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
19523         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
19524         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
19525         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
19526         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
19527         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
19528         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
19529         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
19530         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
19531         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
19532         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
19533         Moved ...
19534         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
19535         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
19536         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
19537         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
19538         Moved ...
19539         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
19540         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
19541         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
19542         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
19543         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
19544         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
19545         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
19546         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
19547         Moved ...
19548         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
19549         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
19550         Moved ...
19551         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
19552         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
19553         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
19554         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
19555         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
19556         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
19557         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
19558         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
19559         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
19560         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
19561         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
19562         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
19563         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
19564         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
19565         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
19566         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
19567         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
19569         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
19570         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
19571         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
19572         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
19573         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
19575         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
19576         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
19577         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
19578         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
19579         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
19580         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
19581         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
19582         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
19583         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
19584         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
19586         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
19587         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
19589         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
19590         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
19591         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
19592         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
19593         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
19594         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
19595         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
19596         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
19597         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
19598         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
19599         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
19600         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
19601         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
19602         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
19603         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
19604         Update #include.
19605         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
19606         Likewise.
19607         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
19608         Likewise.
19609         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
19610         Likewise.
19611         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
19612         Likewise.
19613         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
19614         Likewise.
19615         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
19616         Likewise.
19617         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
19618         Likewise.
19619         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
19620         Likewise.
19621         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
19622         Likewise.
19623         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
19624         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
19625         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
19626         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
19627         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
19628         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
19629         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
19630         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
19631         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
19632         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
19633         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
19634         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
19635         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
19636         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
19637         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
19639         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
19640         that was previously under [RESET_PID].
19641         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19642         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
19643         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
19645         * sysdeps/i386/nptl/Implies: New file.
19646         * sysdeps/x86_64/nptl/Implies: New file.
19647         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
19648         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
19649         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
19650         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
19652         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
19653         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19654         (__libc_vfork): New strong alias.
19655         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
19656         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
19658         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
19659         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19660         (__libc_vfork): New strong alias.
19661         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
19662         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
19664         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
19665         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19666         (__libc_vfork): New strong alias.
19667         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
19668         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
19669         * nptl/pt-vfork.c: New file.
19670         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
19671         (libpthread: GLIBC_2.20): New version set (empty).
19673 2014-05-14  Will Newton  <will.newton@linaro.org>
19675         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
19676         rather than #if.
19678 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
19680         [BZ #16564]
19681         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
19682         arguments with exponent 65 or above.
19683         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
19684         arguments 0x1p113L or above.
19685         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
19686         to arguments 0x1p107L or above.
19687         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
19688         positive arguments with exponent 65 or above.
19689         * math/auto-libm-test-in: Add more tests of log1p.
19690         * math/auto-libm-test-out: Regenerated.
19692         [BZ #16928]
19693         * math/s_cacos.c (__cacos): Ensure zero real part of result from
19694         non-finite arguments is +0.
19695         * math/s_cacosf.c (__cacosf): Likewise.
19696         * math/s_cacosl.c (__cacosl): Likewise.
19697         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
19698         * sysdeps/i386/fpu/libm-test-ulps: Update.
19699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19701         [BZ #16927]
19702         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
19703         value.
19704         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
19705         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
19706         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
19707         for explicit high bit of mantissa when testing for argument equal
19708         to 1.
19709         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
19710         * sysdeps/i386/fpu/libm-test-ulps: Update.
19711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19713         [BZ #16516]
19714         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
19715         (__erf): Scale by 16 instead of 8 in potentially underflowing
19716         case.  Ensure exception if result actually underflows.
19717         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
19718         (__erff): Scale by 16 instead of 8 in potentially underflowing
19719         case.  Ensure exception if result actually underflows.
19720         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
19721         (efx8): Remove variable.
19722         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19723         case.  Ensure exception if result actually underflows.
19724         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
19725         (efx8): Remove variable.
19726         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19727         case.  Ensure exception if result actually underflows.
19728         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
19729         (efx8): Remove variable.
19730         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19731         case.  Ensure exception if result actually underflows.
19732         * math/auto-libm-test-in: Add more tests of erf.
19733         * math/auto-libm-test-out: Regenerated.
19735 2014-05-14  Andreas Schwab  <schwab@suse.de>
19737         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
19738         Remove code conditionalized on USE___THREAD.
19740         * config.h.in (HAVE_PT_CHOWN): Define as 0.
19741         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
19742         not definedness.
19744 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
19746         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
19747         Define unconditionally.
19748         (__ASSUME_O_CLOEXEC): Likewise.
19749         (__ASSUME_SOCK_CLOEXEC): Likewise.
19750         (__ASSUME_IN_NONBLOCK): Likewise.
19751         (__ASSUME_PIPE2): Likewise.
19752         (__ASSUME_EVENTFD2): Likewise.
19753         (__ASSUME_SIGNALFD4): Likewise.
19754         (__ASSUME_DUP3): Likewise.
19755         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19756         (__ASSUME_DUP3): Do not define.
19757         (__ASSUME_EVENTFD2): Likewise.
19758         (__ASSUME_IN_NONBLOCK): Likewise.
19759         (__ASSUME_O_CLOEXEC): Likewise.
19760         (__ASSUME_PIPE2): Likewise.
19761         (__ASSUME_SIGNALFD4): Likewise.
19762         (__ASSUME_SOCK_CLOEXEC): Likewise.
19763         (__ASSUME_UTIMES): Undefine.
19764         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19765         (__ASSUME_UTIMES): Do not define.
19766         (__ASSUME_O_CLOEXEC): Likewise.
19767         (__ASSUME_SOCK_CLOEXEC): Likewise.
19768         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
19769         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
19770         0x020621].
19771         (__ASSUME_PIPE2): Likewise.
19772         (__ASSUME_EVENTFD2): Likewise.
19773         (__ASSUME_SIGNALFD4): Likewise.
19774         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
19775         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
19776         Do not define.
19777         (__ASSUME_EVENTFD2): Likewise.
19778         (__ASSUME_SIGNALFD4): Likewise.
19779         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19780         (__ASSUME_32BITUIDS): Likewise.
19781         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19782         (__ASSUME_IPC64): Likewise.
19783         (__ASSUME_ST_INO_64_BIT): Likewise.
19784         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
19785         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
19786         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19787         (__ASSUME_UTIMES): Do not define.
19788         (__ASSUME_PSELECT): Likewise.
19789         (__ASSUME_PPOLL): Likewise.
19790         (__ASSUME_O_CLOEXEC): Likewise.
19791         (__ASSUME_SOCK_CLOEXEC): Likewise.
19792         (__ASSUME_IN_NONBLOCK): Likewise.
19793         (__ASSUME_PIPE2): Likewise.
19794         (__ASSUME_EVENTFD2): Likewise.
19795         (__ASSUME_SIGNALFD4): Likewise.
19796         (__ASSUME_DUP3): Likewise.
19797         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19798         (__ASSUME_UTIMES): Likewise.
19799         (__ASSUME_O_CLOEXEC): Likewise.
19800         (__ASSUME_SOCK_CLOEXEC): Likewise.
19801         (__ASSUME_IN_NONBLOCK): Likewise.
19802         (__ASSUME_PIPE2): Likewise.
19803         (__ASSUME_EVENTFD2): Likewise.
19804         (__ASSUME_SIGNALFD4): Likewise.
19805         (__ASSUME_DUP3): Likewise.
19806         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19807         (__ASSUME_UTIMES): Likewise.
19808         (__ASSUME_O_CLOEXEC): Likewise.
19809         (__ASSUME_SOCK_CLOEXEC): Likewise.
19810         (__ASSUME_IN_NONBLOCK): Likewise.
19811         (__ASSUME_PIPE2): Likewise.
19812         (__ASSUME_EVENTFD2): Likewise.
19813         (__ASSUME_SIGNALFD4): Likewise.
19814         (__ASSUME_DUP3): Likewise.
19815         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
19816         Likewise.
19817         (__ASSUME_UTIMES): Likewise.
19818         (__ASSUME_EVENTFD2): Likewise.
19819         (__ASSUME_SIGNALFD4): Likewise.
19820         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19821         (__ASSUME_O_CLOEXEC): Likewise.
19822         (__ASSUME_SOCK_CLOEXEC): Likewise.
19823         (__ASSUME_IN_NONBLOCK): Likewise.
19824         (__ASSUME_PIPE2): Likewise.
19825         (__ASSUME_EVENTFD2): Likewise.
19826         (__ASSUME_SIGNALFD4): Likewise.
19827         (__ASSUME_DUP3): Likewise.
19828         (__ASSUME_UTIMES): Undefine.
19830         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
19831         feclearexcept.  Remove symbol versioning code.
19832         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
19833         symbol versioning code.
19834         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
19835         symbol versioning code.
19836         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
19837         feupdateenv.  Remove symbol versioning code.
19838         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
19839         fegetexceptflag.  Remove symbol versioning code.
19840         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
19841         fesetexceptflag.  Remove symbol versioning code.
19842         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
19843         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
19844         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
19845         (__posix_fadvise64_l32): Remove prototype.
19846         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
19847         code.
19849 2014-05-13  Roland McGrath  <roland@hack.frob.com>
19851         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
19852         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
19853         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
19854         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
19856 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
19858         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
19859         current working directory
19861 2014-05-13  Roland McGrath  <roland@hack.frob.com>
19863         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
19864         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
19865         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
19866         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
19867         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
19868         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
19869         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
19870         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
19871         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
19872         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
19873         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
19874         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
19875         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
19876         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
19877         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
19878         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
19879         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
19880         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
19881         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
19882         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
19883         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
19884         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
19885         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
19886         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
19887         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
19888         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
19889         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
19890         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
19891         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
19892         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
19893         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
19894         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
19895         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
19896         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
19897         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
19898         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
19899         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
19900         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
19901         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
19902         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
19903         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
19904         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
19906         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
19907         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
19909         * sysdeps/unix/sysv/linux/arm/Makefile
19910         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
19911         Add rt-aeabi_unwind_cpp_pr1.
19912         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
19913         Add nptl-aeabi_unwind_cpp_pr1.
19914         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
19915         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
19916         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
19917         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
19918         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
19919         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
19921         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
19922         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
19923         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
19924         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
19926         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
19927         Deconditionalize the code that was previously under [RESET_PID].
19928         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
19930         * sysdeps/generic/exit-thread.h: New file.
19931         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
19932         * include/unistd.h (__exit_thread): Remove declaration.
19933         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
19934         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
19935         * csu/libc-start.c: Include <exit-thread.h>.
19936         (LIBC_START_MAIN): Pass no argument to __exit_thread.
19937         * nptl/pthread_create.c: Include <exit-thread.h>.
19938         (start_thread): Call __exit_thread in place of __exit_thread_inline.
19939         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
19940         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
19941         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
19942         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
19943         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
19944         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
19945         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
19946         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
19947         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
19948         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
19949         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
19950         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
19951         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
19952         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
19953         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
19954         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
19956 2014-05-13  Andreas Schwab  <schwab@suse.de>
19958         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
19960 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
19962         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
19963         (__ASSUME_UTIMES): Do not condition on kernel version.
19964         (__ASSUME_PSELECT): Define unconditionally.
19965         (__ASSUME_PPOLL): Likewise.
19966         (__ASSUME_ATFCTS): Likewise.
19967         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
19968         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
19969         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
19970         (__ASSUME_UTIMENSAT): Define unconditionally.
19971         (__ASSUME_PRIVATE_FUTEX): Likewise.
19972         (__ASSUME_FALLOCATE): Likewise.
19973         (__ASSUME_O_CLOEXEC): Likewise.
19974         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
19975         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
19976         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
19977         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
19978         (__ASSUME_IN_NONBLOCK): Likewise.
19979         (__ASSUME_PIPE2): Likewise.
19980         (__ASSUME_EVENTFD2): Likewise.
19981         (__ASSUME_SIGNALFD4): Likewise.
19982         (__ASSUME_DUP3): Likewise.
19983         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19984         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
19985         (__ASSUME_AT_RANDOM): Likewise.
19986         (__ASSUME_PREADV): Likewise.
19987         (__ASSUME_PWRITEV): Likewise.
19988         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
19989         (__ASSUME_F_GETOWN_EX): Define unconditionally.
19990         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
19991         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19992         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
19993         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19994         (__ASSUME_O_CLOEXEC): Define unconditionally.
19995         (__ASSUME_PSELECT): Do not undefine conditionally.
19996         (__ASSUME_PPOLL): Likewise.
19997         (__ASSUME_ATFCTS): Likewise.
19998         (__ASSUME_SET_ROBUST_LIST): Likewise.
19999         (__ASSUME_UTIMENSAT): Likewise.
20000         (__ASSUME_FDATASYNC): Define unconditionally.
20001         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20002         (__ASSUME_SIGFRAME_V2): Likewise.
20003         )__ASSUME_EVENTFD2): Likewise.
20004         (__ASSUME_SIGNALFD4): Likewise.
20005         (__ASSUME_PSELECT): Do not undefine conditionally.
20006         (__ASSUME_PPOLL): Likewise.
20007         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20008         (__ASSUME_PSELECT): Define unconditionally.
20009         (__ASSUME_PPOLL): Likewise.
20010         (__ASSUME_O_CLOEXEC): Likewise.
20011         (__ASSUME_SOCK_CLOEXEC): Likewise.
20012         (__ASSUME_IN_NONBLOCK): Likewise.
20013         (__ASSUME_PIPE2): Likewise.
20014         (__ASSUME_EVENTFD2): Likewise.
20015         (__ASSUME_SIGNALFD4): Likewise.
20016         (__ASSUME_DUP3): Likewise.
20017         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20018         (__ASSUME_O_CLOEXEC): Likewise.
20019         (__ASSUME_SOCK_CLOEXEC): Likewise.
20020         (__ASSUME_IN_NONBLOCK): Likewise.
20021         (__ASSUME_PIPE2): Likewise.
20022         (__ASSUME_EVENTFD2): Likewise.
20023         (__ASSUME_SIGNALFD4): Likewise.
20024         (__ASSUME_DUP3): Likewise.
20025         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20026         (__ASSUME_EVENTFD2): Likewise.
20027         (__ASSUME_SIGNALFD4): Likewise.
20028         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20030 2014-05-12  Andreas Schwab  <schwab@suse.de>
20032         [BZ #16932]
20033         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
20034         (_nss_nis_gethostbyname4_r): Return error if item length is larger
20035         than maximum RPC packet size.
20036         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
20037         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
20038         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
20039         (_nss_nis_getservbyport_r): Likewise.
20041 2014-05-12  Will Newton  <will.newton@linaro.org>
20043         * malloc/Makefile (tests): Add tst-mallopt.
20044         * malloc/tst-mallopt.c: New file.
20046 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20048         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
20049         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
20051 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20053         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
20054         (tst-tlsmod6.so): Likewise.
20056 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20058         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
20060 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
20062         [BZ #16064]
20063         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
20064         and <dl-procinfo.h>.
20065         (__fegetenv): Save SSE state in envp->__eip if supported.
20066         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
20067         envp->__eip if supported.
20068         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
20069         and <dl-procinfo.h>.
20070         (__fesetenv): Always set __eip, __cs_selector, __opcode,
20071         __data_offset and __data_selector in environment to 0.  Set SSE
20072         state if supported.
20073         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20074         test-fenv-sse.
20075         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
20076         -mfpmath=sse.
20077         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
20079 2014-05-09  Will Newton  <will.newton@linaro.org>
20081         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
20082         and libc_relro_required for ARM.
20083         * sysdeps/arm/preconfigure: Regenerate.
20085 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
20086             Stefan Liebler  <stli@linux.vnet.ibm.com>
20088         * config.make.in (enable-lock-elision): New Makefile variable.
20089         * configure.ac: Likewise.
20090         * configure: Regenerate.
20091         * sysdeps/s390/configure.ac:
20092         Add check for gcc transactions support.
20093         * sysdeps/s390/configure: Regenerate.
20094         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
20095         Build elision files if enabled.
20096         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
20097         Add lock elision support for s390.
20098         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20099         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
20100         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
20101         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
20102         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
20103         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20104         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
20105         Likewise.
20106         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
20107         Likewise.
20108         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
20109         Likewise.
20110         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
20111         Likewise.
20112         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
20113         (__lll_timedlock_elision, __lll_lock_elision)
20114         (__lll_unlock_elision, __lll_trylock_elision)
20115         (lll_timedlock_elision, lll_lock_elision)
20116         (lll_unlock_elision, lll_trylock_elision): Add.
20117         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20118         (pthread_mutex_t): Add lock elision support for s390.
20120 2014-05-14  Wilco  <wdijkstr@arm.com>
20122         * sysdeps/arm/fclrexcpt.c: Cleanup.
20123         * sysdeps/arm/fedisblxcpt.c: Cleanup.
20124         * sysdeps/arm/feenablxcpt.c: Cleanup.
20125         * sysdeps/arm/fegetenv.c: Cleanup.
20126         * sysdeps/arm/fegetexcept.c: Cleanup.
20127         * sysdeps/arm/fegetround.c: Cleanup.
20128         * sysdeps/arm/feholdexcpt.c: Cleanup.
20129         * sysdeps/arm/fesetenv.c: Cleanup.
20130         * sysdeps/arm/fesetround.c: Cleanup.
20131         * sysdeps/arm/feupdateenv.c: Cleanup.
20132         * sysdeps/arm/fgetexcptflg.c: Cleanup.
20133         * sysdeps/arm/fraiseexcpt.c: Cleanup.
20134         * sysdeps/arm/fsetexcptflg.c: Cleanup.
20135         * sysdeps/arm/ftestexcept.c: Cleanup.
20136         * sysdeps/arm/get-rounding-mode.h: Cleanup.
20137         * sysdeps/arm/setfpucw.c: Cleanup.
20139 2014-05-09  Will Newton  <will.newton@linaro.org>
20141         * sysdeps/arm/armv7/strcmp.S: New file.
20142         * NEWS: Mention addition of ARMv7 optimized strcmp.
20144 2014-05-08  Roland McGrath  <roland@hack.frob.com>
20146         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
20147         look for %.ac rather than %.in.
20149         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
20150         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
20151         * sysdeps/mach/hurd/configure: Regenerated.
20152         * sysdeps/unix/sysv/linux/configure: Regenerated.
20154         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
20156 2014-05-07  Steve Ellcey  <sellcey@mips.com>
20158         [BZ# 16922]
20159         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
20160         (LONG_SUB): Ditto.
20161         (PTR_SUB): Ditto.
20163 2014-05-07  Andreas Schwab  <schwab@suse.de>
20165         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
20166         when skipping over non-matching result from nscd.
20168 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
20170         [BZ #16876]
20171         * nptl/sockperf.c (client): Check socket return value.
20173         [BZ #16877]
20174         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
20175         nscd security class.
20177 2014-05-06  Roland McGrath  <roland@hack.frob.com>
20179         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
20180         * sysdeps/arm/unwind.h: ... here.
20182 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
20184         [BZ# 16916]
20185         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
20186         Define.
20188 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20190         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
20191         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
20192         multiarch strncpy for PPC64.
20193         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
20194         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
20195         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
20196         multiarch optimizations.
20197         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20198         (__libc_ifunc_impl_list): Likewise.
20199         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
20200         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
20201         multiarch stpncpy for PPC64.
20202         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
20203         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
20205 2014-05-06  Andreas Schwab  <schwab@suse.de>
20207         [BZ #16912]
20208         * gmon/mcount.c (_MCOUNT_DECL): Use
20209         atomic_compare_and_exchange_bool_acq instead of
20210         catomic_compare_and_exchange_bool_acq.
20212 2014-05-05  Roland McGrath  <roland@hack.frob.com>
20214         * elf/Makefile (others, install-bin): Remove pldd.
20215         (pldd-modules): Variable removed.
20216         ($(objpfx)pldd): Target removed.
20217         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
20218         (others, install-bin): Append pldd here.
20219         ($(objpfx)pldd): New target.
20221         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
20222         to 0, so the first #if test emitted later doesn't see it undefined.
20223         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
20224         * sysdeps/gnu/errlist.c: Regenerated.
20226 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20228         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
20229         [libc_hidden_builtin_def]: Define to empty value.
20230         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
20231         [libc_hidden_builtin_def]: Likewise.
20232         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
20233         [libc_hidden_builtin_def]: Likewise.
20234         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
20235         [libc_hidden_builtin_def]: Likewise.
20236         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
20237         __redirect_memcpy and define ifunc as default hidden symbol.
20238         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
20239         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
20241 2014-05-04  Adam Conrad  <adconrad@0c3.net>
20243         * locale/iso-4217.def: Reintroduce XDR currency.
20245 2014-05-04  Allan McRae  <allan@archlinux.org>
20247         * po/eo.po: Update Esperanto translation from translation project.
20249 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
20251         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
20252         and FEATURE_INDEX_MAX to 1.
20253         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
20255 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20257         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
20258         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
20259         * iconvdata/big5.c (ONE_DIRECTION): Define.
20260         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
20261         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
20262         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
20263         * iconvdata/cp932.c (ONE_DIRECTION): Define.
20264         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
20265         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
20266         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
20267         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
20268         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
20269         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
20270         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
20271         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
20272         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
20273         * iconvdata/gbk.c (ONE_DIRECTION): Define.
20274         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
20275         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
20276         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
20277         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
20278         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
20279         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
20280         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
20281         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
20282         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
20283         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
20284         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
20285         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
20286         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
20287         * iconvdata/iso646.c (ONE_DIRECTION): Define.
20288         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
20289         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
20290         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
20291         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
20292         * iconvdata/johab.c (ONE_DIRECTION): Define.
20293         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
20294         * iconvdata/sjis.c (ONE_DIRECTION): Define.
20295         * iconvdata/t.61.c (ONE_DIRECTION): Define.
20296         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
20297         * iconvdata/tscii.c (ONE_DIRECTION): Define.
20298         * iconvdata/uhc.c (ONE_DIRECTION): Define.
20299         * iconvdata/unicode.c (ONE_DIRECTION): Define.
20300         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
20301         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
20302         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
20304 2014-05-01  Roland McGrath  <roland@hack.frob.com>
20306         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
20307         (_IO_JUMPS_OFFSET): Define to 0.
20309         * nptl/sysdeps/pthread/bits/libc-lock.h
20310         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
20311         (__libc_lock_define_initialized_recursive): Always define using
20312         initializer.  Modern compilers treat uninitialized (implicit zero) and
20313         explicit zero initializers the same (i.e. put the datum in bss).
20315 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20317         * nscd/nscd-client.h: Include <string.h>.
20319 2014-05-01  David S. Miller  <davem@davemloft.net>
20321         [BZ #16885]
20322         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
20323         multiple zero bytes exist at the end of a string.
20324         Reported by Aurelien Jarno <aurelien@aurel32.net>
20326         * string/test-strcmp.c (check): Add explicit test for situations where
20327         there are multiple zero bytes after the first.
20329 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20331         [BZ #16890]
20332         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
20333         when compiling wprintf.
20334         * stdio-common/tstdiomisc.c (t3): New function.
20335         (main): Call it.
20337 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20339         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
20340         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
20341         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
20342         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
20344 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20346         * stdlib/longlong.h: Updated from GCC.
20348 2014-05-01  Will Newton  <will.newton@linaro.org>
20349             Bernard Ogden  <bernie.ogden@linaro.org>
20351         * NEWS: Update fixed bug list.
20353         [BZ #15119]
20354         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
20356 2014-04-30  David S. Miller  <davem@davemloft.net>
20358         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
20359         (libc_feholdexcept_setround_sparc_ctx): New function.
20360         (libc_fesetenv_sparc_ctx): Likewise.
20361         (libc_feupdateenv_sparc_ctx): Likewise.
20362         (libc_feholdsetround_sparc_ctx): Likewise.
20363         (libc_feholdexcept_setround_ctx): Define.
20364         (libc_feholdexcept_setroundf_ctx): Likewise.
20365         (libc_feholdexcept_setroundl_ctx): Likewise.
20366         (libc_fesetenv_ctx): Likewise.
20367         (libc_fesetenvf_ctx): Likewise.
20368         (libc_fesetenvl_ctx): Likewise.
20369         (libc_feupdateenv_ctx): Likewise.
20370         (libc_feupdateenvf_ctx): Likewise.
20371         (libc_feupdateenvl_ctx): Likewise.
20372         (libc_feresetround_ctx): Likewise.
20373         (libc_feresetroundf_ctx): Likewise.
20374         (libc_feresetroundl_ctx): Likewise.
20375         (libc_feholdsetround_ctx): Likewise.
20376         (libc_feholdsetroundf_ctx): Likewise.
20377         (libc_feholdsetroundl_ctx): Likewise.
20379         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
20380         with __USE_GNU instead of XOPEN cpp guards.
20382         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
20383         0.
20385         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
20386         with XOPEN cpp guards.
20388 2014-04-30  Julian Brown  <julian@codesourcery.com>
20390         [BZ #16888]
20391         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
20392         handling.
20394 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
20396         [BZ #9894]
20397         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
20398         Change to 2.6.32.
20399         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
20400         * sysdeps/unix/sysv/linux/configure: Regenerated.
20401         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
20402         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
20403         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
20404         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
20405         * README: Update reference to required Linux kernel version.
20406         * manual/install.texi (Linux): Update reference to required Linux
20407         kernel headers version.
20408         * INSTALL: Regenerated.
20410         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
20411         header inclusion.
20412         [POSIX] (limits.h): Likewise.
20413         [POSIX] (math.h): Likewise.
20414         [POSIX] (sys/wait.h): Likewise.
20415         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
20416         function.
20417         [POSIX] (stddef.h): Do not allow header inclusion.
20419 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20421         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
20423 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
20425         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
20426         Return immediately after lll_futex_wake.
20428 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20430         [BZ #16791]
20431         * nscd/nscd-client.h (datahead_init_common): Initialize entire
20432         structure.
20433         (datahead_init_pos): Call datahead_init_common early.
20434         (datahead_init_neg): Likewise.
20436         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
20437         datahead_init_neg): New functions.
20438         * nscd/aicache.c (addhstaiX): Use them.
20439         * nscd/grpcache.c (cache_addgr): Likewise.
20440         * nscd/hstcache.c (cache_addhst): Likewise.
20441         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20442         * nscd/netgroupcache.c (do_notfound): Likewise.
20443         (addgetnetgrentX): Likewise.
20444         (addinnetgrX): Likewise.
20445         * nscd/pwdcache.c (cache_addpw): Likewise.
20446         * nscd/servicescache.c (cache_addserv): Likewise.
20448 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20449             Atsushi Onoe  <atsushi@onoe.org>
20451         [BZ #14308]
20452         [BZ #12994]
20453         [BZ #13651]
20454         * resolv/res_query.c (__libc_res_nsearch): Return if at least
20455         one response is valid.
20456         * resolv/res_send.c (send_dg): Check for validity of other
20457         response if the current response is a referral.
20459 2014-04-29  Steve Ellcey  <sellcey@mips.com>
20461         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
20463 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
20465         [BZ #16823]
20466         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
20467         Always divide by positive zero when computing -Inf result.
20468         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
20469         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
20471 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20473         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
20474         FPSCR if value do not change.
20475         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20476         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
20477         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
20478         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20479         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
20480         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
20481         function.
20483 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
20485         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
20486         * sysdeps/unix/sysv/linux/hppa: Move directory from
20487         ports/systeps/unix/sysv/linux/hppa.
20488         * README: Update listing for hppa-*-linux-gnu.
20490 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
20492         [BZ #16754]
20493         * manual/stdio.texi (Hook functions): Fix types of stream hook
20494         functions.
20495         [BZ #16854]
20496         * socket/sys/socket.h: Fix typo in comment.
20498 2014-04-28  Wilco  <wdijkstr@arm.com>
20500         * sysdeps/arm/fenv_private.h: New file.
20501         * sysdeps/arm/math_private.h: New file.
20502         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
20504 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
20506         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
20507         with __int128_t.
20508         (La_x86_64_retval): Likewise.
20510 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
20512         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
20513         fpsr if value didn't change.
20514         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
20515         to fpcr if value didn't change.
20516         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
20517         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
20518         fpsr or fpcr if value didn't change.
20519         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
20520         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
20521         fpcr if value didn't change.
20522         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
20523         to fpsr if value didn't change.
20525 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20527         * nptl/tst-sem3.c: Use test-skeleton.c
20528         (main): Rename to do_test.  Use return instead of
20529         exit.
20530         * nptl/tst-sem4.c: Use test-skeleton.c
20531         (main): Rename to do_test.
20533 2014-04-22  David S. Miller  <davem@davemloft.net>
20535         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
20536         (struct sigaction): New struct member __glibc_reserved0, change
20537         type of sa_flags to int.
20539 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
20541         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
20542         (COUNT_LEADING_ZEROS_0): Define for AArch64.
20544 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20546         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
20547         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
20549 2014-04-22  Will Newton  <will.newton@linaro.org>
20550             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
20552         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
20553         (__longjmp): Add longjmp and longjmp_target SystemTap
20554         probes.
20555         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
20556         (__sigsetjmp): Add setjmp SystemTap probe.
20558 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
20560         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
20561         match manual order.
20563 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20565         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
20567         * sysdeps/powerpc/fpu/fenv_private.h
20568         (libc_feholdexcept_setroundl_ctx): Define to
20569         libc_feholdexcept_setround_ppc_ctx.
20570         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
20571         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
20572         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
20573         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
20575 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
20577         * sysdeps/aarch64/math-tests.h: New file.
20579 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
20581         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
20582         New.
20583         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20584         Check and set bit_AVX2_Usable.
20585         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
20586         macro.
20587         (bit_AVX2): Likewise.
20588         (index_AVX2_Usable): Likewise.
20589         (CPUID_AVX2): Likewise.
20590         (HAS_AVX2): Likewise.
20592 2014-04-17  Will Newton  <will.newton@linaro.org>
20594         * manual/setjmp.texi (System V contexts): Add note that
20595         calling setcontext on a context created by a call to a
20596         signal handler is undefined.  Update text to note that
20597         setcontext from a signal handler is possible but not
20598         recommended.
20600         [BZ #16629]
20601         * stdlib/tst-setcontext.c: Include signal.h.
20602         (main): Check that the signal stack before and
20603         after swapcontext is the same.
20605         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
20606         Re-implement to restore registers in user code and avoid
20607         rt_sigreturn system call.
20609 2014-04-17  Wilco  <wdijkstr@arm.com>
20611         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
20612         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
20613         * math/test-fenv.c: Skip exception trap tests on targets which only
20614         support non-stop mode.
20616 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
20617             Wilco Dijkstra  <wilco.dijkstra@arm.com>
20619         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
20620         (libc_feholdsetround_aarch64_ctx)
20621         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
20622         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
20623         (libc_feresetround_ctx, libc_feresetroundf_ctx)
20624         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
20625         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
20626         (libc_feresetround_noexl_ctx): Define.
20628 2014-04-16  Richard Henderson  <rth@redhat.com>
20630         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
20632         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
20633         unwind tables.
20635         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
20636         const from the non-libc, non-ldso copy.
20638         * sysdeps/alpha/libm-test-ulps: Regenerate.
20640 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
20641             Wilco Dijkstra  <wilco.dijkstra@arm.com>
20643         * sysdeps/aarch64/fpu/math_private.h: New file.
20645 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
20647         * sysdeps/aarch64/libm-test-ulps: Regenerate.
20649 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
20651         [BZ #16275]
20652         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
20653         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
20654         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
20655         Intel MPX bound registers before _dl_profile_fixup.
20656         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
20657         registers after _dl_profile_fixup.  Save and restore bound
20658         registers bnd0/bnd1 when calling _dl_call_pltexit.
20659         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
20660         (LR_BND_OFFSET): Likewise.
20661         (LRV_BND0_OFFSET): Likewise.
20662         (LRV_BND1_OFFSET): Likewise.
20664 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20666         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
20667         to...
20668         * sysdeps/mach/hurd/i386/tls.h: ... here.
20669         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
20670         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
20671         fields.
20673 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20675         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
20677 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20679         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20681 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20683         [BZ #14770]
20684         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
20685         * sysdeps/s390/configure: Regenerate.
20687         [BZ #16824]
20688         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
20689         Set round-to-nearest internally to reduce error accumulation.
20691 2014-04-16  Alan Modra  <amodra@gmail.com>
20693         [BZ #16740]
20694         [BZ #16619]
20695         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
20696         * math/libm-test.inc (frexp_test_data): Add tests.
20697         * NEWS: Update fixed bug list.
20699 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20701         * benchtests/Makefile: Depend on libraries in build directory.
20702         (bench-math): Separate out math tests.
20703         (bench-pthread): Separate out pthread tests.
20704         (bench): Include math and pthread tests.
20706 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
20708         [BZ #16831]
20709         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
20710         _dl_debug_initialize.
20712         * configure.ac: Remove SELinux header check.
20713         * configure: Regenerate.
20714         * nscd/selinux.c (perms): Array of const char* to permission names.
20715         (nscd_request_avc_has_perm): Call security_deny_unknown to find
20716         default policy. Call string_to_security_class and string_to_av_perm to
20717         translate strings. Enforce default policy and call avs_has_perm with
20718         results of translated strings.
20720 2014-04-13  David S. Miller  <davem@davemloft.net>
20722         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20724 2014-04-12  Allan McRae  <allan@archlinux.org>
20726         [BZ #16838]
20727         * manual/string.texi (Collation Functions): Fix qsort argument
20728         order in example.
20729         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20731 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
20733         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
20734         Make the test a no-op if there are no exceptions defined.
20736 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20738         * elf/Makefile (tests): make tst-dlopen-aout conditional on
20739         enable-hardcoded-path-in-tests
20741 2014-04-11  Will Newton  <will.newton@linaro.org>
20743         * benchtests/Makefile (extra-objs): Add json-lib.o.
20744         (bench-func): Tidy up JSON output.
20745         * benchtests/bench-skeleton.c: Include json-lib.h.
20746         (main): Use JSON library functions to do output of
20747         benchmark results.
20748         * benchtests/bench-timing-type.c (main): Output the
20749         timing type simply, leaving formatting to the user.
20750         * benchtests/json-lib.c: New file.
20751         * benchtests/json-lib.h: Likewise.
20753 2014-04-11  Torvald Riegel  <triegel@redhat.com>
20755         [BZ #15215]
20756         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
20757         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
20758         memory barriers.  Add comments.
20759         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
20760         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
20761         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
20762         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
20763         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
20764         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
20766 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20768         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
20769         * sysdeps/s390/s390-64/configure.ac: ... this ...
20770         * sysdeps/s390/configure.ac: ... to here.
20771         * sysdeps/s390/s390-32/configure: Delete file.
20772         * sysdeps/s390/s390-64/configure: Delete file.
20773         * sysdeps/s390/configure: Regenerate.
20775 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
20777         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
20779 2014-04-11  Will Newton  <will.newton@linaro.org>
20781         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
20782         to zero if it is not defined elsewhere.  (mtrim): Test
20783         the value of MALLOC_DEBUG with #if rather than #ifdef.
20785 2014-04-10 Torvald Riegel  <triegel@redhat.com>
20787         * benchtests/pthread_once-inputs: New file.
20788         * benchtests/pthread_once-source.c: New file.
20789         * benchtests/README: Update documentation.
20791 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
20792             H.J. Lu  <hongjiu.lu@intel.com>
20794         [BZ #16275]
20795         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
20796         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
20797         * sysdeps/x86_64/configure: Regenerated.
20798         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
20799         macro.
20800         (REGISTER_SAVE_RAX): Likewise.
20801         (REGISTER_SAVE_RCX): Likewise.
20802         (REGISTER_SAVE_RDX): Likewise.
20803         (REGISTER_SAVE_RSI): Likewise.
20804         (REGISTER_SAVE_RDI): Likewise.
20805         (REGISTER_SAVE_R8): Likewise.
20806         (REGISTER_SAVE_R9): Likewise.
20807         (REGISTER_SAVE_BND0): Likewise.
20808         (REGISTER_SAVE_BND1): Likewise.
20809         (REGISTER_SAVE_BND2): Likewise.
20810         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
20811         bound registers when calling _dl_fixup.
20813 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20815         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
20816         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
20817         of its definition.
20818         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
20819         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
20820         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
20821         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
20822         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
20823         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
20824         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
20826 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
20828         [BZ #15514]
20829         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
20830         pathconf(_PC_NAME_MAX).
20832 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20834         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
20835         Remove macro usage.
20836         (__PTHREAD_SPINS): Move definition to ...
20837         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20838         (__PTHREAD_SPINS): ... here.
20839         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20840         (__PTHREAD_SPIN): Likewise.
20841         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
20842         (__PTHREAD_SPIN): Likewise.
20843         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
20844         (__PTHREAD_SPIN): Likewise.
20845         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
20846         (__PTHREAD_SPIN): Likewise.
20847         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
20848         (__PTHREAD_SPIN): Likewise.
20849         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
20850         (__PTHREAD_SPIN): Likewise.
20851         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
20852         (__PTHREAD_SPIN): Likewise.
20853         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
20854         (__PTHREAD_SPIN): Likewise.
20855         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
20856         (__PTHREAD_SPIN): Likewise.
20857         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
20858         (__PTHREAD_SPIN): Likewise.
20859         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
20860         (__PTHREAD_SPIN): Likewise.
20861         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
20862         (__PTHREAD_SPIN): Likewise.
20864         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
20865         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
20866         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
20867         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
20868         imply folder.
20869         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
20870         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
20871         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
20872         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
20873         correct imply path.
20874         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
20875         strlen symbol for non multi-arch builds.
20876         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
20877         missing hidden_def and weak_alias.
20879 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
20881         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
20883 2014-04-07  Will Newton  <will.newton@linaro.org>
20885         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
20886         and contents.  [!_LIBC] Remove #ifndef and contents.
20887         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
20888         * string/memccpy.c (__memccpy): Use ANSI prototype.
20889         * string/memfrob.c (memfrob): Likewise.
20890         * string/strcoll.c (STRCOLL): Likewise.
20891         * string/strlen.c (strlen): Likewise.
20892         * string/strtok.c (STRTOK): Likewise.
20893         * string/strcat.c: Remove unused #include of memcopy.h.
20894         (strcat): Use ANSI prototype.
20895         * string/strchr.c: Remove unused #include of memcopy.h.
20896         (strchr): Use ANSI prototype.
20897         * string/strcmp.c: Remove unused #include of memcopy.h.
20898         (strcmp): Use ANSI prototype.
20899         * string/strcpy.c: Remove unused #include of memcopy.h.
20900         (strcpy): Use ANSI prototype.
20902 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20904         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
20905         * config.make.in (config-extra-cppflags): Set it from
20906         libc_extra_cppflags.
20907         * configure.ac (libc_extra_cflags): Make it accumulate over
20908         configure fragments.
20909         (libc_extra_cppflags): New flag.
20910         * configure. Regenerate.
20911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
20912         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
20913         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
20914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
20916         [BZ #16815]
20917         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
20918         result for FE_DOWNWARD rounding mode.
20919         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20920         Likewise.
20921         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20923 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
20925         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
20926         in function argument name.
20928 2014-04-03  David Svoboda  <svoboda@cert.org>
20930         [BZ #5666]
20931         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
20932         explicitly.
20934 2014-04-03  Roland McGrath  <roland@hack.frob.com>
20936         * elf/dl-unmap-segments.h: New file.
20937         * sysdeps/generic/ldsodefs.h
20938         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
20939         * elf/dl-close.c: Include <dl-unmap-segments.h>.
20940         * elf/dl-fptr.c: Likewise.
20941         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
20942         * sysdeps/aarch64/tlsdesc.c: Likewise.
20943         * sysdeps/arm/tlsdesc.c: Likewise.
20944         * sysdeps/i386/tlsdesc.c: Likewise.
20945         * sysdeps/tile/dl-runtime.c: Likewise.
20946         * sysdeps/x86_64/tlsdesc.c: Likewise.
20947         * elf/dl-load.h: New file.
20948         * elf/dl-load.c: Include it.
20949         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
20950         Macros moved to dl-load.h.
20951         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
20952         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
20953         Use _dl_unmap_segments in place of __munmap.
20954         Break out segment-mapping loop into ...
20955         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
20957 2014-04-03  Will Newton  <will.newton@linaro.org>
20959         * elf/dl-lookup.c (do_lookup_x): Remove comment
20960         referring to nested function and move variable
20961         declarations down to before first use.
20963 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
20965         [BZ #16799]
20966         [BZ #16800]
20967         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
20968         with 0 numerator.
20969         * math/s_catanf.c (__catanf): Likewise.
20970         * math/s_catanh.c (__catanh): Likewise.
20971         * math/s_catanhf.c (__catanhf): Likewise.
20972         * math/s_catanhl.c (__catanhl): Likewise.
20973         * math/s_catanl.c (__catanl): Likewise.
20974         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
20975         by positive zero when computing -Inf result.
20976         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
20977         (catanh_test): Likewise.
20978         * sysdeps/i386/fpu/libm-test-ulps: Update.
20979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20981         [BZ #16789]
20982         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
20983         instead of using underflowing value in computing result.
20984         * math/s_clog10.c (__clog10): Likewise.
20985         * math/s_clog10f.c (__clog10f): Likewise.
20986         * math/s_clog10l.c (__clog10l): Likewise.
20987         * math/s_clogf.c (__clogf): Likewise.
20988         * math/s_clogl.c (__clogl): Likewise.
20989         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
20990         (clog10_test): Likewise.
20991         * sysdeps/i386/fpu/libm-test-ulps: Update.
20992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20994 2014-04-02  Alan Modra  <amodra@gmail.com>
20996         [BZ #16739]
20997         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
20998         output when value is near a power of two.  Use int64_t for lx and
20999         remove casts.  Use decimal rather than hex exponent constants.
21000         Don't use long double multiplication when double will suffice.
21001         * math/libm-test.inc (nextafter_test_data): Add tests.
21002         * NEWS: Add 16739 and 16786 to bug list.
21004         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
21006         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
21008 2014-04-01  Will Newton  <will.newton@linaro.org>
21010         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
21011         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
21013 2014-04-01  Florian Weimer  <fweimer@redhat.com>
21015         [BZ #13347]
21016         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
21017         * nptl/tst-setuid2.c: New file.
21018         * nptl/Makefile (xtests): Add tst-setuid2.
21020 2014-04-01  Alan Modra  <amodra@gmail.com>
21022         [BZ #16786]
21023         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
21025 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21027         [BZ #6803]
21028         [BZ #6804]
21029         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
21030         set errno as appropriate.
21031         * math/w_scalbf.c (__scalbf): Likewise.
21032         * math/w_scalbl.c (__scalbl): Likewise.
21033         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
21034         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
21035         * math/libm-test.inc (scalb_test_data): Add errno expectations.
21036         Add more NaN tests.
21038         [BZ #16349]
21039         * math/w_atan2.c: Include <errno.h>.
21040         (__atan2): Set errno for result underflowing to zero.
21041         * math/w_atan2f.c: Include <errno.h>.
21042         (__atan2f): Set errno for result underflowing to zero.
21043         * math/w_atan2l.c: Include <errno.h>.
21044         (__atan2l): Set errno for result underflowing to zero.
21045         * math/auto-libm-test-in: Don't allow missing errno for some atan2
21046         tests.
21047         * math/auto-libm-test-out: Regenerated.
21049 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21051         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
21052         Encode instruction correctly in little endian.
21053         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
21054         Likewise.
21055         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
21056         Likewise.
21057         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
21058         Likewise.
21059         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
21060         Likewise.
21062 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21064         [BZ #9894]
21065         * sysdeps/unix/sysv/linux/kernel-features.h
21066         [__sparc__ && !__arch64__ && !__sparc_v9__]
21067         (__ASSUME_SET_ROBUST_LIST): Do not define.
21068         [__sparc__ && !__arch64__ && !__sparc_v9__]
21069         (__ASSUME_FUTEX_LOCK_PI): Likewise.
21070         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
21071         Likewise.
21072         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21073         (__ASSUME_FUTEX_LOCK_PI): Undefine.
21074         (__ASSUME_REQUEUE_PI): Likewise.
21075         (__ASSUME_SET_ROBUST_LIST): Likewise.
21076         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21077         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
21078         Undefine.
21079         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21080         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
21081         Likewise.
21082         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
21083         Likewise.
21084         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
21085         Likewise.
21086         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21087         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
21088         Undefine.
21089         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
21090         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
21091         Likewise.
21093         [BZ #16648]
21094         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21095         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
21096         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
21098 2014-03-31  Will Newton  <will.newton@linaro.org>
21100         * benchtests/Makefile (bench): Add ffs and ffsll to list
21101         of tests.
21102         * benchtests/ffs-inputs: New file.
21103         * benchtests/ffsll-inputs: Likewise.
21105 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
21107         [BZ #16770]
21108         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
21109         too large before casting to int.
21110         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
21111         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
21112         * math/libm-test.inc (scalb_test_data): Add more tests.
21114 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21116         * benchtests/Makefile (DETAILED_OPT): New make option.
21117         (bench-func): Run benchmark program with -d if DETAILED_OPT is
21118         set.
21119         * benchtests/bench-skeleton.c: Include stdbool.h.
21120         (main): Store and print timings per input.
21121         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
21122         member to each argument value.
21123         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
21124         (_print_arg_data): Initialize per-input timing to 0.
21126         * benchtests/Makefile (timing-type): New binary.
21127         (bench-clean): Also remove bench-timing-type.
21128         (bench): New target for timing-type.
21129         (bench-func): Print output in JSON format.
21130         * benchtests/bench-skeleton.c (main): Print output in JSON
21131         format.
21132         * benchtests/bench-timing-type.c: New file.
21133         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
21134         (TIMING_PRINT_STATS): Remove.
21135         * benchtests/scripts/bench.py (_print_arg_data): Store variant
21136         name separately.
21138         * benchtests/bench-modf.c: Remove.
21139         * benchtests/modf-inputs: New inputs file.
21141 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
21143         [BZ #16362]
21144         * math/s_clog10.c (M_PI_LOG10E): New macro.
21145         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
21146         imaginary parts are 0.
21147         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
21148         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
21149         imaginary parts are 0.
21150         * math/s_clog10l.c (M_PI_LOG10El): New macro.
21151         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
21152         imaginary parts are 0.
21153         * math/libm-test.inc (clog10_test_data): Update expected results
21154         for when real and imaginary parts are 0.
21156 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
21158         * elf/dl-load.c: Finish conversion of __builtin_expect into
21159         __glibc_{un}likely.
21161 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
21163         [BZ #16348]
21164         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
21165         1+x for argument with exponent below -67.
21166         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
21167         Likewise.
21168         * math/auto-libm-test-in: Add more tests of exp.
21169         * math/auto-libm-test-out: Regenerated.
21171 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21173         [BZ #16759]
21174         * inet/getnetgrent_r.c (get_nonempty_val): New function.
21175         (nscd_getnetgrent): Use it.
21177         [BZ #16760]
21178         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
21179         of stpcpy.
21181 2014-03-27  Andi Kleen  <ak@linux.intel.com>
21183         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
21184         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21185         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21186         (lll_robust_unlock): Remove out of line section. Use cfi
21187         intrinsics.
21188         (LLL_STUB_UNWIND_INFO*): Remove.
21189         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
21190         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21191         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21192         (lll_robust_unlock): Remove out of line section. Use cfi
21193         intrinsics.
21194         (LLL_STUB_UNWIND_INFO*): Remove.
21196 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21198         [BZ #16758]
21199         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
21200         blank values.
21202 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
21204         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
21206 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
21208         [BZ #16198]
21209         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
21210         fnstenv.
21211         * math/test-fenv-preserve.c: New file.
21212         * math/Makefile (tests): Add test-fenv-preserve.
21214 2014-03-26  Will Newton <will.newton@linaro.org>
21216         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
21218 2014-03-25  Roland McGrath  <roland@hack.frob.com>
21220         * scripts/versionlist.awk: Partition the version sets and emit all
21221         GLIBC_* (sorted) before all others (sorted).
21223 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21225         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
21226         GLIBC_2.2.5 version.
21228 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21230         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
21231         calls.
21233         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
21234         previous change.
21236         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21238 2014-03-25  Andreas Schwab  <schwab@suse.de>
21240         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
21241         label to be used after in6ailist is initialized.
21243 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21245         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21246         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21248 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21250         [BZ #16357]
21251         [BZ #16599]
21252         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
21253         min_plus_half.
21254         (fp_formats): Update initializers.
21255         (init_fp_formats): Initialize new field.
21256         (output_for_one_input_case): Allow underflow for results up to
21257         min_plus_half.
21258         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
21259         * math/auto-libm-test-in: Don't mark some underflows from asin and
21260         atanh as spurious.
21261         * math/auto-libm-test-out: Regenerated.
21262         * sysdeps/i386/fpu/libm-test-ulps: Update.
21263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21265 2014-03-25  Andreas Schwab  <schwab@suse.de>
21267         * libio/Makefile (tst-ftell-partial-wide-ENV)
21268         (tst-ftell-active-handler-ENV): Define.
21270 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
21272         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
21274 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21276         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
21278 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
21280         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
21281         * sysdeps/x86_64/fpu/multiarch/e_exp.c
21282         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21284 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21286         [BZ #16634]
21287         * elf/dl-load.c (open_verify): Add mode parameter.
21288         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
21289         (open_path): Change from boolean 'secure' to complete flag 'mode'
21290         (_dl_map_object): Adjust.
21291         * elf/Makefile (tests): Add tst-dlopen-aout.
21292         * elf/tst-dlopen-aout.c: New test.
21294 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
21296         [BZ #16714]
21297         * sysdeps/unix/sysv/linux/s390/bits/stat.h
21298         (struct stat): Rename member pad0 to __glibc_reserved0.
21300         [BZ #16712]
21301         * sysdeps/s390/s390-32/bits/wordsize.h
21302         (__WORDSIZE32_SIZE_ULONG): New define.
21303         * sysdeps/s390/s390-64/bits/wordsize.h
21304         (__WORDSIZE32_SIZE_ULONG): Likewise.
21305         * sysdeps/generic/stdint.h (SIZE_MAX):
21306         Define as UL if __WORDSIZE32_SIZE_ULONG.
21308         [BZ #16713]
21309         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
21310         (__glibc_reserved0): New variable.
21311         (sa_flags): Change type to int.
21313         * posix/Makefile (before-compile): Use += before-compile instead
21314         of a :=.
21316         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21317         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21319 2014-03-20  Andreas Schwab  <schwab@suse.de>
21321         [BZ #16743]
21322         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
21323         non-matching result from nscd.
21325 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21327         * scripts/bench.py: Moved to ...
21328         * benchtests/scripts/bench.py: ... here.
21329         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
21331 2014-03-24  Andreas Schwab  <schwab@suse.de>
21333         [BZ #16002]
21334         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
21335         alloca_account and account alloca use for struct in6ailist.
21337 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
21339         [BZ #16284]
21340         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
21341         rounding mode to recompute results that overflow to infinity or
21342         underflow to zero.
21343         * math/auto-libm-test-in: Don't mark tests as expected to fail for
21344         bug 16284.
21345         * math/auto-libm-test-out: Regenerated.
21346         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
21347         (ccosh_test): Likewise.
21348         (csin_test_data): Use plus_oflow.
21349         (csin_test): Use ALL_RM_TEST.
21350         (csinh_test_data): Use plus_oflow.
21351         (csinh_test): Use ALL_RM_TEST.
21352         * sysdeps/i386/fpu/libm-test-ulps: Update.
21353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21355 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
21357         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
21358         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
21359         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
21361         [BZ #16731]
21362         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
21363         when x - 1 is zero.
21364         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
21365         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
21366         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
21367         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
21368         argument is 1.
21369         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
21370         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
21371         zero.
21372         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
21373         * sysdeps/i386/fpu/libm-test-ulps: Update.
21374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21376 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21378         * scripts/bench.pl: Remove file.
21379         * scripts/bench.py: New benchmark script.
21380         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
21381         * benchtests/README: Mention python dependency.
21382         * scripts/pylintrc: New file.
21383         * scripts/pylint: New file.
21385         * bits/mathdef.h: Use #ifdef instead of #if.
21386         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
21387         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21388         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
21389         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21390         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
21391         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21393 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21394             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21396         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
21397         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
21398         and strpbrk-ppc64 objects.
21399         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21400         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
21401         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
21402         multiarch strpbrk for POWER7.
21403         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
21404         multiarch strpbrk for PPC64.
21405         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
21406         ifunc selector.
21407         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
21408         strpbrk for POWER7.
21410 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
21412         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
21413         (atan_test): Likewise.
21414         (atanh_test_data): Use NO_TEST_INLINE for two tests.
21415         (atanh_test): Use ALL_RM_TEST.
21416         (atan2_test_data): Likewise.
21417         (cabs_test): Likewise.
21418         (cacosh_test): Likewise.
21419         (carg_test): Likewise.
21420         (casin_test): Likewise.
21421         (casinh_test): Likewise.
21422         (cbrt_test): Likewise.
21423         (csqrt_test): Likewise.
21424         (erf_test): Likewise.
21425         (erfc_test): Likewise.
21426         (pow10_test): Likewise.
21427         (exp2_test): Likewise.
21428         (hypot_test): Likewise.
21429         (j0_test): Likewise.
21430         (j1_test): Likewise.
21431         (lgamma_test): Likewise.
21432         (gamma_test): Likewise.
21433         (sincos_test): Likewise.
21434         (tanh_test): Likewise.
21435         (y0_test): Likewise.
21436         (y1_test): Likewise.
21437         * sysdeps/i386/fpu/libm-test-ulps: Update.
21438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21440 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21442         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
21443         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
21444         and strcspn-ppc64 objects.
21445         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21446         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
21447         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
21448         multiarch strcspn for POWER7.
21449         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
21450         multiarch strcspn for PPC64.
21451         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
21452         ifunc selector.
21453         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
21454         strcspn for POWER7.
21456 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
21458         * math/gen-libm-test.pl (generate_testfile): Expect only function
21459         name as argument to AUTO_TESTS_* and pass results for all rounding
21460         modes to parse_args.
21461         (parse_auto_input): Separate inputs of automatic tests from
21462         outputs before storing in %auto_tests.
21463         * math/libm-test.inc (acos_test_data): Update call to
21464         AUTO_TESTS_f_f.
21465         (acos_test): Use ALL_RM_TEST.
21466         (acos_tonearest_test_data): Remove.
21467         (acos_test_tonearest): Likewise.
21468         (acos_towardzero_test_data): Likewise.
21469         (acos_test_towardzero): Likewise.
21470         (acos_downward_test_data): Likewise.
21471         (acos_test_downward): Likewise.
21472         (acos_upward_test_data): Likewise.
21473         (acos_test_upward): Likewise.
21474         (acosh_test_data): Update call to AUTO_TESTS_f_f.
21475         (asin_test_data): Likewise.
21476         (asin_test): Use ALL_RM_TEST.
21477         (asin_tonearest_test_data): Remove.
21478         (asin_test_tonearest): Likewise.
21479         (asin_towardzero_test_data): Likewise.
21480         (asin_test_towardzero): Likewise.
21481         (asin_downward_test_data): Likewise.
21482         (asin_test_downward): Likewise.
21483         (asin_upward_test_data): Likewise.
21484         (asin_test_upward): Likewise.
21485         (asinh_test_data): Update call to AUTO_TESTS_f_f.
21486         (atan_test_data): Likewise.
21487         (atanh_test_data): Likewise.
21488         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
21489         (cabs_test_data): Update call to AUTO_TESTS_c_f.
21490         (carg_test_data): Likewise.
21491         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
21492         (ccos_test_data): Update call to AUTO_TESTS_c_c.
21493         (ccosh_test_data): Likewise.
21494         (cexp_test_data): Likewise.
21495         (clog_test_data): Likewise.
21496         (clog10_test_data): Likewise.
21497         (cos_test_data): Update call to AUTO_TESTS_f_f.
21498         (cos_test): Use ALL_RM_TEST.
21499         (cos_tonearest_test_data): Remove.
21500         (cos_test_tonearest): Likewise.
21501         (cos_towardzero_test_data): Likewise.
21502         (cos_test_towardzero): Likewise.
21503         (cos_downward_test_data): Likewise.
21504         (cos_test_downward): Likewise.
21505         (cos_upward_test_data): Likewise.
21506         (cos_test_upward): Likewise.
21507         (cosh_test_data): Update call to AUTO_TESTS_f_f.
21508         (cosh_test): Use ALL_RM_TEST.
21509         (cosh_tonearest_test_data): Remove.
21510         (cosh_test_tonearest): Likewise.
21511         (cosh_towardzero_test_data): Likewise.
21512         (cosh_test_towardzero): Likewise.
21513         (cosh_downward_test_data): Likewise.
21514         (cosh_test_downward): Likewise.
21515         (cosh_upward_test_data): Likewise.
21516         (cosh_test_upward): Likewise.
21517         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
21518         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
21519         (ctan_test_data): Likewise.
21520         (ctan_test): Use ALL_RM_TEST.
21521         (ctan_tonearest_test_data): Remove.
21522         (ctan_test_tonearest): Likewise.
21523         (ctan_towardzero_test_data): Likewise.
21524         (ctan_test_towardzero): Likewise.
21525         (ctan_downward_test_data): Likewise.
21526         (ctan_test_downward): Likewise.
21527         (ctan_upward_test_data): Likewise.
21528         (ctan_test_upward): Likewise.
21529         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
21530         (ctanh_test): Use ALL_RM_TEST.
21531         (ctanh_tonearest_test_data): Remove.
21532         (ctanh_test_tonearest): Likewise.
21533         (ctanh_towardzero_test_data): Likewise.
21534         (ctanh_test_towardzero): Likewise.
21535         (ctanh_downward_test_data): Likewise.
21536         (ctanh_test_downward): Likewise.
21537         (ctanh_upward_test_data): Likewise.
21538         (ctanh_test_upward): Likewise.
21539         (erf_test_data): Update call to AUTO_TESTS_f_f.
21540         (erfc_test_data): Likewise.
21541         (exp_test_data): Likewise.
21542         (exp_test): Use ALL_RM_TEST.
21543         (exp_tonearest_test_data): Remove.
21544         (exp_test_tonearest): Likewise.
21545         (exp_towardzero_test_data): Likewise.
21546         (exp_test_towardzero): Likewise.
21547         (exp_downward_test_data): Likewise.
21548         (exp_test_downward): Likewise.
21549         (exp_upward_test_data): Likewise.
21550         (exp_test_upward): Likewise.
21551         (exp10_test_data): Update call to AUTO_TESTS_f_f.
21552         (exp10_test): Use ALL_RM_TEST.
21553         (exp10_tonearest_test_data): Remove.
21554         (exp10_test_tonearest): Likewise.
21555         (exp10_towardzero_test_data): Likewise.
21556         (exp10_test_towardzero): Likewise.
21557         (exp10_downward_test_data): Likewise.
21558         (exp10_test_downward): Likewise.
21559         (exp10_upward_test_data): Likewise.
21560         (exp10_test_upward): Likewise.
21561         (exp2_test_data): Update call to AUTO_TESTS_f_f.
21562         (expm1_test_data): Likewise.
21563         (expm1_test): Use ALL_RM_TEST.
21564         (expm1_tonearest_test_data): Remove.
21565         (expm1_test_tonearest): Likewise.
21566         (expm1_towardzero_test_data): Likewise.
21567         (expm1_test_towardzero): Likewise.
21568         (expm1_downward_test_data): Likewise.
21569         (expm1_test_downward): Likewise.
21570         (expm1_upward_test_data): Likewise.
21571         (expm1_test_upward): Likewise.
21572         (fma_test_data): Update call to AUTO_TESTS_fff_f.
21573         (fma_test): Use ALL_RM_TEST.
21574         (fma_towardzero_test_data): Remove.
21575         (fma_test_towardzero): Likewise.
21576         (fma_downward_test_data): Likewise.
21577         (fma_test_downward): Likewise.
21578         (fma_upward_test_data): Likewise.
21579         (fma_test_upward): Likewise.
21580         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
21581         (j0_test_data): Update call to AUTO_TESTS_f_f.
21582         (j1_test_data): Likewise.
21583         (jn_test_data): Update call to AUTO_TESTS_if_f.
21584         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
21585         (log_test_data): Update call to AUTO_TESTS_f_f.
21586         (log10_test_data): Likewise.
21587         (log1p_test_data): Likewise.
21588         (log2_test_data): Likewise.
21589         (pow_test_data): Update call to AUTO_TESTS_ff_f.
21590         (pow_tonearest_test_data): Likewise.
21591         (sin_test_data): Update call to AUTO_TESTS_f_f.
21592         (sin_test): Use ALL_RM_TEST.
21593         (sin_tonearest_test_data): Remove.
21594         (sin_test_tonearest): Likewise.
21595         (sin_towardzero_test_data): Likewise.
21596         (sin_test_towardzero): Likewise.
21597         (sin_downward_test_data): Likewise.
21598         (sin_test_downward): Likewise.
21599         (sin_upward_test_data): Likewise.
21600         (sin_test_upward): Likewise.
21601         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
21602         (sinh_test_data): Update call to AUTO_TESTS_f_f.
21603         (sinh_test): Use ALL_RM_TEST.
21604         (sinh_tonearest_test_data): Remove.
21605         (sinh_test_tonearest): Likewise.
21606         (sinh_towardzero_test_data): Likewise.
21607         (sinh_test_towardzero): Likewise.
21608         (sinh_downward_test_data): Likewise.
21609         (sinh_test_downward): Likewise.
21610         (sinh_upward_test_data): Likewise.
21611         (sinh_test_upward): Likewise.
21612         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
21613         (sqrt_test): Use ALL_RM_TEST.
21614         (sqrt_tonearest_test_data): Remove.
21615         (sqrt_test_tonearest): Likewise.
21616         (sqrt_towardzero_test_data): Likewise.
21617         (sqrt_test_towardzero): Likewise.
21618         (sqrt_downward_test_data): Likewise.
21619         (sqrt_test_downward): Likewise.
21620         (sqrt_upward_test_data): Likewise.
21621         (sqrt_test_upward): Likewise.
21622         (tan_test_data): Update call to AUTO_TESTS_f_f.
21623         (tan_test): Use ALL_RM_TEST.
21624         (tan_tonearest_test_data): Remove.
21625         (tan_test_tonearest): Likewise.
21626         (tan_towardzero_test_data): Likewise.
21627         (tan_test_towardzero): Likewise.
21628         (tan_downward_test_data): Likewise.
21629         (tan_test_downward): Likewise.
21630         (tan_upward_test_data): Likewise.
21631         (tan_test_upward): Likewise.
21632         (tanh_test_data): Update call to AUTO_TESTS_f_f.
21633         (tgamma_test_data): Likewise.
21634         (y0_test_data): Likewise.
21635         (y1_test_data): Likewise.
21636         (yn_test_data): Update call to AUTO_TESTS_if_f.
21637         (main): Do not call removed functions.
21639 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
21641         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
21642         (ldexp_test_data): Remove.
21643         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
21644         scalbn_test_data.
21645         (scalb_test): Use ALL_RM_TEST.
21647 2014-03-19  Andreas Schwab  <schwab@suse.de>
21649         * nscd/nscd.service: Also invalidate netgroup cache on reload.
21651 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
21653         [BZ #16649]
21654         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21655         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
21656         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
21657         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21658         (__ASSUME_PREADV): Undefine.
21659         (__ASSUME_PWRITEV): Likewise.
21661 2014-03-18  Roland McGrath  <roland@hack.frob.com>
21663         * bits/mman-linux.h: Add comment about non-Linux use.
21664         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
21665         bits/mman-linux.h resting place.
21667         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
21668         * bits/mman-linux.h: ... here.
21670 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21672         * conform/conformtest.pl: Add standard definition when calling C
21673         preprocessor on data files.
21674         (checknamespace): Remove unused variable.
21676 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
21678         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
21679         minus_oflow, plus_uflow and minus_uflow in expected results.
21680         * math/libm-test.inc (scalbn_test_data): Add more tests of
21681         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
21682         minus_uflow.
21683         (scalbn_test): Use ALL_RM_TEST.
21684         (scalbln_test_data): Add more tests of negative arguments.  Use
21685         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
21686         (scalbln_test): Use ALL_RM_TEST.
21688 2014-03-18  Roland McGrath  <roland@hack.frob.com>
21690         * scripts/abilist.awk: Ignore symbols marked with .hidden.
21692 2014-03-18  Will Newton  <will.newton@linaro.org>
21694         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
21695         inaccurate comment.
21697 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
21699         * Makerules [!subdir] (check-abi): Exit with error status if a
21700         test failed.
21702 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
21704         * math/libm-test.inc (nearbyint_test_data): Include all tests used
21705         for rint.  Include results for all rounding modes.
21706         (nearbyint_test): Use ALL_RM_TEST.
21707         (rint_test_data): Include all tests used for nearbyint.
21709 2014-03-17  Will Newton  <will.newton@linaro.org>
21711         * nptl/sysdeps/pthread/pthread.h: Revert previous
21712         change.
21714         * sysdeps/generic/ldsodefs.h: Revert previous
21715         change.
21717         * libio/genops.c: Revert previous change.
21718         * libio/libioP.h: Likewise.
21719         * stdio-common/vfprintf.c: Likewise.
21721         * sysdeps/generic/math_private.h: Revert previous
21722         change.
21724         * sysdeps/generic/math_private.h: Check whether
21725         HAVE_RM_CTX is defined with #ifdef rather
21726         than #if.
21728         * argp/argp-fmtstream.h: Check whether
21729         __STRICT_ANSI__ is defined with #ifdef rather
21730         than #if.
21731         * argp/argp.h: Likewise.
21733         * libio/genops.c: Check whether
21734         _IO_JUMPS_OFFSET is defined with #ifdef rather
21735         than #if.
21736         * libio/libioP.h: Likewise.
21737         * stdio-common/vfprintf.c: Likewise.
21739         * sysdeps/generic/ldsodefs.h: Check whether
21740         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
21741         than #if.
21743         * nptl/sysdeps/pthread/pthread.h: Check
21744         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
21745         its value.
21747 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21749         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
21750         setting O_APPEND.
21751         * libio/tst-ftell-active-handler.c (do_append_test): Add a
21752         test case.
21754         [BZ #16680]
21755         * libio/fileops.c (_IO_file_open): Seek to end of file but
21756         don't cache the offset.
21757         (get_file_offset): Remove function.
21758         (do_ftell): Use cached offset when available.
21759         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
21760         don't cache the offset.
21761         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
21762         case.
21763         (do_one_test): Call it.
21764         (do_ftell_test): Fix up expected old offset for a+ mode.
21765         * libio/wfileops.c (do_ftell_wide): Used cached offset when
21766         available.
21768         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
21769         up test status with function return status.
21770         (do_write_test): Likewise.
21771         (do_append_test): Likewise.
21773         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
21774         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
21775         Remove.
21777 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
21779         * math/gen-libm-test.pl (parse_args): Handle results specified for
21780         each rounding mode separately.
21781         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
21782         tests and results from lrint_tonearest_test_data,
21783         lrint_towardzero_test_data, lrint_downward_test_data and
21784         lrint_upward_test_data.
21785         (lrint_test): Use ALL_RM_TEST.
21786         (lrint_tonearest_test_data): Remove.
21787         (lrint_test_tonearest): Likewise.
21788         (lrint_towardzero_test_data): Likewise.
21789         (lrint_test_towardzero): Likewise.
21790         (lrint_downward_test_data): Likewise.
21791         (lrint_test_downward): Likewise.
21792         (lrint_upward_test_data): Likewise.
21793         (lrint_test_upward): Likewise.
21794         (llrint_test_data): Merge in per-rounding-mode tests and results
21795         from llrint_tonearest_test_data, llrint_towardzero_test_data,
21796         llrint_downward_test_data and llrint_upward_test_data.
21797         (llrint_test): Use ALL_RM_TEST.
21798         (llrint_tonearest_test_data): Remove.
21799         (llrint_test_tonearest): Likewise.
21800         (llrint_towardzero_test_data): Likewise.
21801         (llrint_test_towardzero): Likewise.
21802         (llrint_downward_test_data): Likewise.
21803         (llrint_test_downward): Likewise.
21804         (llrint_upward_test_data): Likewise.
21805         (llrint_test_upward): Likewise.
21806         (rint_test_data): Merge in per-rounding-mode tests and results
21807         from rint_tonearest_test_data, rint_towardzero_test_data,
21808         rint_downward_test_data and rint_upward_test_data.  Add
21809         per-rounding-mode results for tests not in those arrays.
21810         (rint_test): Use ALL_RM_TEST.
21811         (rint_tonearest_test_data): Remove.
21812         (rint_test_tonearest): Likewise.
21813         (rint_towardzero_test_data): Likewise.
21814         (rint_test_towardzero): Likewise.
21815         (rint_downward_test_data): Likewise.
21816         (rint_test_downward): Likewise.
21817         (rint_upward_test_data): Likewise.
21818         (rint_test_upward): Likewise.
21819         (main): Don't call removed functions.
21821 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21823         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
21824         "Compiled on ..." crapola.  It is anti-useful.
21826 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
21828         * scripts/evaluate-test.sh: Handle fourth argument to determine
21829         whether test run should stop on failure.
21830         * Makeconfig (stop-on-test-failure): New variable.
21831         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
21832         $(stop-on-test-failure).
21833         * Makefile (tests): Give a summary of results from testing and
21834         exit with failure status if they include an ERROR or FAIL.
21835         (xtests): Likewise.
21836         * manual/install.texi (Configuring and compiling): Mention
21837         stop-on-test-failure=y.
21838         * INSTALL: Regenerated.
21840 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21842         * scripts/versionlist.awk: New file.
21843         * Makerules [$(build-shared) = yes]
21844         (postclean-generated): Add Versions.def, not Versions.def.v and
21845         Versions.def.v.i.
21846         ($(common-objpfx)Versions.def.v.i): Target removed.
21847         ($(common-objpfx)Versions.def): New target.
21848         ($(common-objpfx)Versions.all): Depend on that rather that
21849         $(common-objpfx)Versions.def.v.
21850         * Versions.def: File removed.
21852         * Makeconfig (+gccwarn): Add -Wundef.
21853         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
21854         a dl-sysdep.h breaking its contract.
21855         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
21856         * include/stackinfo.h: New file.
21857         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
21858         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
21859         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
21860         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
21861         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
21862         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
21863         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21864         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21865         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21866         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21867         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21868         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
21869         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21870         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21871         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21873 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21875         [BZ #16707]
21876         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
21877         implementation.
21878         * math/libm-test.inc (round_test_data): Add more tests.
21880         [BZ #16706]
21881         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
21882         implementation.
21883         * math/libm-test.inc (nearbyint_test_data): Add more tests.
21885         [BZ #16701]
21886         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
21887         implementation.
21888         * math/libm-test.inc (ceil_test_data): Add more tests.
21890         * math/libm-test.inc (trunc_test_data): Add more tests related to
21891         BZ#16414.
21893 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21895         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
21896         with #if rather than #ifdef.
21897         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
21899 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
21901         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
21902         first.  Disable AVX-512 GCC support if assembler doesn't support
21903         it.
21904         * sysdeps/x86_64/configure: Regenerated.
21906 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
21908         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
21909         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
21910         (__old_pthread_attr_setstack): Likewise.
21911         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
21912         [!_STACK_GROWS_DOWN]: Likewise.
21914 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
21916         * config.make.in (have-bash2): Delete.
21917         * configure.ac (libc_cv_have_bash2): Delete.
21918         * configure: Regenerate.
21919         * elf/Makefile (common-ldd-rewrite): Rename to ...
21920         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
21921         (sh-ldd-rewrite): Delete.
21922         (bash-ldd-rewrite): Delete.
21923         (have-bash2): Delete checks.
21924         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
21925         ldd-rewrite.
21927         * config.make.in (have-ksh): Delete.
21928         (KSH): Delete.
21929         * configure.ac (libc_cv_have_ksh): Delete.
21930         * configure: Regenerate.
21932         * elf/Makefile: Delete $(have-ksh) check.
21933         ($(objpfx)sotruss): Change KSH to BASH.
21934         * elf/sotruss.ksh: Rename to ...
21935         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
21936         function style to match POSIX.  Drop ksh vim mode setting.
21938         * manual/time.texi (Specifying the Time Zone with TZ): Change
21939         Tuesday to Thursday.
21941         * debug/tst-longjmp_chk2.c: Update header comment.
21942         (stackoverflow_handler): Add comment.  Call assert on pass value.
21944 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
21946         [BZ #16194]
21947         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
21948         (HAVE_AVX512_ASM_SUPPORT): Likewise.
21949         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
21950         (La_x86_64_vector): Add zmm.
21951         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
21952         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
21953         ($(objpfx)tst-audit10): New target.
21954         ($(objpfx)tst-audit10.out): Likewise.
21955         (tst-audit10-ENV): New.
21956         (AVX512-CFLAGS): Likewise.
21957         (CFLAGS-tst-audit10.c): Likewise.
21958         (CFLAGS-tst-auditmod10a.c): Likewise.
21959         (CFLAGS-tst-auditmod10b.c): Likewise.
21960         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
21961         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
21962         * sysdeps/x86_64/configure: Regenerated.
21963         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
21964         AVX-512 zmm register support.
21965         (_dl_x86_64_save_sse): Likewise.
21966         (_dl_x86_64_restore_sse): Likewise.
21967         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
21968         size vector registers.
21969         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
21970         (ZMM_SIZE): Likewise.
21971         * sysdeps/x86_64/tst-audit10.c: New file.
21972         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
21973         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
21975 2014-03-13  Roland McGrath  <roland@hack.frob.com>
21977         * configure.ac (HAVE_EHDR_START): New check.
21978         * configure: Regenerated.
21979         * config.h.in (HAVE_EHDR_START): New #undef.
21980         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
21981         assuming the lowest-addressed segment maps the start of the file.
21983 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
21985         * INSTALL: Regenerated.
21987 2014-03-13  Will Newton  <will.newton@linaro.org>
21989         * manual/setjmp.texi (System V contexts): Improve
21990         clarity and grammar of documentation.
21992 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
21994         [BZ #16381]
21995         * elf/Makefile (tests): Add tst-pie2.
21996         (tests-pie): Add tst-pie2.
21997         * elf/tst-pie2.c: New file.
21998         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
21999         for ET_EXEC.
22000         * elf/rtld.c (map_doit): Load executable as lt_executable.
22001         (dl_main): Likewise.
22003 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
22005         [BZ #16642]
22006         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22007         (__ASSUME_PSELECT): Undefine.
22009 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22011         [BZ #16689]
22012         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
22013         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
22014         static build.
22015         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
22016         selector for static builds.
22018 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22020         [BZ #16695]
22021         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
22022         key in the buffer.
22024 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22026         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
22027         IFUNC selector for static builds.
22029 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
22031         * sysdeps/mips/math_private.h [__mips_hard_float]
22032         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
22033         libc_feresetround_mips_ctx.
22034         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
22035         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
22036         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
22038         [BZ #16677]
22039         * math/s_nextafter.c (__nextafter): Do not return value from
22040         overflowing computation.
22041         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
22042         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
22043         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
22044         Likewise.
22045         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
22046         Likewise.
22047         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
22048         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
22050 2014-03-11  Roland McGrath  <roland@hack.frob.com>
22052         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
22053         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
22054         Move sfi_sp use from the load-multiple (that no longer sets sp) to
22055         the new mov targetting sp.
22057 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22059         [BZ #16683]
22060         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
22061         Define it for static builds as well.
22062         (NO_BZERO_IMPL): Likewise.
22064 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22066         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
22067         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
22068         multiarch strspn for PPC64.
22069         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
22070         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
22071         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22072         (__libc_ifunc_impl_list): Likewise.
22073         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
22074         multiarch optimizations
22075         * string/strspn.c (strspn): Using macro to redefine symbol name.
22077 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22078             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22080         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
22081         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
22082         multiarch strncat for PPC64.
22083         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
22084         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
22085         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22086         (__libc_ifunc_impl_list): Likewise.
22087         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
22088         multiarch optimizations
22090 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22092         [BZ #16639]
22093         * nscd/nscd.service: Make service type forking.
22095 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22097         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
22098         sign in non default rounding modes.
22099         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
22101 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
22103         * math/libm-test.inc (ALL_RM_TEST): New macro.
22104         (ceil_test): Use ALL_RM_TEST.
22105         (cimag_test): Likewise.
22106         (conj_test): Likewise.
22107         (copysign_test): Likewise.
22108         (cproj_test): Likewise.
22109         (creal_test): Likewise.
22110         (fabs_test): Likewise.
22111         (floor_test): Likewise.
22112         (fmax_test): Likewise.
22113         (fmin_test): Likewise.
22114         (fmod_test): Likewise.
22115         (fpclassify_test): Likewise.
22116         (frexp_test): Likewise.
22117         (ilogb_test): Likewise.
22118         (isfinite_test): Likewise.
22119         (finite_test): Likewise.
22120         (isgreater_test): Likewise.
22121         (isgreaterequal_test): Likewise.
22122         (isinf_test): Likewise.
22123         (isless_test): Likewise.
22124         (islessequal_test): Likewise.
22125         (islessgreater_test): Likewise.
22126         (isnan_test): Likewise.
22127         (isnormal_test): Likewise.
22128         (issignaling_test): Likewise.
22129         (isunordered_test): Likewise.
22130         (logb_test): Likewise.
22131         (logb_downward_test_data): Remove.
22132         (logb_test_downward): Likewise.
22133         (lround_test): Use ALL_RM_TEST.
22134         (llround_test): Likewise.
22135         (modf_test): Likewise.
22136         (nexttoward_test): Likewise.
22137         (remainder_test): Likewise.
22138         (drem_test): Likewise.
22139         (remainder_tonearest_test_data): Likewise.
22140         (remainder_test_tonearest): Likewise.
22141         (drem_test_tonearest): Likewise.
22142         (remainder_towardzero_test_data): Likewise.
22143         (remainder_test_towardzero): Likewise.
22144         (drem_test_towardzero): Likewise.
22145         (remainder_downward_test_data): Likewise.
22146         (remainder_test_downward): Likewise.
22147         (drem_test_downward): Likewise.
22148         (remainder_upward_test_data): Likewise.
22149         (remainder_test_upward): Likewise.
22150         (drem_test_upward): Likewise.
22151         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
22152         (round_test): Use ALL_RM_TEST.
22153         (signbit_test): Likewise.
22154         (trunc_test): Likewise.
22155         (significand_test): Likewise.
22156         (main): Don't call removed functions.
22158 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
22160         [BZ #16674]
22161         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
22162         || __USE_XOPEN2K8].
22163         (ILL_ILLOPN): Likewise.
22164         (ILL_ILLADR): Likewise.
22165         (ILL_ILLTRP): Likewise.
22166         (ILL_PRVOPC): Likewise.
22167         (ILL_PRVREG): Likewise.
22168         (ILL_COPROC): Likewise.
22169         (ILL_BADSTK): Likewise.
22170         (FPE_INTDIV): Likewise.
22171         (FPE_INTOVF): Likewise.
22172         (FPE_FLTDIV): Likewise.
22173         (FPE_FLTOVF): Likewise.
22174         (FPE_FLTUND): Likewise.
22175         (FPE_FLTRES): Likewise.
22176         (FPE_FLTINV): Likewise.
22177         (FPE_FLTSUB): Likewise.
22178         (SEGV_MAPERR): Likewise.
22179         (SEGV_ACCERR): Likewise.
22180         (BUS_ADRALN): Likewise.
22181         (BUS_ADRERR): Likewise.
22182         (BUS_OBJERR): Likewise.
22183         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22184         (TRAP_TRACE): Likewise.
22185         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22186         __USE_XOPEN2K8].
22187         (CLD_KILLED): Likewise.
22188         (CLD_DUMPED): Likewise.
22189         (CLD_TRAPPED): Likewise.
22190         (CLD_STOPPED): Likewise.
22191         (CLD_CONTINUED): Likewise.
22192         (POLL_IN): Likewise.
22193         (POLL_OUT): Likewise.
22194         (POLL_MSG): Likewise.
22195         (POLL_ERR): Likewise.
22196         (POLL_PRI): Likewise.
22197         (POLL_HUP): Likewise.
22198         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
22199         Likewise.
22200         (ILL_ILLOPN): Likewise.
22201         (ILL_ILLADR): Likewise.
22202         (ILL_ILLTRP): Likewise.
22203         (ILL_PRVOPC): Likewise.
22204         (ILL_PRVREG): Likewise.
22205         (ILL_COPROC): Likewise.
22206         (ILL_BADSTK): Likewise.
22207         (FPE_INTDIV): Likewise.
22208         (FPE_INTOVF): Likewise.
22209         (FPE_FLTDIV): Likewise.
22210         (FPE_FLTOVF): Likewise.
22211         (FPE_FLTUND): Likewise.
22212         (FPE_FLTRES): Likewise.
22213         (FPE_FLTINV): Likewise.
22214         (FPE_FLTSUB): Likewise.
22215         (SEGV_MAPERR): Likewise.
22216         (SEGV_ACCERR): Likewise.
22217         (BUS_ADRALN): Likewise.
22218         (BUS_ADRERR): Likewise.
22219         (BUS_OBJERR): Likewise.
22220         (BUS_MCEERR_AR): Likewise.
22221         (BUS_MCEERR_AO): Likewise.
22222         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22223         (TRAP_TRACE): Likewise.
22224         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22225         __USE_XOPEN2K8].
22226         (CLD_KILLED): Likewise.
22227         (CLD_DUMPED): Likewise.
22228         (CLD_TRAPPED): Likewise.
22229         (CLD_STOPPED): Likewise.
22230         (CLD_CONTINUED): Likewise.
22231         (POLL_IN): Likewise.
22232         (POLL_OUT): Likewise.
22233         (POLL_MSG): Likewise.
22234         (POLL_ERR): Likewise.
22235         (POLL_PRI): Likewise.
22236         (POLL_HUP): Likewise.
22237         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): 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/ia64/bits/siginfo.h (ILL_ILLOPC):
22276         Likewise.
22277         (ILL_ILLOPN): Likewise.
22278         (ILL_ILLADR): Likewise.
22279         (ILL_ILLTRP): Likewise.
22280         (ILL_PRVOPC): Likewise.
22281         (ILL_PRVREG): Likewise.
22282         (ILL_COPROC): Likewise.
22283         (ILL_BADSTK): Likewise.
22284         (ILL_BADIADDR): Likewise.
22285         (ILL_BREAK): Likewise.
22286         (FPE_INTDIV): Likewise.
22287         (FPE_INTOVF): Likewise.
22288         (FPE_FLTDIV): Likewise.
22289         (FPE_FLTOVF): Likewise.
22290         (FPE_FLTUND): Likewise.
22291         (FPE_FLTRES): Likewise.
22292         (FPE_FLTINV): Likewise.
22293         (FPE_FLTSUB): Likewise.
22294         (FPE_DECOVF): Likewise.
22295         (FPE_DECDIV): Likewise.
22296         (FPE_DECERR): Likewise.
22297         (FPE_INVASC): Likewise.
22298         (FPE_INVDEC): Likewise.
22299         (SEGV_MAPERR): Likewise.
22300         (SEGV_ACCERR): Likewise.
22301         (SEGV_PSTKOVF): Likewise.
22302         (BUS_ADRALN): Likewise.
22303         (BUS_ADRERR): Likewise.
22304         (BUS_OBJERR): Likewise.
22305         (BUS_MCEERR_AR): Likewise.
22306         (BUS_MCEERR_AO): Likewise.
22307         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22308         (TRAP_TRACE): Likewise.
22309         (TRAP_BRANCH): Likewise.
22310         (TRAP_HWBKPT): Likewise.
22311         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22312         __USE_XOPEN2K8].
22313         (CLD_KILLED): Likewise.
22314         (CLD_DUMPED): Likewise.
22315         (CLD_TRAPPED): Likewise.
22316         (CLD_STOPPED): Likewise.
22317         (CLD_CONTINUED): Likewise.
22318         (POLL_IN): Likewise.
22319         (POLL_OUT): Likewise.
22320         (POLL_MSG): Likewise.
22321         (POLL_ERR): Likewise.
22322         (POLL_PRI): Likewise.
22323         (POLL_HUP): Likewise.
22324         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
22325         (ILL_ILLOPN): Likewise.
22326         (ILL_ILLADR): Likewise.
22327         (ILL_ILLTRP): Likewise.
22328         (ILL_PRVOPC): Likewise.
22329         (ILL_PRVREG): Likewise.
22330         (ILL_COPROC): Likewise.
22331         (ILL_BADSTK): Likewise.
22332         (FPE_INTDIV): Likewise.
22333         (FPE_INTOVF): Likewise.
22334         (FPE_FLTDIV): Likewise.
22335         (FPE_FLTOVF): Likewise.
22336         (FPE_FLTUND): Likewise.
22337         (FPE_FLTRES): Likewise.
22338         (FPE_FLTINV): Likewise.
22339         (FPE_FLTSUB): Likewise.
22340         (SEGV_MAPERR): Likewise.
22341         (SEGV_ACCERR): Likewise.
22342         (BUS_ADRALN): Likewise.
22343         (BUS_ADRERR): Likewise.
22344         (BUS_OBJERR): Likewise.
22345         (BUS_MCEERR_AR): Likewise.
22346         (BUS_MCEERR_AO): Likewise.
22347         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22348         (TRAP_TRACE): 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/s390/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/sparc/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/tile/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         (ILL_DBLFLT): Likewise.
22447         (ILL_HARDWALL): Likewise.
22448         (FPE_INTDIV): Likewise.
22449         (FPE_INTOVF): Likewise.
22450         (FPE_FLTDIV): Likewise.
22451         (FPE_FLTOVF): Likewise.
22452         (FPE_FLTUND): Likewise.
22453         (FPE_FLTRES): Likewise.
22454         (FPE_FLTINV): Likewise.
22455         (FPE_FLTSUB): Likewise.
22456         (SEGV_MAPERR): Likewise.
22457         (SEGV_ACCERR): Likewise.
22458         (BUS_ADRALN): Likewise.
22459         (BUS_ADRERR): Likewise.
22460         (BUS_OBJERR): Likewise.
22461         (BUS_MCEERR_AR): Likewise.
22462         (BUS_MCEERR_AO): Likewise.
22463         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22464         (TRAP_TRACE): Likewise.
22465         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22466         __USE_XOPEN2K8].
22467         (CLD_KILLED): Likewise.
22468         (CLD_DUMPED): Likewise.
22469         (CLD_TRAPPED): Likewise.
22470         (CLD_STOPPED): Likewise.
22471         (CLD_CONTINUED): Likewise.
22472         (POLL_IN): Likewise.
22473         (POLL_OUT): Likewise.
22474         (POLL_MSG): Likewise.
22475         (POLL_ERR): Likewise.
22476         (POLL_PRI): Likewise.
22477         (POLL_HUP): Likewise.
22478         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
22479         (ILL_ILLOPN): Likewise.
22480         (ILL_ILLADR): Likewise.
22481         (ILL_ILLTRP): Likewise.
22482         (ILL_PRVOPC): Likewise.
22483         (ILL_PRVREG): Likewise.
22484         (ILL_COPROC): Likewise.
22485         (ILL_BADSTK): 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         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
22517         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
22519         [BZ #16670]
22520         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
22521         before #include of <time.h>.
22522         [!__USE_XOPEN2K] (__need_timespec): Likewise.
22523         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
22524         (test-xfail-UNIX98/sched.h/conform): Likewise.
22526 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
22528         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
22529         error absence of trapping exception support.
22530         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
22532 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
22534         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
22535         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
22536         * timezone/Makefile (testdata): Move definition above include of
22537         Rules.
22538         (test-zones): New variable.
22539         (tests-special): Add zone files.
22540         (build-testdata): Use $(evaluate-test).
22542         * elf/Makefile (tests-special): Rename tests to end with .out.
22543         ($(objpfx)noload-mem): Likewise.
22544         ($(objpfx)tst-leaks1-mem): Likewise.
22545         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
22546         * iconv/Makefile (xtests-special): Change test-iconvconfig to
22547         $(objpfx)test-iconvconfig.out.
22548         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
22549         set -e inside subshell and redirect output to file.
22550         * iconvdata/Makefile (generated): Rename tests to end with .out.
22551         Correct type.
22552         (tests-special): Rename tests to end with .out.
22553         ($(objpfx)mtrace-tst-loading): Likewise.
22554         * intl/Makefile (generated): Likewise.
22555         (tests-special): Likewise.
22556         ($(objpfx)mtrace-tst-gettext): Likewise.
22557         * misc/Makefile (generated): Likewise.
22558         (tests-special): Likewise.
22559         ($(objpfx)tst-error1-mem): Likewise.
22560         * nptl/Makefile (tests-special): Likewise.
22561         ($(objpfx)tst-stack3-mem): Likewise.
22562         (generated): Likewise.
22563         * posix/Makefile (generated): Likewise.
22564         (tests-special): Likewise.
22565         (xtests-special): Likewise.
22566         ($(objpfx)tst-fnmatch-mem): Likewise.
22567         ($(objpfx)bug-regex2-mem): Likewise.
22568         ($(objpfx)bug-regex14-mem): Likewise.
22569         ($(objpfx)bug-regex21-mem): Likewise.
22570         ($(objpfx)bug-regex31-mem): Likewise.
22571         ($(objpfx)tst-vfork3-mem): Likewise.
22572         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22573         ($(objpfx)tst-pcre-mem): Likewise.
22574         ($(objpfx)tst-boost-mem): Likewise.
22575         ($(objpfx)bug-ga2-mem): Likewise.
22576         ($(objpfx)bug-glob2-mem): Likewise.
22577         * resolv/Makefile (generate): Likewise.
22578         (tests-special): Likewise.
22579         (xtests-special): Likewise.
22580         (generated): Likewise.
22581         ($(objpfx)mtrace-tst-leaks): Likewise.
22582         ($(objpfx)mtrace-tst-leaks2): Likewise.
22584         * scripts/merge-test-results.sh: New file.
22585         * Makefile (tests-special-notdir): New variable.
22586         (tests): Run merge-test-results.sh.
22587         (xtests): Likewise.
22588         * Rules (tests-special-notdir): New variable.
22589         (xtests-special-notdir): Likewise.
22590         (tests): Run merge-test-results.sh
22591         (xtests): Likewise.
22593         * Makeconfig (test-xfail-name): New variable.
22594         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
22595         compute variable name for expected failures.
22596         * conform/Makefile (conformtest-headers-data): New variable.
22597         (conformtest-standards): Likewise.
22598         (conformtest-headers-ISO): Likewise.
22599         (conformtest-headers-ISO99): Likewise.
22600         (conformtest-headers-ISO11): Likewise.
22601         (conformtest-headers-POSIX): Likewise.
22602         (conformtest-headers-XPG3): Likewise.
22603         (conformtest-headers-XPG4): Likewise.
22604         (conformtest-headers-UNIX98): Likewise.
22605         (conformtest-headers-XOPEN2K): Likewise.
22606         (conformtest-headers-POSIX2008): Likewise.
22607         (conformtest-headers-XOPEN2K8): Likewise.
22608         (conformtest-header-list-base): Likewise.
22609         (conformtest-header-list-tests): Likewise.
22610         (conformtest-header-base): Likewise.
22611         (conformtest-header-tests): Likewise.
22612         (tests-special): Add $(conformtest-header-list-tests).  If
22613         [$(fast-check) && !$(cross-compiling)], add
22614         $(conformtest-header-tests) instead of
22615         $(objpfx)run-conformtest.out.
22616         (generated): Add $(conformtest-header-list-base).  If
22617         [$(fast-check) && !$(cross-compiling)], add
22618         $(conformtest-header-base).  Remove previous setting.
22619         ($(conformtest-header-list-tests)): New target.
22620         (test-xfail-run-conformtest): Remove variable.
22621         ($(objpfx)run-conformtest.out): Remove target.
22622         (test-xfail-ISO11/complex.h/conform): New variable.
22623         (test-xfail-ISO11/stdalign.h/conform): Likewise.
22624         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
22625         (test-xfail-XPG3/varargs.h/conform): Likewise.
22626         (test-xfail-XPG4/varargs.h/conform): Likewise.
22627         (test-xfail-UNIX98/varargs.h/conform): Likewise.
22628         (test-xfail-XPG4/ndbm.h/conform): Likewise.
22629         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
22630         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
22631         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
22632         (test-xfail-XPG3/fcntl.h/conform): Likewise.
22633         (test-xfail-XPG3/ftw.h/conform): Likewise.
22634         (test-xfail-XPG3/grp.h/conform): Likewise.
22635         (test-xfail-XPG3/langinfo.h/conform): Likewise.
22636         (test-xfail-XPG3/limits.h/conform): Likewise.
22637         (test-xfail-XPG3/pwd.h/conform): Likewise.
22638         (test-xfail-XPG3/search.h/conform): Likewise.
22639         (test-xfail-XPG3/signal.h/conform): Likewise.
22640         (test-xfail-XPG3/stdio.h/conform): Likewise.
22641         (test-xfail-XPG3/stdlib.h/conform): Likewise.
22642         (test-xfail-XPG3/string.h/conform): Likewise.
22643         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
22644         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
22645         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
22646         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
22647         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
22648         (test-xfail-XPG3/sys/types.h/conform): Likewise.
22649         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
22650         (test-xfail-XPG3/termios.h/conform): Likewise.
22651         (test-xfail-XPG3/time.h/conform): Likewise.
22652         (test-xfail-XPG3/unistd.h/conform): Likewise.
22653         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
22654         (test-xfail-XPG4/fcntl.h/conform): Likewise.
22655         (test-xfail-XPG4/langinfo.h/conform): Likewise.
22656         (test-xfail-XPG4/netdb.h/conform): Likewise.
22657         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
22658         (test-xfail-XPG4/signal.h/conform): Likewise.
22659         (test-xfail-XPG4/stdio.h/conform): Likewise.
22660         (test-xfail-XPG4/stdlib.h/conform): Likewise.
22661         (test-xfail-XPG4/stropts.h/conform): Likewise.
22662         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
22663         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
22664         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
22665         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
22666         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
22667         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
22668         (test-xfail-XPG4/sys/time.h/conform): Likewise.
22669         (test-xfail-XPG4/sys/types.h/conform): Likewise.
22670         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
22671         (test-xfail-XPG4/termios.h/conform): Likewise.
22672         (test-xfail-XPG4/ucontext.h/conform): Likewise.
22673         (test-xfail-XPG4/unistd.h/conform): Likewise.
22674         (test-xfail-XPG4/utmpx.h/conform): Likewise.
22675         (test-xfail-POSIX/sched.h/conform): Likewise.
22676         (test-xfail-POSIX/signal.h/conform): Likewise.
22677         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
22678         (test-xfail-POSIX/tar.h/conform): Likewise.
22679         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
22680         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
22681         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
22682         (test-xfail-UNIX98/netdb.h/conform): Likewise.
22683         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
22684         (test-xfail-UNIX98/sched.h/conform): Likewise.
22685         (test-xfail-UNIX98/signal.h/conform): Likewise.
22686         (test-xfail-UNIX98/stdio.h/conform): Likewise.
22687         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
22688         (test-xfail-UNIX98/stropts.h/conform): Likewise.
22689         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
22690         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
22691         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
22692         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
22693         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
22694         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
22695         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
22696         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
22697         (test-xfail-UNIX98/unistd.h/conform): Likewise.
22698         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
22699         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
22700         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
22701         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
22702         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
22703         (test-xfail-XOPEN2K/math.h/conform): Likewise.
22704         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
22705         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
22706         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
22707         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
22708         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
22709         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
22710         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
22711         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
22712         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
22713         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
22714         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
22715         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
22716         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
22717         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
22718         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
22719         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
22720         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
22721         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
22722         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
22723         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
22724         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
22725         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
22726         (test-xfail-POSIX2008/signal.h/conform): Likewise.
22727         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
22728         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
22729         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
22730         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
22731         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
22732         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
22733         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
22734         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
22735         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
22736         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
22737         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
22738         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
22739         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
22740         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
22741         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
22742         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
22743         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
22744         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
22745         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
22746         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
22747         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
22748         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
22749         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
22750         (conformtest-cc-flags): Likewise.
22751         ($(conformtest-header-tests): New target.
22752         * conform/check-header-lists.sh: New file.
22753         * conform/run-conformtest.sh: Remove.
22755         * conform/conformtest.pl: Allow ' and \ in values given for
22756         constants.
22757         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
22758         inclusion.
22759         [POSIX] (sys/types.h): Likewise.
22760         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
22761         inclusion.
22762         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
22763         inclusion.
22764         * conform/data/signal.h-data (SIGIO): Remove expectation.
22765         [XPG3] (SIGBUS): Do not expect.
22766         [POSIX || XPG3] (SIGPOLL): Likewise.
22767         [POSIX || XPG3] (SIGPROF): Likewise.
22768         [POSIX || XPG3] (SIGSYS): Likewise.
22769         [XPG3] (SIGTRAP): Likewise.
22770         [POSIX || XPG3] (SIGURG): Likewise.
22771         [POSIX || XPG3] (SIGVTALRM): Likewise.
22772         [POSIX || XPG3] (SIGXCPU): Likewise.
22773         [POSIX || XPG3] (SIGXFSZ): Likewise.
22774         [POSIX] (SA_SIGINFO): Expect.
22775         [XPG3] (siginfo_t): Do not expect type or contents.
22776         [POSIX] (si_pid): Do not expect element.
22777         [POSIX] (si_uid): Likewise.
22778         [POSIX] (si_addr): Likewise.
22779         [POSIX] (si_status): Likewise.
22780         [POSIX] (si_band): Likewise.
22781         [XPG4] (si_value): Likewise.
22782         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
22783         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
22784         [POSIX || XPG3] (ILL_ILLADR): Likewise.
22785         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
22786         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
22787         [POSIX || XPG3] (ILL_PRVREG): Likewise.
22788         [POSIX || XPG3] (ILL_COPROC): Likewise.
22789         [POSIX || XPG3] (ILL_BADSTK): Likewise.
22790         [POSIX || XPG3] (FPE_INTDIV): Likewise.
22791         [POSIX || XPG3] (FPE_INTOVF): Likewise.
22792         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
22793         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
22794         [POSIX || XPG3] (FPE_FLTUND): Likewise.
22795         [POSIX || XPG3] (FPE_FLTRES): Likewise.
22796         [POSIX || XPG3] (FPE_FLTINV): Likewise.
22797         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
22798         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
22799         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
22800         [POSIX || XPG3] (BUS_ADRALN): Likewise.
22801         [POSIX || XPG3] (BUS_ADRERR): Likewise.
22802         [POSIX || XPG3] (BUS_OBJERR): Likewise.
22803         [POSIX || XPG3] (CLD_EXITED): Likewise.
22804         [POSIX || XPG3] (CLD_KILLED): Likewise.
22805         [POSIX || XPG3] (CLD_DUMPED): Likewise.
22806         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
22807         [POSIX || XPG3] (CLD_STOPPED): Likewise.
22808         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
22809         [POSIX || XPG3] (POLL_IN): Likewise.
22810         [POSIX || XPG3] (POLL_OUT): Likewise.
22811         [POSIX || XPG3] (POLL_MSG): Likewise.
22812         [POSIX || XPG3] (POLL_ERR): Likewise.
22813         [POSIX || XPG3] (POLL_PRI): Likewise.
22814         [POSIX || XPG3] (POLL_HUP): Likewise.
22815         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
22816         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
22817         (SIG*): Do not allow.
22818         [XPG3] (si_*): Likewise.
22819         [XPG3] (SI_*): Likewise.
22820         [XPG3 || XPG4] (sigev_*): Likewise.
22821         [XPG3 || XPG4] (SIGEV_*): Likewise.
22822         [XPG3 || XPG4] (sival_*): Likewise.
22823         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
22824         [POSIX || XPG3] (BUS_*): Likewise.
22825         [POSIX || XPG3] (CLD_*): Likewise.
22826         [POSIX || XPG3] (FPE_*): Likewise.
22827         [POSIX || XPG3] (ILL_*): Likewise.
22828         [POSIX || XPG3] (POLL_*): Likewise.
22829         [POSIX || XPG3] (SEGV_*): Likewise.
22830         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
22831         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
22832         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
22833         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
22834         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
22835         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
22836         Specify type and value.
22837         (TVERSLEN): Likewise.
22838         (REGTYPE): Likewise.
22839         (AREGTYPE): Likewise.
22840         (LNKTYPE): Likewise.
22841         (SYMTYPE): Likewise.
22842         (CHRTYPE): Likewise.
22843         (BLKTYPE): Likewise.
22844         (DIRTYPE): Likewise.
22845         (FIFOTYPE): Likewise.
22846         (CONTTYPE): Likewise.
22847         (TSUID): Likewise.
22848         (TSGID): Likewise.
22849         (TSVTX): Likewise.
22850         (TUREAD): Likewise.
22851         (TUWRITE): Likewise.
22852         (TUEXEC): Likewise.
22853         (TGREAD): Likewise.
22854         (TGWRITE): Likewise.
22855         (TGEXEC): Likewise.
22856         (TOREAD): Likewise.
22857         (TOWRITE): Likewise.
22858         (TOEXEC): Likewise.
22859         [POSIX] (TSVTX): Expect constant.
22861 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
22863         * Makefile (tests): Change dependencies to ....
22864         (tests-special): ... additions to this variable.
22865         (tests): Depend on $(tests-special).
22866         * Makerules (check-abi-list): New variable.
22867         (check-abi): Depend on $(check-abi-list).
22868         [$(subdir) = elf] (tests-special): Add
22869         $(objpfx)check-abi-libc.out.
22870         [$(build-shared) = yes && subdir] (tests-special): Add
22871         $(check-abi-list).
22872         [$(build-shared) = yes && subdir] (tests): Do not depend on
22873         check-abi.
22874         * Rules (tests): Depend on $(tests-special).
22875         (xtests): Depend on $(xtests-special).
22876         * catgets/Makefile (tests): Change dependencies to ....
22877         (tests-special): ... additions to this variable.
22878         * conform/Makefile (tests): Change dependencies to ....
22879         (tests-special): ... additions to this variable.
22880         * elf/Makefile (tests): Change dependencies to ....
22881         (tests-special): ... additions to this variable.
22882         * grp/Makefile (tests): Change dependencies to ....
22883         (tests-special): ... additions to this variable.
22884         * iconv/Makefile (xtests): Change dependencies to ....
22885         (xtests-special): ... additions to this variable.
22886         * iconvdata/Makefile (tests): Change dependencies to ....
22887         (tests-special): ... additions to this variable.
22888         * intl/Makefile (tests): Change dependencies to ....
22889         (tests-special): ... additions to this variable.  Also add
22890         $(objpfx)tst-gettext.out.
22891         * io/Makefile (tests): Change dependencies to ....
22892         (tests-special): ... additions to this variable.
22893         * libio/Makefile (tests): Change dependencies to ....
22894         (tests-special): ... additions to this variable.
22895         * malloc/Makefile (tests): Change dependencies to ....
22896         (tests-special): ... additions to this variable.
22897         * misc/Makefile (tests): Change dependencies to ....
22898         (tests-special): ... additions to this variable.
22899         * nptl/Makefile (tests): Change dependencies to ....
22900         (tests-special): ... additions to this variable.
22901         * nptl_db/Makefile (tests): Change dependencies to ....
22902         (tests-special): ... additions to this variable.
22903         * posix/Makefile (tests): Change dependencies to ....
22904         (tests-special): ... additions to this variable.
22905         (xtests): Change dependencies to ....
22906         (xtests-special): ... additions to this variable.
22907         * resolv/Makefile (tests): Change dependencies to ....
22908         (tests-special): ... additions to this variable.
22909         (xtests): Change dependencies to ....
22910         (xtests-special): ... additions to this variable.
22911         * stdio-common/Makefile (tests): Change dependencies to ....
22912         (tests-special): ... additions to this variable.
22913         (do-tst-unbputc): Remove target.
22914         (do-tst-printf): Likewise.
22915         * stdlib/Makefile (tests): Change dependencies to ....
22916         (tests-special): ... additions to this variable.
22917         * string/Makefile (tests): Change dependencies to ....
22918         (tests-special): ... additions to this variable.
22919         * sysdeps/x86/Makefile (tests): Change dependencies to ....
22920         (tests-special): ... additions to this variable.
22922         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
22923         whole file.
22924         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
22925         whole file.
22926         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
22927         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
22929         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
22930         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
22931         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
22932         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
22933         * conform/data/libgen.h-data [XPG3]: Likewise.
22934         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
22935         * conform/data/ndbm.h-data [XPG3]: Likewise.
22936         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
22937         * conform/data/netdb.h-data [XPG3]: Likewise.
22938         * conform/data/netinet/in.h-data [XPG3]: Likewise.
22939         * conform/data/poll.h-data [XPG3]: Likewise.
22940         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
22941         * conform/data/strings.h-data [XPG3]: Likewise.
22942         * conform/data/stropts.h-data [XPG3]: Likewise.
22943         * conform/data/sys/mman.h-data [XPG3]: Likewise.
22944         * conform/data/sys/resource.h-data [XPG3]: Likewise.
22945         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
22946         Likewise.
22947         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
22948         * conform/data/sys/time.h-data [XPG3]: Likewise.
22949         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
22950         * conform/data/sys/uio.h-data [XPG3]: Likewise.
22951         * conform/data/sys/un.h-data [XPG3]: Likewise.
22952         * conform/data/syslog.h-data [XPG3]: Likewise.
22953         * conform/data/ucontext.h-data [XPG3]: Likewise.
22954         * conform/data/utmpx.h-data [XPG3]: Likewise.
22955         * conform/data/varargs.h-data [UNIX98]: Enable file.
22957         * manual/Makefile (INSTALL_INFO): Remove variable setting.
22959         * math/libm-test.inc (struct test_f_f_data): Move expected results
22960         into structure for each rounding mode.
22961         (struct test_ff_f_data): Likewise.
22962         (struct test_ff_f_data_nexttoward): Likewise.
22963         (struct test_fi_f_data): Likewise.
22964         (struct test_fl_f_data): Likewise.
22965         (struct test_if_f_data): Likewise.
22966         (struct test_fff_f_data): Likewise.
22967         (struct test_c_f_data): Likewise.
22968         (struct test_f_f1_data): Likewise.
22969         (struct test_fF_f1_data): Likewise.
22970         (struct test_ffI_f1_data): Likewise.
22971         (struct test_c_c_data): Likewise.
22972         (struct test_cc_c_data): Likewise.
22973         (struct test_f_i_data): Likewise.
22974         (struct test_ff_i_data): Likewise.
22975         (struct test_f_l_data): Likewise.
22976         (struct test_f_L_data): Likewise.
22977         (struct test_fFF_11_data): Likewise.
22978         (RM_): New macro.
22979         (RM_FE_DOWNWARD): Likewise.
22980         (RM_FE_TONEAREST): Likewise.
22981         (RM_FE_TOWARDZERO): Likewise.
22982         (RM_FE_UPWARD): Likewise.
22983         (RUN_TEST_LOOP_f_f): Update references to expected results.
22984         (RUN_TEST_LOOP_2_f): Likewise.
22985         (RUN_TEST_LOOP_fff_f): Likewise.
22986         (RUN_TEST_LOOP_c_f): Likewise.
22987         (RUN_TEST_LOOP_f_f1): Likewise.
22988         (RUN_TEST_LOOP_fF_f1): Likewise.
22989         (RUN_TEST_LOOP_fI_f1): Likewise.
22990         (RUN_TEST_LOOP_ffI_f1): Likewise.
22991         (RUN_TEST_LOOP_c_c): Likewise.
22992         (RUN_TEST_LOOP_cc_c): Likewise.
22993         (RUN_TEST_LOOP_f_i): Likewise.
22994         (RUN_TEST_LOOP_f_i_tg): Likewise.
22995         (RUN_TEST_LOOP_ff_i_tg): Likewise.
22996         (RUN_TEST_LOOP_f_b): Likewise.
22997         (RUN_TEST_LOOP_f_b_tg): Likewise.
22998         (RUN_TEST_LOOP_f_l): Likewise.
22999         (RUN_TEST_LOOP_f_L): Likewise.
23000         (RUN_TEST_LOOP_fFF_11): Likewise.
23001         * math/gen-libm-test.pl (parse_args): Output four copies of
23002         expected results for each test.
23004         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23005         (__ASSUME_UTIMES): Remove.
23006         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23007         (__ASSUME_UTIMES): Likewise.
23009         * math/gen-auto-libm-tests.c: Update comment on output format.
23010         (output_for_one_input_case): Generate before-rounding and
23011         after-rounding information as conditions on output flags not
23012         floating-point format.
23013         * math/auto-libm-test-out: Regenerated.
23014         * math/gen-libm-test.pl (cond_value): New function.
23015         (or_cond_value): Use cond_value.
23016         (generate_testfile): Handle conditional exceptions.
23018 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
23020         * math/libm-test.inc (max_valid_error): New variable.
23021         (init_max_error): Take new argument specifying whether function
23022         results are exactly determined.  Set max_valid_error and bound
23023         other variables for errors based on this argument.
23024         (set_max_error): Do not record results above max_valid_error.
23025         (check_float_internal): Only accept errors of up to 0.5ulps if
23026         also at most max_valid_error.
23027         (START): Take new argument EXACT and pass it to init_max_error.
23028         (acos_test): Update call to START.
23029         (acos_test_tonearest): Likewise.
23030         (acos_test_towardzero): Likewise.
23031         (acos_test_downward): Likewise.
23032         (acos_test_upward): Likewise.
23033         (acosh_test): Likewise.
23034         (asin_test): Likewise.
23035         (asin_test_tonearest): Likewise.
23036         (asin_test_towardzero): Likewise.
23037         (asin_test_downward): Likewise.
23038         (asin_test_upward): Likewise.
23039         (asinh_test): Likewise.
23040         (atan_test): Likewise.
23041         (atanh_test): Likewise.
23042         (atan2_test): Likewise.
23043         (cabs_test): Likewise.
23044         (cacos_test): Likewise.
23045         (cacosh_test): Likewise.
23046         (carg_test): Likewise.
23047         (casin_test): Likewise.
23048         (casinh_test): Likewise.
23049         (catan_test): Likewise.
23050         (catanh_test): Likewise.
23051         (cbrt_test): Likewise.
23052         (ccos_test): Likewise.
23053         (ccosh_test): Likewise.
23054         (ceil_test): Likewise.
23055         (cexp_test): Likewise.
23056         (cimag_test): Likewise.
23057         (clog_test): Likewise.
23058         (clog10_test): Likewise.
23059         (conj_test): Likewise.
23060         (copysign_test): Likewise.
23061         (cos_test): Likewise.
23062         (cos_test_tonearest): Likewise.
23063         (cos_test_towardzero): Likewise.
23064         (cos_test_downward): Likewise.
23065         (cos_test_upward): Likewise.
23066         (cosh_test): Likewise.
23067         (cosh_test_tonearest): Likewise.
23068         (cosh_test_towardzero): Likewise.
23069         (cosh_test_downward): Likewise.
23070         (cosh_test_upward): Likewise.
23071         (cpow_test): Likewise.
23072         (cproj_test): Likewise.
23073         (creal_test): Likewise.
23074         (csin_test): Likewise.
23075         (csinh_test): Likewise.
23076         (csqrt_test): Likewise.
23077         (ctan_test): Likewise.
23078         (ctan_test_tonearest): Likewise.
23079         (ctan_test_towardzero): Likewise.
23080         (ctan_test_downward): Likewise.
23081         (ctan_test_upward): Likewise.
23082         (ctanh_test): Likewise.
23083         (ctanh_test_tonearest): Likewise.
23084         (ctanh_test_towardzero): Likewise.
23085         (ctanh_test_downward): Likewise.
23086         (ctanh_test_upward): Likewise.
23087         (erf_test): Likewise.
23088         (erfc_test): Likewise.
23089         (exp_test): Likewise.
23090         (exp_test_tonearest): Likewise.
23091         (exp_test_towardzero): Likewise.
23092         (exp_test_downward): Likewise.
23093         (exp_test_upward): Likewise.
23094         (exp10_test): Likewise.
23095         (exp10_test_tonearest): Likewise.
23096         (exp10_test_towardzero): Likewise.
23097         (exp10_test_downward): Likewise.
23098         (exp10_test_upward): Likewise.
23099         (pow10_test): Likewise.
23100         (exp2_test): Likewise.
23101         (expm1_test): Likewise.
23102         (expm1_test_tonearest): Likewise.
23103         (expm1_test_towardzero): Likewise.
23104         (expm1_test_downward): Likewise.
23105         (expm1_test_upward): Likewise.
23106         (fabs_test): Likewise.
23107         (fdim_test): Likewise.
23108         (floor_test): Likewise.
23109         (fma_test): Likewise.
23110         (fma_test_towardzero): Likewise.
23111         (fma_test_downward): Likewise.
23112         (fma_test_upward): Likewise.
23113         (fmax_test): Likewise.
23114         (fmin_test): Likewise.
23115         (fmod_test): Likewise.
23116         (fpclassify_test): Likewise.
23117         (frexp_test): Likewise.
23118         (hypot_test): Likewise.
23119         (ilogb_test): Likewise.
23120         (isfinite_test): Likewise.
23121         (finite_test): Likewise.
23122         (isgreater_test): Likewise.
23123         (isgreaterequal_test): Likewise.
23124         (isinf_test): Likewise.
23125         (isless_test): Likewise.
23126         (islessequal_test): Likewise.
23127         (islessgreater_test): Likewise.
23128         (isnan_test): Likewise.
23129         (isnormal_test): Likewise.
23130         (issignaling_test): Likewise.
23131         (isunordered_test): Likewise.
23132         (j0_test): Likewise.
23133         (j1_test): Likewise.
23134         (jn_test): Likewise.
23135         (ldexp_test): Likewise.
23136         (lgamma_test): Likewise.
23137         (gamma_test): Likewise.
23138         (lrint_test): Likewise.
23139         (lrint_test_tonearest): Likewise.
23140         (lrint_test_towardzero): Likewise.
23141         (lrint_test_downward): Likewise.
23142         (lrint_test_upward): Likewise.
23143         (llrint_test): Likewise.
23144         (llrint_test_tonearest): Likewise.
23145         (llrint_test_towardzero): Likewise.
23146         (llrint_test_downward): Likewise.
23147         (llrint_test_upward): Likewise.
23148         (log_test): Likewise.
23149         (log10_test): Likewise.
23150         (log1p_test): Likewise.
23151         (log2_test): Likewise.
23152         (logb_test): Likewise.
23153         (logb_test_downward): Likewise.
23154         (lround_test): Likewise.
23155         (llround_test): Likewise.
23156         (modf_test): Likewise.
23157         (nearbyint_test): Likewise.
23158         (nextafter_test): Likewise.
23159         (nexttoward_test): Likewise.
23160         (pow_test): Likewise.
23161         (pow_test_tonearest): Likewise.
23162         (pow_test_towardzero): Likewise.
23163         (pow_test_downward): Likewise.
23164         (pow_test_upward): Likewise.
23165         (remainder_test): Likewise.
23166         (drem_test): Likewise.
23167         (remainder_test_tonearest): Likewise.
23168         (drem_test_tonearest): Likewise.
23169         (remainder_test_towardzero): Likewise.
23170         (drem_test_towardzero): Likewise.
23171         (remainder_test_downward): Likewise.
23172         (drem_test_downward): Likewise.
23173         (remainder_test_upward): Likewise.
23174         (drem_test_upward): Likewise.
23175         (remquo_test): Likewise.
23176         (rint_test): Likewise.
23177         (rint_test_tonearest): Likewise.
23178         (rint_test_towardzero): Likewise.
23179         (rint_test_downward): Likewise.
23180         (rint_test_upward): Likewise.
23181         (round_test): Likewise.
23182         (scalb_test): Likewise.
23183         (scalbn_test): Likewise.
23184         (scalbln_test): Likewise.
23185         (signbit_test): Likewise.
23186         (sin_test): Likewise.
23187         (sin_test_tonearest): Likewise.
23188         (sin_test_towardzero): Likewise.
23189         (sin_test_downward): Likewise.
23190         (sin_test_upward): Likewise.
23191         (sincos_test): Likewise.
23192         (sinh_test): Likewise.
23193         (sinh_test_tonearest): Likewise.
23194         (sinh_test_towardzero): Likewise.
23195         (sinh_test_downward): Likewise.
23196         (sinh_test_upward): Likewise.
23197         (sqrt_test): Likewise.
23198         (sqrt_test_tonearest): Likewise.
23199         (sqrt_test_towardzero): Likewise.
23200         (sqrt_test_downward): Likewise.
23201         (sqrt_test_upward): Likewise.
23202         (tan_test): Likewise.
23203         (tan_test_tonearest): Likewise.
23204         (tan_test_towardzero): Likewise.
23205         (tan_test_downward): Likewise.
23206         (tan_test_upward): Likewise.
23207         (tanh_test): Likewise.
23208         (tgamma_test): Likewise.
23209         (trunc_test): Likewise.
23210         (y0_test): Likewise.
23211         (y1_test): Likewise.
23212         (yn_test): Likewise.
23213         (significand_test): Likewise.
23215         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
23216         individual tests in comment.
23217         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
23218         (prev_max_error): New variable.
23219         (prev_real_max_error): Likewise.
23220         (prev_imag_max_error): Likewise.
23221         (compare_ulp_data): Don't refer to test names in comment.
23222         (find_test_ulps): Remove function.
23223         (find_function_ulps): Likewise.
23224         (find_complex_function_ulps): Likewise.
23225         (init_max_error): Take function name as argument.  Look up ulps
23226         for that function.
23227         (print_ulps): Remove function.
23228         (print_max_error): Use prev_max_error instead of calling
23229         find_function_ulps.
23230         (print_complex_max_error): Use prev_real_max_error and
23231         prev_imag_max_error instead of calling find_complex_function_ulps.
23232         (check_float_internal): Take max_ulp parameter instead of calling
23233         find_test_ulps.  Don't call print_ulps.
23234         (check_float): Update call to check_float_internal.
23235         (check_complex): Update calls to check_float_internal.
23236         (START): Pass argument to init_max_error.
23237         * math/gen-libm-test.pl (%results): Don't include "kind"
23238         information.
23239         (parse_ulps): Don't handle ulps of individual tests.
23240         (print_ulps_file): Likewise.
23241         (output_ulps): Likewise.
23242         * math/README.libm-test: Update.
23243         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
23244         individual tests.
23245         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
23246         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
23247         * sysdeps/arm/libm-test-ulps: Likewise.
23248         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23249         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
23250         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
23251         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
23252         * sysdeps/microblaze/libm-test-ulps: Likewise.
23253         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
23254         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23255         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23256         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
23257         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23258         * sysdeps/sh/libm-test-ulps: Likewise.
23259         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23260         * sysdeps/tile/libm-test-ulps: Likewise.
23261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23263 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
23265         * math/libm-test.inc (print_complex_max_error): Check separately
23266         whether real and imaginary errors are within allowed range and
23267         pass 0 to print_complex_function_ulps instead of value within
23268         allowed range.
23270 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23272         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
23273         formatting.
23274         (get_handles_fopen): Likewise.
23275         (do_write_test): Likewise.
23277         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
23279         * libio/fileops.c (do_ftell): Use cached offset when
23280         available.
23281         * libio/iofwide.c (do_ftell_wide): Likewise.
23282         * libio/iofdopen.c (_IO_new_fdopen): Don't use
23283         _IO_file_attach.
23284         * libio/wfileops.c (_IO_fwide): Don't cache offset.
23286         [BZ #16532]
23287         * libio/libioP.h (get_file_offset): New function.
23288         * libio/fileops.c (get_file_offset): Likewise.
23289         (do_ftell): Likewise.
23290         (_IO_new_file_seekoff): Split out ftell logic.
23291         * libio/wfileops.c (do_ftell_wide): Likewise.
23292         (_IO_wfile_seekoff): Split out ftell logic.
23293         * libio/tst-ftell-active-handler.c: New test case.
23294         * libio/Makefile (tests): Add it.
23296 2014-03-03  Roland McGrath  <roland@hack.frob.com>
23298         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
23299         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
23301 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23303         [BZ #16639]
23304         * nscd/connections.c (nscd_init): Call do_exit.
23305         (start_threads): Call do_exit and notify_parent.
23306         (begin_drop_privileges): Call do_exit.
23307         (finish_drop_privileges): Likewise.
23308         * nscd/selinux.c (preserve_capabilities): Likewise.
23309         (install_real_capabilities): Likewise.
23310         (nscd_selinux_enabled): Likewise.
23311         (avc_create_thread): Likewise.
23312         (avc_alloc_lock): Likewise.
23313         (nscd_avc_init): Likewise.
23314         * nscd/nscd.c (parent_fd): New static variable.
23315         (main): Create a pipe between parent and child processes.
23316         Skip closing parent_fd.
23317         (monitor_child): New function.
23318         (do_exit): Likewise.
23319         (notify_parent): Likewise.
23320         * nscd/nscd.h (notify_parent): Likewise.
23321         (do_exit): Likewise.
23323 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
23325         * malloc/malloc.c (__libc_calloc): Revert last change.
23327 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23329         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23331 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23333         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
23334         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
23335         implementation.
23336         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23337         (__libc_ifunc_impl_list): Likewise.
23338         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
23339         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
23340         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
23341         * string/strrchr.c: Define STRRCHR.
23343 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
23345         * benchtest/bench-strtok.c (simple_strtok): Delete.
23346         (strtok_string): Use as benchmark.
23347         * string/strtok (STRTOK): New macro.
23349 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
23351         * manual/threads.texi: Add header and standard comments to all
23352         functions.
23354         * elf/dl-lookup.c (check_match): New function.
23355         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
23356         (do_lookup_x): Remove nested function check_match. Use non-nested
23357         function check_match.
23359 2014-02-28  Roland McGrath  <roland@hack.frob.com>
23361         * csu/Makefile (generated, before-compile): Use += rather than =.
23362         * catgets/Makefile (generated, generated-dirs): Likewise.
23363         * debug/Makefile (generated): Likewise.
23364         * dlfcn/Makefile (generated): Likewise.
23365         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
23366         * iconvdata/Makefile (before-compile, generated): Likewise.
23367         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
23368         * libio/Makefile (generated): Likewise.
23369         * malloc/Makefile (generated): Likewise.
23370         * manual/Makefile (generated, generated-dirs): Likewise.
23371         * misc/Makefile (generated): Likewise.
23372         * posix/Makefile (generated): Likewise.
23373         * resolv/Makefile (generated): Likewise.
23374         * sunrpc/Makefile (generated, generated-dirs): Likewise.
23375         * timezone/Makefile (generated, generated-dirs): Likewise.
23377         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
23379 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23381         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
23382         power8 implementation.
23383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
23384         file: POWER8 llround ifunc implementation.
23385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
23386         (__lllround): Add POWER8 implementation.
23387         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
23388         POWER8 llround implementation.
23390         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
23391         power8 implementation.
23392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
23393         file: POWER8 llrint ifunc implementation.
23394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
23395         Add POWER8 implementation.
23396         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
23397         POWER8 llrint implementation.
23399         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
23400         power8 implementation.
23401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
23402         file: POWER8 finite ifunc implementation.
23403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
23404         Add POWER8 implementation.
23405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
23406         Likewise.
23407         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
23408         POWER8 finite implementation.
23409         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
23411         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
23412         power8 implementation.
23413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
23414         file: POWER8 isinf ifunc implementation.
23415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
23416         POWER8 implementation.
23417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
23418         Likewise.
23419         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
23420         isinf implementation.
23421         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
23423         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
23424         (INIT_ARCH): Add hwcap2 initialization.
23425         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
23426         power8 implementation.
23427         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
23428         file: POWER8 isnan ifunc implementation.
23429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
23430         POWER8 implementation.
23431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
23432         Likewise.
23433         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
23434         isnan implementation.
23435         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
23437 2014-02-27  Joey Ye  <joey.ye@arm.com>
23439         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
23440         (_FP_NANFRAC_Q): Set to zero.
23442 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23444         [BZ #16623]
23445         * math/auto-libm-test-in: New test inputs.
23446         * math/auto-libm-test-out: Regenerate.
23447         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
23448         and DA.
23449         (__cos): Likewise.
23450         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
23452 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
23454         * scripts/evaluate-test.sh: Take new argument indicating whether
23455         failure is expected.
23456         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
23457         indicating whether failure is expected.
23458         * conform/Makefile (test-xfail-run-conformtest): New variable.
23459         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
23460         level.
23461         * posix/Makefile (test-xfail-annexc): New variable.
23462         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
23464 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
23466         * argp/Makefile: Include Makeconfig immediately after defining
23467         subdir.
23468         * assert/Makefile: Likewise.
23469         * benchtests/Makefile: Likewise.
23470         * catgets/Makefile: Likewise.
23471         * conform/Makefile: Likewise.
23472         * crypt/Makefile: Likewise.
23473         * csu/Makefile: Likewise.
23474         (all): Remove target.
23475         * ctype/Makefile: Include Makeconfig immediately after defining
23476         subdir.
23477         * debug/Makefile: Likewise.
23478         * dirent/Makefile: Likewise.
23479         * dlfcn/Makefile: Likewise.
23480         * gmon/Makefile: Likewise.
23481         * gnulib/Makefile: Likewise.
23482         * grp/Makefile: Likewise.
23483         * gshadow/Makefile: Likewise.
23484         * hesiod/Makefile: Likewise.
23485         * hurd/Makefile: Likewise.
23486         (all): Remove target.
23487         * iconvdata/Makefile: Include Makeconfig immediately after
23488         defining subdir.
23489         * inet/Makefile: Likewise.
23490         * intl/Makefile: Likewise.
23491         * io/Makefile: Likewise.
23492         * libio/Makefile: Likewise.
23493         (all): Remove target.
23494         * locale/Makefile: Include Makeconfig immediately after defining
23495         subdir.
23496         * login/Makefile: Likewise.
23497         * mach/Makefile: Likewise.
23498         (all): Remove target.
23499         * malloc/Makefile: Include Makeconfig immediately after defining
23500         subdir.
23501         (all): Remove target.
23502         * manual/Makefile: Include Makeconfig immediately after defining
23503         subdir.
23504         * math/Makefile: Likewise.
23505         * misc/Makefile: Likewise.
23506         * nis/Makefile: Likewise.
23507         * nss/Makefile: Likewise.
23508         * po/Makefile: Likewise.
23509         (all): Remove target.
23510         * posix/Makefile: Include Makeconfig immediately after defining
23511         subdir.
23512         * pwd/Makefile: Likewise.
23513         * resolv/Makefile: Likewise.
23514         * resource/Makefile: Likewise.
23515         * rt/Makefile: Likewise.
23516         * setjmp/Makefile: Likewise.
23517         * shadow/Makefile: Likewise.
23518         * signal/Makefile: Likewise.
23519         * socket/Makefile: Likewise.
23520         * soft-fp/Makefile: Likewise.
23521         * stdio-common/Makefile: Likewise.
23522         * stdlib/Makefile: Likewise.
23523         * streams/Makefile: Likewise.
23524         * string/Makefile: Likewise.
23525         * sunrpc/Makefile: Likewise.
23526         (all): Remove target.
23527         * sysvipc/Makefile: Include Makeconfig immediately after defining
23528         subdir.
23529         * termios/Makefile: Likewise.
23530         * time/Makefile: Likewise.
23531         * timezone/Makefile: Likewise.
23532         (all): Remove target.
23533         * wcsmbs/Makefile: Include Makeconfig immediately after defining
23534         subdir.
23535         * wctype/Makefile: Likewise.
23537 2014-02-26  Steve Ellcey  <sellcey@mips.com>
23539         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
23540         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
23541         (libc_feholdexcept_setround_mips): Ditto.
23542         (libc_feholdsetround): New.
23543         (libc_feholdsetroundf): New.
23544         (libc_feholdsetroundl): New.
23545         (libc_feupdateenv_test_mips): New.
23546         (libc_feupdateenv_test): New.
23547         (libc_feupdateenv_testf): New.
23548         (libc_feupdateenv_testl): New.
23549         (libc_feresetround): New.
23550         (libc_feresetroundf): New.
23551         (libc_feresetroundl): New.
23552         (libc_fetestexcept_mips): New.
23553         (libc_fetestexcept): New.
23554         (libc_fetestexceptf): New.
23555         (libc_fetestexceptl): New.
23556         (HAVE_RM_CTX): New.
23557         (libc_feholdexcept_setround_mips_ctx): New.
23558         (libc_feholdexcept_setround_ctx): New.
23559         (libc_feholdexcept_setroundf_ctx): New.
23560         (libc_feholdexcept_setroundl_ctx): New.
23561         (libc_fesetenv_mips_ctx): New.
23562         (libc_fesetenv_ctx): New.
23563         (libc_fesetenv_ctxf): New.
23564         (libc_fesetenv_ctxl): New.
23565         (libc_feupdateenv_mips_ctx): New.
23566         (libc_feupdateenv_ctx): New.
23567         (libc_feupdateenvf_ctx): New.
23568         (libc_feupdateenvl_ctx): New.
23569         (libc_feholdsetround_mips_ctx): New.
23570         (libc_feholdsetround_ctx): New.
23571         (libc_feholdsetroundf_ctx): New.
23572         (libc_feholdsetroundl_ctx): New.
23573         (libc_feresetround_mips_ctx): New.
23574         (libc_feresetround_ctx): New.
23575         (libc_feresetroundf_ctx): New.
23576         (libc_feresetroundl_ctx): New.
23578 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
23580         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
23582         * manual/ipc.texi: New file.
23583         * manual/Makefile (chapters): Add ipc.
23584         * manual/job.texi: Add "Inter-Process Communication" to next.
23585         * manual/process.texi: Add "Inter-Process Communication" to prev.
23587 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23589         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23591 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
23593         * malloc/malloc.c (__libc_calloc): Simplify implementation.
23595         * manual/arith.texi: Fix spaces after sentences.
23596         * manual/charset.texi: Likewise.
23597         * manual/errno.texi: Likewise.
23598         * manual/install.texi: Likewise.
23599         * manual/llio.texi: Likewise.
23600         * manual/locale.texi: Likewise.
23601         * manual/maint.texi: Likewise.
23602         * manual/math.texi: Likewise.
23603         * manual/memory.texi: Likewise.
23604         * manual/message.texi: Likewise.
23605         * manual/probes.texi: Likewise.
23606         * manual/resource.texi: Likewise.
23607         * manual/signal.texi: Likewise.
23608         * manual/socket.texi: Likewise.
23609         * manual/stdio.texi: Likewise.
23610         * manual/string.texi: Likewise.
23611         * manual/time.texi: Likewise.
23612         * manual/users.texi: Likewise.
23614 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
23616         [BZ #16632]
23617         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
23618         _DEFAULT_SOURCE is defined.
23620 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
23621             Carlos O'Donell  <carlos@redhat.com>
23623         [BZ #16613]
23624         * elf/dl-tls.c (_dl_count_modids): New function.
23625         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
23626         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
23627         audit library and increment generation counter.
23628         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
23629         * elf/tst-audit9.c: New file.
23630         * elf/tst-auditmod9a.c: New file.
23631         * elf/tst-auditmod9b.c: New file.
23632         * elf/Makefile: Add rules to build and run tst-audit9.
23634 2014-02-25  Florian Weimer  <fweimer@redhat.com>
23636         [BZ #15347]
23637         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
23639 2014-02-25  Will Newton  <will.newton@linaro.org>
23641         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
23642         (__longjmp): Restore sp and lr before restoring callee
23643         saved registers.  Add longjmp and longjmp_target
23644         SystemTap probe point.
23645         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
23646         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
23647         Define to zero to match jmpbuf layout.
23648         * sysdeps/arm/setjmp.S: Include stap-probe.h.
23649         (__sigsetjmp): Save sp and lr before saving callee
23650         saved registers.  Add setjmp SystemTap probe point.
23652 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
23654         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23656 2014-02-24  Andreas Schwab  <schwab@suse.de>
23658         [BZ #15804]
23659         * elf/pldd.c (wait_for_ptrace_stop): New function.
23660         (main): Call it after attaching.
23662 2014-02-22  Roland McGrath  <roland@hack.frob.com>
23664         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
23665         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
23666         Versions files is now verboten.
23667         * hurd/Versions (libc: GLIBC_2.0):
23668         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
23669         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
23670         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
23671         * mach/Versions: Likewise.
23673         * csu/Versions: Remove unused %include.
23674         * resolv/Versions: Likewise.
23676 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
23678         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
23679         ($(objpfx)check-local-headers.out): Likewise.
23680         ($(objpfx)begin-end-check.out): Likewise.
23681         * Makerules (check-abi-%.out): Likewise.
23682         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
23683         ($(objpfx)test2.cat): Likewise.
23684         ($(objpfx)de/libc.cat): Likewise.
23685         ($(objpfx)test-gencat.out): Likewise.
23686         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
23687         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
23688         ($(objpfx)noload-mem): Likewise.
23689         ($(objpfx)tst-pathopt.out): Likewise.
23690         ($(objpfx)tst-rtld-load-self.out): Likewise.
23691         ($(objpfx)tst-array1-cmp.out): Likewise.
23692         ($(objpfx)tst-array1-static-cmp.out): Likewise.
23693         ($(objpfx)tst-array2-cmp.out): Likewise.
23694         ($(objpfx)tst-array3-cmp.out): Likewise.
23695         ($(objpfx)tst-array4-cmp.out): Likewise.
23696         ($(objpfx)tst-array5-cmp.out): Likewise.
23697         ($(objpfx)tst-array5-static-cmp.out): Likewise.
23698         ($(objpfx)check-textrel.out): Likewise.
23699         ($(objpfx)check-execstack.out): Likewise.
23700         ($(objpfx)check-localplt.out): Likewise.
23701         ($(objpfx)order2-cmp.out): Likewise.
23702         ($(objpfx)tst-leaks1-mem): Likewise.
23703         ($(objpfx)tst-leaks1-static-mem): Likewise.
23704         ($(objpfx)tst-initorder-cmp.out): Likewise.
23705         ($(objpfx)tst-initorder2-cmp.out): Likewise.
23706         ($(objpfx)tst-unused-dep.out): Likewise.
23707         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
23708         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
23709         * iconv/Makefile (test-iconvconfig): Likewise.
23710         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
23711         ($(objpfx)iconv-test.out): Likewise.
23712         ($(objpfx)tst-tables.out): Likewise.
23713         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
23714         ($(objpfx)tst-gettext.out): Likewise.
23715         ($(objpfx)tst-translit.out): Likewise.
23716         ($(objpfx)tst-gettext2.out): Likewise.
23717         ($(objpfx)tst-gettext4.out): Likewise.
23718         ($(objpfx)tst-gettext6.out): Likewise.
23719         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
23720         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
23721         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
23722         ($(objpfx)tst-fopenloc-mem.out): Likewise.
23723         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
23724         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
23725         * posix/Makefile ($(objpfx)globtest.out): Likewise.
23726         ($(objpfx)wordexp-tst.out): Likewise.
23727         ($(objpfx)annexc.out): Likewise.
23728         ($(objpfx)tst-fnmatch-mem): Likewise.
23729         ($(objpfx)bug-regex2-mem): Likewise.
23730         ($(objpfx)bug-regex14-mem): Likewise.
23731         ($(objpfx)bug-regex21-mem): Likewise.
23732         ($(objpfx)bug-regex31-mem): Likewise.
23733         ($(objpfx)tst-vfork3-mem): Likewise.
23734         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
23735         ($(objpfx)tst-pcre-mem): Likewise.
23736         ($(objpfx)tst-boost-mem): Likewise.
23737         ($(objpfx)tst-getconf.out): Likewise.
23738         ($(objpfx)bug-ga2-mem): Likewise.
23739         ($(objpfx)bug-glob2-mem): Likewise.
23740         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
23741         ($(objpfx)mtrace-tst-leaks2): Likewise.
23742         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
23743         ($(objpfx)tst-printf.out): Likewise.
23744         ($(objpfx)tst-setvbuf1.out): Likewise.
23745         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
23746         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
23747         ($(objpfx)tst-fmtmsg.out): Likewise.
23748         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
23749         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
23751         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
23752         * bits/sigaction.h [__USE_MISC]: Likewise.
23753         * bits/waitstatus.h: Update #endif comments.
23754         * ctype/ctype.h: Likewise.
23755         * dirent/dirent.h: Likewise.
23756         [__USE_MISC]: Remove redundant conditionals.
23757         * grp/grp.h: Update #endif comments.
23758         [__USE_GNU]: Remove redundant conditionals.
23759         [__USE_MISC]: Likewise.
23760         * inet/netinet/in.h [__USE_GNU]: Likewise.
23761         * io/sys/stat.h [__USE_MISC]: Likewise.
23762         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
23763         * libio/bits/stdio.h: Update #endif comments.
23764         [__USE_MISC]: Remove redundant conditionals.
23765         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
23766         * libio/stdio.h: Update #endif comments.
23767         [__USE_MISC]: Remove redundant conditionals.
23768         * math/bits/math-finite.h [__USE_MISC]: Likewise.
23769         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
23770         * math/math.h: Update #else and #endif comments.
23771         [__USE_MISC]: Remove redundant conditionals.
23772         * misc/sys/uio.h: Update #endif comments.
23773         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
23774         * posix/glob.h [__USE_MISC]: Likewise.
23775         * posix/sys/types.h: Update #endif comments.
23776         [__USE_MISC]: Remove redundant conditionals.
23777         * posix/sys/wait.h: Update #endif comments.
23778         [__USE_MISC]: Remove redundant conditionals.
23779         * posix/unistd.h: Update #endif comments.
23780         [__USE_MISC]: Remove redundant conditionals.
23781         * pwd/pwd.h [__USE_GNU]: Likewise.
23782         [__USE_MISC]: Likewise.
23783         * resolv/netdb.h [__USE_GNU]: Likewise.
23784         * signal/signal.h: Update #endif comments.
23785         [__USE_MISC]: Remove redundant conditionals.
23786         * stdlib/stdlib.h: Update #else and #endif comments.
23787         [__USE_MISC]: Remove redundant conditionals.
23788         [__USE_GNU]: Likewise.
23789         * string/bits/string2.h [__USE_MISC]: Likewise.
23790         * string/string.h: Update #endif comments.
23791         [__USE_MISC]: Remove redundant conditionals.
23792         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
23793         Likewise.
23794         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
23795         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
23796         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
23797         Likewise.
23798         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
23799         Likewise.
23800         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
23801         comments.
23802         [__USE_MISC]: Remove redundant conditionals.
23803         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
23804         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
23805         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
23806         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
23807         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
23808         Likewise.
23809         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
23810         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
23811         Likewise.
23812         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
23813         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
23814         Likewise.
23815         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
23816         Likewise.
23817         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
23818         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
23819         Likewise.
23820         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
23821         Likewise.
23822         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
23823         * sysdeps/x86/bits/string.h: Update #endif comments.
23824         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
23825         conditionals.
23826         * time/sys/time.h: Update #endif comments.
23827         * time/time.h: Likewise.
23828         [__USE_MISC]: Remove redundant conditionals.
23830 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
23832         [BZ #16600]
23833         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
23835 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
23837         * Versions.def (librt): Add GLIBC_2.17.
23839 2014-02-21  Adam Conrad  <adconrad@0c3.net>
23841         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
23842         synonym for _SYS_AUXV_H to allow direct inclusion.
23843         * sysdeps/sparc/bits/hwcap.h: Likewise.
23844         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
23845         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
23846         * sysdeps/sparc/sysdep.h: Likewise.
23848 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23850         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
23852 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23854         * benchtests/bench-strrchr.c: Print length instead of position.
23856 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
23858         [BZ #16611]
23859         * sysdeps/unix/sysv/linux/kernel-features.h
23860         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
23861         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
23862         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
23863         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
23864         Likewise.
23865         [__i386__ || __powerpc__ || __sh__ || __sparc__]
23866         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23867         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
23868         (__ASSUME_SENDMMSG): Define instead of using previous
23869         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
23870         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23871         (__ASSUME_SENDMMSG_SYSCALL): Define.
23872         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23873         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
23874         Likewise.
23875         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23876         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23877         Likewise.
23878         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23879         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23880         Likewise.
23881         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
23882         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
23883         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
23884         [__ASSUME_SENDMMSG]: Change conditionals to
23885         [__ASSUME_SENDMMSG_SOCKETCALL].
23886         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23887         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
23888         Define.
23889         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23890         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
23891         Likewise.
23892         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
23893         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
23894         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
23895         [!__ASSUME_SENDMMSG]: Change conditional to
23896         [!__ASSUME_SENDMMSG_SOCKETCALL].
23897         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23898         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23899         Define.
23901         [BZ #16610]
23902         * sysdeps/unix/sysv/linux/kernel-features.h
23903         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
23904         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
23905         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
23906         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
23907         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23908         [__i386__ || __sparc__]
23909         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23910         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
23911         (__ASSUME_RECVMMSG): Define instead of using previous
23912         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
23913         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23914         (__ASSUME_RECVMMSG_SYSCALL): Define.
23915         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23916         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23917         Likewise.
23918         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23919         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23920         Likewise.
23921         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23922         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23923         Likewise.
23924         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
23925         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
23926         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
23927         [__ASSUME_RECVMMSG]: Change condition to
23928         [__ASSUME_RECVMMSG_SOCKETCALL].
23929         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23930         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23931         Define.
23932         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23933         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23934         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23935         Likewise.
23936         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
23937         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
23938         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
23939         [!__ASSUME_RECVMMSG]: Change condition to
23940         [!__ASSUME_RECVMMSG_SOCKETCALL].
23941         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23942         (__ASSUME_RECVMMSG_SYSCALL): Define.
23944         [BZ #16609]
23945         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
23946         __powerpc__ || __s390__ || __sh__ || __sparc__]
23947         (__ASSUME_SOCKETCALL): Define.
23948         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
23949         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
23950         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
23951         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
23952         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23953         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
23954         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
23955         (__ASSUME_ACCEPT4): Define instead of using previous
23956         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
23957         __powerpc__ || __sparc__ || __s390__)] condition.
23958         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23959         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
23960         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
23961         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
23962         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
23963         [!__ASSUME_ACCEPT4]: Change condition to
23964         [!__ASSUME_ACCEPT4_SOCKETCALL].
23965         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23966         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
23967         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
23968         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23969         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
23970         __ASSUME_ACCEPT4_SYSCALL.
23971         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
23972         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
23973         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23974         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
23975         __ASSUME_ACCEPT4_SYSCALL.
23976         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
23977         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
23978         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
23979         [__ASSUME_ACCEPT4]: Change condition to
23980         [__ASSUME_ACCEPT4_SOCKETCALL].
23981         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23982         (__ASSUME_SOCKETCALL): Define.
23983         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
23984         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23985         (__ASSUME_SOCKETCALL): Define.
23986         (__ASSUME_ACCEPT4): Remove.
23987         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
23988         Define.
23989         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23990         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
23991         Likewise.
23992         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23993         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
23995         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
23996         macro.
23997         (HWCAP_ARM_LPAE): Likewise.
23998         (HWCAP_ARM_EVTSTRM): Likewise.
23999         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
24000         Add vpfd32, lpae and evtstrm.
24001         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
24002         Increase to 22.
24004 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
24006         * math/auto-libm-test-in: Add tests of clog10.
24007         * math/auto-libm-test-out: Regenerated.
24008         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
24009         * sysdeps/i386/fpu/libm-test-ulps: Update.
24010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24012 2014-02-18  Andreas Schwab  <schwab@suse.de>
24014         [BZ #16574]
24015         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
24016         Store non-zero if the second buffer was newly allocated.
24017         (send_dg): Likewise.
24018         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
24019         to send_vc and send_dg.
24020         (res_nsend): Pass NULL for ansp2_malloced.
24021         * resolv/res_query.c (__libc_res_nquery): Add parameter
24022         answerp2_malloced and pass it down to __libc_res_nsend.
24023         (res_nquery): Pass additional NULL to __libc_res_nquery.
24024         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
24025         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
24026         second answer buffer if answerp2_malloced was set.
24027         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
24028         (__libc_res_nquerydomain): Add parameter
24029         answerp2_malloced and pass it down to __libc_res_nquery.
24030         (res_nquerydomain): Pass additional NULL to
24031         __libc_res_nquerydomain.
24032         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
24033         additional NULL to __libc_res_nsend and __libc_res_nquery.
24034         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
24035         additional NULL to __libc_res_nsearch.
24036         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
24037         parameter of __libc_res_nsearch to check for separately allocated
24038         second buffer.
24039         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
24040         __libc_res_nquery.
24041         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
24042         additional NULL to __libc_res_nquery.
24043         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
24044         __libc_res_nsearch.
24045         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
24046         * include/resolv.h: Update prototypes of __libc_res_nquery,
24047         __libc_res_nsearch, __libc_res_nsend.
24049 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
24051         * math/auto-libm-test-in: Add tests of fma.
24052         * math/auto-libm-test-out: Regenerated.
24053         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
24054         (fma_towardzero_test_data): Likewise.
24055         (fma_downward_test_data): Likewise.
24056         (fma_upward_test_data): Likewise.
24057         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
24058         mpc_mode.
24059         (rounding_modes): Add values for new field.
24060         (func_calc_method): Add value mpfr_fff_f.
24061         (func_calc_desc): Add mpfr_fff_f union field.
24062         (test_function): Add field exact_args.
24063         (FUNC): Add macro argument EXACT_ARGS.
24064         (FUNC_mpfr_f_f): Update call to FUNC.
24065         (FUNC_mpfr_f_f): Likewise.
24066         (FUNC_mpfr_ff_f): Likewise.
24067         (FUNC_mpfr_if_f): Likewise.
24068         (FUNC_mpc_c_f): Likewise.
24069         (FUNC_mpc_c_c): Likewise.
24070         (test_functions): Add fma.  Update calls to FUNC.
24071         (handle_input_arg): Add argument exact_args.
24072         (add_test): Update call to handle_input_arg.
24073         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
24074         (output_for_one_input_case): Update call to calc_generic_results.
24075         Recalculate exact zero results in each rounding mode.
24077         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
24078         non-negative before setting low bit.
24079         * math/auto-libm-test-in: Mark one asin test possibly having
24080         spurious underflow.
24081         * math/auto-libm-test-out: Regenerated.
24082         * sysdeps/i386/fpu/libm-test-ulps: Update.
24083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24085 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
24087         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
24088         * sysdeps/unix/sysv/linux/microblaze: Move directory from
24089         ports/sysdeps/unix/sysv/linux/microblaze.
24090         * README: Add missing listing for microblaze*-*-linux-gnu.
24092 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
24094         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
24095         duplicate code
24097 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
24099         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
24100         * sysdeps/unix/sysv/linux/ia64: Move directory from
24101         ports/sysdeps/unix/sysv/linux/ia64.
24102         * README: Update listing for ia64-*-linux-gnu.
24104 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
24105             Joseph Myers  <joseph@codesourcery.com>
24107         * Makeconfig (test-name): New variable.
24108         (evaluate-test): Likewise.
24109         * Makerules (do-test-clean): Remove .test-result files.
24110         (common-mostlyclean): Likewise.
24111         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
24112         * scripts/evaluate-test.sh: New file.
24114 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
24116         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
24117         separate $(objpfx)tst-fopenloc-cmp.out and
24118         $(objpfx)tst-fopenloc-mem.out targets.
24119         (tests): Update dependencies.
24120         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
24121         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
24122         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
24123         (tst-rxspencer-no-utf8-ARGS): New variable.
24124         (tst-rxspencer-no-utf8-ENV): Likewise.
24125         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
24126         instead of $(objpfx)tst-rxspencer-mem.
24127         ($(objpfx)tst-rxspencer-mem): Change target to
24128         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
24129         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
24130         * posix/tst-rxspencer-no-utf8.c: New file.
24132         * elf/Makefile ($(objpfx)order.out): Remove rule.
24133         [$(run-built-tests) = yes] (tests): Depend on
24134         $(objpfx)order-cmp.out.
24135         ($(objpfx)order-cmp.out): New rule.
24136         [$(run-built-tests) = yes] (tests): Depend on
24137         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
24138         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
24139         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
24140         $(objpfx)tst-array5-static-cmp.out.
24141         ($(objpfx)tst-array1.out): Remove rule.
24142         ($(objpfx)tst-array1-cmp.out): New rule.
24143         ($(objpfx)tst-array1-static.out): Remove rule.
24144         ($(objpfx)tst-array1-static-cmp.out): New rule.
24145         ($(objpfx)tst-array2.out): Remove rule.
24146         ($(objpfx)tst-array2-cmp.out): New rule.
24147         ($(objpfx)tst-array3.out): Remove rule.
24148         ($(objpfx)tst-array3-cmp.out): New rule.
24149         ($(objpfx)tst-array4.out): Remove rule.
24150         ($(objpfx)tst-array4-cmp.out): New rule.
24151         ($(objpfx)tst-array5.out): Remove rule.
24152         ($(objpfx)tst-array5-cmp.out): New rule.
24153         ($(objpfx)tst-array5-static.out): Remove rule.
24154         ($(objpfx)tst-array5-static-cmp.out): New rule.
24155         [$(run-built-tests) = yes] (tests): Depend on
24156         $(objpfx)order2-cmp.out.
24157         ($(objpfx)order2.out): Remove rule.
24158         ($(objpfx)order2-cmp.out): New rule.
24159         ($(objpfx)tst-initorder.out): Remove rule.
24160         [$(run-built-tests) = yes] (tests): Depend on
24161         $(objpfx)tst-initorder-cmp.out.
24162         ($(objpfx)tst-initorder-cmp.out): New rule.
24163         ($(objpfx)tst-initorder2.out): Remove rule.
24164         [$(run-built-tests) = yes] (tests): Depend on
24165         $(objpfx)tst-initorder2-cmp.out.
24166         ($(objpfx)tst-initorder2-cmp.out): New rule.
24167         [$(run-built-tests) = yes] (tests): Depend on
24168         $(objpfx)tst-unused-dep-cmp.out.
24169         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
24170         ($(objpfx)tst-unused-dep-cmp.out): New rule.
24171         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
24172         on $(objpfx)tst-setvbuf1-cmp.out.
24173         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
24174         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
24175         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
24176         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
24177         ($(objpfx)tst-svc.out): Remove rule.
24178         ($(objpfx)tst-svc-cmp.out): New rule.
24180 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
24182         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
24183         * ctype/ctype.h [__USE_MISC]: Likewise.
24184         * dirent/dirent.h [__USE_MISC]: Likewise.
24185         * grp/grp.h [__USE_MISC]: Likewise.
24186         * io/fcntl.h [__USE_MISC]: Likewise.
24187         * io/sys/stat.h [__USE_MISC]: Likewise.
24188         * libio/stdio.h [__USE_MISC]: Likewise.
24189         * posix/unistd.h [__USE_MISC]: Likewise.
24190         * pwd/pwd.h [__USE_MISC]: Likewise.
24191         * stdlib.h [__USE_MISC]: Likewise.
24192         * string/bits/string2.h [__USE_MISC]: Likewise.
24193         * string/string.h [__USE_MISC]: Likewise.
24194         * time/time.h [__USE_MISC]: Likewise.
24196 2014-02-13  Andreas Schwab  <schwab@suse.de>
24198         [BZ #16574]
24199         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
24200         second answer buffer if it was separately allocated.
24202 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
24204         * sysdeps/mips/math-tests.h: Include <features.h>.
24205         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24206         (ROUNDING_TESTS_long_double): Do not define.
24207         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24208         (EXCEPTION_TESTS_long_double): Likewise.
24209         * sysdeps/mips/mips64/libm-test-ulps: Update.
24211         * include/features.h (__USE_BSD): Remove macro definitions.
24212         (__USE_SVID): Likewise.
24213         (_BSD_SOURCE): Likewise.
24214         (_SVID_SOURCE): Likewise.
24215         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
24216         from definition of _DEFAULT_SOURCE.
24217         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
24218         [_DEFAULT_SOURCE].
24219         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
24220         * bits/mman.h [__USE_BSD]: Likewise.
24221         * bits/termios.h [__USE_BSD]: Likewise.
24222         * bits/waitstatus.h [__USE_BSD]: Likewise.
24223         * ctype/ctype.h [__USE_SVID]: Likewise.
24224         * dirent/dirent.h [__USE_BSD]: Likewise.
24225         * grp/grp.h [__USE_SVID]: Likewise.
24226         [__USE_BSD]: Likewise.
24227         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
24228         * io/fcntl.h [__USE_BSD]: Likewise.
24229         * io/ftw.h [__USE_BSD]: Likewise.
24230         * io/sys/stat.h [__USE_BSD]: Likewise.
24231         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
24232         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
24233         * libio/stdio.h [__USE_SVID]: Likewise.
24234         [__USE_BSD]: Likewise.
24235         * math/math.h [__USE_SVID]: Likewise.
24236         [__USE_BSD]: Likewise.
24237         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
24238         * misc/bits/syslog.h [__USE_BSD]: Likewise.
24239         * misc/search.h [__USE_SVID]: Likewise.
24240         * misc/sys/mman.h [__USE_BSD]: Likewise.
24241         * misc/sys/syslog.h [__USE_BSD]: Likewise.
24242         * misc/sys/uio.h [__USE_BSD]: Likewise.
24243         * posix/bits/unistd.h [__USE_BSD]: Likewise.
24244         * posix/glob.h [__USE_BSD]: Likewise.
24245         * posix/regex.h [__USE_BSD]: Likewise.
24246         * posix/sys/types.h [__USE_BSD]: Likewise.
24247         [__USE_SVID]: Likewise.
24248         * posix/sys/utsname.h [__USE_SVID]: Likewise.
24249         * posix/sys/wait.h [__USE_BSD]: Likewise.
24250         [__USE_SVID]: Likewise.
24251         * posix/unistd.h [__USE_BSD]: Likewise.
24252         [__USE_SVID]: Likewise.
24253         * pwd/pwd.h [__USE_SVID]: Likewise.
24254         * resolv/netdb.h [__USE_BSD]: Likewise.
24255         * setjmp/setjmp.h [__USE_BSD]: Likewise.
24256         * signal/signal.h [__USE_BSD]: Likewise.
24257         [__USE_SVID]: Likewise.
24258         * socket/sys/socket.h [__USE_BSD]: Likewise.
24259         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
24260         * stdlib/stdlib.h [__USE_BSD]: Likewise.
24261         [__USE_SVID]: Likewise.
24262         * string/bits/string2.h [__USE_BSD]: Likewise.
24263         [__USE_SVID]: Likewise.
24264         * string/bits/string3.h [__USE_BSD]: Likewise.
24265         * string/endian.h [__USE_BSD]: Likewise.
24266         * string/string.h [__USE_SVID]: Likewise.
24267         [__USE_BSD]: Likewise.
24268         * string/strings.h [__USE_BSD]: Likewise.
24269         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
24270         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
24271         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
24272         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
24273         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
24274         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
24275         Likewise.
24276         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
24277         Likewise.
24278         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
24279         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
24280         Likewise.
24281         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
24282         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
24283         Likewise.
24284         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
24285         Likewise.
24286         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
24287         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
24288         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
24289         Likewise.
24290         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
24291         Likewise.
24292         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
24293         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
24294         * termios/termios.h [__USE_BSD]: Likewise.
24295         * time/sys/time.h [__USE_BSD]: Likewise.
24296         * time/time.h [__USE_BSD]: Likewise.
24297         [__USE_SVID]: Likewise.
24299         * Makefile (subdir_targets): Remove subdir_lint.out.
24301         * stdio-common/Makefile (do-tst-unbputc): Remove target.
24302         (do-tst-printf): Likewise.
24303         (tests): Depend directly on $(objpfx)tst-unbputc.out and
24304         $(objpfx)tst-printf.out.
24306         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
24308         * Makerules (check-abi-%): Change target to
24309         $(objpfx)check-abi-%.out.
24310         (check-abi target): Update dependencies.
24311         (check-abi-pattern variable): Redirect output of diff to $@.
24312         (check-abi variable): Likewise.
24313         * elf/Makefile (check-abi): Update dependencies.
24315         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
24316         unused.
24317         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
24318         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
24319         subnormal range.
24320         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
24321         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
24322         value has largest subnormal exponent.
24323         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
24324         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
24325         * sysdeps/aarch64/soft-fp/sfp-machine.h
24326         (_FP_TININESS_AFTER_ROUNDING): New macro.
24327         * sysdeps/alpha/soft-fp/sfp-machine.h
24328         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24329         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24330         Likewise.
24331         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
24332         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24333         * sysdeps/mips/soft-fp/sfp-machine.h
24334         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24335         * sysdeps/powerpc/soft-fp/sfp-machine.h
24336         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24337         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24338         Likewise.
24339         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
24340         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24341         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24342         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24343         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24344         Likewise.
24346 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
24348         [BZ #16545]
24349         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
24350         model 1.
24352 2014-02-12  Richard Henderson  <rth@redhat.com>
24354         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
24355         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
24356         * sysdeps/unix/sysv/linux/alpha: Move directory from
24357         ports/sysdeps/unix/sysv/linux/alpha.
24358         * README: Update listing for alpha-*-linux-gnu.
24360 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
24362         * include/features.h: Update comment documenting feature test
24363         macros.
24364         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
24365         _DEFAULT_SOURCE.
24366         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
24367         (_SVID_SOURCE): Likewise.
24368         (_DEFAULT_SOURCE): Update description of default features.
24369         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
24370         with _GNU_SOURCE.
24371         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
24372         (S_ISVTX): Likewise.
24373         * manual/math.texi (Mathematical Constants): Likewise.
24374         * manual/signal.texi (Interrupted Primitives): Likewise.
24375         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
24376         * math/test-matherr.c (_SVID_SOURCE): Do not define.
24377         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
24378         Don't refer to _SVID_SOURCE in warning text.
24380         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24382         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
24383         already defined.
24384         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
24385         * sysdeps/mips/dl-lookup.c: Remove.
24386         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
24388 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24390         [BZ #16447]
24391         * math/auto-libm-test-in: Add testcase for expl.
24392         * math/auto-libm-test-out: Regenerate.
24393         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
24394         calculation of unsafe.
24395         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
24397 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
24399         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
24400         * sysdeps/unix/sysv/linux/aarch64: Move directory from
24401         ports/sysdeps/unix/sysv/linux/aarch64.
24402         * README: Update listing for aarch64*-*-linux-gnu.
24404 2014-02-11  Will Newton  <will.newton@linaro.org>
24406         * manual/probes.texi (Mathematical Function Probes): Use
24407         "triggered" instead of "hit".
24409         * manual/probes.texi (Internal Probes): Add documentation
24410         of setjmp, longjmp and longjmp_target probes.
24412         * include/stap-probe.h: Add comment about probe argument
24413         format.
24415         * malloc/mtrace.c (attribute_hidden): Remove unused macro
24416         definition.  (tr_where, tr_freehook, tr_mallochook,
24417         tr_reallochook, tr_memalignhook): Use ANSI protoype.
24419 2014-02-11  David S. Miller  <davem@davemloft.net>
24421         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
24422         processing int_tests.
24424 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
24426         * sysdeps/mips: Move directory from ports/sysdeps/mips.
24427         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
24428         * sysdeps/unix/sysv/linux/mips: Move directory from
24429         ports/sysdeps/unix/sysv/linux/mips.
24430         * README: Update listing for mips-*-linux-gnu and
24431         mips64-*-linux-gnu.
24433 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
24435         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
24436         * sysdeps/unix/sysv/linux/m68k: Move directory from
24437         ports/sysdeps/unix/sysv/linux/m68k.
24438         * README: Update listing for m68k-*-linux-gnu.
24440 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
24442         * sysdeps/tile: Move directory from ports/sysdeps/tile.
24443         * sysdeps/unix/sysv/linux/generic: Move directory from
24444         ports/sysdeps/unix/sysv/linux/generic.
24445         * sysdeps/unix/sysv/linux/tile: Move directory from
24446         ports/sysdeps/unix/sysv/linux/tile.
24447         * README: Update listing for tile*-*-linux-gnu.
24449 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
24451         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
24452         __builtin_expect.
24453         * benchtests/bench-memmem.c (simple_memmem): Likewise.
24454         * catgets/open_catalog.c (__open_catalog): Likewise.
24455         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
24456         * debug/confstr_chk.c: Likewise.
24457         * debug/fread_chk.c (__fread_chk): Likewise.
24458         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
24459         * debug/getgroups_chk.c: Likewise.
24460         * debug/mbsnrtowcs_chk.c: Likewise.
24461         * debug/mbsrtowcs_chk.c: Likewise.
24462         * debug/mbstowcs_chk.c: Likewise.
24463         * debug/memcpy_chk.c: Likewise.
24464         * debug/memmove_chk.c: Likewise.
24465         * debug/mempcpy_chk.c: Likewise.
24466         * debug/memset_chk.c: Likewise.
24467         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24468         * debug/strcat_chk.c (__strcat_chk): Likewise.
24469         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
24470         * debug/strncat_chk.c (__strncat_chk): Likewise.
24471         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
24472         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
24473         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
24474         * debug/wcpncpy_chk.c: Likewise.
24475         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24476         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
24477         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
24478         * debug/wcsncpy_chk.c: Likewise.
24479         * debug/wcsnrtombs_chk.c: Likewise.
24480         * debug/wcsrtombs_chk.c: Likewise.
24481         * debug/wcstombs_chk.c: Likewise.
24482         * debug/wmemcpy_chk.c: Likewise.
24483         * debug/wmemmove_chk.c: Likewise.
24484         * debug/wmempcpy_chk.c: Likewise.
24485         * debug/wmemset_chk.c: Likewise.
24486         * dirent/scandirat.c (SCANDIRAT): Likewise.
24487         * dlfcn/dladdr1.c (dladdr1): Likewise.
24488         * dlfcn/dladdr.c (dladdr): Likewise.
24489         * dlfcn/dlclose.c (dlclose_doit): Likewise.
24490         * dlfcn/dlerror.c (__dlerror): Likewise.
24491         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
24492         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
24493         * dlfcn/dlopen.c (dlopen_doit): Likewise.
24494         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
24495         * dlfcn/dlsym.c (dlsym_doit): Likewise.
24496         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
24497         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
24498         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
24499         Likewise.
24500         * elf/dl-conflict.c: Likewise.
24501         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
24502         * elf/dl-dst.h: Likewise.
24503         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
24504         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
24505         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
24506         * elf/dl-init.c (call_init, _dl_init): Likewise.
24507         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
24508         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
24509         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
24510         Likewise.
24511         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
24512         Likewise.
24513         * elf/dl-minimal.c (__libc_memalign): Likewise.
24514         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
24515         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24516         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
24517         * elf/dl-sym.c (do_sym): Likewise.
24518         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
24519         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
24520         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
24521         * elf/dl-writev.h (_dl_writev): Likewise.
24522         * elf/ldconfig.c (search_dir): Likewise.
24523         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
24524         (dl_main): Likewise.
24525         * elf/setup-vdso.h (setup_vdso): Likewise.
24526         * grp/compat-initgroups.c (compat_call): Likewise.
24527         * grp/fgetgrent.c (fgetgrent): Likewise.
24528         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
24529         * grp/putgrent.c (putgrent): Likewise.
24530         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24531         Likewise.
24532         * hurd/hurdinit.c: Likewise.
24533         * iconvdata/8bit-gap.c (struct): Likewise.
24534         * iconvdata/ansi_x3.110.c : Likewise.
24535         * iconvdata/big5.c : Likewise.
24536         * iconvdata/big5hkscs.c : Likewise.
24537         * iconvdata/cp1255.c: Likewise.
24538         * iconvdata/cp1258.c : Likewise.
24539         * iconvdata/cp932.c : Likewise.
24540         * iconvdata/euc-cn.c: Likewise.
24541         * iconvdata/euc-jisx0213.c : Likewise.
24542         * iconvdata/euc-jp.c: Likewise.
24543         * iconvdata/euc-jp-ms.c : Likewise.
24544         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
24545         * iconvdata/gb18030.c : Likewise.
24546         * iconvdata/gbbig5.c (const): Likewise.
24547         * iconvdata/gbgbk.c: Likewise.
24548         * iconvdata/gbk.c : Likewise.
24549         * iconvdata/ibm1364.c : Likewise.
24550         * iconvdata/ibm930.c : Likewise.
24551         * iconvdata/ibm932.c: Likewise.
24552         * iconvdata/ibm933.c : Likewise.
24553         * iconvdata/ibm935.c : Likewise.
24554         * iconvdata/ibm937.c : Likewise.
24555         * iconvdata/ibm939.c : Likewise.
24556         * iconvdata/ibm943.c: Likewise.
24557         * iconvdata/iso_11548-1.c: Likewise.
24558         * iconvdata/iso-2022-cn.c : Likewise.
24559         * iconvdata/iso-2022-cn-ext.c : Likewise.
24560         * iconvdata/iso-2022-jp-3.c: Likewise.
24561         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
24562         * iconvdata/iso-2022-kr.c : Likewise.
24563         * iconvdata/iso646.c (gconv_end): Likewise.
24564         * iconvdata/iso_6937-2.c : Likewise.
24565         * iconvdata/iso_6937.c : Likewise.
24566         * iconvdata/iso8859-1.c: Likewise.
24567         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
24568         * iconvdata/shift_jisx0213.c : Likewise.
24569         * iconvdata/sjis.c : Likewise.
24570         * iconvdata/t.61.c : Likewise.
24571         * iconvdata/tcvn5712-1.c : Likewise.
24572         * iconvdata/tscii.c: Likewise.
24573         * iconvdata/uhc.c : Likewise.
24574         * iconvdata/unicode.c (gconv_end): Likewise.
24575         * iconvdata/utf-16.c (gconv_end): Likewise.
24576         * iconvdata/utf-32.c (gconv_end): Likewise.
24577         * iconvdata/utf-7.c (base64): Likewise.
24578         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
24579         * iconv/gconv_close.c (__gconv_close): Likewise.
24580         * iconv/gconv_open.c (__gconv_open): Likewise.
24581         * iconv/gconv_simple.c (internal_ucs4_loop_single)
24582         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
24583         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
24584         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
24585         (ucs4le_internal_loop_single): Likewise.
24586         * iconv/iconv.c (iconv): Likewise.
24587         * iconv/iconv_close.c: Likewise.
24588         * iconv/loop.c (SINGLE): Likewise.
24589         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
24590         * include/atomic.h: Likewise.
24591         * inet/inet6_option.c (option_alloc): Likewise.
24592         * intl/bindtextdom.c (set_binding_values): Likewise.
24593         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
24594         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
24595         * intl/localealias.c (read_alias_file): Likewise.
24596         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
24597         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
24598         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
24599         * libio/fmemopen.c (fmemopen): Likewise.
24600         * libio/iofgets.c (_IO_fgets): Likewise.
24601         * libio/iofgets_u.c (fgets_unlocked): Likewise.
24602         * libio/iofgetws.c (fgetws): Likewise.
24603         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
24604         * libio/iogetdelim.c (_IO_getdelim): Likewise.
24605         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
24606         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
24607         * locale/findlocale.c (_nl_find_locale): Likewise.
24608         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
24609         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
24610         Likewise.
24611         * locale/setlocale.c (setlocale): Likewise.
24612         * login/programs/pt_chown.c (main): Likewise.
24613         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
24614         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
24615         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
24616         (mmap, mmap64, mremap, munmap): Likewise.
24617         * math/e_exp2l.c: Likewise.
24618         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
24619         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
24620         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
24621         * math/s_catan.c (__catan): Likewise.
24622         * math/s_catanf.c (__catanf): Likewise.
24623         * math/s_catanh.c (__catanh): Likewise.
24624         * math/s_catanhf.c (__catanhf): Likewise.
24625         * math/s_catanhl.c (__catanhl): Likewise.
24626         * math/s_catanl.c (__catanl): Likewise.
24627         * math/s_ccosh.c (__ccosh): Likewise.
24628         * math/s_ccoshf.c (__ccoshf): Likewise.
24629         * math/s_ccoshl.c (__ccoshl): Likewise.
24630         * math/s_cexp.c (__cexp): Likewise.
24631         * math/s_cexpf.c (__cexpf): Likewise.
24632         * math/s_cexpl.c (__cexpl): Likewise.
24633         * math/s_clog10.c (__clog10): Likewise.
24634         * math/s_clog10f.c (__clog10f): Likewise.
24635         * math/s_clog10l.c (__clog10l): Likewise.
24636         * math/s_clog.c (__clog): Likewise.
24637         * math/s_clogf.c (__clogf): Likewise.
24638         * math/s_clogl.c (__clogl): Likewise.
24639         * math/s_csin.c (__csin): Likewise.
24640         * math/s_csinf.c (__csinf): Likewise.
24641         * math/s_csinh.c (__csinh): Likewise.
24642         * math/s_csinhf.c (__csinhf): Likewise.
24643         * math/s_csinhl.c (__csinhl): Likewise.
24644         * math/s_csinl.c (__csinl): Likewise.
24645         * math/s_csqrt.c (__csqrt): Likewise.
24646         * math/s_csqrtf.c (__csqrtf): Likewise.
24647         * math/s_csqrtl.c (__csqrtl): Likewise.
24648         * math/s_ctan.c (__ctan): Likewise.
24649         * math/s_ctanf.c (__ctanf): Likewise.
24650         * math/s_ctanh.c (__ctanh): Likewise.
24651         * math/s_ctanhf.c (__ctanhf): Likewise.
24652         * math/s_ctanhl.c (__ctanhl): Likewise.
24653         * math/s_ctanl.c (__ctanl): Likewise.
24654         * math/w_pow.c: Likewise.
24655         * math/w_powf.c: Likewise.
24656         * math/w_powl.c: Likewise.
24657         * math/w_scalb.c (sysv_scalb): Likewise.
24658         * math/w_scalbf.c (sysv_scalbf): Likewise.
24659         * math/w_scalbl.c (sysv_scalbl): Likewise.
24660         * misc/error.c (error_tail): Likewise.
24661         * misc/pselect.c (__pselect): Likewise.
24662         * nis/nis_callback.c (__nis_create_callback): Likewise.
24663         * nis/nis_call.c (__nisfind_server): Likewise.
24664         * nis/nis_creategroup.c (nis_creategroup): Likewise.
24665         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
24666         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
24667         * nis/nis_getservlist.c (nis_getservlist): Likewise.
24668         * nis/nis_lookup.c (nis_lookup): Likewise.
24669         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
24670         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
24671         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
24672         * nis/nis_xdr.c (xdr_endpoint): Likewise.
24673         * nis/nss_compat/compat-grp.c (getgrent_next_file)
24674         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
24675         * nis/nss_compat/compat-initgroups.c (add_group)
24676         (internal_getgrent_r): Likewise.
24677         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
24678         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
24679         * nis/nss_compat/compat-spwd.c (getspent_next_file)
24680         (internal_getspnam_r): Likewise.
24681         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
24682         (_nss_nis_getaliasbyname_r): Likewise.
24683         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
24684         (_nss_nis_getntohost_r): Likewise.
24685         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
24686         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
24687         (_nss_nis_getgrgid_r): Likewise.
24688         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
24689         (internal_nis_gethostent_r, internal_gethostbyname2_r)
24690         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
24691         (_nss_nis_gethostbyname4_r): Likewise.
24692         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
24693         (initgroups_netid): Likewise.
24694         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
24695         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
24696         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
24697         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
24698         (_nss_nis_getprotobynumber_r): Likewise.
24699         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
24700         (_nss_nis_getsecretkey): Likewise.
24701         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
24702         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
24703         (_nss_nis_getpwuid_r): Likewise.
24704         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
24705         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
24706         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
24707         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
24708         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
24709         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
24710         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
24711         Likewise.
24712         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
24713         (_nss_nisplus_getntohost_r): Likewise.
24714         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
24715         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
24716         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
24717         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
24718         Likewise.
24719         * nis/nss_nisplus/nisplus-initgroups.c
24720         (_nss_nisplus_initgroups_dyn): Likewise.
24721         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
24722         (_nss_nisplus_getnetbyaddr_r): Likewise.
24723         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
24724         (_nss_nisplus_getprotobynumber_r): Likewise.
24725         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
24726         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
24727         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
24728         Likewise.
24729         * nis/nss_nisplus/nisplus-service.c
24730         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
24731         (_nss_nisplus_getservbyport_r): Likewise.
24732         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
24733         (_nss_nisplus_getspnam_r): Likewise.
24734         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
24735         Likewise.
24736         * nscd/aicache.c (addhstaiX): Likewise.
24737         * nscd/cache.c (cache_search, prune_cache): Likewise.
24738         * nscd/connections.c (register_traced_file, send_ro_fd)
24739         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
24740         (main_loop_epoll): Likewise.
24741         * nscd/grpcache.c (addgrbyX): Likewise.
24742         * nscd/hstcache.c (addhstbyX): Likewise.
24743         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24744         * nscd/mem.c (gc, mempool_alloc): Likewise.
24745         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
24746         (addinnetgrX): Likewise.
24747         * nscd/nscd-client.h (__nscd_acquire_maplock)
24748         (__nscd_drop_map_ref): Likewise.
24749         * nscd/nscd_getai.c (__nscd_getai): Likewise.
24750         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
24751         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
24752         Likewise.
24753         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
24754         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24755         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
24756         (__nscd_get_map_ref): Likewise.
24757         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
24758         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
24759         Likewise.
24760         * nscd/pwdcache.c (addpwbyX): Likewise.
24761         * nscd/selinux.c (preserve_capabilities): Likewise.
24762         * nscd/servicescache.c (addservbyX): Likewise.
24763         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
24764         * posix/fnmatch.c (fnmatch): Likewise.
24765         * posix/getopt.c (_getopt_internal_r): Likewise.
24766         * posix/glob.c (glob, glob_in_dir): Likewise.
24767         * posix/wordexp.c (exec_comm_child): Likewise.
24768         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
24769         (getanswer_r, gaih_getanswer_slice): Likewise.
24770         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
24771         * resolv/res_init.c: Likewise.
24772         * resolv/res_mkquery.c (res_nmkquery): Likewise.
24773         * resolv/res_query.c (__libc_res_nquery): Likewise.
24774         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
24775         Likewise.
24776         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
24777         * stdio-common/perror.c (perror): Likewise.
24778         * stdio-common/printf_fp.c (___printf_fp): Likewise.
24779         * stdio-common/tmpnam.c (tmpnam): Likewise.
24780         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24781         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
24782         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
24783         Likewise.
24784         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
24785         * stdlib/putenv.c (putenv): Likewise.
24786         * stdlib/setenv.c (__add_to_environ): Likewise.
24787         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24788         * stdlib/strtol_l.c (INTERNAL): Likewise.
24789         * string/memmem.c (memmem): Likewise.
24790         * string/strerror.c (strerror): Likewise.
24791         * string/strnlen.c (__strnlen): Likewise.
24792         * string/test-memmem.c (simple_memmem): Likewise.
24793         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
24794         * sunrpc/pm_getport.c (__get_socket): Likewise.
24795         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
24796         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
24797         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
24798         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
24799         Likewise.
24800         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
24801         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24802         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
24803         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
24804         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
24805         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
24806         Likewise.
24807         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
24808         Likewise.
24809         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
24810         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
24811         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24812         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24813         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
24814         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
24815         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
24816         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
24817         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
24818         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
24819         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24820         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
24821         Likewise.
24822         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
24823         Likewise.
24824         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
24825         Likewise.
24826         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
24827         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24828         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
24829         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
24830         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
24831         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
24832         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24833         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
24834         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
24835         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
24836         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
24837         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24838         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
24839         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
24840         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24841         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
24842         Likewise.
24843         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
24844         Likewise.
24845         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
24846         Likewise.
24847         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
24848         Likewise.
24849         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24850         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24851         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
24852         Likewise.
24853         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
24854         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
24855         * sysdeps/posix/opendir.c (__opendirat): Likewise.
24856         * sysdeps/posix/sleep.c: Likewise.
24857         * sysdeps/posix/tempname.c: Likewise.
24858         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
24859         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24860         Likewise.
24861         * sysdeps/powerpc/powerpc32/dl-machine.h
24862         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
24863         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
24864         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24865         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
24866         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
24867         Likewise.
24868         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
24869         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
24870         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
24871         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
24872         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
24873         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
24874         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
24875         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
24876         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24877         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
24878         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
24879         (elf_machine_lazy_rel): Likewise.
24880         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24881         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
24882         (elf_machine_lazy_rel): Likewise.
24883         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
24884         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
24885         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
24886         * sysdeps/unix/grantpt.c (grantpt): Likewise.
24887         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
24888         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
24889         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
24890         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24891         Likewise.
24892         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
24893         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
24894         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
24895         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
24896         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24897         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24898         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
24899         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
24900         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
24901         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24902         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24903         Likewise.
24904         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
24905         (__posix_fallocate64_l64): Likewise.
24906         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
24907         (posix_fallocate): Likewise.
24908         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
24909         Likewise.
24910         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24911         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
24912         (getifaddrs_internal): Likewise.
24913         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
24914         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
24915         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
24916         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
24917         * sysdeps/unix/sysv/linux/posix_fallocate64.c
24918         (__posix_fallocate64_l64): Likewise.
24919         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
24920         Likewise.
24921         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
24922         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
24923         (__get_clockfreq): Likewise.
24924         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
24925         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
24926         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
24927         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24928         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24929         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
24930         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
24931         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
24932         Likewise.
24933         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
24934         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
24935         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
24936         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
24937         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24938         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
24939         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
24940         Likewise.
24941         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24942         (posix_fallocate): Likewise.
24943         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24944         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
24945         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
24946         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
24947         (elf_machine_rela, elf_machine_rela_relative)
24948         (elf_machine_lazy_rel): Likewise.
24949         * time/asctime.c (asctime_internal): Likewise.
24950         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
24951         * time/tzset.c (__tzset_parse_tz): Likewise.
24952         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
24953         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
24954         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
24955         * wcsmbs/wcsmbsload.h: Likewise.
24957         [BZ #15894]
24958         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
24960         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
24961         (arena_get2): Remove THREAD_STATS conditionals.
24962         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
24963         (__malloc_stats, int): Likewise.
24965 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
24967         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
24968         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
24970         * manual/setjmp.texi: Fix typos/grammar errors.
24972         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
24973         Only return early when n is <= 0.  Delete unused return statement.
24975         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
24976         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
24977         * debug/tst-longjmp_chk3.c: New file.
24979         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
24980         (test_main): Replace code with set_fortify_handler call.
24981         * debug/test-strcpy_chk.c: Likewise.
24982         * debug/tst-chk1.c: Likewise.
24983         * debug/tst-longjmp_chk.c: Likewise.
24984         * test-skeleton.c: Include fcntl.h & paths.h
24985         (set_fortify_handler): Define.
24987         * debug/tst-longjmp_chk.c: Add header comment and include
24988         ../test-skeleton.c.
24989         (do_test): Mark static.
24990         (TEST_FUNCTION): Define.
24992         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
24993         (IP_PMTUDISC_INTERFACE): Likewise.
24994         (IP_MULTICAST_IF): Likewise.
24995         (IP_MULTICAST_TTL): Likewise.
24996         (IP_MULTICAST_LOOP): Likewise.
24997         (IP_ADD_MEMBERSHIP): Likewise.
24998         (IP_DROP_MEMBERSHIP): Likewise.
24999         (IP_UNBLOCK_SOURCE): Likewise.
25000         (IP_BLOCK_SOURCE): Likewise.
25001         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
25002         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
25003         (IP_MSFILTER): Likewise.
25004         (MCAST_JOIN_GROUP): Likewise.
25005         (MCAST_BLOCK_SOURCE): Likewise.
25006         (MCAST_UNBLOCK_SOURCE): Likewise.
25007         (MCAST_LEAVE_GROUP): Likewise.
25008         (MCAST_JOIN_SOURCE_GROUP): Likewise.
25009         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
25010         (MCAST_MSFILTER): Likewise.
25011         (IP_MULTICAST_ALL): Likewise.
25012         (IP_UNICAST_IF): Likewise.
25014         * timezone/Makefile: Delete $(have-ksh) check.
25015         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
25016         * timezone/tzselect.ksh: Add +x mode bits.
25018         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
25019         (ANON_INODE_FS_MAGIC): Likewise.
25020         (BDEVFS_MAGIC): Likewise.
25021         (BINFMTFS_MAGIC): Likewise.
25022         (BTRFS_TEST_MAGIC): Likewise.
25023         (CRAMFS_MAGIC_WEND): Likewise.
25024         (DEBUGFS_MAGIC): Likewise.
25025         (ECRYPTFS_SUPER_MAGIC): Likewise.
25026         (EXT3_SUPER_MAGIC): Likewise.
25027         (EXT4_SUPER_MAGIC): Likewise.
25028         (FUTEXFS_SUPER_MAGIC): Likewise.
25029         (HOSTFS_SUPER_MAGIC): Likewise.
25030         (HUGETLBFS_MAGIC): Likewise.
25031         (MINIX3_SUPER_MAGIC): Likewise.
25032         (MTD_INODE_FS_MAGIC): Likewise.
25033         (NILFS_SUPER_MAGIC): Likewise.
25034         (OPENPROM_SUPER_MAGIC): Likewise.
25035         (PIPEFS_MAGIC): Likewise.
25036         (PSTOREFS_MAGIC): Likewise.
25037         (QNX6_SUPER_MAGIC): Likewise.
25038         (RAMFS_MAGIC): Likewise.
25039         (REISERFS_SUPER_MAGIC_STRING): Likewise.
25040         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
25041         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
25042         (SECURITYFS_MAGIC): Likewise.
25043         (SELINUX_MAGIC): Likewise.
25044         (SMACK_MAGIC): Likewise.
25045         (SOCKFS_MAGIC): Likewise.
25046         (SQUASHFS_MAGIC): Likewise.
25047         (STACK_END_MAGIC): Likewise.
25048         (TMPFS_MAGIC): Likewise.
25049         (USBDEVICE_SUPER_MAGIC): Likewise.
25050         (V9FS_MAGIC): Likewise.
25051         (XENFS_SUPER_MAGIC): Likewise.
25052         (CRAMFS_MAGIC): Fix typo in comment.
25053         (EXT2_SUPER_MAGIC): Update comment.
25054         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
25056 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
25058         * sysdeps/arm: Move directory from ports/sysdeps/arm.
25059         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
25060         * sysdeps/unix/sysv/linux/arm: Move directory from
25061         ports/sysdeps/unix/sysv/linux/arm.
25062         * README: Update listing for arm-*-linux-gnueabi.
25064         * README: Remove mention of am33.
25066 2014-02-07  Roland McGrath  <roland@hack.frob.com>
25068         * bits/sigset.h (__sigemptyset): Use a statement expression rather
25069         than the comma operator, to avoid "rhs of comma has no effect"
25070         compiler warnings.
25071         (__sigfillset, __sigandset, __sigorset): Likewise.
25072         * include/signal.h (__sigemptyset): Likewise.
25073         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
25075 2014-02-07  Allan McRae  <allan@archlinux.org>
25077         * version.h (RELEASE): Set to "development".
25078         (VERSION): Set to "2.19.90"
25079         * NEWS: Add 2.20 section.
25081 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
25083         [BZ #16529]
25084         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
25086 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25088         * manual/contrib.texi: Update entry for Carlos O'Donell,
25089         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
25091 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
25093         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
25095         * sysdeps/unix/sysv/linux/kernel-features.h
25096         [__LINUX_KERNEL_VERSION >= 0x020621]
25097         (__ASSUME_PROC_PID_TASK_COMM): Define.
25099 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25101         [BZ #16398]
25102         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
25103         conversion when destination buffer does not have enough space.
25104         * libio/tst-ftell-partial-wide.c: New test case.
25105         * libio/Makefile (tests): Add tst-ftell-partial-wide.
25107         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
25108         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
25109         Leonard and Allan McRae.
25111 2014-02-04  David S. Miller  <davem@davemloft.net>
25113         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
25114         32-bit.
25116 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
25119         New file
25120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
25121         New file
25122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
25123         New file.
25124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
25125         New file.
25126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
25127         New file.
25128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
25129         New file.
25130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
25131         New file.
25132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
25133         New file.
25134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
25135         New file.
25136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
25137         New file.
25138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
25139         New file.
25140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
25141         New file.
25142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
25143         New file.
25145 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25147         * nptl/shlib-versions: Change powerpc*le start to 2.17.
25148         * shlib-versions: Likewise.
25150 2014-02-04  Roland McGrath  <roland@hack.frob.com>
25151             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25153         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
25154         (abilist-pattern): New variable, set to %-le.abilist.
25156         * Makerules (abilist-pattern): New variable.
25157         (vpath): Use $(abilist-pattern) in place of %.abilist.
25158         (check-abi-% pattern rule): Likewise.
25159         (check-abi, update-abi): Likewise.
25161 2014-02-04  Eric Wong  <normalperson@yhbt.net>
25163         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25165 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
25167         * manual/startup.texi: Add next, previous, and top entries for
25168         the `Program Arguments' and `Environment Variables' nodes.
25170 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
25172         * manual/macros.texi: Add comments before MTASC-safety macros.
25174         * manual/users.texi: Document MTASC-safety properties.
25176         * manual/threads.texi (pthread_key_create, pthread_key_delete)
25177         (pthread_getspecific, pthread_setspecific): Format with
25178         @deftypefun, and add @safety note.
25179         * manual/signal.texi: Move comments that analyze the above
25180         functions to their home place.
25182 2014-02-03  Allan McRae  <allan@archlinux.org>
25184         * po/sl.po: Update Slovenian translation from translation project.
25186 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
25188         * manual/time.texi (timegm): Add missing blank after @c.
25189         Reported by Joseph Myers <joseph@codesourcery.com>.
25191 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
25193         * manual/check-safety.sh: New.
25194         * manual/Makefile ($(objpfx)stamp-summary): Run it.
25196         * manual/terminal.texi: Document MTASC-safety properties.
25198         * manual/filesys.texi: Document MTASC-safety properties.
25200         * manual/errno.texi: Document MTASC-safety properties.
25202         * manual/intro.texi: Document safety identifiers and
25203         conditionals.
25205         * manual/string.texi (wcstok): Fix prototype.
25206         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
25208         * manual/time.texi: Document MTASC-safety properties.
25210         * manual/string.texi: Document MTASC-safety properties.
25212         * manual/threads.texi: Document MTASC-safety properties.
25214         * manual/stdio.texi: Document MTASC-safety properties.
25216         * manual/syslog.texi: Document MTASC-safety properties.
25218         * manual/sysinfo.texi: Document MTASC-safety properties.
25220         * manual/startup.texi: Document MTASC-safety properties.
25222         * manual/socket.texi: Document MTASC-safety properties.
25224         * manual/signal.texi: Document MTASC-safety properties.
25226 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
25228         * manual/setjmp.texi: Document MTASC-safety properties.
25230         * manual/search.texi: Document MTASC-safety properties.
25232         * manual/resource.texi: Document MTASC-safety properties.
25234         * manual/process.texi: Document MTASC-safety properties.
25236         * manual/platform.texi: Document MTASC-safety properties.
25238         * manual/pipe.texi: Document MTASC-safety properties.
25240         * manual/pattern.texi: Document MTASC-safety properties.
25242         * manual/message.texi: Document MTASC-safety properties.
25244         [BZ #12751]
25245         * manual/memory.texi: Document MTASC-safety properties.
25247         * manual/math.texi: Document MTASC-safety properties.
25249         * manual/locale.texi: Document MTASC-safety properties.
25251         * manual/llio.texi: Document MTASC-safety properties.
25253         * manual/libdl.texi: New.
25255         * manual/lang.texi: Document MTASC-safety properties.
25257         * manual/job.texi: Document MTASC-safety properties.
25259         * manual/getopt.texi: Document MTASC-safety properties.
25261         * manual/ctype.texi: Document MTASC-safety properties.
25263 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
25265         [BZ #16046]
25266         * csu/libc-tls.c (static_map): Remove variable.
25267         (__libc_setup_tls): Use main executable's link map for TLS data.
25268         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
25269         casing for LM_ID_BASE and GL(dl_nns).
25270         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
25271         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
25272         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
25273         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
25274         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
25275         member.
25276         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
25277         l_phnum members.
25279 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
25281         * manual/debug.texi: Document MTASC-safety properties.
25283 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
25285         [BZ #16510]
25286         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
25287         of __x86_64__ when disabling x87 inline functions.
25289 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
25291         * manual/charset.texi: Document MTASC-safety properties.
25293         * manual/crypt.texi: Document MTASC-safety properties.
25295         * manual/conf.texi: Document MTASC-safety properties.
25297         * manual/arith.texi: Document MTASC-safety properties.
25299         * manual/argp.texi: Document MTASC-safety properties.
25301         * manual/macros.texi: Introduce macros to document multi
25302         thread, asynchronous signal and asynchronous cancellation
25303         safety properties.
25304         * manual/intro.texi: Introduce the properties themselves.
25306 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25308         * sysdeps/sh/sh4/Makefile: New file.
25310 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
25312         * math/gen-libm-test.pl ($srcdir): New variable.
25313         ($auto_input): Use it.
25315 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25317         [BZ #16506]
25318         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
25319         access beyond array bounds when parsing netgroups file.
25321         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
25322         the old buffer before realloc.
25324 2014-01-27  Allan McRae  <allan@archlinux.org>
25326         * po/fr.po: Update French translation from translation project.
25328 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25330         * sysdeps/sh/libm-test-ulps: Regenerate.
25332 2014-01-24  David S. Miller  <davem@davemloft.net>
25334         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
25336 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25338         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
25339         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
25341 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25343         [BZ #16474]
25344         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
25345         string pointers after reallocation.
25347 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25349         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
25350         __SH4A__ instead of __SH_FPU_ANY__.
25352 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25354         * sysdeps/sh/fpu_control.h: New file.
25355         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
25356         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
25357         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
25358         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
25359         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
25360         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
25361         * sysdeps/sh/sys/ucontext.h: Remove.
25362         * sysdeps/sh/sys: Remove directory.
25364 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25366         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
25367         s390/sys/ucontext.h.
25368         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
25369         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
25371 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
25373         [BZ #15605]
25374         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
25376 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25378         [BZ#16431]
25379         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25380         Adjust the vDSO correctly for internal calls.
25381         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
25383 2014-01-20  Allan McRae  <allan@archlinux.org>
25385         * po/ca.po: Update Catalan translation from translation project.
25387 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
25389         * sysdeps/s390/sotruss-lib.c: New file.
25391 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25393         [BZ#16430]
25394         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
25395         (__GI___gettimeofday): Alias for a different internal symbol to avoid
25396         local calls issues by not having a PLT stub required for IFUNC calls.
25397         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
25399 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
25401         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
25402         * math/test-fpucw-static.c: Likewise.
25404 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25406         [BZ #16453]
25407         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
25409 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25411         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
25412         implementation for powerpc.
25414 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
25416         [BZ #14782]
25417         * sysdeps/posix/system.c (__libc_system): Do not enable
25418         asynchronous cancellation.
25420 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25422         [BZ #16427]
25423         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
25424         handling only for numbers special also in the IEEE case.
25426 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25428         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25430 2014-01-11  Allan McRae  <allan@archlinux.org>
25432         * po/bg.po: Update Bulgarian translation from translation project.
25434         * po/de.po: Update German translation from translation project.
25436 2014-01-10  Roland McGrath  <roland@hack.frob.com>
25438         * sysdeps/generic/gcc-compat.h: New file.
25440 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25442         * benchtests/asin-inputs: Correct slow inputs.
25443         * benchtests/acos-inputs: Likewise.
25445 2014-01-10  Allan McRae  <allan@archlinux.org>
25447         * po:sv.po: Update Swedish translation from translation project.
25449         * po/vi.po: Update Vietnamese translation from translation project.
25451         * po/eo.po: Update Esperanto translation from translation project.
25453         * po/cs.po: Update Czech translation from translation project.
25455         * po/nl.po: Update Dutch translation from translation project.
25457         * po/pl.po: Update Polish translation from translation project.
25459         * po/ru.po: Update Russian translation from translation project.
25461         * po/uk.po: Update Ukrainian translation from translation project.
25463 2014-01-08  Brooks Moses  <bmoses@google.com>
25465         * elf/dl-load.c: Fix comment typo.
25467 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
25469         * po/header.pot: Rename to...
25470         * po/pot.header: ... this.
25471         * po/Makefile: Use pot.header.
25473 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
25474             Maxim Kuvyrkov  <maxim@kugelworks.com>
25476         [BZ #16394]
25477         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
25478         SRC and DEST against LEN.
25480 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25482         [BZ #16414]
25483         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
25484         implementation.
25485         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
25487 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25489         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25491 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
25493         [BZ #16408]
25494         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
25495         for large positive arguments.
25497 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
25499         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25501         * math/auto-libm-test-in: Mark various tests with
25502         xfail-rounding:ldbl-128ibm.
25503         * math/auto-libm-test-out: Regenerated.
25505         [BZ #16407]
25506         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
25507         Increase overflow threshold.
25509 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
25511         [BZ #14286]
25512         * stdio-common/vfprintf.c: Check for integer overflow.
25514 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25516         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
25517         the first argument and return value of __tls_get_addr_internal.
25519 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25521         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
25522         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
25524 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25526         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
25527         * sysdeps/s390/rtld-global-offsets.sym: New file.
25528         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
25529         GLIBC_2.19 symbol.
25530         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
25531         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
25532         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
25533         ... this.
25534         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
25535         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
25536         ... this.
25537         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25538         Regenerate.
25539         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25540         Regenerate.
25541         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
25542         halfs of GPRs for high_gprs contexts.
25543         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
25544         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
25545         field.
25546         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
25547         uc_flags field.
25548         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
25549         64 bit versions:
25550         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
25551         for high GPRs (uc_high_gprs) and for future extensions
25552         (__reserved).
25553         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
25554         for future extensions (__reserved).
25555         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
25556         64 bit versions:
25557         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
25558         SC_HIGHGPRS offset definition.
25559         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
25560         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
25562         * Versions.def: Add GLIBC_2.19 for libpthread.
25563         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
25564         siglongjmp for libpthread with GLIBC_2.19 symver.
25565         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
25566         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
25567         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
25568         * sysdeps/s390/__longjmp.c: New file.
25569         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
25570         * sysdeps/s390/longjmp.c: New file.
25571         * sysdeps/s390/setjmp.S: New file.
25572         * sysdeps/s390/sigjmp.S: New file.
25573         * sysdeps/s390/v1-longjmp.c: New file.
25574         * sysdeps/s390/v1-setjmp.h: New file.
25575         * sysdeps/s390/v1-sigjmp.c: New file.
25576         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
25577         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
25578         GLIBC_2.19 version.
25579         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
25580         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
25581         versioned symbols for ____longjmp_chk.
25582         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
25583         Likewise.
25584         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25585         Regenerate.
25586         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25587         Regenerate.
25588         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25589         Regenerate.
25590         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25591         Regenerate.
25592         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
25593         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
25594         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
25595         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
25596         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
25597         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
25598         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
25599         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
25600         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
25601         * sysdeps/s390/rtld-__longjmp.c: New file.
25602         * sysdeps/s390/rtld-setjmp.S: New file.
25604 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
25606         [BZ #16400]
25607         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25608         Return -__logl (x) for small positive arguments without evaluating
25609         a polynomial.
25611 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
25613         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
25614         Rename to ...
25615         (__ptrace_peeksiginfo_args): ... this.
25616         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25617         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25618         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25620 2014-01-06  Allan McRae  <allan@archlinux.org>
25622         * inet/netinet/in.h: Fix typo in comment.
25624 2014-01-05  Andreas Jaeger  <aj@suse.de>
25626         * sysdeps/i386/fpu/libm-test-ulps: Update.
25628 2014-01-05  Allan McRae  <allan@archlinux.org>
25630         * po/libc.pot: Regenerated.
25632         * malloc/memusagestat.c: Fix gettext call formatting.
25634 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
25636         * nscd/nscd.c: Improve usage() output.
25638 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
25640         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
25641         * sysdeps/unix/sysv/linux/configure: Regenerated.
25642         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
25643         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
25645 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
25647         [BZ #16390]
25648         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
25649         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
25651 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25653         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
25654         extra tokens at end of #undef directive.
25655         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25656         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25657         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
25659 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
25661         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25663         * math/auto-libm-test-in: Mark various tests with
25664         xfail-rounding:ldbl-128ibm.
25665         * math/auto-libm-test-out: Regenerated.
25667 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
25669         [BZ #16386]
25670         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
25671         numbers with subnormal high part when calculating exponent.
25673         [BZ #16385]
25674         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
25675         fabs.
25677         [BZ #16384]
25678         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
25679         M_LN2l.
25680         (__ieee754_acoshl): Use __log1pl not __log1p.
25682 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
25684         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
25685         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
25686         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
25687         (grow_heap, heap_trim, _int_new_arena, get_free_list)
25688         (reused_arena, arena_get2): Convert to GNU style.
25689         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
25690         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
25691         (memalign_check, __malloc_set_state): Likewise.
25692         * malloc/mallocbug.c (main): Likewise.
25693         * malloc/malloc.c (__malloc_assert, malloc_init_state)
25694         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
25695         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
25696         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
25697         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
25698         (__posix_memalign, malloc_info): Likewise.
25699         * malloc/malloc.h: Likewise.
25700         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
25701         (mallochook, memalignhook, reallochook, mabort): Likewise.
25702         * malloc/mcheck.h: Likewise.
25703         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
25704         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
25705         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
25706         * malloc/morecore.c (__default_morecore): Likewise.
25707         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
25708         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
25709         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
25710         (print_and_abort): Likewise.
25711         * malloc/obstack.h: Likewise.
25712         * malloc/set-freeres.c (__libc_freeres): Likewise.
25713         * malloc/tst-mallocstate.c (main): Likewise.
25714         * malloc/tst-mtrace.c (main): Likewise.
25715         * malloc/tst-realloc.c (do_test): Likewise.
25717 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25719         [BZ #16366]
25720         * nscd/netgroupcache.c (do_notfound): New function.
25721         (addgetnetgrentX): Use it.
25723         [BZ # 16365]
25724         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
25725         NSS_STATUS_NOTFOUND.
25727 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
25729         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25732 2014-01-01  Allan McRae  <allan@archlinux.org>
25734         * scripts/update-copyrights: Update configure input file suffix.
25736         * NEWS: Update copyright year.
25737         * catgets/gencat.c: Likewise.
25738         * csu/version.c: Likewise.
25739         * debug/catchsegv.sh: Likewise.
25740         * debug/pcprofiledump.c: Likewise.
25741         * debug/xtrace.sh: Likewise.
25742         * elf/ldconfig.c: Likewise.
25743         * elf/ldd.bash.in: Likewise.
25744         * elf/pldd.c: Likewise.
25745         * elf/sotruss.ksh: Likewise.
25746         * elf/sprof.c: Likewise.
25747         * iconv/iconv_prog.c: Likewise.
25748         * iconv/iconvconfig.c: Likewise.
25749         * locale/programs/locale.c: Likewise.
25750         * locale/programs/localedef.c: Likewise.
25751         * login/programs/pt_chown.c: Likewise.
25752         * malloc/memusage.sh: Likewise.
25753         * malloc/memusagestat.c: Likewise.
25754         * malloc/mtrace.pl: Likewise.
25755         * manual/libc.texinfo: Likewise.
25756         * nscd/nscd.c: Likewise.
25757         * nss/getent.c: Likewise.
25758         * nss/makedb.c: Likewise.
25759         * posix/getconf.c: Likewise.
25760         * scripts/test-installation.pl: Likewise.
25762         * All files with FSF copyright notices: Update copyright dates
25763         using scripts/update-copyrights.
25764         * intl/plural.c: Regenerated.
25765         * locale/programs/charmap-kw.h: Likewise.
25766         * locale/programs/locfile-kw.h: Likewise.
25768 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
25770         * sysdeps/unix/sysv/linux/configure: Regenerated.
25771         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
25772         the linux/fanotify.h header.
25773         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
25774         HAVE_LINUX_FANOTIFY_H is defined.
25776 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25778         * benchtests/cos-inputs: New inputs.
25779         * benchtests/sin-inputs: Likewise.
25781         * benchtests/atan-inputs: New inputs. Fix name of multiple
25782         precision fallback inputs.
25784         * benchtests/atanh-inputs: New inputs.
25785         * benchtests/tanh-inputs: Likewise.
25787         * benchtests/acosh-inputs: New inputs.
25788         * benchtests/asinh-inputs: Likewise.
25790         * benchtests/cosh-inputs: New inputs.
25791         * benchtests/sinh-inputs: Likewise.
25793         * benchtests/acos-inputs: Add more inputs.
25794         * benchtests/asin-inputs: Likewise.
25796 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
25798         [BZ #16375]
25799         * manual/arith.texi: Fix spelling.
25800         * manual/charset.texi: Likewise.
25801         * manual/errno.texi: Likewise.
25802         * manual/filesys.texi: Likewise.
25803         * manual/lang.texi: Likewise.
25804         * manual/llio.texi: Likewise.
25805         * manual/locale.texi: Likewise.
25806         * manual/message.texi: Likewise.
25807         * manual/resource.texi: Likewise.
25808         * manual/search.texi: Likewise.
25809         * manual/setjmp.texi: Likewise.
25810         * manual/stdio.texi: Likewise.
25811         * manual/string.texi: Likewise.
25812         * manual/sysinfo.texi: Likewise.
25813         * manual/time.texi: Likewise.
25815 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
25817         * po/sl.po: New file.
25819 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
25821         * .gitignore: Add core/.gdbinit/.gdb_history.
25823 2013-12-27  Allan McRae  <allan@archlinux.org>
25825         [BZ #16369]
25826         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
25827         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
25829 2013-12-24  Brooks Moses  <bmoses@google.com>
25831         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
25832         all compilers that claim C++98 compliance, not just GCC.
25833         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
25834         Likewise.
25836 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
25838         * NEWS: Restore accidentally deleted bug-fix entries.
25840 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
25841             Ondřej Bílka  <neleai@seznam.cz>
25843         [BZ #15073]
25844         * malloc/malloc.c (_int_free): Perform sanity check only if we
25845         have_lock.
25847 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
25849         [BZ #12986]
25850         * manual/stdio.texi (String Input Conversions): Clarify that character
25851         classes are not supported.
25853 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25855         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25857 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
25859         [BZ #16337]
25860         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25861         Calculate results for small negative arguments directly rather
25862         than using reflection formula with special underflow handling.
25864         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
25865         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
25866         sysdeps/unix/bsd/bsd4.4/syscalls.list.
25867         (fchflags): Likewise.
25868         (revoke): Likewise.
25869         (setlogin): Likewise.
25870         (sigaltstack): Likewise.
25871         (wait4): Likewise.
25872         (sigblock): Remove.
25873         (sigsetmask): Likewise.
25874         (wait3): Likewise.
25875         (waitpid): Likewise.
25876         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
25877         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
25878         file.
25879         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
25880         * sysdeps/unix/bsd/Makefile: ... here.
25881         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
25882         * sysdeps/unix/bsd/Versions: ... here.
25883         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
25884         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
25885         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
25886         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
25887         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
25888         * sysdeps/unix/bsd/sigblock.c: ... here.
25889         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
25890         * sysdeps/unix/bsd/sigsetmask.c: ... here.
25891         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
25892         * sysdeps/unix/bsd/sigvec.c: ... here.
25893         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
25894         * sysdeps/unix/bsd/tcdrain.c: ... here.
25895         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
25896         * sysdeps/unix/bsd/tcgetattr.c: ... here.
25897         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
25898         * sysdeps/unix/bsd/tcsetattr.c: ... here.
25899         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
25900         * sysdeps/unix/bsd/wait.c: ... here.
25901         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
25902         * sysdeps/unix/bsd/wait3.c: ... here.
25903         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
25904         * sysdeps/unix/bsd/waitpid.c: ... here.
25906 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
25908         [BZ #16356]
25909         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
25910         round-to-nearest for [!USE_AS_EXPM1L].
25911         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
25912         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
25913         more tests of exp and exp10.  Expect some exp10 tests to miss
25914         exceptions or fail in directed rounding modes.
25915         * math/auto-libm-test-out: Regenerated.
25916         * math/libm-test.inc (exp10_tonearest_test_data): New array.
25917         (exp10_test_tonearest): New function.
25918         (exp10_towardzero_test_data): New array.
25919         (exp10_test_towardzero): New function.
25920         (exp10_downward_test_data): New array.
25921         (exp10_test_downward): New function.
25922         (exp10_upward_test_data): New array.
25923         (exp10_test_upward): New function.
25924         (main): Call the new functions.
25925         * sysdeps/i386/fpu/libm-test-ulps: Update.
25926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25928 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
25930         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25931         asinh, atan, atan2, atanh, cbrt, cos and cosh.
25932         * math/auto-libm-test-out: Regenerated.
25933         * math/libm-test.inc (acosh_test_data): Add more tests.
25934         (atanh_test_data): Likewise.
25935         (ceil_test_data): Likewise.
25936         (copysign_test_data): Likewise.
25937         * sysdeps/i386/fpu/libm-test-ulps: Update.
25938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25940         * timezone/checktab.awk: Update from tzcode 2013i.
25941         * timezone/private.h: Likewise.
25942         * timezone/scheck.c: Likewise.
25943         * timezone/tzfile.h: Likewise.
25944         * timezone/tzselect.ksh: Likewise.
25945         * timezone/zdump.c: Likewise.
25946         * timezone/zic.c: Likewise.
25948         * math/auto-libm-test-in: Add tests of cpow.
25949         * math/auto-libm-test-out: Regenerated.
25950         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
25951         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25952         mpc_cc_c.
25953         (func_calc_desc): Add mpc_cc_c union field.
25954         (test_functions): Add cpow.
25955         (special_fill_2pi): New function.
25956         (special_real_inputs): Add 2pi.
25957         (calc_generic_results): Handle mpc_cc_c.
25958         * sysdeps/i386/fpu/libm-test-ulps: Update.
25959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25961         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
25962         csqrt, ctan and ctanh.
25963         * math/auto-libm-test-out: Regenerated.
25964         * math/libm-test.inc (TEST_COND_x86_64): New macro.
25965         (TEST_COND_x86): Likewise.
25966         (ccos_test_data): Use AUTO_TESTS_c_c.
25967         (ccosh_test_data): Likewise.
25968         (cexp_test_data): Likewise.
25969         (clog_test_data): Likewise.
25970         (csqrt_test_data): Likewise.
25971         (ctan_test_data): Likewise.
25972         (ctan_tonearest_test_data): Likewise.
25973         (ctan_towardzero_test_data): Likewise.
25974         (ctan_downward_test_data): Likewise.
25975         (ctan_upward_test_data): Likewise.
25976         (ctanh_test_data): Likewise.
25977         (ctanh_tonearest_test_data): Likewise.
25978         (ctanh_towardzero_test_data): Likewise.
25979         (ctanh_downward_test_data): Likewise.
25980         (ctanh_upward_test_data): Likewise.
25981         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25982         mpc_c_c.
25983         (func_calc_desc): Add mpc_c_c union field.
25984         (FUNC_mpc_c_c): New macro.
25985         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
25986         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
25987         ctanh.
25988         (special_fill_min_subnorm_p120): New function.
25989         (special_real_inputs): Add min_subnorm_p120.
25990         (calc_generic_results): Handle mpc_c_c.
25991         * sysdeps/i386/fpu/libm-test-ulps: Update.
25992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25994 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25996         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
25997         (do_sin_slow): New functions.
25998         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
25999         (cslow2, csloww1, csloww2): Use the new functions.
26001         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
26002         Use M to change sign of result instead of X.  Assume X is
26003         positive.
26004         (csloww1): Likewise.
26005         (__sin): Adjust.
26006         (__cos): Adjust.
26008         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
26009         arguments A and DA.
26010         (__sin): Adjust.
26011         (__cos): Likewise.
26013         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
26014         (__cos): Likewise.
26015         (sloww1): Don't adjust sign of DX.
26016         (csloww1): Likewise.
26017         (sloww2): Use X directly and don't adjust sign of DX.
26018         (csloww2): Likewise.
26020 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26022         * math/auto-libm-test-in: Add tests of cabs and carg.
26023         * math/auto-libm-test-out: Regenerated.
26024         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
26025         (carg_test_data): Likewise.
26026         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26027         mpc_c_f.
26028         (func_calc_desc): Add mpc_c_f union field.
26029         (test_functions): Add cabs and carg.
26030         (calc_generic_results): Handle mpc_c_f.
26032         * sysdeps/powerpc/powerpc32/libgcc-compat.S
26033         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
26034         as a macro and a compat symbol.
26035         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26036         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26037         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26038         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26039         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
26040         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
26041         not use .hidden.
26042         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
26043         Likewise.
26044         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
26045         Likewise.
26046         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
26047         Likewise.
26048         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
26049         Likewise.
26050         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
26051         Likewise.
26052         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
26053         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
26054         from GLIBC_2.3.2.
26056 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26058         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26060 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26062         * manual/texinfo.tex: Update to version 2013-11-26.10 with
26063         trailing whitespace removed.
26064         * scripts/config.guess: Update to version 2013-11-29.
26065         * scripts/config.sub: Update to version 2013-10-01.
26067         * math/auto-libm-test-in: Add tests of sincos.
26068         * math/auto-libm-test-out: Regenerated.
26069         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
26070         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26071         mpfr_f_11.
26072         (func_calc_desc): Add mpfr_f_11 union field.
26073         (test_functions): Add sincos.
26074         (calc_generic_results): Handle mpfr_f_11.
26075         * sysdeps/i386/fpu/libm-test-ulps: Update.
26076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26078 2013-12-19  Andreas Schwab  <schwab@suse.de>
26080         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
26081         CALL_MCOUNT.
26082         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26083         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
26084         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
26086 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26088         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
26089         * sysdeps/i386/fpu/libm-test-ulps: Update.
26090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26092         [BZ #16293]
26093         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
26094         round-to-nearest mode when using frndint.
26095         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
26096         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26097         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26098         Likewise.
26099         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
26100         sinh test to fail.
26101         * math/auto-libm-test-out: Regenerated.
26102         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
26103         (TEST_COND_x86): Likewise.
26104         (expm1_tonearest_test_data): New array.
26105         (expm1_test_tonearest): New function.
26106         (expm1_towardzero_test_data): New array.
26107         (expm1_test_towardzero): New function.
26108         (expm1_downward_test_data): New array.
26109         (expm1_test_downward): New function.
26110         (expm1_upward_test_data): New array.
26111         (expm1_test_upward): New function.
26112         (main): Run the new test functions.
26113         * sysdeps/i386/fpu/libm-test-ulps: Update.
26114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26116         * include/features.h: Update comment documenting feature test
26117         macros.  Mention _DEFAULT_SOURCE in comment.
26118         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
26119         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
26120         _BSD_SOURCE and _SVID_SOURCE.
26121         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
26122         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
26123         !_SVID_SOURCE]: Likewise.
26124         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26125         (__USE_POSIX_IMPLICITLY): Define.
26126         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26127         (_POSIX_SOURCE): Undefine and redefine.
26128         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26129         (_POSIX_C_SOURCE): Likewise.
26130         * manual/creature.texi (_DEFAULT_SOURCE): Document.
26131         (Feature Test Macros): Update documentation of default features.
26133 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26135         * benchtests/Makefile: Add bench-strtok.
26136         * benchtests/bench-strtok.c: New file: strtok benchtest.
26138 2013-12-19  Allan McRae  <allan@archlinux.org>
26140         * manual/install.texi: Suppress menu for plain text output.
26141         * INSTALL: Regenerated.
26143 2013-12-18  Brooks Moses  <bmoses@google.com>
26145         [BZ #15846]
26146         * misc/getauxval.c: Include errno.h.
26147         (__getauxval): Set errno to ENOENT if the requested type is not
26148         found.
26149         * misc/sys/auxv.h (getauxval): Document that it may set errno;
26150         don't declare with __attribute_const__.
26151         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
26152         * manual/startup.texi: Document that getauxval sets errno.
26154 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26156         * math/auto-libm-test-in: Add tests of jn and yn.
26157         * math/auto-libm-test-out: Regenerated.
26158         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
26159         (yn_test_data): Likewise.
26160         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26161         mpfr_if_f.
26162         (func_calc_desc): Add mpfr_if_f union field.
26163         (FUNC_mpfr_if_f): New macro.
26164         (test_functions): Add jn and yn.
26165         (calc_generic_results): Assert type of second input for
26166         mpfr_ff_f.  Handle mpfr_if_f.
26167         (output_for_one_input_case): Disable all checking for arguments
26168         fitting floating-point types in case of an integer argument.
26169         * sysdeps/i386/fpu/libm-test-ulps: Update.
26170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26173         Don't expect fegetround reference in libm.so.
26175 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26177         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
26178         $(config-cflags-nofma).
26180 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26182         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
26183         * math/auto-libm-test-out: Regenerated.
26185         [BZ #16338]
26186         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
26187         to determine exponent and adjust argument to have exponent of -1.
26188         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
26189         log2.
26190         * math/auto-libm-test-out: Regenerated.
26191         * sysdeps/i386/fpu/libm-test-ulps: Update.
26192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26194 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
26196         * manual/probes.texi: Remove cases when per-thread arenas are
26197         disabled.
26199 2013-12-18  Andreas Schwab  <schwab@suse.de>
26201         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
26202         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
26203         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
26204         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
26205         * sysdeps/i386/i686/multiarch/Makefile: Update.
26206         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
26208 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26210         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
26211         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
26213 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
26215         [BZ #15968]
26216         Support TZ transition times < 00:00:00.
26217         This is needed for version-3 tz-format files; it supports time
26218         stamps past 2037 for America/Godthab (the only entry in the tz
26219         database for which this change is relevant).
26220         * manual/time.texi (TZ Variable): Document transition times
26221         from -167:59:59 through -00:00:01.
26222         * time/tzset.c (tz_rule): Time of day is now signed.
26223         (__tzset_parse_tz): Parse negative time of day.
26225         Document TZ transition times >= 25:00:00.
26226         * manual/time.texi (TZ Variable): Document transition times from
26227         25:00:00 through 167:59:59.  These are already supported, and this
26228         support will help with version-3 tz-format files.
26230         * manual/time.texi (TZ Variable): Modernize North America example
26231         to reflect current (i.e., 2007-and-later) daylight saving rules.
26233         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
26235 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26237         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
26238         * sysdeps/unix/bsd/bits/stat.h: Likewise.
26239         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
26240         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
26241         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
26242         * sysdeps/unix/bsd/bsdstat.h: Likewise.
26243         * sysdeps/unix/bsd/clock.c: Likewise.
26244         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
26245         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
26246         * sysdeps/unix/bsd/init-posix.c: Likewise.
26247         * sysdeps/unix/bsd/poll.c: Likewise.
26248         * sysdeps/unix/bsd/ptsname.c: Likewise.
26249         * sysdeps/unix/bsd/seekdir.c: Likewise.
26250         * sysdeps/unix/bsd/setegid.c: Likewise.
26251         * sysdeps/unix/bsd/seteuid.c: Likewise.
26252         * sysdeps/unix/bsd/setgid.c: Likewise.
26253         * sysdeps/unix/bsd/setrgid.c: Likewise.
26254         * sysdeps/unix/bsd/setruid.c: Likewise.
26255         * sysdeps/unix/bsd/setsid.c: Likewise.
26256         * sysdeps/unix/bsd/setuid.c: Likewise.
26257         * sysdeps/unix/bsd/sigaction.c: Likewise.
26258         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
26259         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
26260         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
26261         * sysdeps/unix/bsd/telldir.c: Likewise.
26262         * sysdeps/unix/bsd/times.c: Likewise.
26263         * sysdeps/unix/bsd/usleep.c: Likewise.
26265         * misc/Makefile (install-lib): Remove libbsd-compat.a.
26266         ($(objpfx)libbsd-compat.a): Remove rule.
26268         * include/features.h (__FAVOR_BSD): Do not define.
26269         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
26270         features conflicting with POSIX.
26271         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
26272         (_BSD_SOURCE): Remove description of not being a subset of other
26273         feature test macros.
26274         * manual/job.texi (getpgrp): Do not document BSD version.
26275         (getpgid): Do not document by reference to BSD getpgrp.
26276         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
26277         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
26278         * signal/signal.h [__FAVOR_BSD]: Likewise.
26279         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
26280         instead of making contents conditional on [__FAVOR_BSD].
26281         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
26283 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26285         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26287 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26289         [BZ #16314]
26290         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
26291         values below 2**-450, not 2**-500.
26292         * math/auto-libm-test-in: Don't allow spurious underflow from
26293         hypot.
26294         * math/auto-libm-test-out: Regenerated.
26296         [BZ #16316]
26297         [BZ #16330]
26298         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
26299         values of ha and hb and sort them after adjusting subnormal
26300         arguments.
26301         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
26302         Likewise.
26303         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
26304         values of ea and eb and sort them after adjusting subnormal
26305         arguments.
26306         * math/auto-libm-test-in: Do not expect some hypot tests of
26307         subnormals to fail.  Add more hypot tests.
26308         * math/auto-libm-test-out: Regenerated.
26310 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26312         [BZ #13304]
26313         * sysdeps/sh/s_fma.c: New file.
26314         * sysdeps/sh/s_fmaf.c: New file.
26315         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
26316         version.
26317         * sysdeps/sh/Implies: Add sh/soft-fp.
26319 2013-12-16  Roland McGrath  <roland@hack.frob.com>
26321         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
26322         level of indirection to members `objname', `errstring', `malloced'.
26323         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
26324         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
26325         it as the __longjmp argument (just pass 1 instead).
26326         (_dl_catch_error): Initialize C with argument pointers and address of
26327         volatile local ERRCODE rather than copying values out of C at return.
26329 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
26331         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
26332         * math/auto-libm-test-out: Regenerated.
26333         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
26334         (hypot_test_data): Likewise.
26335         (pow_test_data): Likewise.
26336         (pow_tonearest_test_data): Likewise.
26337         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26338         mpfr_ff_f.
26339         (func_calc_desc): Add mpfr_ff_f union field.
26340         (FUNC_mpfr_ff_f): New macro.
26341         (test_functions): Add atan2, hypot and pow.
26342         (special_fill_min): New function.
26343         (special_fill_minus_min): Likewise.
26344         (special_fill_min_subnorm): Likewise.
26345         (special_fill_minus_min_subnorm): Likewise.
26346         (special_real_inputs): Add min, -min, min_subnorm and
26347         -min_subnorm.
26348         (calc_generic_results): Handle mpfr_ff_f.
26349         * sysdeps/i386/fpu/libm-test-ulps: Update.
26350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26352 2013-12-16  Will Newton  <will.newton@linaro.org>
26354         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
26355         (Aligned Memory Blocks): Add documentation for aligned_alloc
26356         and suggest it as an alternative to posix_memalign.
26357         (Hooks for Malloc): Document __memalign_hook is also called
26358         for aligned_alloc.  (Summary of Malloc): Add summary for
26359         aligned alloc.  Document __memalign_hook is also called
26360         for aligned_alloc.
26362 2013-12-16  Will Newton  <will.newton@linaro.org>
26364         * manual/memory.texi (Malloc Examples): Clarify default
26365         alignment documentation.  Suggest posix_memalign rather
26366         than memalign or valloc.
26367         (Aligned Memory Blocks): Remove suggestion to use memalign
26368         or valloc.  Remove obsolete comment about BSD.
26369         Document memalign errno values and mark the function obsolete.
26370         Document posix_memalign returned error codes.  Mark valloc
26371         as obsolete.  (Hooks for Malloc): __memalign_hook is also
26372         called for posix_memalign and valloc.
26373         (Summary of Malloc): Add posix_memalign to function summary.
26374         __memalign_hook is also called for posix_memalign and valloc.
26376 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26378         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
26379         TAYLOR_SIN.
26380         (__sin): Adjust.
26381         (__cos): Likewise.
26382         (sloww): Use mynumber union.  Expand ternary operator into
26383         if-else statements.
26384         (cslow): use mynumber union.
26386 2013-12-16  Allan McRae  <allan@archlinux.org>
26388         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
26389         * configure: Regenerated.
26391         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
26393         [BZ #14120]
26394         * configure.ac: Added --enable-maintainer-mode. Check for
26395         autoconf when enabled.
26396         * configure: Regenerated.
26398         * nscd/nscd.service: New file.
26399         * nscd/nscd.tmpfiles: New file.
26401 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
26403         [BZ #12100]
26404         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
26405         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
26406         * sysdeps/x86_64/multiarch/strstr.c: ... here.
26407         (strstr): Add __strstr_sse2_unaligned ifunc.
26408         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
26409         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
26410         (strcasestr): Remove __strcasestr_sse42 ifunc.
26411         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
26412         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26413         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
26415 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26417         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
26418         * sysdeps/sh/bits/fenv.h: ... here.
26419         * sysdeps/sh/sh4/fpu/bits: Remove directory.
26421 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26423         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
26425         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
26426         hypotf multiarch implementations.
26427         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
26428         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
26429         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
26430         multiarch hypot for PPC64.
26431         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
26432         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
26433         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
26434         multiarch hypotf for PPC64.
26436         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
26437         modff multiarch implementations.
26438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
26439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
26440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
26441         multiarch modf for PPC64.
26442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
26443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
26444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
26445         multiarch modff for PPC64.
26447         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
26448         and logl multiarch implementations.
26449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
26450         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
26451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
26452         multiarch logb for PPC64.
26453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
26454         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
26455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
26456         multiarch logb for PPC64.
26457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
26458         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
26459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
26460         multiarch logb for PPC64.
26462         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
26463         isinff multiarch implementation.
26464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
26465         file.
26466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
26467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
26468         multiarch isinf for PPC64.
26469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
26470         file.
26471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
26472         multiarch isinff for PPC64.
26474         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
26475         finitef multiarch implementation.
26476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
26477         file.
26478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
26479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
26480         multiarch finite for PPC64.
26481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
26482         file.
26483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
26484         multiarch finitef for PPC64.
26486         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
26487         lrint multiarch implementation.
26488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
26489         file.
26490         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
26491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
26492         multiarch llrint for PPC64.
26493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
26494         multiarch lrint for PPC64.
26496         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
26497         copysignf multiarch implementation.
26498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
26499         file.
26500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
26501         file.
26502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
26503         multiarch copysign for PPC64.
26504         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
26505         multiarch copysignf for PPC64.
26507         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
26508         multiarch implementation.
26509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
26510         file.
26511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
26512         file.
26513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
26514         file.
26515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
26516         file.
26517         multiarch llround for PPC64.
26518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
26519         multiarch trunc for PPC64.
26520         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
26521         multiarch truncf for PPC64.
26523         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
26524         multiarch implementation.
26525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
26526         file.
26527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
26528         file.
26529         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
26530         file.
26531         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
26532         file.
26533         multiarch llround for PPC64.
26534         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
26535         multiarch round for PPC64.
26536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
26537         multiarch roundf for PPC64.
26539         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
26540         multiarch implementation.
26541         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
26542         file.
26543         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
26544         file.
26545         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
26546         file.
26547         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
26548         file.
26549         multiarch llround for PPC64.
26550         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
26551         multiarch floor for PPC64.
26552         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
26553         multiarch floorf for PPC64.
26555         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
26556         multiarch implementation.
26557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
26558         file.
26559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
26560         file.
26561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
26562         file.
26563         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
26564         file.
26565         multiarch llround for PPC64.
26566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
26567         multiarch ceil for PPC64.
26568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
26569         multiarch ceilf for PPC64.
26571         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
26572         multiarch implementation.
26573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
26574         file.
26575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
26576         file.
26577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
26578         file.
26579         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
26580         multiarch llround for PPC64.
26581         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
26582         multiarch lround for PPC64.
26584         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
26585         multiarch implementation.
26586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
26587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
26588         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
26589         file.
26590         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
26591         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
26592         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
26593         multiarch isnan for PPC64.
26594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
26595         multiarch isnanf for PPC64.
26597         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
26598         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
26599         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
26600         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
26601         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
26602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
26604         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
26605         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26606         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26607         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26609         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
26610         multiarch implementations.
26611         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26612         (__libc_ifunc_impl_list): Likewise.
26613         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
26614         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
26615         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
26616         multiarch stpcpy for PPC64.
26618         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
26619         multiarch implementations.
26620         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26621         (__libc_ifunc_impl_list): Likewise.
26622         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
26623         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
26624         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
26625         multiarch strcpy for PPC64.
26627         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
26628         redefine function name.
26629         (_wordcopy_fwd_dest_aligned): Likewise.
26630         (_wordcopy_bwd_aligned): Likewise.
26631         (_wordcopy_bwd_dest_aligned): Likewise.
26632         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
26633         multiarch implementations.
26634         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26635         (__libc_ifunc_impl_list): Likewise.
26636         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
26637         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
26638         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
26639         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
26640         multiarch wcscpy for PPC64.
26642         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
26643         multiarch implementations.
26644         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26645         (__libc_ifunc_impl_list): Likewise.
26646         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
26647         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
26648         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
26649         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
26650         multiarch wcscpy for PPC64.
26652         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
26653         multiarch implementations.
26654         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26655         (__libc_ifunc_impl_list): Likewise.
26656         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
26657         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
26658         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
26659         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
26660         multiarch wcsrchr for PPC64.
26662         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
26663         multiarch implementations.
26664         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26665         (__libc_ifunc_impl_list): Likewise.
26666         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
26667         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
26668         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
26669         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
26670         multiarch wcschr for PPC64.
26672         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
26673         multiarch implementations.
26674         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26675         (__libc_ifunc_impl_list): Likewise.
26676         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
26677         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
26678         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
26679         multiarch strchrnul for PPC64.
26681         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
26682         implementations.
26683         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26684         (__libc_ifunc_impl_list): Likewise.
26685         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
26686         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
26687         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
26688         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
26689         strchr for PPC64.
26691         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
26692         implementations.
26693         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26694         (__libc_ifunc_impl_list): Likewise.
26695         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
26696         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
26697         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
26698         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
26699         strncmp for PPC64.
26701         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
26702         multiarch implementations.
26703         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26704         (__libc_ifunc_impl_list): Likewise.
26705         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
26706         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
26707         strncasecmp for PPC64.
26708         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
26709         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
26710         multiarch strncasecmp_l for PPC64.
26712         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
26713         multiarch implementations.
26714         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26715         (__libc_ifunc_impl_list): Likewise.
26716         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
26717         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
26718         multiarch strcasecmp for PPC64.
26719         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
26720         file.
26721         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
26722         multiarch strcasecmp_l for PPC64.
26724         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
26725         implementations.
26726         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26727         (__libc_ifunc_impl_list): Likewise.
26728         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
26729         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
26730         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
26731         strnlen for PPC64.
26733         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
26734         implementations.
26735         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26736         (__libc_ifunc_impl_list): Likewise.
26737         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
26738         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
26739         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
26740         strlen for PPC64.
26742         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
26743         implementations.
26744         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26745         (__libc_ifunc_impl_list): Likewise.
26746         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
26747         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
26748         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
26749         rawmemrchr for PPC64.
26751         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
26752         implementation.
26753         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26754         (__libc_ifunc_impl_list): Likewise.
26755         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
26756         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
26757         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
26758         memrchr for PPC64.
26760         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
26761         implementation.
26762         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26763         (__libc_ifunc_impl_list): Likewise.
26764         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
26765         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
26766         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
26767         memchr for PPC64.
26769         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
26770         implementation.
26771         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26772         (__libc_ifunc_impl_list): Likewise.
26773         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
26774         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
26775         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
26776         mempcpy for PPC64.
26778         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
26779         avoid cretion of __bzero symbol.
26780         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
26781         Likewise.
26782         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
26783         Likewise.
26784         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
26785         Likewise.
26786         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
26787         multiarch implementations.
26788         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26789         (__libc_ifunc_impl_list): Likewise.
26790         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
26791         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
26792         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
26793         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
26794         bzero for PPC32.
26795         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
26796         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
26797         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
26798         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
26799         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
26800         memset for PPC64.
26801         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
26803         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
26804         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
26805         implementations.
26806         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26807         (__libc_ifunc_impl_list): Likewise.
26808         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
26809         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
26810         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
26811         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
26812         memcmp for PPC64.
26814         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
26815         multiarch for POWER/PPC64.
26816         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
26817         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
26818         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
26819         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
26820         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
26821         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
26822         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
26823         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
26824         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
26825         memcpy for PPC64.
26827         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
26828         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
26829         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
26830         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
26831         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
26832         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
26833         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
26834         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
26835         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
26836         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
26837         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
26838         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
26839         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
26840         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
26841         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
26842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
26843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
26844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
26845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
26846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
26847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
26848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
26850 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26852         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
26854 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26856         * benchtests/Makefile (bench): Add exp2 and log2.
26857         (LDLIBS-bench-exp2): Add -lm.
26858         (LDLIBS-bench-log2): Likewise.
26859         * benchtests/exp2-inputs: New inputs file.
26860         * benchtests/log2-inputs: New inputs file.
26861         * benchtests/log-inputs: Add new inputs.
26862         * benchtests/tan-inputs: Likewise.
26864 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26866         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
26867         definition...
26868         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
26869         (csloww2): ... from here.
26871         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
26872         instead of structures.
26873         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
26874         (POLYNOMIAL): Likewise.
26875         (TAYLOR_SLOW): Likewise.
26876         (__sin): Likewise.
26877         (__cos): Likewise.
26878         (slow1): Likewise.
26879         (slow2): Likewise.
26880         (sloww): Likewise.
26881         (sloww1); Likewise.
26882         (sloww2): Likewise.
26883         (bsloww1): Likewise.
26884         (bsloww2): Likewise.
26885         (cslow2): Likewise.
26886         (csloww): Likewise.
26887         (csloww1): Likewise.
26888         (csloww2): Likewise.
26890 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
26892         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
26893         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
26894         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
26895         * malloc/hooks.c (realloc_check): Likewise.
26897         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
26898         * malloc/arena.c: Remove PER_THREAD conditional.
26899         [!PER_THREAD]: Remove code.
26900         (ptmalloc_unlock_all2): Likewise.
26901         (ptmalloc_init): Likewise.
26902         (_int_new_arena): Likewise.
26903         (arena_get2): Likewise.
26904         * malloc/hooks.c (__malloc_get_state): Likewise.
26905         (__malloc_set_state): Likewise.
26906         * malloc/malloc.c: Likewise.
26907         (struct malloc_state): Likewise.
26908         (struct malloc_par): Likewise.
26909         (__libc_realloc): Likewise.
26910         (__libc_mallopt): Likewise.
26912 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26914         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
26916 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
26918         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
26919         macro to a function.  Check for zero perturb_byte.
26920         (_int_malloc, _int_free): Remove zero perturb_byte checks.
26922         * malloc/malloc.c: (force_reg): Remove.
26923         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
26924         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
26925         force_reg by atomic_forced_read.
26926         * malloc/arena.c (ptmalloc_init): Likewise.
26927         * malloc/hooks.c (top_check): Likewise.
26929 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26931         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26933 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
26935         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26937 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
26939         * math/auto-libm-test-in: Add tests of lgamma.
26940         * math/auto-libm-test-out: Regenerated.
26941         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
26942         (M_LOG_2_SQRT_PIl): Likewise.
26943         (lgamma_test_data): Use AUTO_TESTS_f_f1.
26944         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26945         mpfr_f_f1.
26946         (func_calc_desc): Add mpfr_f_f1 union field.
26947         (ARGS1): New macro.
26948         (ARGS2): Likewise.
26949         (ARGS3): Likewise.
26950         (ARGS4): Likewise.
26951         (RET1): Likewise.
26952         (RET2): Likewise.
26953         (CALC): Likewise.
26954         (FUNC): Likewise.
26955         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
26956         (test_functions): Add lgamma.
26957         (calc_generic_results): Handle mpfr_f_f1.
26958         * sysdeps/i386/fpu/libm-test-ulps: Update.
26959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26961 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26963         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
26964         __mpn_add_n for PowerPC64/POWER7.
26965         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
26966         __mpn_sub_n for PowerPC64/POWER7.
26968         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
26969         __mpn_addmul_1 for PowerPC64.
26970         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
26971         __mpn_submul_1 for PowerPC64.
26972         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
26973         for PowerPC64.
26974         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
26975         for PowerPC64.
26977 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
26979         [BZ #15089]
26980         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
26982 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26984         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
26986         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
26987         add multiarch folders.
26988         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
26989         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
26990         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
26991         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
26992         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
26993         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
26994         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
26995         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
26996         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
26997         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
26998         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
26999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
27000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
27001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
27002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
27003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
27004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
27006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27007         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
27008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
27009         New file.
27010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
27011         New file.
27012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
27013         multiarch __ieee754_hypot for PowerPC32.
27014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
27015         New file.
27016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
27017         New file.
27018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
27019         multiarch __ieee754_hypotf for PowerPC32.
27021         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
27022         long_double_symbol only if __logbl is defined.
27023         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
27024         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
27025         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
27026         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
27027         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
27028         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
27029         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
27030         path for implementation.
27031         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
27032         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
27033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
27034         logb, and logbl multiarch implementations for PowerPC32.
27035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
27036         file.
27037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
27038         file.
27039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
27040         multiarch logb for PowerPC32.
27041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
27042         file.
27043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
27044         file.
27045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
27046         multiarch logbf for PowerPC32.
27047         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
27048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
27049         file.
27050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
27051         multiarch logbl implementation for PowerPC32.
27053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
27054         and modff multiarch implementations.
27055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
27056         New file.
27057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
27058         New file.
27059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
27060         multiarch modf for PowerPC32.
27061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
27062         New file.
27063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
27064         New file.
27065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
27066         multiarch modff for PowerPC32.
27068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
27069         and lrintf multiarch implementations.
27070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
27071         New file.
27072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
27073         New file.
27074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
27075         multiarch lrint for PowerPC32.
27076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
27077         file: multiarch lrintf for PowerPC32.
27079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
27080         and lroundf multiarch implementations.
27081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
27082         New file.
27083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
27084         New file.
27085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
27086         New file.
27087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
27088         multiarch lround for PowerPC32.
27089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
27090         file: multiarch lroundf for PowerPC32.
27092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27093         copysign and copysignf multiarch implementations.
27094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
27095         New file.
27096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
27097         New file.
27098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
27099         file: multiarch copysign for PowerPC32.
27100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
27101         file: multiarch copysignf for PowerPC32.
27103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
27104         and truncf multiarch implementations.
27105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
27106         New file.
27107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
27108         file.
27109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
27110         multiarch trunc for PowerPC32.
27111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
27112         New file.
27113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
27114         New file.
27115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
27116         multiarch truncf for PowerPC32.
27118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
27119         and roundf multiarch implementations.
27120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
27121         New file.
27122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
27123         file.
27124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
27125         multiarch round for PowerPC32.
27126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
27127         New file.
27128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
27129         New file.
27130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
27131         multiarch roundf for PowerPC32.
27133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
27134         and floorf multiarch implementations.
27135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
27136         New file.
27137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
27138         file.
27139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
27140         multiarch floor for PowerPC32.
27141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
27142         New file.
27143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
27144         New file.
27145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
27146         multiarch floorf for PowerPC32.
27148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
27149         and ceilf multiarch implementations.
27150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
27151         New file.
27152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
27153         file.
27154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
27155         multiarch ceil for PowerPC32.
27156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
27157         New file.
27158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
27159         file.
27160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
27161         multiarch ceilf for PowerPC32.
27163         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
27164         is defined.
27165         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
27166         FINITEF is defined.
27167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
27168         and finitef multiarch implementations.
27169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
27170         New file.
27171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
27172         file.
27173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
27174         multiarch finite for PowerPC32.
27175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
27176         New file.
27177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
27178         file: multiarch finitef for PowerPC32.
27180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
27181         and isinff multiarch implementations.
27182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
27183         file.
27184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
27185         file.
27186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
27187         multiarch isinf for PowerPC32.
27188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
27189         New file.
27190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
27191         multiarch isinff for PowerPC32.
27193         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
27194         alias when __isnan is defined.
27195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
27196         and isnanf multiarch implementations.
27197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
27198         file.
27199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
27200         file.
27201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
27202         file.
27203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
27204         file.
27205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
27206         multiarch isnan for PowerPC32.
27207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
27208         New file.
27209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
27210         New file.
27211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
27212         multiarch isnanf for PowerPC32.
27214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
27215         and sqrtf multiarch implementations.
27216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
27217         file.
27218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
27219         file.
27220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
27221         multiarch sqrt for PowerPC32.
27222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
27223         file.
27224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
27225         file.
27226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
27227         multiarch sqrtf for PowerPC32.
27229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
27230         and llroundf multiarch implementations.
27231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
27232         New file.
27233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
27234         New file.
27235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
27236         New file.
27237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
27238         file: multiarch llround for PowerPC32.
27239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
27240         file: multiarch llroundf for PowerPC32.
27242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
27243         multiarch PowerPC32 fpu implementations.
27244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
27245         New file.
27246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
27247         New file.
27248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
27249         multiarch llrint for PowerPC32.
27250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
27251         New file.
27252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
27253         New file.
27254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
27255         file.
27257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
27259         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
27260         file.
27261         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
27262         file.
27263         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
27264         file.
27265         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
27266         multiarch wordcopy for PPC32.
27267         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27268         wordcopy objects.
27269         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27270         (__libc_ifunc_impl_list): Likewise.
27271         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
27272         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
27273         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
27274         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
27275         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
27276         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
27278         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
27279         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
27280         file.
27281         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
27282         file.
27283         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
27284         file.
27285         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
27286         multiarch wcscpy for PPC32.
27287         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27288         multiarch objects.
27289         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27290         (__libc_ifunc_impl_list): Likewise.
27291         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27292         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27293         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
27294         sysdeps/powerpc/power6/wcscpy.c.
27296         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
27297         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
27298         file.
27299         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
27300         file.
27301         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
27302         file.
27303         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
27304         multiarch wcsrchr for PPC32.
27305         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27306         multiarch objects.
27307         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27308         (__libc_ifunc_impl_list): Likewise.
27309         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27310         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27311         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
27312         sysdeps/powerpc/power6/wcsrchr.c.
27314         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
27315         file.
27316         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
27317         file.
27318         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
27319         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
27320         multiarch wcschr for PPc32.
27321         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27322         multiarch objects.
27323         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27324         (__libc_ifunc_impl_list): Likewise.
27325         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
27326         * sysdeps/powerpc/power6/wcschr.c: ... to here.
27327         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
27328         sysdeps/powerpc/power6/wcschr.c.
27330         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
27331         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
27332         file.
27333         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
27334         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
27335         file: multiarch strchr for PPC32.
27336         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
27337         multiarch objects.
27338         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27339         (__libc_ifunc_impl_list): Likewise.
27341         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
27342         name.
27343         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
27344         file.
27345         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
27346         file.
27347         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
27348         multiarch strchrnul for PPC32.
27349         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
27350         multiarch objects.
27351         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27352         (__libc_ifunc_impl_list): Likewise.
27354         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
27355         file.
27356         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
27357         multiarch strncasecmp for PPC32.
27358         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
27359         file.
27360         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
27361         multiarch strncasecmp_l for PPC32.
27362         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
27363         strncasecmp multiarch objects.
27364         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27365         (__libc_ifunc_impl_list): Likewise.
27367         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
27368         file.
27369         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
27370         multiarch strncasecmp for PPC32.
27371         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
27372         New file.
27373         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
27374         multiarch strcasecmp_l for PPC32.
27375         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
27376         multiarch objects.
27377         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27378         (__libc_ifunc_impl_list): Likewise.
27380         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
27381         file.
27382         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
27383         file.
27384         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
27385         multiarch strncmp for PPC32.
27386         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
27387         multiarch objects.
27388         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27389         (__libc_ifunc_impl_list): Likewise.
27391         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
27392         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
27393         file.
27394         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
27395         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
27396         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
27397         multiarch objects.
27398         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27399         (__libc_ifunc_impl_list): Likewise.
27401         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
27402         file.
27403         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
27404         file.
27405         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
27406         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
27407         multiarch objects.
27408         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27409         (__libc_ifunc_impl_list): Likewise.
27411         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
27412         file.
27413         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
27414         file.
27415         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
27416         multiarch rawmemchr for PPC32.
27417         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
27418         multiarch objects.
27419         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27420         (__libc_ifunc_impl_list): Likewise.
27422         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
27423         file.
27424         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
27425         file.
27426         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
27427         file: memrchr multiarch for PPC32.
27428         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
27429         multiarch objects.
27430         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27431         (__libc_ifunc_impl_list): Likewise.
27433         * string/memchr.c (__memchr): Using macro to redefine symbol name.
27434         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
27435         file.
27436         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
27437         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
27438         multiarch memchr for PPC32.
27439         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
27440         multiarch objects.
27441         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27442         (__libc_ifunc_impl_list): Likewise.
27444         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
27445         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
27446         file.
27447         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
27448         file.
27449         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
27450         file: multiarch mempcpy for PPC32.
27451         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
27452         multiarch objects.
27453         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27454         (__libc_ifunc_impl_list): Likewise.
27456         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
27457         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
27458         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
27459         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
27460         multiarch bzero for PPC32.
27461         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
27462         file.
27463         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
27464         file.
27465         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
27466         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
27467         file: multiarch memset for PPC32.
27468         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
27469         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
27470         memset multiarch objects.
27471         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27472         (__libc_ifunc_impl_list): Likewise.
27474         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
27475         file.
27476         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
27477         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
27478         memcmp for PPC32.
27479         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
27480         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
27481         multiarch objects.
27482         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27483         (__libc_ifunc_impl_list): Likewise.
27485         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
27486         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
27487         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
27488         file.
27489         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
27490         file.
27491         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
27492         file.
27493         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
27494         multiarch memcpy for PPC32.
27495         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
27496         multiarch objects.
27497         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27498         (__libc_ifunc_impl_list): Likewise.
27500         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
27501         support multiarch for POWER/PPC32.
27502         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
27503         Likewise.
27504         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
27505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
27506         Implies file to make multiarch folder appers before the fpu and
27507         default folder for power4 configuration.
27509 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
27511         * scripts/bench.pl: Append volatile keyword to type.
27513 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27515         * sysdeps/sh/sotruss-lib.c: New file.
27516         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
27518 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27520         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27522 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
27524         [BZ #6810]
27525         * math/w_tgamma.c: Include <errno.h>.
27526         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
27527         * math/w_tgammaf.c: Include <errno.h>.
27528         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
27529         * math/w_tgammal.c: Include <errno.h>.
27530         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
27531         * math/auto-libm-test-in: Do not allow missing errno on tgamma
27532         underflow.  Add more tgamma tests.
27533         * math/auto-libm-test-out: Regenerated.
27534         * sysdeps/i386/fpu/libm-test-ulps: Update.
27535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27537         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
27538         sin, sinh, tan, tanh, tgamma, y0 and y1.
27539         * math/auto-libm-test-out: Regenerated.
27540         * math/libm-test.inc (TEST_COND_x86_64): New macro.
27541         (TEST_COND_x86): Likewise.
27542         (M_E2l): Remove macro.
27543         (M_E3l): Likewise.
27544         (M_2_SQRT_PIl): Likewise.
27545         (M_SQRT_PIl): Likewise.
27546         (M_1_DIV_El): Likewise.
27547         (log_test_data): Use AUTO_TESTS_f_f.
27548         (log10_test_data): Likewise.
27549         (log1p_test_data): Likewise.
27550         (log2_test_data): Likewise.
27551         (sin_test_data): Likewise.
27552         (sin_tonearest_test_data): Likewise.
27553         (sin_towardzero_test_data): Likewise.
27554         (sin_downward_test_data): Likewise.
27555         (sin_upward_test_data): Likewise.
27556         (sinh_test_data): Likewise.
27557         (sinh_tonearest_test_data): Likewise.
27558         (sinh_towardzero_test_data): Likewise.
27559         (sinh_downward_test_data): Likewise.
27560         (sinh_upward_test_data): Likewise.
27561         (tan_test_data): Likewise.
27562         (tan_tonearest_test_data): Likewise.
27563         (tan_towardzero_test_data): Likewise.
27564         (tan_downward_test_data): Likewise.
27565         (tan_upward_test_data): Likewise.
27566         (tanh_test_data): Likewise.
27567         (tgamma_test_data): Likewise.
27568         (y0_test_data): Likewise.
27569         (y1_test_data): Likewise.
27570         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
27571         (special_real_inputs): Add pi/4.
27572         * sysdeps/i386/fpu/libm-test-ulps: Update.
27573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27575 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27577         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
27578         "longjmp_target" static probes.
27579         (__longjmp): Rename to __longjmp_symbol.
27580         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27581         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
27582         on which longjmp to generate.
27583         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27584         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
27585         probe.
27586         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27587         (__sigjmp_save): Rename to __sigjmp_save_symbol.
27588         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27589         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
27590         and __sigjmp_save_symbol based on which sigsetjmp to generated.
27591         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
27592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
27593         __longjmp_symbol based on which __longjmp to generate.
27594         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
27595         probe.
27596         (setjmp): Rename to setjmp_symbol.
27597         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27598         (_setjmp): Rename to _setjmp_symbol.
27599         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27600         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
27601         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
27602         which setjmp to generate.
27603         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
27604         "longjmp_target" static probes.
27606 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27608         * benchtests/README: Add note about output arguments.
27609         * benchtests/bench-sincos.c: Remove file.
27610         * benchtests/sincos-inputs: New file.
27611         * scripts/bench.pl: Identify output arguments and define
27612         static variables for them.
27614         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
27616         [BZ #15941]
27617         * Makefile (INSTALL): Add install-plain.texi as the primary
27618         dependency.
27619         * manual/install-plain.texi: New file.
27620         * manual/install.texi: Include node directive only for
27621         non-plaintext output.
27623 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
27625         * stdlib/longlong.h: Update from GCC.
27627         [BZ #6807]
27628         [BZ #15901]
27629         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
27630         * math/w_j0f.c (y0f): Likewise.
27631         * math/w_j0l.c (__y0l): Likewise.
27632         * math/w_j1.c (y1): Likewise.
27633         * math/w_j1f.c (y1f): Likewise.
27634         * math/w_j1l.c (__y1l): Likewise
27635         * math/w_jn.c (yn): Likewise.
27636         * math/w_jnf.c (ynf): Likewise.
27637         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
27638         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
27639         value for Bessel function domain errors outside _SVID_ mode.
27640         Adjust sign of return value for yn (negative integer, 0).
27641         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
27642         by zero in return for negative x and set sign appropriately for
27643         negative n.
27644         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
27645         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27646         * math/libm-test.inc (y0_test_data): Add more tests and adjust
27647         expectations in error cases.
27648         (y1_test_data): Likewise.
27649         (yn_test_data): Likewise.
27650         * sysdeps/i386/fpu/libm-test-ulps: Update.
27651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27653 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27655         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
27656         "64" to "64-v1".  Add "64-v2".
27657         (abi-64-options): Rename to ...
27658         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
27659         (abi-64-condition): Rename to ...
27660         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
27661         (abi-64-ld-soname): Rename to ...
27662         (abi-64-v1-ld-soname): ... this.
27663         (abi-64-v2-options): Define.
27664         (abi-64-v2-condition): Likewise.
27665         (abi-64-v2-ld-soname): Likewise.
27666         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
27667         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
27668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
27669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
27670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
27672 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27673             Alan Modra  <amodra@gmail.com>
27675         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
27676         New versions for use with the ELFv2 ABI.
27677         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
27678         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
27679         declaration.
27680         (struct La_ppc64v2_retval): Likewise.
27681         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
27682         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
27683         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
27684         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
27685         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
27686         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27687         Do not save or restore CR.
27688         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
27689         (_dl_profile_resolve): Do no save or restore CR.  Support extended
27690         return values for ELFv2 ABI.  Fix location of FPR return registers.
27691         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
27692         updated values for _CALL_ELF == 2.
27693         (La_regs, La_retval, int_retval): Likewise.
27695 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27697         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
27698         (FRAME_MIN_SIZE_PARM): Likewise.
27699         (FRAME_BACKCHAIN): Likewise.
27700         (FRAME_CR_SAVE): Likewise.
27701         (FRAME_LR_SAVE): Likewise.
27702         (FRAME_TOC_SAVE): Likewise.
27703         (FRAME_PARM_SAVE): Likewise.
27704         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
27705         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
27706         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27707         (call_mcount_parm_offset): New macro.
27708         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
27709         (PROF): Use symbolic stack frame offsets.
27710         (TAIL_CALL_SYSCALL_ERROR): Likewise.
27711         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
27712         Redefine in terms of FRAME_MIN_SIZE.
27713         (_dl_runtime_resolve): Use symbolic stack frame offsets.
27714         (_dl_profile_resolve): Likewise.  Update comment.
27715         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
27716         symbols stack frame offsets.
27717         (__sigsetjmp): Likewise.
27718         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
27719         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
27720         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
27721         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
27723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
27724         (FRAME_BACKCHAIN): Remove.
27725         (FRAME_CR_SAVE): Likewise.
27726         (FRAME_LR_SAVE): Likewise.
27727         (FRAME_COMPILER_DW): Likewise.
27728         (FRAME_LINKER_DW): Likewise.
27729         (FRAME_TOC_SAVE): Likewise.
27730         (FRAME_PARM_SAVE): Likewise.
27731         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
27732         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
27733         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
27735         (CHECK_SP): Use symbolic stack frame offsets.
27736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
27737         zone" instead of caller's parameter save area for temp storage.
27738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27739         Likewise.  Also, use symbolic stack frame offsets.
27740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
27741         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
27742         our own stack frame instead of the caller's.
27743         (__socket): Use symbolic stack frame offsets.
27745 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27746             Alan Modra  <amodra@gmail.com>
27748         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
27749         Define.
27750         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
27751         (PPC64_LOCAL_ENTRY_OFFSET): Define.
27752         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
27753         New function.
27754         (elf_machine_fixup_plt): Call it.
27755         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
27756         reloc arguments.
27757         (elf_machine_rela): Update call to elf_machine_plt_conflict.
27758         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27759         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
27760         r2 before calling target.
27762 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27763             Alan Modra  <amodra@gmail.com>
27765         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
27766         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
27767         versions of macros to support ELFv2 ABI.
27768         (LOCALENTRY): New macro.
27769         (ENTRY, EALIGN): Use it.
27770         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
27771         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
27772         fall through into ENTRY entry point.
27773         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
27774         Only define if _CALL_ELF != 2.
27776         (elf_machine_matches_host): Verify ABI version matches.
27777         (RTLD_START): Use LOCALENTRY.
27778         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
27779         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
27780         (PLT_ENTRY_WORDS): New macro.
27781         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
27782         (elf_machine_runtime_setup): Support ELFv2 ABI.
27783         (elf_machine_fixup_plt): Likewise.
27784         (elf_machine_plt_conflict): Likewise.
27785         (resolve_ifunc): Likewise.
27786         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
27787         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27788         Likewise.
27789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
27790         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
27791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27792         (makecontext): Support ELFv2 ABI.
27793         * elf/elf.h (EF_PPC64_ABI): Define.
27795 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27797         * sysdeps/powerpc/powerpc64/sysdep.h
27798         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
27799         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
27800         (ENTRY) [ASSEMBLER]: ... but instead here ...
27801         (EALIGN) [ASSEMBLER]: ... and here.
27802         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
27803         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
27804         (ENTRY_2) [!ASSEMBLER]: Use it.
27805         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
27806         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
27807         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27808         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
27809         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
27810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
27811         Use PPC64_LOAD_FUNCPTR.
27813         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
27815 2013-12-04  Alan Modra  <amodra@gmail.com>
27817         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
27818         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
27819         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
27820         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
27822         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
27823         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
27824         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
27825         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
27826         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
27827         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
27829 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27832         (__makecontext): Fix incorrect CFI when backtracing out of
27833         context created via makecontext.
27834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
27835         (__setcontext): Fix incorrect CFI during switch to new context.
27836         (__novec_setcontext): Likewise.
27838 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
27840         [BZ #4772]
27841         * time/strptime_l.c (__strptime_internal): Allow modifiers
27842         in strptime.
27843         * time/tst-strptime.c (day_tests): Add testcase.
27845 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27847         * scripts/bench.pl: Skip over blank lines.
27849 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
27851         [BZ #926]
27852         * manual/time.texi (Calendar Time): Clarify what timezone functions
27853         use.
27855 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27857         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27859 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
27861         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
27862         implementation.
27863         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
27864         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
27865         * debug/memset_chk.c (__memset_chk): Likewise.
27866         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
27867         * debug/strncpy_chk.c: Likewise.
27869 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
27871         [BZ #15268]
27872         [BZ #15425]
27873         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
27874         (__ieee754_exp): For possibly underflowing results, check size of
27875         result and force underflow exception if required.
27876         * math/auto-libm-test-in: Add more tests of exp.
27877         * math/auto-libm-test-out: Regenerated.
27878         * sysdeps/i386/fpu/libm-test-ulps: Update.
27879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27881         [BZ #16283]
27882         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
27883         * math/w_exp2f.c (__exp2f): Likewise.
27884         * math/w_exp2l.c (__exp2l): Likewise.
27885         * math/auto-libm-test-in: Do not allow missing errno on exp2
27886         underflow.
27887         * math/auto-libm-test-out: Regenerated.
27889 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
27891         [BZ #16274]
27892         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
27893         handle filename validation.
27894         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
27895         (do_open): Delete.
27897 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
27899         [BZ #6786]
27900         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
27901         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
27902         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
27903         <float.h>.
27904         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
27905         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
27906         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27907         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
27908         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27909         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
27910         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27911         * math/auto-libm-test-in: Don't allow missing errno from erfc.
27912         Add more erfc tests.
27913         * math/auto-libm-test-out: Regenerated.
27914         * sysdeps/i386/fpu/libm-test-ulps: Update.
27915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27917         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
27918         exp2, expm1, j0 and j1.
27919         * math/auto-libm-test-out: Regenerated.
27920         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
27921         (erfc_test_data): Likewise.
27922         (exp_test_data): Likewise.
27923         (exp_tonearest_test_data): Likewise.
27924         (exp_towardzero_test_data): Likewise.
27925         (exp_downward_test_data): Likewise.
27926         (exp_upward_test_data): Likewise.
27927         (exp10_test_data): Likewise.
27928         (exp2_test_data): Likewise.
27929         (expm1_test_data): Likewise.
27930         (j0_test_data): Likewise.
27931         (j1_test_data): Likewise.
27932         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
27933         (input_flag_type): Add flag_xfail_rounding.
27934         (input_flags): Add xfail-rounding.
27935         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
27936         (output_for_one_input_case): Handle flag_xfail_rounding.
27937         * sysdeps/i386/fpu/libm-test-ulps: Update.
27938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27940 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
27942         [BZ #16289]
27943         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
27944         division by 0.
27946 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
27948         [BZ #16195]
27949         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
27950         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
27951         (STAP_PROBE0): New macro.
27952         (STAP_PROBE1): Likewise.
27953         (STAP_PROBE2): Likewise.
27954         (STAP_PROBE3): Likewise.
27955         (STAP_PROBE4): Likewise.
27957 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
27959         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
27961 2013-12-02  Steve Ellcey  <sellcey@mips.com>
27963         * benchtests/Makefile (bench): Add sqrt.
27964         (LDLIBS-bench-sqrt): New.
27965         * benchtests/sqrt-input: New.
27967 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
27969         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
27970         (GAIH_EAI): Likewise.
27971         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
27972         (gaih_inet): Likewise.
27973         (getaddrinfo): Don't use GAIH_EAI.
27975         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
27976         (struct gaih): Remove definition.
27978 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27980         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
27981         Use HERRNOP directly.
27983 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27985         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27987 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
27989         * math/gen-auto-libm-tests.c (test_functions): Add more
27990         single-argument functions.
27991         (special_fill_pi_2): New function.
27992         (special_fill_minus_pi_2): Likewise.
27993         (special_fill_pi_6): Likewise.
27994         (special_fill_minus_pi_6): Likewise.
27995         (special_fill_pi_3): Likewise.
27996         (special_fill_2pi_3): Likewise.
27997         (special_fill_e): Likewise.
27998         (special_fill_1_e): Likewise.
27999         (special_fill_e_minus_1): Likewise.
28000         (special_real_inputs): Add more special inputs.
28001         (output_for_one_input_case): Do not require ERANGE on underflow to
28002         zero if round-to-nearest result does not underflow to zero, unless
28003         exact results required.
28004         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
28005         atan, atanh, cbrt, cos and cosh.
28006         * math/auto-libm-test-out: Regenerated.
28007         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
28008         (acos_tonearest_test_data): Likewise.
28009         (acos_towardzero_test_data): Likewise.
28010         (acos_downward_test_data): Likewise.
28011         (acos_upward_test_data): Likewise.
28012         (acosh_test_data): Likewise.
28013         (asin_test_data): Likewise.
28014         (asin_tonearest_test_data): Likewise.
28015         (asin_towardzero_test_data): Likewise.
28016         (asin_upward_test_data): Likewise.
28017         (asinh_test_data): Likewise.
28018         (atan_test_data): Likewise.
28019         (atanh_test_data): Likewise.
28020         (cbrt_test_data): Likewise.
28021         (cos_test_data): Likewise.
28022         (cos_tonearest_test_data): Likewise.
28023         (cos_towardzero_test_data): Likewise.
28024         (cos_downward_test_data): Likewise.
28025         (cos_upward_test_data): Likewise.
28026         (cosh_test_data): Likewise.
28027         (cosh_tonearest_test_data): Likewise.
28028         (cosh_towardzero_test_data): Likewise.
28029         (cosh_downward_test_data): Likewise.
28030         (cosh_upward_test_data): Likewise.
28031         * sysdeps/i386/fpu/libm-test-ulps: Update.
28032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28034 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
28036         [BZ #6787]
28037         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
28038         * math/w_exp10f.c (__exp10f): Likewise.
28039         * math/w_exp10l.c (__exp10l): Likewise.
28040         * math/libm-test.inc (exp10_test_data): Add more tests and expect
28041         errno settings in existing tests.
28043         [BZ #14032]
28044         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
28045         precision control set to double precision.
28046         * sysdeps/i386/fpu/w_sqrt.c: New file.
28047         * math/auto-libm-test-in: Add more tests.
28048         * math/auto-libm-test-out: Update.
28050         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
28051         (sqrt_test_tonearest): New function.
28052         (sqrt_towardzero_test_data): New variable.
28053         (sqrt_test_towardzero): New function.
28054         (sqrt_downward_test_data): New variable.
28055         (sqrt_test_downward): New function.
28056         (sqrt_upward_test_data): New variable.
28057         (sqrt_test_upward): New function.
28058         (main): Call the new functions.
28060         * math/gen-auto-libm-tests.c: New file.
28061         * math/auto-libm-test-in: Likewise.
28062         * math/auto-libm-test-out: New generated file.
28063         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
28064         variables.
28065         (%beautify): Add generated representations of zero.
28066         (top level): Set $auto_input and call parse_auto_input.
28067         (beautify): Remove trailing "f" from hex float constants.
28068         (parse_args): Handle XFAIL_TEST.
28069         (convert_condition): New function.
28070         (or_value): Likewise.
28071         (or_cond_value): Likewise.
28072         (generate_testfile): Handle AUTO_TESTS_* lines.
28073         (parse_auto_input): New function.
28074         * math/libm-test.inc (XFAIL_TEST): New macro.
28075         (ERRNO_UNCHANGED): Update value.
28076         (ERRNO_EDOM): Likewise.
28077         (ERRNO_ERANGE): Likewise.
28078         (IGNORE_RESULT): Likewise.
28079         (TEST_COND_flt_32): New macro.
28080         (TEST_COND_dbl_64): Likewise.
28081         (TEST_COND_ldbl_96_intel): Likewise.
28082         (TEST_COND_ldbl_96_m68k): Likewise.
28083         (TEST_COND_ldbl_128): Likewise.
28084         (TEST_COND_ldbl_128ibm): Likewise.
28085         (TEST_COND_long32): Likewise.
28086         (TEST_COND_long64): Likewise.
28087         (TEST_COND_before_rounding): Likewise.
28088         (TEST_COND_after_rounding): Likewise.
28089         (enable_test): Handle XFAIL_TEST flag.
28090         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
28091         with finite results.
28092         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
28093         auto-libm-test-out.
28095 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28096             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28098         [BZ #16214]
28099         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
28100         __tls_get_addr_internal instead of __tls_get_offset in order to
28101         avoid GOT pointer dependency.  Make rtld export
28102         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
28103         __tls_get_addr since we are a __tls_get_offset platform.
28104         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
28105         GOT pointer being set up before.
28106         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
28108 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
28110         * manual/math.texi (Errors in Math Functions): Document accuracy
28111         goals.
28113         [BZ #15004]
28114         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
28115         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
28116         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28117         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28118         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28119         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28120         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28121         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28122         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28123         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28124         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28125         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28126         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28127         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28128         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28129         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28131         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
28132         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
28133         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
28134         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
28135         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
28136         Likewise.
28137         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
28138         Likewise.
28139         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
28140         Likewise.
28141         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
28142         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
28143         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
28144         atomic-feupdateenv and flt-rounds.
28145         * sysdeps/powerpc/nofpu/Versions (libc): Add
28146         __atomic_feholdexcept, __atomic_feclearexcept,
28147         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
28148         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
28149         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
28150         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
28151         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
28152         here.
28153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
28154         Update.
28156         * manual/arith.texi (FP Exceptions): Document that exceptions may
28157         not be raised when matherr is used.
28158         (Math Error Reporting): Document overflow in directed rounding
28159         modes.  Document that errno may not be set when finite values are
28160         returned on overflow.  Document intent to set errno on underflow
28161         only for underflow to zero.
28163         [BZ #16271]
28164         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
28165         round-to-nearest then adjust result for other rounding modes.
28166         * include/fenv.h (fegetround): Use libm_hidden_proto.
28167         * math/fegetround.c (fegetround): Use libm_hidden_def.
28168         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
28169         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
28170         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28171         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
28172         Likewise.
28173         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
28174         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28175         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
28176         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
28178 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28180         [BZ #16077]
28181         * nss/Versions (libnss_files): Add
28182         _nss_files_gethostbyname3_r.
28183         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
28184         New function.
28185         (HOST_DB_LOOKUP): Remove macro.
28186         (_nss_files_gethostbyname_r): Implement function without the
28187         HOST_DB_LOOKUP macro.
28188         (_nss_files_gethostbyname2_r): Likewise.
28190 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
28192         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
28194 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
28196         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
28197         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
28198         warning.
28200 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28202         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
28203         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
28204         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
28205         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28206         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
28207         __fe_nomask_env_priv and attribute_hidden.
28208         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
28209         (libc_feupdateenv_test_ppc): Likewise.
28210         (libc_feresetround_ppc): Likewise.
28211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28212         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
28213         compat_symbol macro.
28214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28215         (__fe_nomask_env): Likewise.
28216         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
28218 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28220         * string/Makefile: Remove ifunc tests.
28221         * string/test-string.h: Define TEST_IFUNC.
28222         * string/test-bcopy-ifunc.c: Remove.
28223         * string/test-bzero-ifunc.c: Likewise.
28224         * string/test-memccpy-ifunc.c: Likewise.
28225         * string/test-memchr-ifunc.c: Likewise.
28226         * string/test-memcmp-ifunc.c: Likewise.
28227         * string/test-memcpy-ifunc.c: Likewise.
28228         * string/test-memmem-ifunc.c: Likewise.
28229         * string/test-memmove-ifunc.c: Likewise.
28230         * string/test-mempcpy-ifunc.c: Likewise.
28231         * string/test-memrchr-ifunc.c: Likewise.
28232         * string/test-memset-ifunc.c: Likewise.
28233         * string/test-rawmemchr-ifunc.c: Likewise.
28234         * string/test-stpcpy-ifunc.c: Likewise.
28235         * string/test-stpncpy-ifunc.c: Likewise.
28236         * string/test-strcasecmp-ifunc.c: Likewise.
28237         * string/test-strcasestr-ifunc.c: Likewise.
28238         * string/test-strcat-ifunc.c: Likewise.
28239         * string/test-strchr-ifunc.c: Likewise.
28240         * string/test-strchrnul-ifunc.c: Likewise.
28241         * string/test-strcmp-ifunc.c: Likewise.
28242         * string/test-strcpy-ifunc.c: Likewise.
28243         * string/test-strcspn-ifunc.c: Likewise.
28244         * string/test-strlen-ifunc.c: Likewise.
28245         * string/test-strncasecmp-ifunc.c: Likewise.
28246         * string/test-strncat-ifunc.c: Likewise.
28247         * string/test-strncmp-ifunc.c: Likewise.
28248         * string/test-strncpy-ifunc.c: Likewise.
28249         * string/test-strnlen-ifunc.c: Likewise.
28250         * string/test-strpbrk-ifunc.c: Likewise.
28251         * string/test-strrchr-ifunc.c: Likewise.
28252         * string/test-strspn-ifunc.c: Likewise.
28253         * string/test-strstr-ifunc.c: Likewise.
28255 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28257         * benchtests/Makefile: Remove ifunc tests.
28258         * benchtests/bench-string.h: Define TEST_IFUNC.
28259         * benchtests/bench-bcopy-ifunc.c: Remove.
28260         * benchtests/bench-bzero-ifunc.c: Likewise.
28261         * benchtests/bench-memccpy-ifunc.c: Likewise.
28262         * benchtests/bench-memchr-ifunc.c: Likewise.
28263         * benchtests/bench-memcmp-ifunc.c: Likewise.
28264         * benchtests/bench-memcpy-ifunc.c: Likewise.
28265         * benchtests/bench-memmem-ifunc.c: Likewise.
28266         * benchtests/bench-memmove-ifunc.c: Likewise.
28267         * benchtests/bench-mempcpy-ifunc.c: Likewise.
28268         * benchtests/bench-memrchr-ifunc.c: Likewise.
28269         * benchtests/bench-memset-ifunc.c: Likewise.
28270         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
28271         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
28272         * benchtests/bench-stpcpy-ifunc.c: Likewise.
28273         * benchtests/bench-stpncpy-ifunc.c: Likewise.
28274         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
28275         * benchtests/bench-strcasestr-ifunc.c: Likewise.
28276         * benchtests/bench-strcat-ifunc.c: Likewise.
28277         * benchtests/bench-strchr-ifunc.c: Likewise.
28278         * benchtests/bench-strchrnul-ifunc.c: Likewise.
28279         * benchtests/bench-strcmp-ifunc.c: Likewise.
28280         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
28281         * benchtests/bench-strcpy-ifunc.c: Likewise.
28282         * benchtests/bench-strcspn-ifunc.c: Likewise.
28283         * benchtests/bench-strlen-ifunc.c: Likewise.
28284         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
28285         * benchtests/bench-strncat-ifunc.c: Likewise.
28286         * benchtests/bench-strncmp-ifunc.c: Likewise.
28287         * benchtests/bench-strncpy-ifunc.c: Likewise.
28288         * benchtests/bench-strnlen-ifunc.c: Likewise.
28289         * benchtests/bench-strpbrk-ifunc.c: Likewise.
28290         * benchtests/bench-strrchr-ifunc.c: Likewise.
28291         * benchtests/bench-strsep-ifunc.c: Likewise.
28292         * benchtests/bench-strspn-ifunc.c: Likewise.
28293         * benchtests/bench-strstr-ifunc.c: Likewise.
28295 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28297         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
28299 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28301         * resolv/netdb.h: Use __glibc_reserved instead __unused.
28302         * rt/aio.h: Likewise.
28303         * sysdeps/gnu/bits/utmp.h: Likewise.
28304         * sysdeps/gnu/bits/utmpx.h: Likewise.
28305         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28306         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
28307         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
28308         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
28309         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
28310         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
28311         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
28312         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
28313         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
28314         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
28315         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
28316         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
28317         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
28318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
28319         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
28320         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
28321         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
28322         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
28323         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
28324         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
28325         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
28326         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
28327         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
28328         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28329         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
28330         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28331         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
28332         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
28333         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
28334         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
28335         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
28336         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
28337         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
28338         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
28339         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
28340         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
28341         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
28342         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
28343         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
28344         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
28345         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
28346         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
28348 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
28350         [BZ #16245]
28351         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
28352         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
28354 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
28356         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
28357         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
28358         Likewise.
28360 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28362         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
28363         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
28364         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
28365         (__fesetround): Remove define.
28366         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
28367         rounding and exceptions handling.
28368         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
28369         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
28370         (__fe_nomask_env): Likewise.
28371         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
28372         __fegetround instead of fegetround.
28373         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
28374         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
28376 2013-11-21  Roland McGrath  <roland@hack.frob.com>
28378         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
28379         it's there.
28381         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
28383 2013-11-21  Meador Inge  <meadori@codesourcery.com>
28385         [BZ #11157]
28386         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
28387         (encrypt_r): Likewise.
28388         * malloc/obstack.h (obstack_free): Likewise.
28389         * posix/unistd.h (encrypt): Likewise.
28391 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
28393         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
28394         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
28395         DL_CALL_DT_FINI() that call the functions directly.
28396         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
28397         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
28398         * elf/dl-fini.c: Likewise.
28400 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
28402         * malloc/hooks.c (memalign_check): Add alignment rounding.
28403         * malloc/malloc.c (_mid_memalign): New function.
28404         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
28405         Implement by calling _mid_memalign.
28406         * manual/probes.texi (Memory Allocation Probes): Remove
28407         memory_valloc_retry and memory_pvalloc_retry.
28409 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28411         * locale/programs/locarchive.c (open_archive): Add const
28412         qualifier to ARCHIVEFNAME and copy default fname to
28413         DEFAULT_FNAME.
28415         [BZ #15601]
28416         * libio/tst-widetext.input: Rename Oriya to Odia.
28417         * locale/iso-639.def: Likewise.
28419         * manual/probes.texi (Mathematical Function Probes): Add
28420         documentation for sin, cos, asin and acos probes.
28421         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
28422         (__sin32): Add slowasin probe.
28423         (__cos32): Add slowacos probe.
28424         (__mpsin): Add slowsin probe.
28425         (__mpcos): Add slowcos probe.
28427 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
28429         [BZ #15483]
28430         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
28431         thread-local __sim_exceptions_thread and global
28432         __sim_exceptions_global.
28433         (__sim_disabled_exceptions): Change to thread-local
28434         __sim_disabled_exceptions_thread and global
28435         __sim_disabled_exceptions_global.
28436         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
28437         and global __sim_round_mode_global.
28438         (__simulate_exceptions): Use thread-local floating-point state and
28439         set global state from it as needed.
28440         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
28441         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
28442         __sim_round_mode_thread.
28443         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
28444         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
28445         and global __sim_exceptions_global.
28446         (__sim_disabled_exceptions): Change to thread-local
28447         __sim_disabled_exceptions_thread and global
28448         __sim_disabled_exceptions_global.
28449         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
28450         and global __sim_round_mode_global.
28451         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
28452         (SIM_SET_GLOBAL): Likewise.
28453         * sysdeps/powerpc/soft-fp/sfp-machine.h
28454         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
28455         __sim_round_mode_thread.
28456         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
28457         __sim_disabled_exceptions_thread.
28458         (__sim_exceptions): Change to __sim_exceptions_thread.
28459         (__sim_disabled_exceptions): Change to
28460         __sim_disabled_exceptions_thread.
28461         (__sim_round_mode): Change to __sim_round_mode_thread.
28462         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
28463         thread-local floating-point state and set global state from it as
28464         needed.
28465         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
28466         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
28467         (__sim_disabled_exceptions): Remove extern declaration.
28468         (feenableexcept): Use thread-local floating-point state and set
28469         global state from it as needed.
28470         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
28471         extern declaration.
28472         (__sim_disabled_exceptions): Likewise.
28473         (__sim_round_mode): Likewise.
28474         (__fegetenv): Use thread-local floating-point state.
28475         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
28476         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28477         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
28478         floating-point state and set global state from it as needed.
28479         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
28480         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
28481         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
28482         Likewise.
28483         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
28484         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
28485         Likewise.
28486         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
28487         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
28488         Use __sim_round_mode_thread.
28489         * math/test-fenv-tls.c: New file.
28490         * math/Makefile (tests): Add test-fenv-tls.
28491         ($(objpfx)test-fenv-tls): Depend on
28492         $(common-objpfx)nptl/libpthread.so.
28494 2013-11-19  Andreas Schwab  <schwab@suse.de>
28496         * locale/programs/locale.c (show_info): Decode wordarray elements.
28497         * locale/categories.def (LC_MONETARY): Add element for
28498         _NL_MONETARY_CRNCYSTR.
28499         * locale/C-monetary.c (conversion_rate): New variable.
28500         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
28501         element.
28503 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
28505         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
28506         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
28508 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
28510         * elf/Makefile (tst-auxv): New test.
28511         * elf/tst-auxv.c: New
28512         * elf/rtld.c (dl_main): Adjust AT_EXECFN
28514 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
28516         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
28517         (hidden_proto): Caller changed.
28518         (hidden_tls_proto): New macro.
28519         (libc_hidden_tls_proto): Likewise.
28520         (rtld_hidden_tls_proto): Likewise.
28521         (libm_hidden_tls_proto): Likewise.
28522         (libresolv_hidden_tls_proto): Likewise.
28523         (librt_hidden_tls_proto): Likewise.
28524         (libdl_hidden_tls_proto): Likewise.
28525         (libnss_files_hidden_tls_proto): Likewise.
28526         (libnsl_hidden_tls_proto): Likewise.
28527         (libnss_nisplus_hidden_tls_proto): Likewise.
28528         (libutil_hidden_tls_proto): Likewise.
28530 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
28532         [BZ #10253]
28533         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
28534         (decompose_rpath): Defer expansion to fillin_rpath.
28535         (_dl_init_paths): Pass linkmap to fillin_rpath.
28537 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28539         * benchtests/Makefile: Add strsep.
28540         * benchtests/bench-strsep.c: New file: strsep benchtest.
28541         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
28543 2013-11-18  Andreas Schwab  <schwab@suse.de>
28545         * locale/programs/locale.c (show_info) [case byte]: Check for
28546         '\377' instead of '\177'.
28547         * locale/C-monetary.c (not_available): Always use "\377".
28548         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
28549         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
28550         detect unavailable sign_posn locale elements.
28551         * locale/localeconv.c (__localeconv): For grouping and
28552         mon_grouping handle "\177" and "\377" like no grouping.
28553         (INT_ELEM): New macro.  Use it to set all numeric members.
28554         * locale/programs/ld-monetary.c (monetary_read)
28555         <tok_mon_grouping>: Normalize single -1 to the empty string.
28556         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
28557         Likewise.
28559 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
28561         [BZ #16055]
28562         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
28563         when we match (nil).
28564         * stdio-common/tst-sscanf.c (struct test): Add testcase.
28566 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
28568         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
28569         (NO_TEST_INLINE): Update value.
28570         (ERRNO_UNCHANGED): Likewise.
28571         (ERRNO_EDOM): Likewise.
28572         (ERRNO_ERANGE): Likewise.
28573         (IGNORE_RESULT): Likewise.
28574         (check_float_internal): Check signs of NaN results if
28575         TEST_NAN_SIGN used.
28576         (check_complex): Pass TEST_NAN_SIGN flag through to second
28577         check_float_internal call.
28578         (copysign_test_data): Add tests with quiet NaNs as second
28579         argument.  Use TEST_NAN_SIGN.
28580         (fabs_test_data): Add test of negative quiet NaN argument.  Use
28581         TEST_NAN_SIGN.
28582         (signbit_test_data): Add tests of quiet NaN argument.
28583         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
28585         * math/gen-libm-test.pl (show_exceptions): Take extra argument
28586         $ignore_result.
28587         (parse_args): Handle function results specified as IGNORE.
28588         * math/libm-test.inc (IGNORE_RESULT): New macro.
28589         (check_float_internal): Do not check numerical result if flag
28590         IGNORE_RESULT set.
28591         (check_complex): Pass through IGNORE_RESULT to second
28592         check_float_internal call.
28593         (check_int): Do not check numerical result if flag IGNORE_RESULT
28594         set.
28595         (check_long): Likewise.
28596         (check_bool): Likewise.
28597         (check_longlong): Likewise.
28598         (lrint_test_data): Add tests of infinite and NaN arguments.
28599         (lrint_tonearest_test_data): Likewise.
28600         (lrint_towardzero_test_data): Likewise.
28601         (lrint_downward_test_data): Likewise.
28602         (lrint_upward_test_data): Likewise.
28603         (llrint_test_data): Likewise.
28604         (llrint_tonearest_test_data): Likewise.
28605         (llrint_towardzero_test_data): Likewise.
28606         (llrint_downward_test_data): Likewise.
28607         (llrint_upward_test_data): Likewise.
28608         (lround_test_data): Likewise.
28609         (llround_test_data): Likewise.
28611         * math/libm-test.inc (NO_TEST_INLINE): New macro.
28612         (ERRNO_UNCHANGED): Update value.
28613         (ERRNO_EDOM): Likewise.
28614         (ERRNO_ERANGE): Likewise.
28615         (NO_TEST_INLINE_FLOAT): New macro.
28616         (NO_TEST_INLINE_DOUBLE): Likewise.
28617         (enable_test): New function.
28618         (RUN_TEST_f_f): Check enable_test before running test.
28619         (RUN_TEST_2_f): Likewise.
28620         (RUN_TEST_fff_f): Likewise.
28621         (RUN_TEST_c_f): Likewise.
28622         (RUN_TEST_f_f1): Likewise.
28623         (RUN_TEST_fF_f1): Likewise.
28624         (RUN_TEST_fI_f1): Likewise.
28625         (RUN_TEST_ffI_f1): Likewise.
28626         (RUN_TEST_c_c): Likewise.
28627         (RUN_TEST_cc_c): Likewise.
28628         (RUN_TEST_f_i): Likewise.
28629         (RUN_TEST_f_i_tg): Likewise.
28630         (RUN_TEST_ff_i_tg): Likewise.
28631         (RUN_TEST_f_b): Likewise.
28632         (RUN_TEST_f_b_tg): Likewise.
28633         (RUN_TEST_f_l): Likewise.
28634         (RUN_TEST_f_L): Likewise.
28635         (RUN_TEST_fFF_11): Likewise.
28636         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
28637         conditionals.
28638         (cosh_test_data): Likewise.
28639         (exp_test_data): Likewise.
28640         (expm1_test_data): Likewise.
28641         (hypot_test_data): Likewise.
28642         (pow_test_data): Likewise.
28643         (sinh_test_data): Likewise.
28644         (tanh_test_data): Likewise.
28645         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
28646         flags argument.
28648         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
28649         tests with quiet NaN input and output.
28650         (acosh_test_data): Likewise.
28651         (asin_test_data): Likewise.
28652         (asinh_test_data): Likewise.
28653         (atan_test_data): Likewise.
28654         (atanh_test_data): Likewise.
28655         (atan2_test_data): Likewise.
28656         (cbrt_test_data): Likewise.
28657         (cos_test_data): Likewise.
28658         (cosh_test_data): Likewise.
28659         (erf_test_data): Likewise.
28660         (erfc_test_data): Likewise.
28661         (exp_test_data): Likewise.
28662         (exp10_test_data): Likewise.
28663         (exp2_test_data): Likewise.
28664         (expm1_test_data): Likewise.
28665         (hypot_test_data): Likewise.
28666         (j0_test_data): Likewise.
28667         (j1_test_data): Likewise.
28668         (jn_test_data): Likewise.
28669         (lgamma_test_data): Likewise.
28670         (log_test_data): Likewise.
28671         (log10_test_data): Likewise.
28672         (log1p_test_data): Likewise.
28673         (log2_test_data): Likewise.
28674         (pow_test_data): Likewise.
28675         (scalb_test_data): Likewise.
28676         (sin_test_data): Likewise.
28677         (sincos_test_data): Likewise.
28678         (sinh_test_data): Likewise.
28679         (tan_test_data): Likewise.
28680         (tanh_test_data): Likewise.
28681         (tgamma_test_data): Likewise.
28682         (y0_test_data): Likewise.
28683         (y1_test_data): Likewise.
28684         (yn_test_data): Likewise.
28686         [BZ #16167]
28687         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
28688         argument being NaN and avoid computations with second argument in
28689         that case.
28690         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28691         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
28692         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28694 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
28696         * locale/iso-639.def: Add Chitwani Tharu (the).
28698 2013-11-14  Andreas Schwab  <schwab@suse.de>
28700         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
28701         word instead of empty string.
28703 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28706         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
28707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28708         (__fe_nomask_env): Likewise.
28710 2013-11-13  Steve Ellcey  <sellcey@mips.com>
28712         * benchtests/bench-timing.h: Include time.h.
28714 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
28716         [BZ #15997]
28717         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
28718         to 3.4.0 for x32.
28719         * sysdeps/unix/sysv/linux/configure: Regenerated.
28721 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
28723         [BZ #16151]
28724         * stdlib/strtod_l.c (round_and_return): Do not consider
28725         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
28726         exponent one less than half the least subnormal exponent.
28727         * stdlib/test-strtod-round-data: Add more tests.
28728         * stdlib/tst-strtod-round.c (tests): Regenerated.
28730 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28732         [BZ #14143]
28733         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
28734         (__fe_mask_env): Likewise.
28735         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
28736         libm_hidden_proto and add function prototype.
28737         (__fe_mask_env): Add function prototype.
28738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28739         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
28740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28741         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
28742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28743         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
28745 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28747         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
28748         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
28750 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28752         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
28753         of htab_find_slot().
28755 2013-11-11  David S. Miller  <davem@davemloft.net>
28757         [BZ #16150]
28758         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
28759         symbol in the non-vis3 case in static builds.
28760         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
28761         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
28762         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
28763         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
28765 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
28767         [BZ #387]
28768         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
28769         it is empty.
28771 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28773         * benchtests/Makefile: Add bench-strtod.
28774         * benchtests/bench-strtod.c: New file: strtod benchtest
28776 2013-11-11  Andreas Schwab  <schwab@suse.de>
28778         [BZ #16153]
28779         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
28780         terminating NUL in key length.
28782 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28784         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
28785         Add artificial ODP entry for vDSO symbol for PPC64.
28786         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
28787         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
28789 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
28791         [BZ #15374]
28792         * nss/getent.c (services_keys): Recognize services starting with digit.
28794 2013-11-06  David S. Miller  <davem@davemloft.net>
28796         [BZ #15985]
28797         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
28798         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
28800 2013-11-06  Will Newton  <will.newton@linaro.org>
28802         * manual/memory.texi (Malloc Examples): Remove register
28803         keyword from examples.
28805 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
28807         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
28809 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
28811         [BZ #6981]
28812         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
28813         depending on [__GCC_IEC_559 > 0].
28814         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
28815         depending on [__GCC_IEC_559_COMPLEX > 0].
28817 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
28819         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
28820         to iso-639.def.
28822 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
28824         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
28826 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
28828         [BZ #16112]
28829         * malloc/malloc (malloc_info): Do not handle first bin as
28830         special case.
28832 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
28834         * locale/iso-639.def: Add Central Nahuatl (nhn).
28836 2013-11-01  Bruno Haible  <bruno@clisp.org>
28838         [BZ #7003]
28839         * manual/math.texi (BSD Random): Specify range upper bound as
28840         in POSIX.
28842 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
28844         * locale/iso-639.def: Add Meadow Mari (mhr).
28846 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
28848         [BZ #14752], [BZ #15763]
28849         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
28850         Validate name.
28851         * rt/tst_shm.c: Add test for escaping directory.
28853 2013-10-31  Andreas Schwab  <schwab@suse.de>
28855         [BZ #15917]
28856         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
28857         followed by 'x' as part of digit sequence.
28858         * stdio-common/tst-sscanf.c (double_tests2): New tests.
28860 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
28862         [BZ #16037]
28863         * configure.ac: allow GNU Make 4.0 and greater.
28864         * configure: Regenerated.
28866 2013-10-30  Will Newton  <will.newton@linaro.org>
28868         [BZ #16038]
28869         * malloc/hooks.c (memalign_check): Limit alignment to the
28870         maximum representable power of two.
28871         * malloc/malloc.c (__libc_memalign): Likewise.
28872         * malloc/tst-memalign.c (do_test): Add test for very
28873         large alignment values.
28874         * malloc/tst-posix_memalign.c (do_test): Likewise.
28876 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
28878         [BZ #11087]
28879         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
28880         (munmap_chunk): Likewise.
28881         (mremap_chunk): Likewise.
28883 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
28885         [BZ #15799]
28886         * stdlib/div.c (div): Remove obsolete code.
28887         * stdlib/ldiv.c (ldiv): Likewise.
28888         * stdlib/lldiv.c (lldiv): Likewise.
28890 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28892         [BZ #16071]
28893         * nss/nss_files/files-XXX.c (get_contents_ret): New
28894         enumerator.
28895         (get_contents): New function.
28896         (internal_getent): Use it.  Expand size of LINEBUFLEN.
28898 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
28900         * configure.in: Moved to ...
28901         * configure.ac: ... here. Change reference to configure.in
28902         to configure.ac.
28903         * sysdeps/arm/preconfigure.ac: ... here.
28904         configure.in to configure.ac.
28905         * sysdeps/gnu/configure.in: Moved to ...
28906         * sysdeps/gnu/configure.ac: ... here.
28907         * sysdeps/i386/configure.in: Moved to ...
28908         * sysdeps/i386/configure.ac: ... here.
28909         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
28910         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
28911         * sysdeps/mach/configure.in: Moved to ...
28912         * sysdeps/mach/configure.ac: ... here.
28913         * sysdeps/mach/hurd/configure.in: Moved to ...
28914         * sysdeps/mach/hurd/configure.ac: ... here.
28915         * sysdeps/powerpc/configure.in: Moved to ...
28916         * sysdeps/powerpc/configure.ac: ... here.
28917         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
28918         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
28919         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
28920         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
28921         * sysdeps/s390/s390-32/configure.in: Moved to ...
28922         * sysdeps/s390/s390-32/configure.ac: ... here.
28923         * sysdeps/s390/s390-64/configure.in: Moved to ...
28924         * sysdeps/s390/s390-64/configure.ac: ... here.
28925         * sysdeps/sh/configure.in: Moved to ...
28926         * sysdeps/sh/configure.ac: ... here.
28927         * sysdeps/sparc/configure.in: Moved to ...
28928         * sysdeps/sparc/configure.ac: ... here.
28929         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
28930         * sysdeps/unix/sysv/linux/configure.ac: ... here.
28931         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
28932         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
28933         * sysdeps/x86_64/configure.in: Moved to ...
28934         * sysdeps/x86_64/configure.ac: ... here.
28935         * sysdeps/x86_64/preconfigure.in: Moved to ...
28936         * sysdeps/x86_64/preconfigure.ac: ... here.
28937         * aclocal.m4: Change reference to configure.in to configure.ac.
28938         * config.h.in: Likewise.
28939         * manual/install.texi: Likewise.
28940         * manual/maint.texi: Likewise.
28941         * Makefile: Likewise.
28942         * malloc/Makefile: Likewise.
28943         * nscd/Makefile: Likewise.
28944         * Makeconfig: Change reference to configure.in and
28945         preconfigure.in to configure.ac and preconfigure.ac
28946         respectively.
28947         * INSTALL: Regenerated.
28948         * configure: Likewise.
28949         * sysdeps/gnu/configure: Likewise.
28950         * sysdeps/i386/configure: Likewise.
28951         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
28952         * sysdeps/mach/configure: Likewise.
28953         * sysdeps/mach/hurd/configure: Likewise.
28954         * sysdeps/powerpc/configure: Likewise.
28955         * sysdeps/powerpc/powerpc32/configure: Likewise.
28956         * sysdeps/powerpc/powerpc64/configure: Likewise.
28957         * sysdeps/s390/s390-32/configure: Likewise.
28958         * sysdeps/s390/s390-64/configure: Likewise.
28959         * sysdeps/sh/configure: Likewise.
28960         * sysdeps/sparc/configure: Likewise.
28961         * sysdeps/unix/sysv/linux/configure: Likewise.
28962         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
28963         * sysdeps/x86_64/configure: Likewise.
28964         * sysdeps/x86_64/preconfigure: Likewise.
28966 2013-10-29  Andreas Schwab  <schwab@suse.de>
28968         * stdio-common/Makefile (tst-swscanf-ENV): Define.
28970 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28972         * benchtests/pow-inputs: Add new inputs.
28974         * benchtests/exp-inputs: Add new inputs.
28976         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
28977         conditional check for return value.
28978         (__cos32): Likewise.
28980 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28982         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
28983         to provide a boost for large inputs with word alignment.
28984         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
28985         implementation based on optimized PPC64 strcpy.
28986         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
28987         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
28988         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
28989         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
28991 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
28993         [BZ #2801]
28994         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
28996 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
28998         [BZ #14876]
28999         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
29000         * time/tst-strptime.c (day_tests): Add testcase.
29002 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29004         [BZ #14029]
29005         * manual/pattern.texi: Acknowledge that fnmatch can fail.
29007 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
29009         [BZ #16074]
29010         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
29011         MAP_FAILED on error.
29013 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29015         [BZ #16072]
29016         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
29017         heap for large requests.
29019 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
29021         [BZ #9954]
29022         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
29023         result if the result has no associated interface.
29024         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
29025         interface for all 127.X.Y.Z addresses.
29027 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
29029         * locale/iso-639.def: Add Ligurian (lij)
29031 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
29033         [BZ #15825]
29034         * sunrpc/rpc_main.c: Document rpcgen -5.
29036 2013-10-19  Michael Stahl  <mstahl@redhat.com>
29038         * elf/rtld.c (do_preload): Print the reason why preloading failed.
29040 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29042         [BZ #10278]
29043         * posix/glob.c: Match only directories when trailing slash is present.
29044         * posix/tst-gnuglob.c (my_opendir): Do not open files.
29045         (main): Add testcase.
29047 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29049         [BZ #15670]
29050         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
29052 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
29054         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
29055         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
29056         AUTH_DES and cindex for FIPS 140-2.
29057         (DES Encryption): Add cindex FIPS 46-3.
29059         * locale/locarchive.h (struct locarhandle): Add fname.
29060         * locale/programs/localedef.c (main): Pass ARGV[remaining]
29061         if an optional argument was specified to --list-archive,
29062         otherwise NULL.
29063         * locale/programs/locarchive.c (show_archive_content): Take new
29064         argument fname and pass it via ah.fname to open_archive.
29065         * locale/programs/localedef.h: Update decl.
29066         (open_archive): If AH->fname is non-null, open that file
29067         rather than the default file name, and don't ignore ENOENT.
29068         (create_archive): Set AH.fname to NULL.
29069         (delete_locales_from_archive): Likewise.
29070         (add_locales_to_archive): Likewise.
29071         * locale/programs/locfile.c (write_all_categories): Likewise.
29073 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
29074             Aldy Hernandez  <aldyh@redhat.com>
29076         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
29077         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
29078         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
29079         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
29080         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
29081         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
29082         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
29083         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
29084         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
29085         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
29086         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
29087         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
29088         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
29089         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
29090         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
29091         Likewise.
29092         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
29093         Likewise.
29094         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
29095         Likewise.
29096         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
29097         Likewise.
29098         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
29099         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
29100         Likewise.
29101         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
29102         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
29103         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
29104         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
29105         Likewise.
29106         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
29107         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
29108         * sysdeps/powerpc/preconfigure: Likewise.
29109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
29110         Likewise.
29111         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
29112         Replace contents of file by #include of <fenv_libc.h>.
29113         * sysdeps/powerpc/soft-fp/sfp-machine.h
29114         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
29115         and <sys/prctl.h>.
29116         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
29117         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
29118         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
29119         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
29120         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
29121         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
29122         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
29123         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
29124         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
29125         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
29126         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
29127         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
29128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29129         Allow copysignl PLT reference to be missing.
29131 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
29132             Joseph Myers  <joseph@codesourcery.com
29134         [BZ #15948]
29135         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
29136         single character.
29137         (add_to_tablewc): Assert sequence of wide characters is nonempty.
29139 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29141         * elf/tst-tls-dlinfo.c: Don't include tls.h.
29142         * elf/tst-tls1.c: Likewise.
29143         * elf/tst-tls10.h: Likewise.
29144         * elf/tst-tls14.c: Likewise.
29145         * elf/tst-tls2.c: Likewise.
29146         * elf/tst-tls3.c: Likewise.
29147         * elf/tst-tls4.c: Likewise.
29148         * elf/tst-tls5.c: Likewise.
29149         * elf/tst-tls6.c: Likewise.
29150         * elf/tst-tls7.c: Likewise.
29151         * elf/tst-tls8.c: Likewise.
29152         * elf/tst-tls9.c: Likewise.
29153         * elf/tst-tlsmod1.c: Likewise.
29154         * elf/tst-tlsmod13.c: Likewise.
29155         * elf/tst-tlsmod13a.c: Likewise.
29156         * elf/tst-tlsmod14a.c: Likewise.
29157         * elf/tst-tlsmod16a.c: Likewise.
29158         * elf/tst-tlsmod16b.c: Likewise.
29159         * elf/tst-tlsmod2.c: Likewise.
29160         * elf/tst-tlsmod3.c: Likewise.
29161         * elf/tst-tlsmod4.c: Likewise.
29162         * elf/tst-tlsmod5.c: Likewise.
29163         * elf/tst-tlsmod6.c: Likewise.
29165 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
29167         [BZ #12486]
29168         * malloc/malloc.c: remove checks for statistics.
29170 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29172         [BZ #15277]
29173         * inet/inet_net.c (inet_network): Detect additional invalid strings.
29174         * inet/tst-network.c: Add testcase.
29176 2013-10-17  Andreas Schwab  <schwab@suse.de>
29178         [BZ #15218]
29179         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
29180         to determine canonical name.
29182 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29184         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
29185         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
29186         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29187         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29188         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29189         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29190         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29191         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29192         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29193         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29194         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
29195         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29196         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29197         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29198         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29199         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29200         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29201         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29202         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29203         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29204         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29205         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29206         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29207         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
29208         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
29209         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29210         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29211         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
29212         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29213         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
29214         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29215         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29216         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29217         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29218         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29219         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29220         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29221         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29222         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29223         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29224         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29225         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29226         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29227         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29228         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29229         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29230         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29231         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29232         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29233         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29234         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29235         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29236         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29237         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29238         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29239         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29240         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29241         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29243 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
29245         [BZ #16041]
29246         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
29247         make result into a quiet NaN.
29249 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
29251         * soft-fp/adddf3.c: Fix horizontal whitespace.
29252         * soft-fp/addsf3.c: Likewise.
29253         * soft-fp/addtf3.c: Likewise.
29254         * soft-fp/divdf3.c: Likewise.
29255         * soft-fp/divsf3.c: Likewise.
29256         * soft-fp/divtf3.c: Likewise.
29257         * soft-fp/double.h: Likewise.
29258         * soft-fp/eqdf2.c: Likewise.
29259         * soft-fp/eqsf2.c: Likewise.
29260         * soft-fp/eqtf2.c: Likewise.
29261         * soft-fp/extenddftf2.c: Likewise.
29262         * soft-fp/extended.h: Likewise.
29263         * soft-fp/extendsfdf2.c: Likewise.
29264         * soft-fp/extendsftf2.c: Likewise.
29265         * soft-fp/extendxftf2.c: Likewise.
29266         * soft-fp/fixdfdi.c: Likewise.
29267         * soft-fp/fixdfsi.c: Likewise.
29268         * soft-fp/fixdfti.c: Likewise.
29269         * soft-fp/fixsfdi.c: Likewise.
29270         * soft-fp/fixsfsi.c: Likewise.
29271         * soft-fp/fixsfti.c: Likewise.
29272         * soft-fp/fixtfdi.c: Likewise.
29273         * soft-fp/fixtfsi.c: Likewise.
29274         * soft-fp/fixtfti.c: Likewise.
29275         * soft-fp/fixunsdfdi.c: Likewise.
29276         * soft-fp/fixunsdfsi.c: Likewise.
29277         * soft-fp/fixunsdfti.c: Likewise.
29278         * soft-fp/fixunssfdi.c: Likewise.
29279         * soft-fp/fixunssfsi.c: Likewise.
29280         * soft-fp/fixunssfti.c: Likewise.
29281         * soft-fp/fixunstfdi.c: Likewise.
29282         * soft-fp/fixunstfsi.c: Likewise.
29283         * soft-fp/fixunstfti.c: Likewise.
29284         * soft-fp/floatdidf.c: Likewise.
29285         * soft-fp/floatdisf.c: Likewise.
29286         * soft-fp/floatditf.c: Likewise.
29287         * soft-fp/floatsidf.c: Likewise.
29288         * soft-fp/floatsisf.c: Likewise.
29289         * soft-fp/floatsitf.c: Likewise.
29290         * soft-fp/floattidf.c: Likewise.
29291         * soft-fp/floattisf.c: Likewise.
29292         * soft-fp/floattitf.c: Likewise.
29293         * soft-fp/floatundidf.c: Likewise.
29294         * soft-fp/floatundisf.c: Likewise.
29295         * soft-fp/floatunditf.c: Likewise.
29296         * soft-fp/floatunsidf.c: Likewise.
29297         * soft-fp/floatunsisf.c: Likewise.
29298         * soft-fp/floatunsitf.c: Likewise.
29299         * soft-fp/floatuntidf.c: Likewise.
29300         * soft-fp/floatuntisf.c: Likewise.
29301         * soft-fp/floatuntitf.c: Likewise.
29302         * soft-fp/fmadf4.c: Likewise.
29303         * soft-fp/fmasf4.c: Likewise.
29304         * soft-fp/fmatf4.c: Likewise.
29305         * soft-fp/gedf2.c: Likewise.
29306         * soft-fp/gesf2.c: Likewise.
29307         * soft-fp/getf2.c: Likewise.
29308         * soft-fp/ledf2.c: Likewise.
29309         * soft-fp/lesf2.c: Likewise.
29310         * soft-fp/letf2.c: Likewise.
29311         * soft-fp/muldf3.c: Likewise.
29312         * soft-fp/mulsf3.c: Likewise.
29313         * soft-fp/multf3.c: Likewise.
29314         * soft-fp/negdf2.c: Likewise.
29315         * soft-fp/negsf2.c: Likewise.
29316         * soft-fp/negtf2.c: Likewise.
29317         * soft-fp/op-1.h: Likewise.
29318         * soft-fp/op-2.h: Likewise.
29319         * soft-fp/op-4.h: Likewise.
29320         * soft-fp/op-8.h: Likewise.
29321         * soft-fp/op-common.h: Likewise.
29322         * soft-fp/quad.h: Likewise.
29323         * soft-fp/single.h: Likewise.
29324         * soft-fp/soft-fp.h: Likewise.
29325         * soft-fp/sqrtdf2.c: Likewise.
29326         * soft-fp/sqrtsf2.c: Likewise.
29327         * soft-fp/sqrttf2.c: Likewise.
29328         * soft-fp/subdf3.c: Likewise.
29329         * soft-fp/subsf3.c: Likewise.
29330         * soft-fp/subtf3.c: Likewise.
29331         * soft-fp/truncdfsf2.c: Likewise.
29332         * soft-fp/trunctfdf2.c: Likewise.
29333         * soft-fp/trunctfsf2.c: Likewise.
29334         * soft-fp/trunctfxf2.c: Likewise.
29335         * soft-fp/unorddf2.c: Likewise.
29336         * soft-fp/unordsf2.c: Likewise.
29337         * soft-fp/unordtf2.c: Likewise.
29339 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
29341         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
29342         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
29344 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
29346         * elf/dl-libc.c: Clear initfini list after freeing.
29348 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
29350         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
29351         * soft-fp/addsf3.c: Likewise.
29352         * soft-fp/addtf3.c: Likewise.
29353         * soft-fp/divdf3.c: Likewise.
29354         * soft-fp/divsf3.c: Likewise.
29355         * soft-fp/divtf3.c: Likewise.
29356         * soft-fp/double.h: Likewise.
29357         * soft-fp/eqdf2.c: Likewise.
29358         * soft-fp/eqsf2.c: Likewise.
29359         * soft-fp/eqtf2.c: Likewise.
29360         * soft-fp/extenddftf2.c: Likewise.
29361         * soft-fp/extended.h: Likewise.
29362         * soft-fp/extendsfdf2.c: Likewise.
29363         * soft-fp/extendsftf2.c: Likewise.
29364         * soft-fp/extendxftf2.c: Likewise.
29365         * soft-fp/fixdfdi.c: Likewise.
29366         * soft-fp/fixdfsi.c: Likewise.
29367         * soft-fp/fixdfti.c: Likewise.
29368         * soft-fp/fixsfdi.c: Likewise.
29369         * soft-fp/fixsfsi.c: Likewise.
29370         * soft-fp/fixsfti.c: Likewise.
29371         * soft-fp/fixtfdi.c: Likewise.
29372         * soft-fp/fixtfsi.c: Likewise.
29373         * soft-fp/fixtfti.c: Likewise.
29374         * soft-fp/fixunsdfdi.c: Likewise.
29375         * soft-fp/fixunsdfsi.c: Likewise.
29376         * soft-fp/fixunsdfti.c: Likewise.
29377         * soft-fp/fixunssfdi.c: Likewise.
29378         * soft-fp/fixunssfsi.c: Likewise.
29379         * soft-fp/fixunssfti.c: Likewise.
29380         * soft-fp/fixunstfdi.c: Likewise.
29381         * soft-fp/fixunstfsi.c: Likewise.
29382         * soft-fp/fixunstfti.c: Likewise.
29383         * soft-fp/floatdidf.c: Likewise.
29384         * soft-fp/floatdisf.c: Likewise.
29385         * soft-fp/floatditf.c: Likewise.
29386         * soft-fp/floatsidf.c: Likewise.
29387         * soft-fp/floatsisf.c: Likewise.
29388         * soft-fp/floatsitf.c: Likewise.
29389         * soft-fp/floattidf.c: Likewise.
29390         * soft-fp/floattisf.c: Likewise.
29391         * soft-fp/floattitf.c: Likewise.
29392         * soft-fp/floatundidf.c: Likewise.
29393         * soft-fp/floatundisf.c: Likewise.
29394         * soft-fp/floatunsidf.c: Likewise.
29395         * soft-fp/floatunsisf.c: Likewise.
29396         * soft-fp/floatuntidf.c: Likewise.
29397         * soft-fp/floatuntisf.c: Likewise.
29398         * soft-fp/floatuntitf.c: Likewise.
29399         * soft-fp/fmadf4.c: Likewise.
29400         * soft-fp/fmasf4.c: Likewise.
29401         * soft-fp/fmatf4.c: Likewise.
29402         * soft-fp/gedf2.c: Likewise.
29403         * soft-fp/gesf2.c: Likewise.
29404         * soft-fp/getf2.c: Likewise.
29405         * soft-fp/ledf2.c: Likewise.
29406         * soft-fp/lesf2.c: Likewise.
29407         * soft-fp/letf2.c: Likewise.
29408         * soft-fp/muldf3.c: Likewise.
29409         * soft-fp/mulsf3.c: Likewise.
29410         * soft-fp/multf3.c: Likewise.
29411         * soft-fp/negdf2.c: Likewise.
29412         * soft-fp/negsf2.c: Likewise.
29413         * soft-fp/negtf2.c: Likewise.
29414         * soft-fp/op-1.h: Likewise.
29415         * soft-fp/op-2.h: Likewise.
29416         * soft-fp/op-4.h: Likewise.
29417         * soft-fp/op-8.h: Likewise.
29418         * soft-fp/op-common.h: Likewise.
29419         * soft-fp/quad.h: Likewise.
29420         * soft-fp/single.h: Likewise.
29421         * soft-fp/soft-fp.h: Likewise.
29422         * soft-fp/sqrtdf2.c: Likewise.
29423         * soft-fp/sqrtsf2.c: Likewise.
29424         * soft-fp/sqrttf2.c: Likewise.
29425         * soft-fp/subdf3.c: Likewise.
29426         * soft-fp/subsf3.c: Likewise.
29427         * soft-fp/subtf3.c: Likewise.
29428         * soft-fp/truncdfsf2.c: Likewise.
29429         * soft-fp/trunctfdf2.c: Likewise.
29430         * soft-fp/trunctfsf2.c: Likewise.
29431         * soft-fp/trunctfxf2.c: Likewise.
29432         * soft-fp/unorddf2.c: Likewise.
29433         * soft-fp/unordsf2.c: Likewise.
29434         * soft-fp/unordtf2.c: Likewise.
29436 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
29438         [BZ #15672]
29439         * misc/error.c (error_tail): Fix possible buffer overflow.
29441 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
29443         [BZ #13028]
29444         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
29445         address.
29447 2013-10-14  P. J. McDermott  <pj@pehjota.net>
29449         [BZ #832]
29450         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
29451         testing pipefail option.
29453 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
29455         * soft-fp/double.h: Indent preprocessor directives inside #if.
29456         * soft-fp/extended.h: Likewise.
29457         * soft-fp/op-2.h: Likewise.
29458         * soft-fp/op-4.h: Likewise.
29459         * soft-fp/op-common.h: Likewise.
29460         * soft-fp/quad.h: Likewise.
29461         * soft-fp/single.h: Likewise.
29462         * soft-fp/soft-fp.h: Likewise.
29464 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
29466         * iconv/iconv_prog.c: Fix typos.
29467         * stdio-common/psiginfo-data.h: Likewise.
29469 2013-10-12   Reuben Thomas <rrt@sc3d.org>
29471         [BZ #15764]
29472         * locale/setlocale.c: Fix typo.
29474 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
29476         [BZ #16036]
29477         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
29478         signaling NaN arguments.
29479         * soft-fp/unordsf2.c (__unordsf2): Likewise.
29480         * soft-fp/unordtf2.c (__unordtf2): Likewise.
29482         [BZ #14910]
29483         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
29484         unordered operands.
29485         * soft-fp/gesf2.c (__gesf2): Likewise.
29486         * soft-fp/getf2.c (__getf2): Likewise.
29487         * soft-fp/ledf2.c (__ledf2): Likewise.
29488         * soft-fp/lesf2.c (__lesf2): Likewise.
29489         * soft-fp/letf2.c (__letf2): Likewise.
29491         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
29492         * soft-fp/eqsf2.c (__eqsf2): Likewise.
29493         * soft-fp/eqtf2.c (__eqtf2): Likewise.
29494         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
29495         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
29496         * soft-fp/fixdfti.c (__fixdfti): Likewise.
29497         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
29498         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
29499         * soft-fp/fixsfti.c (__fixsfti): Likewise.
29500         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
29501         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
29502         * soft-fp/fixtfti.c (__fixtfti): Likewise.
29503         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
29504         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
29505         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
29506         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
29507         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
29508         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
29509         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
29510         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
29511         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
29512         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
29513         * soft-fp/floatdisf.c (__floatdisf): Likewise.
29514         * soft-fp/floatsisf.c (__floatsisf): Likewise.
29515         * soft-fp/floattidf.c (__floattidf): Likewise.
29516         * soft-fp/floattisf.c (__floattisf): Likewise.
29517         * soft-fp/floattitf.c (__floattitf): Likewise.
29518         * soft-fp/floatundidf.c (__floatundidf): Likewise.
29519         * soft-fp/floatundisf.c (__floatundisf): Likewise.
29520         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
29521         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
29522         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
29523         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
29524         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
29525         * soft-fp/gesf2.c (__gesf2): Likewise.
29526         * soft-fp/getf2.c (__getf2): Likewise.
29527         * soft-fp/ledf2.c (__ledf2): Likewise.
29528         * soft-fp/lesf2.c (__lesf2): Likewise.
29529         * soft-fp/letf2.c (__letf2): Likewise.
29531         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
29532         Undefine and redefine.
29533         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
29534         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
29535         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
29536         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
29537         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29538         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
29539         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29540         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
29541         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29542         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
29543         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29544         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
29545         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29546         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
29547         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29549         [BZ #16032]
29550         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
29551         without decrementing exponent if mantissa >= that for the
29552         denominator, not >.
29553         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
29554         denominator, not >.  Decrement exponent in < case instead of
29555         incrementing in >= case.
29556         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
29557         without decrementing exponent if mantissa >= that for the
29558         denominator, not >.
29560         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
29561         computing saturated result for unsigned overflow.
29563 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29564             Jeff Law  <law@redhat.com>
29566         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
29567         (atan2Mp): Add systemtap probe marker.
29568         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
29569         (__ieee754_log): Add systemtap probe marker.
29570         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
29571         (atanMp): Add systemtap probe marker.
29572         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
29573         (tanMp): Add systemtap probe marker.
29574         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
29575         (__slowexp): Add systemtap probe marker.
29576         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
29577         (__slowpow): Add systemtap probe marker.
29578         * manual/probes.texi: Document probes.
29580 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
29582         [BZ #15362]
29583         * libio/fileops.c (_IO_new_file_write): Return count of bytes
29584         written.
29585         (_IO_new_file_xsputn): Don't return EOF if nothing has been
29586         written.
29587         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
29588         written to buffer but not flushed.
29589         * libio/iofwrite_u.c:  Likewise.
29590         * libio/iopadn.c:  Return bytes returned even if EOF was
29591         encountered.
29592         * libio/iowpadn.c:  Likewise.
29593         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
29594         if _IO_padn does not write the whole buffer.
29595         [!COMPILE_WPRINTF] (PAD): Likewise.
29597 2013-10-10  David S. Miller  <davem@davemloft.net>
29599         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
29600         directory block.
29602 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
29604         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
29605         instead of FSF address.
29606         * soft-fp/fixdfti.c: Likewise.
29607         * soft-fp/fixsfti.c: Likewise.
29608         * soft-fp/fixtfti.c: Likewise.
29609         * soft-fp/fixunsdfti.c: Likewise.
29610         * soft-fp/fixunssfti.c: Likewise.
29611         * soft-fp/fixunstfti.c: Likewise.
29612         * soft-fp/floattidf.c: Likewise.
29613         * soft-fp/floattisf.c: Likewise.
29614         * soft-fp/floattitf.c: Likewise.
29615         * soft-fp/floatuntidf.c: Likewise.
29616         * soft-fp/floatuntisf.c: Likewise.
29617         * soft-fp/floatuntitf.c: Likewise.
29618         * soft-fp/trunctfxf2.c: Likewise.
29620         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
29621         * soft-fp/fixdfti.c: Likewise.
29622         * soft-fp/fixsfti.c: Likewise.
29623         * soft-fp/fixtfti.c: Likewise.
29624         * soft-fp/fixunsdfti.c: Likewise.
29625         * soft-fp/fixunssfti.c: Likewise.
29626         * soft-fp/fixunstfti.c: Likewise.
29627         * soft-fp/floattidf.c: Likewise.
29628         * soft-fp/floattisf.c: Likewise.
29629         * soft-fp/floattitf.c: Likewise.
29630         * soft-fp/floatuntidf.c: Likewise.
29631         * soft-fp/floatuntisf.c: Likewise.
29632         * soft-fp/floatuntitf.c: Likewise.
29633         * soft-fp/trunctfxf2.c: Likewise.
29635 2013-10-10  David S. Miller  <davem@davemloft.net>
29637         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29639 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
29641         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
29642         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
29643         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
29644         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
29645         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
29646         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
29647         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
29649         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
29650         for NaNs before doing comparisons on argument.
29651         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
29652         Likewise.
29654 2013-10-10  Will Newton  <will.newton@linaro.org>
29656         * malloc/hooks.c (memalign_check): Ensure the value of bytes
29657         passed to _int_memalign does not overflow.
29659 2013-10-10  Torvald Riegel  <triegel@redhat.com>
29661         * scripts/bench.pl: Add include-sources directive.
29662         * benchtests/README: Update documentation.
29664 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
29666         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
29667         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
29668         instead of FP_INIT_ROUNDMODE.
29669         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
29670         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
29672         [BZ #16034]
29673         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
29674         copy class of input value.
29675         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
29676         not handle exceptions.
29677         * soft-fp/negsf2.c (__negsf2): Likewise.
29678         * soft-fp/negtf2.c (__negtf2): Likewise.
29679         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
29681 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
29683         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
29684         semicolon.  From Linux kernel.
29686 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
29688         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
29690 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
29692         [BZ #156]
29693         * manual/socket.texi: Added statement about buffer
29694         for gethostbyname2_r.
29696 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
29698         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
29699         Use .p2align directive instead, throughout.
29700         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29701         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
29702         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
29703         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29704         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29705         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
29706         * sysdeps/x86_64/strchr.S: Likewise.
29707         * sysdeps/x86_64/strrchr.S: Likewise.
29709 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29711         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
29713         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
29715         * sysdeps/generic/math_private.h (__mpsin1): Remove
29716         declaration.
29717         (__mpcos1): Likewise.
29718         (__mpsin): New argument __range_reduce.
29719         (__mpcos): Likewise.
29720         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29721         (slow): Use __mpsin and __mpcos.
29722         (slow1): Likewise.
29723         (slow2): Likewise.
29724         (sloww): Likewise.
29725         (sloww1): Likewise.
29726         (sloww2): Likewise.
29727         (bsloww): Likewise.
29728         (bsloww1): Likewise.
29729         (bsloww2): Likewise.
29730         (cslow2): Likewise.
29731         (csloww): Likewise.
29732         (csloww1): Likewise.
29733         (csloww2): Likewise.
29734         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
29735         range_reduce.  Merge in __mpsin1.
29736         (__mpcos): Likewise.
29737         (__mpsin1): Remove.
29738         (__mpcos1): Likewise.
29740 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
29742         * locale/loadlocale.c (_nl_intern_locale_data): Use
29743         LOCFILE_ALIGNED_P.
29744         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
29745         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
29746         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
29747         obstack data is appropriately aligned.
29748         (obstack_int32_grow_fast): Likewise.
29749         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
29750         * locale/programs/locfile.c (add_locale_uint32): Likewise.
29751         (add_locale_uint32_array): Likewise.
29753 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29755         * benchtests/Makefile: Remove ARGLIST and RET variables.
29756         ($(objpfx)bench-%.c): Pass only function name to the script.
29757         * benchtests/README: Update documentation.
29758         * benchtests/acos-inputs: Add new directives.
29759         * benchtests/acosh-inputs: Likewise.
29760         * benchtests/asin-inputs: Likewise.
29761         * benchtests/asinh-inputs: Likewise.
29762         * benchtests/atan-inputs: Likewise.
29763         * benchtests/atanh-inputs: Likewise.
29764         * benchtests/cos-inputs: Likewise.
29765         * benchtests/cosh-inputs: Likewise.
29766         * benchtests/exp-inputs: Likewise.
29767         * benchtests/log-inputs: Likewise.
29768         * benchtests/pow-inputs: Likewise.
29769         * benchtests/rint-inputs: Likewise.
29770         * benchtests/sin-inputs: Likewise.
29771         * benchtests/sinh-inputs: Likewise.
29772         * benchtests/tan-inputs: Likewise.
29773         * benchtests/tanh-inputs: Likewise.
29774         * scripts/bench.pl: Add support for new directives.
29776 2013-10-07  Alan Modra  <amodra@gmail.com>
29778         * README: Fix careless merge.
29780 2013-10-05  Alan Modra  <amodra@gmail.com>
29782         * NEWS: Mention powerpc64le support and bugs fixed.
29783         * README: Both big-endian and little-endian powerpc64 supported.
29785 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29787         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
29788         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
29789         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
29790         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
29792 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
29794         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
29795         match prototype.
29797 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
29799         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
29800         Move -mhard-float appending from
29801         ports/sysdeps/powerpc/powerpc32/Makefile.
29802         [$(with-fp) = yes] (ASFLAGS): Likewise.
29803         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
29804         * sysdeps/powerpc/nofpu: Move directory from
29805         ports/sysdeps/powerpc/nofpu.
29806         * sysdeps/powerpc/soft-fp: Move directory from
29807         ports/sysdeps/powerpc/soft-fp.
29808         * sysdeps/powerpc/powerpc32/405: Move directory from
29809         ports/sysdeps/powerpc/powerpc32/405.
29810         * sysdeps/powerpc/powerpc32/440: Move directory from
29811         ports/sysdeps/powerpc/powerpc32/440.
29812         * sysdeps/powerpc/powerpc32/464: Move directory from
29813         ports/sysdeps/powerpc/powerpc32/464.
29814         * sysdeps/powerpc/powerpc32/476: Move directory from
29815         ports/sysdeps/powerpc/powerpc32/476.
29816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
29817         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
29818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
29819         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
29820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
29821         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
29822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
29823         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
29824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
29825         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
29826         * README: Update for powerpc-*-linux-gnu software floating point
29827         support in libc.
29829         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
29830         case to powerpc/powerpc32*.
29831         * sysdeps/unix/sysv/linux/configure: Regenerated.
29833         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
29834         (_FPU_MASK_OM): Define as 0x04.
29835         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
29836         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
29837         0x00c10080.
29838         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
29839         0x0000003c.
29840         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
29842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
29843         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
29844         getcontext_e500.
29845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
29846         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
29847         setcontext_e500.
29848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
29849         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
29850         and setcontext_e500.
29852 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
29854         * locale/iso-3166.def: Update iso-1366.def and related occurrences
29856 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29858         * manual/threads.texi (Default Thread Attributes): Fix typo.
29860 2013-10-04  Will Newton  <will.newton@linaro.org>
29862         * malloc/Makefile: Add tst-memalign.
29863         * malloc/tst-memalign.c: New file.
29865         * malloc/tst-posix_memalign.c: Add comments.
29866         (do_test): Add comments and call free on all potentially
29867         allocated pointers. Add space after cast.
29869         * malloc/tst-pvalloc.c: Add comments.
29870         (do_test): Add comments and call free on all potentially
29871         allocated pointers. Remove duplicate check for NULL pointer.
29872         Add space after cast.
29874         * malloc/tst-valloc.c: Add comments.
29875         (do_test): Add comments and call free on all potentially
29876         allocated pointers. Remove duplicate check for NULL pointer.
29877         Add space after cast.
29879 2013-10-04  Alan Modra  <amodra@gmail.com>
29881         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
29882         Use stdint types in rather than __attribute__((mode())).
29883         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29885 2013-10-04  Alan Modra  <amodra@gmail.com>
29887         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
29888         Correct handling of unaligned relocs for little-endian.
29889         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29891 2013-10-04  Alan Modra  <amodra@gmail.com>
29893         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
29894         * configure: Regenerate.
29895         * nptl/shlib-versions: Powerpc*le starts at 2.18.
29896         * shlib-versions: Likewise.
29898 2013-10-04  Alan Modra  <amodra@gmail.com>
29900         * string/tester.c (test_memrchr): Increment reported test cycle.
29902 2013-10-04  Alan Modra  <amodra@gmail.com>
29904         * string/test-memcpy.c (do_one_test): When reporting errors, print
29905         string address and don't overrun end of string.
29907 2013-10-04  Alan Modra  <amodra@gmail.com>
29909         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
29910         insrdi.  Make better use of reg selection to speed exit slightly.
29911         Schedule entry path a little better.  Remove useless "are we done"
29912         checks on entry to main loop.  Handle wrapping around zero address.
29913         Correct main loop count.  Handle single left-over word from main
29914         loop inline rather than by using loop_small.  Remove extra word
29915         case in loop_small caused by wrong loop count.  Add little-endian
29916         support.
29917         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
29918         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
29919         cache hint.
29920         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
29921         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
29922         support.  Avoid rlwimi.
29923         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
29925 2013-10-04  Alan Modra  <amodra@gmail.com>
29927         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
29928         insrdi.  Formatting.
29929         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
29930         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29931         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
29932         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
29933         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29934         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
29936 2013-10-04  Alan Modra  <amodra@gmail.com>
29938         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
29939         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29940         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
29941         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
29942         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
29943         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29944         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29945         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29946         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
29947         use of regs.  Use power7 mtocrf.  Tidy function tails.
29949 2013-10-04  Alan Modra  <amodra@gmail.com>
29951         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
29952         Formatting.  Consistently use rXXX register defines or rN defines.
29953         Use early exit labels that avoid restoring unused non-volatile regs.
29954         Make cr field use more consistent with rWORDn compares.  Rename
29955         regs used as shift registers for unaligned loop, using rN defines
29956         for short lifetime/multiple use regs.
29957         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29958         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
29959         addi 1,1,64 to pop stack frame.  Simplify return value code.
29960         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29962 2013-10-04  Alan Modra  <amodra@gmail.com>
29964         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
29965         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
29966         rather than rlwimi.
29967         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
29968         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
29969         little-endian support.  Correct typos.
29970         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
29971         rather than rlwimi.
29972         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
29973         in loop and entry code to keep "and." results.
29974         (strchr): Add little-endian support.  Comment.  Move cntlzd
29975         earlier in tail.
29976         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
29978 2013-10-04  Alan Modra  <amodra@gmail.com>
29980         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
29981         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
29982         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
29983         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
29985 2013-10-04  Alan Modra  <amodra@gmail.com>
29987         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
29988         (rTMP): Define as r11.
29989         (strcmp): Add little-endian support.  Optimise tail.
29990         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
29991         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29992         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
29993         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29994         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
29995         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29996         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29998 2013-10-04  Alan Modra  <amodra@gmail.com>
30000         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
30001         little-endian support.  Remove unnecessary "are we done" tests.
30002         Handle "s" wrapping around zero and extremely large "size".
30003         Correct main loop count.  Handle single left-over word from main
30004         loop inline rather than by using small_loop.  Correct comments.
30005         Delete "zero" tail, use "end_max" instead.
30006         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
30008 2013-10-04  Alan Modra  <amodra@gmail.com>
30010         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
30011         support.  Don't branch over align.
30012         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
30013         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
30014         support.  Rearrange tmp reg use to suit.  Comment.
30015         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
30017 2013-10-04  Alan Modra  <amodra@gmail.com>
30019         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
30021 2013-10-04  Alan Modra  <amodra@gmail.com>
30023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
30024         conditional form of branch and link when obtaining pc.
30025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
30027 2013-10-04  Alan Modra  <amodra@gmail.com>
30029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
30030         HIWORD/LOWORD.
30031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
30032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
30034 2013-10-04  Alan Modra  <amodra@gmail.com>
30036         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
30037         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
30038         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
30039         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
30040         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30041         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30042         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
30043         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30044         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
30045         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
30047 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30048             Alistair Popple <alistair@ozlabs.au.ibm.com>
30049             Alan Modra <amodra@gmail.com>
30051         [BZ #15723]
30052         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
30053         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
30054         _dl_hwcap access for little-endian.
30055         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
30056         destroy vmx regs when saving unaligned.
30057         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
30058         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
30059         destroy vmx regs when saving unaligned.
30061 2013-10-04  Alan Modra  <amodra@gmail.com>
30063         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
30064         Don't use a union to pack hi/low value.
30066 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30068         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
30069         for little-endian.
30070         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30071         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
30072         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30073         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30074         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30076 2013-10-04  Alan Modra  <amodra@gmail.com>
30078         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
30079         constants to usual value for .cst8 section, and remove redundant
30080         high address load.
30081         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
30082         constant for 0x1p52.  Load little-endian words of double from
30083         correct stack offsets.
30085 2013-10-04  Alan Modra  <amodra@gmail.com>
30087         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
30088         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
30089         words of double from correct stack offsets.
30090         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
30091         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
30092         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30093         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30094         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30095         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30096         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30097         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
30098         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
30099         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30100         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30101         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30102         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30103         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30104         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30105         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
30106         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
30108 2013-10-04  Alan Modra  <amodra@gmail.com>
30110         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
30111         64-bit int/double union.
30112         (_FPU_SETCW): Likewise.
30113         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
30114         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
30116 2013-10-04  Alan Modra  <amodra@gmail.com>
30118         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
30119         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
30121 2013-10-04  Alan Modra  <amodra@gmail.com>
30123         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
30124         use vector int constants.
30125         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
30127 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30129         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
30130         array with long long.
30131         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
30132         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
30133         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
30134         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
30135         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
30136         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
30137         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
30138         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
30139         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
30140         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
30141         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
30142         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
30143         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
30145 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30147         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
30148         (__signbit): Likewise.  Correct for little-endian.
30149         (__signbitl): Call __signbit.
30150         (lrint): Correct for little-endian.
30151         (lrintf): Call lrint.
30153 2013-10-04  Alan Modra  <amodra@gmail.com>
30155         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
30156         union 32-bit int array member with 64-bit int array.
30157         (t515, tm256): Double rather than long double.
30158         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
30160 2013-10-04  Alan Modra  <amodra@gmail.com>
30162         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
30163         Delete.
30164         (IEEE854_LONG_DOUBLE_BIAS): Delete.
30165         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
30166         version of math_ldbl.h.
30168 2013-10-04  Alan Modra  <amodra@gmail.com>
30170         [BZ #15734], [BZ #15735]
30171         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
30172         all uses of ieee875 long double macros and unions.  Simplify test
30173         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
30174         ldbl_extract_mantissa value for ix,iy exponents.  Properly
30175         normalize after ldbl_extract_mantissa, and don't add hidden bit
30176         already handled.  Don't treat low word of ieee854 mantissa like
30177         low word of IBM long double and mask off bit when testing for
30178         zero.
30179         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
30180         all uses of ieee875 long double macros and unions.  Simplify tests
30181         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
30182         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
30183         two1022, instead use their values.  Recognise that tests for large
30184         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
30185         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
30186         Rewrite all uses of ieee875 long double macros and unions.  Simplify
30187         test for 0.0L and nan.  Correct negation.
30188         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
30189         ieee875 long double macros and unions.  Correct output for large
30190         magnitude x.  Correct absolute value calculation.
30191         (__erfcl): Likewise.
30192         * math/libm-test.inc: Add tests for errors discovered in IBM long
30193         double versions of fmodl, remainderl, erfl and erfcl.
30195 2013-10-04  Alan Modra  <amodra@gmail.com>
30197         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
30198         all uses of ieee854 long double macros and unions.  Simplify tests
30199         for long doubles that are fully specified by the high double.
30200         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30201         Likewise.
30202         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
30203         Remove dead code too.
30204         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
30205         (__ieee754_ynl): Likewise.
30206         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
30207         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
30208         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
30209         Remove dead code too.
30210         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
30211         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
30212         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
30213         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
30214         Simplify.
30215         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
30216         Simplify.
30217         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
30218         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
30219         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
30220         Comment on variable precision.
30221         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
30222         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30223         Likewise.
30224         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
30225         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30226         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30227         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30228         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
30230 2013-10-04  Alan Modra  <amodra@gmail.com>
30232         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
30233         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
30234         all uses of ieee854 long double macros and unions.
30235         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
30236         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30237         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
30238         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
30239         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
30240         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30241         Likewise.
30242         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
30243         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
30244         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
30245         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30246         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30247         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30248         Simplify sign and nan test too.
30249         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
30250         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
30251         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
30252         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
30253         Likewise.
30254         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30255         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
30256         Likewise.
30257         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30258         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
30259         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
30260         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
30261         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
30262         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
30264 2013-10-04  Alan Modra  <amodra@gmail.com>
30266         * stdio-common/printf_size.c (__printf_size): Don't use
30267         union ieee854_long_double in fpnum union.
30268         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
30269         signbit macro to retrieve sign from long double.
30270         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
30271         retrieve sign from long double.
30272         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
30273         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
30274         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
30275         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30276         * math/test-misc.c (main): Don't use union ieee854_long_double.
30278 2013-10-04  Alan Modra  <amodra@gmail.com>
30280         [BZ #15680]
30281         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
30282         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
30283         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
30284         calculation.  Remove unnecessary test for denormal exponent.
30285         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
30286         Correct handling of denormals.  Avoid undefined shift behaviour.
30287         Correct normalisation of low mantissa when low double is denormal.
30288         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
30289         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
30290         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
30291         Correct normalisation of low mantissa.  Test for overflow of high
30292         mantissa and normalise.
30293         (ldbl_nearbyint): Use more readable constant for two52.
30294         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
30295         (__mpn_construct_long_double): Fix test for overflow of high
30296         mantissa and correct normalisation.  Avoid undefined shift.
30298 2013-10-04  Alan Modra  <amodra@gmail.com>
30300         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30301         (union ibm_extended_long_double): Define as an array of ieee754_double.
30302         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
30303         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
30304         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
30305         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30306         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30307         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
30308         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30309         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30310         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30311         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
30312         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30314 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
30316         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
30317         page size instead of calling getpagesize.
30319         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
30320         (LOCFILE_ALIGN_MASK): Likewise.
30321         (LOCFILE_ALIGN_UP): Likewise.
30322         (LOCFILE_ALIGNED_P): Likewise.
30323         * locale/programs/ld-collate.c (collate_output): Use the new
30324         macros instead of __alignof__ (int32_t).
30325         * locale/weight.h (findidx): Likewise.
30327 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
30329         [BZ #431]
30330         * manual/string.texi: Fix strncat and wcsncat.
30332 2013-10-03  Brooks Moses  <bmoses@google.com>
30334         [BZ #15915]
30335         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
30336         * Makerules: ...here, and adjust associated comments.
30338 2013-10-02  Will Newton  <will.newton@linaro.org>
30340         * malloc/Makefile: Add tst-pvalloc.
30341         * malloc/tst-pvalloc.c: New file.
30343 2013-10-02  Will Newton  <will.newton@linaro.org>
30345         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
30346         improve test coverage.
30348 2013-10-02  Will Newton  <will.newton@linaro.org>
30350         * malloc/Makefile: Add tst-posix_memalign.
30351         * malloc/tst-posix_memalign.c: New file.
30353 2013-10-01  Eric Blake  <eblake@redhat.com>
30355         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
30356         Use __THROWNL rather than __THROW on static functions.
30358 2013-09-30  Petr Machata  <pmachata@redhat.com>
30360         * elf/elf.h (R_AARCH64_ABS16): New macro.
30361         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
30362         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
30363         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
30364         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
30365         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
30366         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
30367         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
30368         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
30369         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
30370         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
30371         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
30372         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
30373         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
30374         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
30375         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
30376         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
30377         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
30378         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
30379         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
30380         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
30381         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
30382         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
30383         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
30384         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
30385         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
30386         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
30387         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
30388         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
30389         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
30390         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
30391         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
30392         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
30393         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
30394         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
30395         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
30396         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
30397         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
30398         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
30399         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
30400         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
30401         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
30402         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
30403         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
30404         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
30405         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
30406         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
30407         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
30408         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
30409         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
30410         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
30411         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
30412         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
30413         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
30414         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
30415         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
30416         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
30417         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
30418         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
30419         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
30420         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
30421         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
30422         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
30423         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
30424         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
30425         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
30426         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
30427         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
30428         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
30429         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
30430         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
30431         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
30432         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
30433         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
30434         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
30435         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
30436         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
30437         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
30438         (R_AARCH64_TLSDESC_LDR): Likewise.
30439         (R_AARCH64_TLSDESC_ADD): Likewise.
30440         (R_AARCH64_TLSDESC_CALL): Likewise.
30442 2013-09-30  Andreas Schwab  <schwab@suse.de>
30444         [BZ #15048]
30445         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
30446         the nss database lookup.
30447         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30448         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30450 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
30452         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
30454 2013-09-28  P. J. McDermott  <pj@pehjota.net>
30456         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
30457         ${Bash-specific parameter/pattern/string} parameter expansion.
30458         * sysdeps/unix/make-syscalls.sh: Likewise.
30460 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30462         * sysdeps/sh/stackguard-macros.h: New file.
30464 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
30466         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
30467         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
30468         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
30469         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
30470         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30471         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
30473 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30475         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
30476         Fix thread ID register.
30478 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
30480         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
30481         [POSIX || UNIX98]: Require rather than permitting all symbols from
30482         <time.h>.
30483         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
30484         element of struct sched_param.
30485         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
30486         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
30487         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
30488         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
30489         constant.
30491 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
30493         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
30494         argument calculation.
30496 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
30498         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
30499         Expect macro.
30500         [POSIX] (pthread_attr_t): Do not require type.
30501         [POSIX] (pthread_cond_t): Likewise.
30502         [POSIX] (pthread_condattr_t): Likewise.
30503         [POSIX] (pthread_key_t): Likewise.
30504         [POSIX] (pthread_mutex_t): Likewise.
30505         [POSIX] (pthread_mutexattr_t): Likewise.
30506         [POSIX] (pthread_once_t): Likewise.
30507         [POSIX] (pthread_t): Likewise.
30508         [POSIX-based standards] (pthread_atfork): Expect function.
30510 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
30511             Richard Sandiford  <richard@codesourcery.com>
30513         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
30514         (swap_endianness_p): New extern variable.
30515         (set_big_endian): New inline function.
30516         (maybe_swap_uint32): Likewise.
30517         (maybe_swap_uint32_array): Likewise.
30518         (maybe_swap_uint32_obstack): Likewise.
30519         * locale/programs/locfile.c: Include <stdbool.h>.
30520         (swap_endianness_p): New variable.
30521         (add_locale_uint32): Call maybe_swap_uint32.
30522         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
30523         (write_locale_data): Call maybe_swap_uint32_array.
30524         * locale/programs/ld-collate.c (obstack_int32_grow): Call
30525         maybe_swap_uint32.
30526         (obstack_int32_grow_fast): Likewise.
30527         (output_weightwc): Call maybe_swap_uint32_obstack.
30528         (collate_output): Likewise.
30529         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
30530         (OPT_LITTLE_ENDIAN): Likewise.
30531         (options): Add --little-endian and --big-endian options.
30532         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
30533         * locale/programs/locarchive.c: Include "locfile.h".
30534         (GET): New macro.
30535         (SET): Likewise.
30536         (INC): Likewise.
30537         (create_archive): Use the new macros to access fields of
30538         structures directly mapped from or written to locale archives.
30539         (oldlocrecentcmp): Likewise.
30540         (enlarge_archive): Likewise.
30541         (insert_name): Likewise.
30542         (add_alias): Likewise.
30543         (add_locale): Likewise.
30544         (delete_locales_from_archive): Likewise.
30545         (show_archive_content): Likewise.
30546         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
30547         locale data.
30549 2013-09-24  Roland McGrath  <roland@hack.frob.com>
30551         * manual/freemanuals.texi: Updated from (newly) canonical copy at
30552         http://www.gnu.org/doc/freemanuals.texi.
30553         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
30555 2013-09-24  Will Newton  <will.newton@linaro.org>
30557         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
30558         macro.
30560 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
30562         * locale/hashval.h (compute_hashval): Interpret bytes of key as
30563         unsigned char.
30565 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
30567         * manual/threads.texi (POSIX Threads): Fix a typo.
30569 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30571         [BZ #14547]
30572         * string/tst-strcoll-overflow.c: New test case.
30573         * string/Makefile (xtests): Add tst-strcoll-overflow.
30574         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
30575         cache if string sizes may cause integer overflow.
30577         [BZ #14547]
30578         * string/strcoll_l.c (coll_seq): New members rule, idx,
30579         save_idx and back_us.
30580         (get_next_seq_nocache): New function.
30581         (do_compare_nocache): New function.
30582         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
30583         when malloc fails.
30585 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
30587         [BZ #15754]
30588         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
30589         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
30590         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
30592         [BZ #15754]
30593         * elf/Makefile (tests): Add tst-ptrguard1.
30594         (tests-static): Add tst-ptrguard1-static.
30595         (tst-ptrguard1-ARGS): Define.
30596         (tst-ptrguard1-static-ARGS): Define.
30597         * elf/tst-ptrguard1.c: New file.
30598         * elf/tst-ptrguard1-static.c: New file.
30599         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
30600         * sysdeps/i386/stackguard-macros.h: Likewise.
30601         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30602         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30603         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30604         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30605         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30606         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30608 2013-09-23  Hector Marco  <hecmargi@upv.es>
30609             Ismael Ripoll  <iripoll@disca.upv.es>
30610             Carlos O'Donell  <carlos@redhat.com>
30612         [BZ #15754]
30613         * sysdeps/generic/stackguard-macros.h: Define
30614         __pointer_chk_guard_local and POINTER_CHK_GUARD.
30615         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
30616         Define __pointer_chk_guard_local.
30617         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
30618         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
30620 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
30622         [BZ #15859]
30623         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
30625 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
30627         * include/string.h (__ffs): Declare as hidden.
30628         * string/ffs.c (__ffs): Define as hidden.
30629         * sysdeps/i386/ffs.c (__ffs): Likewise.
30630         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
30631         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
30632         * sysdeps/s390/ffs.c (__ffs): Likewise.
30633         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
30635 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
30637         * NEWS: Mention malloc probes.
30639         * malloc/arena.c (new_heap): New memory_heap_new probe.
30640         (grow_heap): New memory_heap_more probe.
30641         (shrink_heap): New memory_heap_less probe.
30642         (heap_trim): New memory_heap_free probe.
30643         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
30644         (systrim): New memory_sbrk_less probe.
30645         * manual/probes.texi: Document them.
30647         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
30648         * manual/probes.texi: Document it.
30650         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
30651         (__libc_realloc): Add memory_realloc_retry probe.
30652         (__libc_memalign): Add memory_memalign_retry probe.
30653         (__libc_valloc): Add memory_valloc_retry probe.
30654         (__libc_pvalloc): Add memory_pvalloc_retry probe.
30655         (__libc_calloc): Add memory_calloc_retry probe.
30656         * manual/probes.texi: Document them.
30658         * malloc/arena.c (get_free_list): Add probe
30659         memory_arena_reuse_free_list.
30660         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
30661         and memory_arena_reuse.
30662         (arena_get2) [!PER_THREAD]: Likewise.
30663         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
30664         memory_arena_reuse_realloc.
30665         * manual/probes.texi: Document them.
30667         * malloc/malloc.c (__libc_free): Add
30668         memory_mallopt_free_dyn_thresholds probe.
30669         (__libc_mallopt): Add multiple memory_mallopt probes.
30670         * manual/probes.texi: Document them.
30672         * malloc/malloc.c: Include stap-probe.h.
30673         (__libc_mallopt): Add memory_mallopt probe.
30674         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
30675         * manual/probes.texi: New.
30676         * manual/Makefile (chapters): Add probes.
30677         * manual/threads.texi: Set next node.
30679 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
30681         [BZ #15963, #13985]
30682         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
30683         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
30684         Add `Chinese' to `nan' entry name.
30686 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30688         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
30689         (POLYNOMIAL): Likewise.
30690         (TAYLOR_SINCOS): Likewise.
30691         (TAYLOR_SLOW): Likewise.
30692         (__sin): Use TAYLOR_SINCOS.
30693         (__cos): Likewise.
30694         (slow): Use TAYLOR_SLOW.
30695         (sloww): Likewise.
30696         (bsloww): Likewise.
30697         (csloww): Likewise.
30699 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30701         * stdlib/strtod_l.c: Fix buffer overrun.
30703 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30705         * benchtests/Makefile (bench): Add sincos.
30706         * benchtests/bench-sincos.c: New file.
30708         * math/libm-test.inc (cos_test_data): New test inputs.
30709         (sin_test_data): Likewise.
30711         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
30712         macro.
30713         (__sin): Use it.
30714         (__cos): Likewise.
30715         (slow1): Likewise.
30716         (slow2): Likewise.
30717         (sloww1): Likewise.
30718         (sloww2): Likewise.
30719         (bsloww1): Likewise.
30720         (bsloww2): Likewise.
30721         (cslow2): Likewise.
30722         (csloww1): Likewise.
30723         (csloww2): Likewise.
30725         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
30726         function.
30727         (__sin): Use it.
30728         (__cos): Likewise.
30730         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
30731         gotos.
30732         (__cos): Likewise.
30734 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
30736         * config.h.in (HAVE_MIPS_NAN2008): New macro.
30737         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
30738         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
30739         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
30740         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
30741         * elf/cache.c (print_entry): Handle the new cache flags.
30743 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
30744             Aldy Hernandez  <aldyh@redhat.com>
30746         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
30747         Change condition to [_SOFT_FLOAT].
30748         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
30749         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
30750         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
30751         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
30752         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
30753         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
30754         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
30755         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
30756         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
30757         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
30758         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
30759         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
30760         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
30761         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
30762         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
30763         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
30764         declaration.
30766 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
30768         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
30769         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30770         (__longjmp): Use LOAD_GP to load saved GPRs.
30771         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
30772         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30773         (__sigsetjmp): Use SAVE_GP to save GPRs.
30775         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
30776         Do not append -msoft-float.
30777         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
30779 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30781         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
30783 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
30785         [BZ #15966]
30786         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
30787         (_FPU_GETCW): Use initial "__" on variable and field names but not
30788         on macro parameter name.
30789         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
30790         parentheses around reference to macro parameter.
30792 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
30794         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
30795         prototype.
30796         (ctype_startup): Use uint32_t in cast and sizeof for
30797         ctype->charnames.
30799 2013-09-11  Jia Liu  <proljc@gmail.com>
30801         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
30802         __daddr_t_defined.
30803         [__FreeBSD__]: Likewise.
30805 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
30807         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
30808         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
30809         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
30810         (strchr): Remove __strchr_sse42 ifunc selection.
30811         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
30812         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
30814 2013-09-11  Will Newton  <will.newton@linaro.org>
30816         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
30817         parameter to RES. Remove hardcoded 1000 value.
30818         * benchtests/bench-skeleton.c (main): Pass RES parameter
30819         to TIMING_INIT and multiply result by 1000.
30821 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30823         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30825 2013-09-11  Andreas Schwab  <schwab@suse.de>
30827         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
30828         if not defined.
30829         (O_TMPFILE) [__USE_GNU]: Define.
30830         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
30831         Define.
30833 2013-09-11  Will Newton  <will.newton@linaro.org>
30835         [BZ #15857]
30836         * malloc/malloc.c (__libc_memalign): Check the value of bytes
30837         does not overflow.
30839 2013-09-11  Will Newton  <will.newton@linaro.org>
30841         [BZ #15856]
30842         * malloc/malloc.c (__libc_valloc): Check the value of bytes
30843         does not overflow.
30845 2013-09-11  Will Newton  <will.newton@linaro.org>
30847         [BZ #15855]
30848         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
30849         does not overflow.
30851 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
30853         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
30854         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30855         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30856         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30857         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30859 2013-09-10  Allan McRae  <allan@archlinux.org>
30861         [BZ #15748]
30862         * manual/arith.texi (Parsing of Floats): Clarify
30863         cross-reference.
30865         [BZ #15849]
30866         * manual/install.texi (Running make install): Mention
30867         --enable-pt-chown.
30868         * INSTALL: Regenerated.
30870 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
30872         * csu/init-first.c (_init): Remove the !SHARED condition around
30873         FPU control word initialization.
30874         * elf/dl-support.c (_dl_fpu_control): New variable.
30875         (_dl_aux_init) <AT_FPUCW>: Initialize it.
30876         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
30877         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
30878         * math/test-fpucw-static.c: New file.
30879         * math/test-fpucw-ieee.c: New file.
30880         * math/test-fpucw-ieee-static.c: New file.
30881         * math/Makefile (tests): Add `test-fpucw-ieee' and
30882         `$(tests-static)'.
30883         (tests-static): New variable.
30884         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
30885         dependency to...
30886         [($(build-shared),yes)]
30887         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
30888         ... this.
30889         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
30890         New dependency.
30892 2013-09-09  Allan McRae  <allan@archlinux.org>
30894         [BZ #15939]
30895         * manual/string.texi (Collation Functions): Fix typo in
30896         strcoll example.
30897         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
30899         [BZ #15893]
30900         * stdlib/isomac.c (get_null_defines): Fix memory leak.
30902         [BZ #15892]
30903         * libio/memstream.c (open_memstream): Fix memory leak.
30904         * libio/wmemstream.c (open_wmemstream): Likewise.
30906         [BZ #15895]
30907         * nscd/netgroupcache.c: Fix nesting of ifdefs.
30909 2013-09-09  Will Newton  <will.newton@linaro.org>
30911         * malloc/Makefile: Add tst-realloc to tests.
30912         * malloc/tst-realloc.c: New file.
30914 2013-09-09  Allan McRae  <allan@archlinux.org>
30916         [BZ #15844]
30917         * COPYING: Update from GNU website to fix FSF address.
30918         * COPYING.LIB: Likewise.
30920 2013-09-06  David S. Miller  <davem@davemloft.net>
30922         * po/zh_TW.po: Update Chinese (traditional) translation from
30923         translation project.
30925 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
30926             Joseph Myers  <joseph@codesourcery.com>
30928         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
30929         "localeinfo.h".
30930         (obstack_chunk_alloc): New macro.
30931         (obstack_chunk_free): Likewise.
30932         (record_offset): New function.
30933         (init_locale_data): Likewise.
30934         (align_locale_data): Likewise.
30935         (add_locale_empty): Likewise.
30936         (add_locale_raw_data): Likewise.
30937         (add_locale_raw_obstack): Likewise.
30938         (add_locale_string): Likewise.
30939         (add_locale_wstring): Likewise.
30940         (add_locale_uint32): Likewise.
30941         (add_locale_uint32_array): Likewise.
30942         (add_locale_char): Likewise.
30943         (start_locale_structure): Likewise.
30944         (end_locale_structure): Likewise.
30945         (start_locale_prelude): Likewise.
30946         (end_locale_prelude): Likewise.
30947         (write_locale_data): Take locale_file structure rather than an
30948         iovec.
30949         * locale/programs/locfile.h: Include "obstack.h".
30950         (struct locale_file): Change to store locale file contents instead
30951         of header.
30952         (init_locale_data): New prototype.
30953         (align_locale_data): Likewise.
30954         (add_locale_empty): Likewise.
30955         (add_locale_raw_data): Likewise.
30956         (add_locale_raw_obstack): Likewise.
30957         (add_locale_string): Likewise.
30958         (add_locale_wstring): Likewise.
30959         (add_locale_uint32): Likewise.
30960         (add_locale_uint32_array): Likewise.
30961         (add_locale_char): Likewise.
30962         (start_locale_structure): Likewise.
30963         (end_locale_structure): Likewise.
30964         (start_locale_prelude): Likewise.
30965         (end_locale_prelude): Likewise.
30966         (write_locale_data): Update prototype.
30967         * locale/programs/3level.h (struct TABLE): Remove result field.
30968         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
30969         Use new locale_file interface.
30970         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
30971         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
30972         * locale/programs/ld-address.c (address_output): Use new
30973         locale_file interface.
30974         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
30975         NO_ADD_LOCALE.
30976         (collate_finish): Don't call collseq_table_finalize.
30977         (collate_output): Use new locale_file interface.
30978         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
30979         in file.
30980         (NO_FINALIZE): Change to NO_ADD_LOCALE.
30981         (TABLE): Move defines earlier in file.
30982         (ELEMENT): Likewise.
30983         (DEFAULT): Likewise.
30984         (wctrans_table_add): Move macro and inline function earlier in
30985         file.
30986         (struct wctype_table): Move type earlier in file.
30987         (add_locale_wctype_table): New static prototype.
30988         (struct locale_ctype_t): Use logical types instead of struct iovec
30989         pointers for members.
30990         (ctype_output): Use new locale_file interface.
30991         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
30992         new locale_file interface.
30993         (allocate_arrays): Update for use of new locale_file interface.
30994         * locale/programs/ld-identification.c (identification_output): Use
30995         new locale_file interface.
30996         * locale/programs/ld-measurement.c (measurement_output): Likewise.
30997         * locale/programs/ld-messages.c (messages_output): Likewise.
30998         * locale/programs/ld-monetary.c (monetary_output): Likewise.
30999         * locale/programs/ld-name.c (name_output): Likewise.
31000         * locale/programs/ld-numeric.c (numeric_output): Likewise.
31001         * locale/programs/ld-paper.c (paper_output): Likewise.
31002         * locale/programs/ld-telephone.c (telephone_output): Likewise.
31003         * locale/programs/ld-time.c (time_output): Likewise.
31005 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31007         * benchtests/Makefile: Add memrchr benchmark.
31008         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
31009         benchmark as memrchr.
31010         * benchtests/bench-memrchr-ifunc.c: New file.
31011         * benchtests/bench-memrchr.c: New file.
31013 2013-09-06   Will Newton  <will.newton@linaro.org>
31015         * benchtests/Makefile (string-bench): Add memcpy.
31017 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
31018             Cong Wang  <amwang@redhat.com>
31020         [BZ #15850]
31021         * sysdeps/unix/sysv/linux/bits/in.h
31022         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
31023         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
31024         before __USE_KERNEL_IPV6_DEFS uses.
31025         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
31026         IPPROTO_BEETPH.
31027         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
31028         sockaddr_in6, or ipv6_mreq.
31030 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31032         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
31033         memory access for final bytes in some large inputs.
31034         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
31036 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31038         * string/test-memrchr.c: New file.
31039         * string/test-memrchr-ifunc.c: New file.
31040         * string/Makefile: Add new memrchr testcase.
31042 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
31044         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
31045         fanotify_init returns EPERM.
31047 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31049         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
31050         errors.
31051         (top level): Treat second token from macro or constant entries for
31052         allowed headers as allowed.
31053         * include/complex.h: Condition internal declarations on
31054         [!_ISOMAC].
31055         * include/fenv.h: Condition include of <stdbool.h> and internal
31056         declarations on [!_ISOMAC].
31058 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
31060         [BZ #15923]
31061         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
31063 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31065         * configure.in (--enable-versioning): Remove configure option.
31066         (libc_cv_asm_symver_directive): Remove configure test.
31067         (libc_cv_ld_version_script_option): Likewise.
31068         (VERSIONING): Remove variable and AC_SUBST.
31069         (DO_VERSIONING): Remove AC_DEFINE.
31070         * configure: Regenerated.
31071         * config.h.in (DO_VERSIONING): Remove macro.
31072         * Makerules [$(versioning) = yes]: Change conditionals to
31073         [$(build-shared) = yes].
31074         * config.make.in (versioning): Remove variable.
31075         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
31076         [$(build-shared) = yes].
31077         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
31078         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
31079         * elf/Makefile [$(versioning) = yes]: Change conditionals to
31080         [$(build-shared) = yes].
31081         * extra-lib.mk [$(versioning) = yes]: Likewise.
31082         * hurd/Makefile [$(versioning) = yes]: Likewise.
31083         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
31084         [SHARED].
31085         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
31086         [SHARED].
31087         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31088         [SHARED && !NO_HIDDEN].
31089         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
31090         [SHARED].
31091         [SHARED && DO_VERSIONING]: Likewise..
31092         * libio/Makefile [$(versioning) = yes]: Change conditionals to
31093         [$(build-shared) = yes].
31094         * manual/install.texi (--disable-versioning): Remove
31095         documentation.
31096         * INSTALL: Regenerated.
31097         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
31098         to [SHARED].
31099         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
31100         [$(build-shared) = yes].
31101         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
31102         * sysdeps/i386/i686/multiarch/strstr-c.c
31103         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31104         [SHARED && !NO_HIDDEN].
31105         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
31106         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
31107         * sysdeps/powerpc/powerpc32/dl-machine.c
31108         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
31109         * sysdeps/powerpc/powerpc32/sysdep.h
31110         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
31111         to [SHARED && PIC && !NO_HIDDEN].
31112         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
31113         conditional to [SHARED].
31115 2013-09-04   Will Newton  <will.newton@linaro.org>
31117         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
31118         * benchtests/bench-string.h: Include bench-timing.h instead
31119         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
31120         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
31121         call to HP_TIMING_DIFF_INIT.
31122         * benchtests/bench-memccpy.c: Use bench-timing.h macros
31123         instead of hp-timing.h macros.
31124         * benchtests/bench-memchr.c: Likewise.
31125         * benchtests/bench-memcmp.c: Likewise.
31126         * benchtests/bench-memcpy.c: Likewise.
31127         * benchtests/bench-memmem.c: Likewise.
31128         * benchtests/bench-memmove.c: Likewise.
31129         * benchtests/bench-memset.c: Likewise.
31130         * benchtests/bench-rawmemchr.c: Likewise.
31131         * benchtests/bench-strcasecmp.c: Likewise.
31132         * benchtests/bench-strcasestr.c: Likewise.
31133         * benchtests/bench-strcat.c: Likewise.
31134         * benchtests/bench-strchr.c: Likewise.
31135         * benchtests/bench-strcmp.c: Likewise.
31136         * benchtests/bench-strcpy.c: Likewise.
31137         * benchtests/bench-strcpy_chk.c: Likewise.
31138         * benchtests/bench-strlen.c: Likewise.
31139         * benchtests/bench-strncasecmp.c: Likewise.
31140         * benchtests/bench-strncat.c: Likewise.
31141         * benchtests/bench-strncmp.c: Likewise.
31142         * benchtests/bench-strncpy.c: Likewise.
31143         * benchtests/bench-strnlen.c: Likewise.
31144         * benchtests/bench-strpbrk.c: Likewise.
31145         * benchtests/bench-strrchr.c: Likewise.
31146         * benchtests/bench-strspn.c: Likewise.
31147         * benchtests/bench-strstr.c: Likewise.
31149 2013-09-04  Will Newton  <will.newton@linaro.org>
31151         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
31153 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
31155         [BZ #15427]
31156         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
31157         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
31158         * math/libm-test.inc (lgamma_test_data): Add more tests.
31159         * sysdeps/i386/fpu/libm-test-ulps: Update.
31160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31162 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
31164         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
31165         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31166         Add ifunc.
31167         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31168         Add strcmp-sse2-unaligned
31169         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
31171 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31173         * Versions.def (libc): Add GLIBC_2.19.
31175 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31177         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
31178         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
31180 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
31182         [BZ #14155]
31183         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
31184         intermediate calculations in recurrence.
31185         (__ieee754_ynf): Likewise.
31186         * math/libm-test.inc (jn_test_data): Do not allow spurious
31187         underflow exception.  Add more tests.
31188         (yn_test_data): Add more tests.
31189         * sysdeps/i386/fpu/libm-test-ulps: Update.
31190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31192 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
31194         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
31196 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31198         * csu/init-first.c: Fix then/than typos.
31199         * locale/programs/ld-collate.c: Likewise.
31200         * locale/programs/linereader.h: Likewise.
31201         * manual/charset.texi: Likewise.
31202         * manual/filesys.texi: Likewise.
31203         * manual/stdio.texi: Likewise.
31204         * manual/string.texi: Likewise.
31205         * stdlib/fmtmsg.c: Likewise.
31206         * sysdeps/i386/stpncpy.S: Likewise.
31207         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31208         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31209         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31210         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31212 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31214         * elf/dl-open.c: Fix typos.
31215         * iconvdata/gbbig5.c: Likewise.
31216         * iconvdata/iso-2022-jp.c: Likewise.
31217         * iconv/gconv_int.h: Likewise.
31218         * iconv/loop.c: Likewise.
31219         * nis/rpcsvc/nis.h: Likewise.
31220         * resolv/ns_name.c: Likewise.
31221         * stdio-common/vfscanf.c: Likewise.
31222         * streams/stropts.h: Likewise.
31223         * sunrpc/rpc_thread.c: Likewise.
31224         * sysdeps/i386/strpbrk.S: Likewise.
31225         * sysdeps/ieee754/k_standard.c: Likewise.
31226         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31227         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31228         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
31229         * sysdeps/mach/hurd/profil.c: Likewise.
31230         * sysdeps/s390/dl-procinfo.h: Likewise.
31231         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
31232         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
31233         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
31234         * sysdeps/x86_64/dl-trampoline.S: Likewise.
31235         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31237 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
31239         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
31240         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
31242 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
31244         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
31245         aix specific files.
31246         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
31247         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
31248         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
31249         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
31250         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
31251         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
31252         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
31253         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
31255 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31256             Roland McGrath  <roland@hack.frob.com>
31258         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
31259         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
31261 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31263         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
31264         __executable_start symbol instead of _start.
31266 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31268         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
31269         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
31270         Move macros to...
31271         * sysdeps/gnu/ldsodefs.h: ... this new file.
31273         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
31274         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
31275         instead of ELFOSABI_LINUX.
31277         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
31278         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
31279         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
31280         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
31281         Likewise.
31282         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
31283         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
31284         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
31285         Likewise.
31286         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31287         (ibm_extended_long_double): Add ieee_nan member.
31288         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
31289         (do_test): New function.
31291         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
31292         TEST_TRUNC.
31293         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
31294         functions, renamed from truncdfsf_test, trunctfsf_test,
31295         trunctfdf_test.
31296         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
31297         functions.
31298         (do_test): Run all these.
31300 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
31302         * argp/argp-help.c: Fix typos.
31303         * argp/argp-parse.c: Likewise.
31304         * debug/backtracesyms.c: Likewise.
31305         * elf/elf.h: Likewise.
31306         * malloc/malloc.c: Likewise.
31307         * nis/nis_print.c: Likewise.
31308         * resolv/res_comp.c: Likewise.
31309         * stdlib/stdlib.h: Likewise.
31310         * sunrpc/clnt_tcp.c: Likewise.
31311         * sunrpc/clnt_udp.c: Likewise.
31312         * sunrpc/clnt_unix.c: Likewise.
31313         * sysdeps/unix/bsd/ptsname.c: Likewise.
31314         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
31315         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
31316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
31317         Likewise.
31318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
31319         Likewise.
31320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
31321         Likewise.
31322         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
31324 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31326         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
31327         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31329 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
31331         [BZ #15897]
31332         * dlfcn/Makefile (tests): Add bug-dl-leaf.
31333         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
31334         ($(objpfx)bug-dl-leaf): New rule.
31335         ($(objpfx)bug-dl-leaf.so): Likewise.
31336         ($(objpfx)bug-dl-leaf.out): Likewise.
31337         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
31338         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
31339         * dlfcn/bug-dl-leaf.c: New test.
31340         * dlfcn/bug-dl-leaf-lib.c: Likewise.
31341         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
31342         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
31343         (dlclose): Likewise.
31344         (dlmopen): Likewise.
31346 2013-08-27  Roland McGrath  <roland@hack.frob.com>
31348         * include/netdb.h [!_ISOMAC]:
31349         Don't include <tls.h>.
31350         (h_errno, __libc_h_errno): Move declaration and macros out of
31351         [_LIBC_REENTRANT].
31353         * include/resolv.h [_RESOLV_H_]:
31354         Don't include <tls.h>.
31355         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
31356         * resolv/res_libc.c: Don't include <tls.h>.
31357         (_res): Use __attribute__ ((nocommon)) in place of
31358         __attribute__ ((section (".bss"))).
31360         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
31361         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
31363         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
31365         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
31366         only under [SIOCGIFCONF && SIOCGIFNETMASK].
31368         * resolv/res_mkquery.c: Include <sys/time.h>.
31370         * inet/ifreq.c: Moved to ...
31371         * sysdeps/unix/ifreq.c: ... here.
31372         * inet/ifreq.c: New file, true stub version.
31374         * socket/sa_len.c: New file.
31375         * socket/Makefile (aux): Add it.
31376         * sysdeps/unix/sysv/linux/Makefile
31377         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
31378         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
31379         and #include <socket/sa_len.c>.
31380         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
31381         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
31383         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
31384         * bits/socket.h: ... here.
31386         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
31387         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
31388         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
31390 2013-08-27  Andreas Schwab  <schwab@suse.de>
31392         [BZ #15736]
31393         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
31394         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
31395         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
31396         * string/test-strcasecmp.c (test_main): Run tests in several
31397         locales.
31398         * string/test-strncasecmp.c (test_main): Likewise.
31400         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
31401         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
31402         to __strcasecmp_nonascii and __strncasecmp_nonascii.
31403         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
31404         (__strncasecmp_ssse3) [PIC]: Likewise.
31406 2013-08-26  Roland McGrath  <roland@hack.frob.com>
31408         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
31410         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
31411         instead of explicitly declaring xdecrypt.
31412         * nis/nss_nis/nis-publickey.c: Likewise.
31414 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31416         [BZ #15890]
31417         * nscd/aicache.c: Include res_hconf.h.
31418         (addhstaiX): Initialize res_hconf.
31420 2013-08-26  Andreas Schwab  <schwab@suse.de>
31422         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
31423         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
31425 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31427         * nscd/aicache.c (addhstaiX): Fix indentation.
31429 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
31431         * configure.ac: Quote $build_pt_chown test.
31432         * configure: Regenerated.
31434 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
31436         [BZ #15532]
31437         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
31438         * math/s_cexpf.c (__cexpf): Likewise.
31439         * math/s_cexpl.c (__cexpl): Likewise.
31440         * math/libm-test.inc (cexp_test_data): Correct expected return
31441         value for NaN + i0.  Add another test.
31443 2013-08-22  David S. Miller  <davem@davemloft.net>
31445         * po/ca.po: Update Catalan translation from translation project.
31446         * po/uk.po: Add Ukrainian translations from translation project.
31448 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
31450         [BZ #15797]
31451         * math/s_fdim.c (__fdim): Check for infinite arguments if result
31452         is infinite, not alongside NaN test.
31453         * math/s_fdimf.c (__fdimf): Likewise.
31454         * math/s_fdiml.c (__fdiml): Likewise.
31455         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
31456         errno is unchanged.
31458 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
31460         * argp/argp-help.c: Fix typos.
31461         * crypt/speeds.c: Likewise.
31462         * csu/check_fds.c: Likewise.
31463         * elf/dl-load.c: Likewise.
31464         * elf/dl-open.c: Likewise.
31465         * elf/reldep3.c: Likewise.
31466         * elf/reldep.c: Likewise.
31467         * elf/sprof.c: Likewise.
31468         * iconv/iconv_charmap.c: Likewise.
31469         * iconv/skeleton.c: Likewise.
31470         * iconv/strtab.c: Likewise.
31471         * io/lockf64.c: Likewise.
31472         * libio/libioP.h: Likewise.
31473         * resolv/gai_notify.c: Likewise.
31474         * resolv/ns_name.c: Likewise.
31475         * resolv/ns_samedomain.c: Likewise.
31476         * resolv/res_send.c: Likewise.
31477         * stdlib/random.c: Likewise.
31478         * sunrpc/rpc/xdr.h: Likewise.
31479         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
31480         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31481         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31482         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31483         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31484         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31485         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31486         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31487         * sysdeps/mach/hurd/check_fds.c: Likewise.
31488         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31489         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
31490         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31491         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31492         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
31493         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31494         * sysdeps/pthread/aio_notify.c: Likewise.
31495         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
31496         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
31497         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
31498         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31499         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
31501 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31503         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
31504         version if bit_Slow_SSE4_2 is set.
31505         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31506         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31508 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31510         [BZ #15867]
31511         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
31512         trampoline stack frame information.
31513         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
31514         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
31515         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
31516         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
31517         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
31518         * sysdeps/unix/sysv/linux/powerpc/init-first.c
31519         (_libc_vdso_platform_setup): Initialize the signal trampolines.
31520         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
31521         sa_flags value.
31522         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
31523         interrupting a syscall and set with option SA_SIGINFO.
31525 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
31527         [BZ #15531]
31528         * math/s_cproj.c (__cproj): Only return an infinity if one part of
31529         argument is infinite.
31530         * math/s_cprojf.c (__cprojf): Likewise.
31531         * math/s_cprojl.c (__cprojl): Likewise.
31532         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
31533         * math/libm-test.inc (cproj_test_data): Add more tests.
31535         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
31537         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
31538         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
31539         size.  Use __ffs to determine corresponding shift.
31541 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
31542             Roland McGrath  <roland@hack.frob.com>
31544         * Makefile (INSTALL): Remove trailing blank lines from output of
31545         makeinfo.
31547 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31549         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
31550         Align 32 bit compat elf_greg to 8 bytes.
31552 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
31554         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
31556 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31558         * string/strcoll_l.c (coll_seq): New structure.
31559         (get_next_seq_cached): New function.
31560         (get_next_seq): New function.
31561         (do_compare): New function.
31562         (STRCOLL): Use GNU style definition.  Simplify implementation
31563         by using get_next_seq, get_next_seq_cached and do_compare.
31565 2013-08-16  Florian Weimer  <fweimer@redhat.com>
31567         [BZ #14699]
31568         CVE-2013-4237
31569         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
31570         member.
31571         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
31572         member.
31573         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
31574         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
31575         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
31576         conditional.
31577         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
31578         GETDENTS_64BIT_ALIGNED.
31579         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31580         * manual/filesys.texi (Reading/Closing Directory): Document
31581         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
31582         strongly.
31583         * manual/conf.texi (Limits for Files): Add portability note to
31584         NAME_MAX, PATH_MAX.
31585         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
31587 2013-08-13  Andreas Schwab  <schwab@suse.de>
31589         [BZ #15749]
31590         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
31591         of fabs.
31592         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
31593         LDBL_MAX_EXP >= 16384]: Add tests for it.
31595 2013-08-12  David S. Miller  <davem@davemloft.net>
31597         * version.h (RELEASE): Set to "development".
31598         (VERSION): Set to "2.18.90".
31599         * NEWS: Add 2.19 section.
31601 2013-08-03  David S. Miller  <davem@davemloft.net>
31603         * po/ko.po: Update Korean translation from translation project.
31605 2013-08-01  David S. Miller  <davem@davemloft.net>
31607         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
31608         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
31609         Bilka.
31611 2013-07-30  David S. Miller  <davem@davemloft.net>
31613         * po/fr.po: Update French translation from translation project.
31615 2013-07-28  David S. Miller  <davem@davemloft.net>
31617         * po/cs.po: Update Czech translation from translation project.
31619         * po/sv.po: Update Swedish translation from translation project.
31621 2013-07-27  David S. Miller  <davem@davemloft.net>
31623         * po/eo.po: Update Esperanto translation from translation project.
31625         * po/vi.po: Update Vietnamese translation from translation project.
31627         * po/de.po: Update German translation from translation project.
31629 2013-07-26  David S. Miller  <davem@davemloft.net>
31631         * po/bg.po: Update Bulgarian translation from translation project.
31633         * po/nl.po: Update Dutch translation from translation project.
31634         * po/pl.po: Update Polish translation from translation project.
31635         * po/ru.po: Update Russian translation from translation project.
31637 2013-07-24  David S. Miller  <davem@davemloft.net>
31639         * po/libc.pot: Update.
31641 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31643         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
31644         variable page size.
31645         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
31646         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
31647         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
31649 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31651         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
31653 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31654             Andreas Schwab  <schwab@suse.de>
31655             Roland McGrath  <roland@hack.frob.com>
31656             Joseph Myers  <joseph@codesourcery.com>
31657             Carlos O'Donell  <carlos@redhat.com>
31659         [BZ #15755]
31660         * config.h.in: Define HAVE_PT_CHOWN.
31661         * config.make.in (build-pt-chown): New variable.
31662         * configure.in (--enable-pt_chown): New configure option.
31663         * configure: Regenerate.
31664         * login/Makefile: Include Makeconfig.  Build pt_chown only if
31665         build-pt-chown is enabled.
31666         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
31667         pt_chown to fix pty ownership.
31668         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
31669         CLOSE_ALL_FDS.
31670         * manual/install.texi (Configuring and compiling): Mention
31671         --enable-pt_chown. Add @findex for grantpt.
31672         * INSTALL: Regenerate.
31674 2013-07-20  David S. Miller  <davem@davemloft.net>
31676         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
31677         difference between 32-bit and 64-bit.
31679 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
31681         [BZ #15711]
31682         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
31683         Avoid system header dependency with -ffreestanding.
31684         ($(objpfx)bits/syscall%d): Likewise.
31686 2013-07-13  David S. Miller  <davem@davemloft.net>
31688         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
31689         underflows from atanl/atan2l due to bug 15319.
31690         (casinh_test_data): Likewise.
31692 2013-07-07  David S. Miller  <davem@davemloft.net>
31694         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
31696 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
31698         * sysdeps/i386/fpu/libm-test-ulps: Update.
31699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31701 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31703         * configure.in (--enable-lock-elision): Fix message text.
31704         * INSTALL: Regenerate.
31705         * configure: Regenerate.
31707 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31709         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31711 2013-07-03  Andreas Jaeger  <aj@suse.de>
31713         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
31714         define.
31715         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
31716         (ptrace_peeksiginfo_args): Add.
31717         (__ptrace_peeksiginfo_flags): Add.
31718         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31719         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31720         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31722 2013-07-03  Allan McRae  <allan@archlinux.org>
31724         * sysdeps/i386/fpu/libm-test-ulps: Update.
31726 2013-07-02  David S. Miller  <davem@davemloft.net>
31728         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31730 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
31732         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31734 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
31736         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
31737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31739 2013-07-02  Andi Kleen <ak@linux.intel.com>
31741         * config.h.in (ENABLE_LOCK_ELISION): Add.
31742         * configure.in (--enable-lock-elision): Add option.
31743         * manual/install.texi: Document --enable lock elision.
31744         * configure: Regenerate
31745         * INSTALL: Regenerate.
31747 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
31749         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
31750         SSE4.2 strcasecmp for libc.a.
31751         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
31753 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
31755         [BZ #13304]
31756         * soft-fp/op-common.h (_FP_FMA): New macro.
31757         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
31758         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
31759         (_FP_MUL_MEAT_1_imm): ... here.
31760         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
31761         (_FP_MUL_MEAT_1_wide): ... here.
31762         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
31763         (_FP_MUL_MEAT_1_hard): ... here.
31764         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
31765         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
31766         (_FP_MUL_MEAT_2_wide): ... here.
31767         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
31768         (_FP_MUL_MEAT_2_wide_3mul): ... here.
31769         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
31770         (_FP_MUL_MEAT_2_gmp): ... here.
31771         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
31772         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
31773         (_FP_MUL_MEAT_4_wide): ... here.
31774         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
31775         (_FP_MUL_MEAT_4_gmp): ... here.
31776         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
31777         (_FP_WFRACBITS_DW_S): Likewise.
31778         (_FP_WFRACXBITS_DW_S): Likewise.
31779         (_FP_HIGHBIT_DW_S): Likewise.
31780         (FP_FMA_S): Likewise.
31781         (_FP_FRAC_HIGH_DW_S): Likewise.
31782         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
31783         (_FP_WFRACBITS_DW_D): Likewise.
31784         (_FP_WFRACXBITS_DW_D): Likewise.
31785         (_FP_HIGHBIT_DW_D): Likewise.
31786         (FP_FMA_D): Likewise.
31787         (_FP_FRAC_HIGH_DW_D): Likewise.
31788         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
31789         (_FP_WFRACBITS_DW_E): Likewise.
31790         (_FP_WFRACXBITS_DW_E): Likewise.
31791         (_FP_HIGHBIT_DW_E): Likewise.
31792         (FP_FMA_E): Likewise.
31793         (_FP_FRAC_HIGH_DW_E): Likewise.
31794         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
31795         (_FP_WFRACBITS_DW_Q): Likewise.
31796         (_FP_WFRACXBITS_DW_Q): Likewise.
31797         (_FP_HIGHBIT_DW_Q): Likewise.
31798         (FP_FMA_Q): Likewise.
31799         (_FP_FRAC_HIGH_DW_Q): Likewise.
31800         * soft-fp/fmasf4.c: New file.
31801         * soft-fp/fmadf4.c: Likewise.
31802         * soft-fp/fmatf4.c: Likewise.
31804 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31806         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31807         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
31808         Silvermont.
31809         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
31810         macro.
31811         (index_Slow_SSE4_2): Likewise.
31812         (index_Prefer_PMINUB_for_stringop): Likewise.
31813         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
31814         bit_Slow_SSE4_2 is set.
31815         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31816         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31818 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31820         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
31821         rtld_global._dl_hwcap2.
31822         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
31823         POWER8.
31824         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
31825         POWER8 feature descriptions defined in _dl_hwcap2.
31826         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
31827         string handling for POWER8 feature bits.
31828         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
31829         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
31830         _dl_powerpc_cap_flags.
31831         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
31832         * sysdeps/powerpc/rtld-global-offsets.sym
31833         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
31834         _dl_hwcap2 in the rtld_global_ro structure.
31836 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31838         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
31839         hardware capabilities in support of AT_HWCAP2.
31840         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
31841         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
31842         GLRO(dl_hwcap2).
31843         (_dl_show_auxv): Add support for calling _dl_procinfo to display
31844         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
31845         explicitly the unknown a_type display mechanism is used.
31846         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
31847         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
31848         struct member.
31849         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
31850         to macro prototype for AT_HWCAP2 support.
31851         * sysdeps/i386/dl-procinfo.h: Likewise.
31852         * sysdeps/s390/dl-procinfo.h: Likewise.
31853         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
31854         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
31855         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
31856         return -1 for unknown a_type display fallback.
31857         * sysdeps/sparc/dl-procinfo.h: Likewise.
31858         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
31859         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
31861 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
31863         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
31864         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
31866 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
31868         [BZ #12492]
31869         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
31870         mprotect making __stack_prot writable.
31872 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
31873             Joseph Myers  <joseph@codesourcery.com>
31875         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
31876         as being properly aligned.
31878 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
31880         * dlfcn/modstatic5.c: New file.
31881         * dlfcn/tststatic5.c: New file.
31882         * dlfcn/Makefile (tests): Add tststatic5.
31883         (tests-static): Likewise.
31884         (modules-names): Add modstatic5.
31885         (tststatic5-ENV): New variable.
31886         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
31888         [BZ #15022]
31889         * elf/dl-support.c (_dl_main_map): New variable.
31890         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
31891         (_dl_nns, _dl_load_adds): Set to 1.
31892         (_dl_initial_searchlist): Refer to _dl_main_map.
31893         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
31894         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
31895         call to _dl_get_origin.
31896         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
31897         around call_map.
31898         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
31899         * dlfcn/modstatic3.c: New file.
31900         * dlfcn/tststatic3.c: New file.
31901         * dlfcn/tststatic4.c: New file.
31902         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
31903         (tests-static): Likewise.
31904         (modules-names): Add modstatic3.
31905         (tststatic3-ENV, tststatic4-ENV): New variables.
31906         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
31907         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
31909 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
31911         * configure.in (CC): Require GCC version 4.4 or later.
31912         * configure: Regenerated.
31913         * manual/install.texi (Tools for Compilation): Update GCC version
31914         requirement.
31915         * INSTALL: Regenerated.
31917 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31919         [BZ #15674]
31920         * string/test-memcmp.c (check2): New.
31921         (main): Call check2.
31923         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
31925 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
31927         [BZ #15022]
31928         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
31929         over to...
31930         (dl_open_worker) [!SHARED]: ... here.
31932 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31934         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
31936 2013-06-25  Richard Henderson  <rth@redhat.com>
31938         * locale/programs/locarchive.c: Include <libc-internal.h>
31940 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
31942         * manual/texinfo.tex: Update to version 2013-06-21.17, with
31943         trailing whitespace removed.
31945 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
31947         [BZ #10283]
31948         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
31949         * locale/programs/locarchive.c: Include libc-mmap.h.
31950         (prepare_address_space): Take two new outputs (the mmap base and len).
31951         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
31952         values.
31953         (create_archive): Declare new mmap base and len values for
31954         prepare_address_space, and store the result in ah.
31955         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
31956         (enlarge_archive): If ah->mmap_base is not NULL, use that and
31957         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
31958         Declare new mmap base and len values for
31959         prepare_address_space, and store the result in new_ah.
31960         (open_archive): Declare new mmap base and len values for
31961         prepare_address_space, and store the result in ah.
31962         (close_archive): If ah->mmap_base is not NULL, use that and
31963         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
31964         * sysdeps/generic/libc-mmap.h: New file.
31966 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
31968         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
31969         (ALIGN_UP): Likewise.
31970         (PTR_ALIGN_DOWN): Likewise.
31971         (PTR_ALIGN_UP): Likewise.
31973 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31975         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
31976         entry mapped to PPC_PLATFORM_POWER8.
31977         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
31978         POWER8.
31979         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
31980         (_dl_string_platform): Add case for exporting platform position for
31981         POWER8.
31982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
31983         search path to sysdeps/powerpc/powerpc32/power8 directory.
31984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
31985         search path to sysdeps/powerpc/powerpc64/power8 directory.
31986         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
31987         power7 directories.
31988         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
31989         power7 directories.
31991 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31993         * INSTALL: Regenerate.
31995         * nscd/connections.c (nscd_init): Fix comment.
31997 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
31999         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
32001         [BZ #15667]
32002         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
32003         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
32005 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32007         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
32008         DL_DST_REQ_STATIC.
32009         (DL_DST_REQ_STATIC): Remove macro.
32011 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
32013         [BZ #7006]
32014         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
32015         with a shift of 0 bits.
32017 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32019         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
32020         $(tststatic-ENV).
32022 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32024         [BZ #15655]
32025         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
32027 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32029         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
32030         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
32031         accepts -fno-tree-loop-distribute-patterns.
32032         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
32033         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
32034         recursive call.
32035         * string/memset.c (memset): Likewise.
32036         * string/test-memmove.c (simple_memmove): Disable loop transformation
32037         to library calls.
32038         * string/test-memset.c (simple_memset): Likewise.
32039         * benchtests/bench-memmove.c (simple_memmove): Likewise.
32040         * benchtests/bench-memset.c (simple_memset): Likewise.
32041         * configure: Regenerated.
32043 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
32045         * math/test-misc.c (main): Ignore fesetround failure when failures
32046         of subsequent rounding tests would be ignored.
32048         [BZ #15654]
32049         * math/fedisblxcpt.c (fedisableexcept): Return 0.
32050         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
32051         * math/fegetenv.c (__fegetenv): Return 0.
32052         * math/fegetexcept.c (fegetexcept): Return 0.
32053         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
32054         FE_TONEAREST.
32055         * math/feholdexcpt.c (feholdexcept): Return 0.
32056         * math/fesetenv.c (__fesetenv): Return 0.
32057         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
32058         argument FE_TONEAREST.
32059         * math/feupdateenv.c (__feupdateenv): Return 0.
32060         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
32062 2013-06-18  Roland McGrath  <roland@hack.frob.com>
32064         * elf/rtld-Rules (rtld-compile-command.S): New variable.
32065         (rtld-compile-command.s, rtld-compile-command.c): New variables.
32066         ($(objpfx)rtld-%.os rules): Use them.
32068 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32070         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
32071         fields.
32073 2013-06-17  Roland McGrath  <roland@hack.frob.com>
32075         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
32076         length of target pattern, then descending length of dependency pattern.
32077         * configure.in (AWK): Require gawk 3.1.2 or newer.
32078         * manual/install.texi (Tools for Compilation): Say that we do.
32079         * configure: Regenerated.
32081         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
32082         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
32083         * scripts/sysd-rules.awk: ... this new script.
32084         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
32085         than a glob-style pattern.
32087 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
32089         * math/test-misc.c (main): Do not treat incorrectly rounded
32090         conversions as failure unless ROUNDING_TESTS passes.
32092 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
32094         [BZ #15631]
32095         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
32096         restore exception state around main square root computation, then
32097         check for inexactness explicitly.
32099         * math/libm-test.inc (fma_test_data): Add another test.
32101 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32103         * manual/threads.texi (Non-POSIX Extensions): New document
32104         node.  Document pthread_getattr_default_np and
32105         pthread_setattr_default_np.
32107         * Versions.def (libpthread): Add GLIBC_2.18.
32108         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
32109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32110         Likewise.
32111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32112         Likewise.
32113         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32114         Likewise.
32115         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32116         Likewise.
32117         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
32118         Likewise.
32119         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32120         Likewise.
32121         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32122         Likewise.
32123         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32124         Likewise.
32125         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32126         Likewise.
32128 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32130         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32131         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
32133 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32134             H.J. Lu  <hjl.tools@gmail.com>
32136         [BZ #15627]
32137         * sysdeps/x86_64/rtld-memset.c: Remove file.
32138         * sysdeps/x86_64/rtld-memset.S: New file.
32140 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
32142         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
32143         (test_in_one_mode): Take arguments for whether the rounding mode
32144         is supported for each floating-point type.
32145         (do_test): Pass new arguments to test_in_one_mode using
32146         ROUNDING_TESTS.
32148 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32150         * posix/tst-waitid.c (do_test): Distinguish different instances of
32151         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
32152         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
32153         before entering the kernel for waitpid.
32155 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32157         * NEWS: Fix note on clock function precision.  Text by Roland
32158         McGrath.
32160 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32162         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
32163         it into place only when and if the sanity check passes.
32165 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
32167         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
32168         output for whether conversion result is exact.  Take argument
32169         indicating whether type is IBM long double.
32170         (round_for_all): Change need_exact field to ibm_ld.
32171         * stdlib/tst-strtod-round.c (struct exactness): New type.
32172         (struct test): Change bool ld_ok field to struct exactness exact.
32173         (TEST): Update all definitions for change to field.
32174         (tests): Regenerate array contents.
32175         (test_in_one_mode): Take pointer to new field instead of old ld_ok
32176         field value.  Check for IBM long double here.
32177         (do_test): Update calls to test_in_one_mode.
32179 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32181         [BZ #12515]
32182         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
32183         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
32185 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32187         [BZ #15605]
32188         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
32189         generated by the compiler on loop optimizations.
32190         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
32191         general definitions.
32193 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
32195         * math/bug-nextafter.c: Include <math-tests.h>.
32196         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32197         the relevant type.
32198         * math/bug-nexttoward.c: Include <math-tests.h>.
32199         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32200         the relevant type.
32201         * math/test-misc.c: Include <math-tests.h>.
32202         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32203         the relevant type.
32205 2013-06-12  Andreas Jaeger  <aj@suse.de>
32207         * po/ia.po: Update Interlingua translation from translation
32208         project.
32210 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32212         * include/fenv.h: Include stdbool.h.
32213         (struct rm_ctx): New structure.
32214         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
32215         Define macro.
32216         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
32217         (SET_RESTORE_ROUNDF): Likewise.
32218         (SET_RESTORE_ROUNDL): Likewise.
32219         (SET_RESTORE_ROUND_NOEX): Likewise.
32220         (SET_RESTORE_ROUND_NOEXF): Likewise.
32221         (SET_RESTORE_ROUND_NOEXL): Likewise.
32222         (SET_RESTORE_ROUND_53BIT): Likewise.
32223         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
32224         (libc_feresetround_noexf_ctx): Likewise.
32225         (libc_feresetround_noexl_ctx): Likewise.
32226         (libc_feholdsetround_53bit_ctx): Likewise.
32227         (libc_feresetround_53bit_ctx): Likewise.
32228         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
32229         (libc_feholdexcept_setround_sse_ctx): New function.
32230         (libc_fesetenv_sse_ctx): Likewise.
32231         (libc_feupdateenv_sse_ctx): Likewise.
32232         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
32233         (libc_feholdexcept_setround_387_ctx): Likewise.
32234         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
32235         (libc_feholdsetround_387_prec_ctx): Likewise.
32236         (libc_feholdsetround_387_ctx): Likewise.
32237         (libc_feholdsetround_387_53bit_ctx): Likewise.
32238         (libc_feholdsetround_sse_ctx): Likewise.
32239         (libc_feresetround_sse_ctx): Likewise.
32240         (libc_feresetround_387_ctx): Likewise.
32241         (libc_feupdateenv_387_ctx): Likewise.
32242         (libc_feholdexcept_setroundf_ctx): Define macro.
32243         (libc_fesetenvf_ctx): Likewise.
32244         (libc_feupdateenvf_ctx): Likewise.
32245         (libc_feholdsetroundf_ctx): Likewise.
32246         (libc_feresetroundf_ctx): Likewise.
32247         (libc_feholdexcept_setround_ctx): Likewise.
32248         (libc_fesetenv_ctx): Likewise.
32249         (libc_feupdateenv_ctx): Likewise.
32250         (libc_feholdsetround_ctx): Likewise.
32251         (libc_feresetround_ctx): Likewise.
32252         (libc_feholdexcept_setroundl_ctx): Likewise.
32253         (libc_feupdateenvl_ctx): Likewise.
32254         (libc_feholdsetroundl_ctx): Likewise.
32255         (libc_feresetroundl_ctx): Likewise.
32256         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
32257         (libc_feresetround_53bit_ctx): Likewise.
32259 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32261         * locale/iso-639.def: Convert to UTF-8.
32263 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
32265         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
32266         (EXCEPTION_TESTS_double): Likewise.
32267         (EXCEPTION_TESTS_long_double): Likewise.
32268         (EXCEPTION_TESTS): Likewise.
32269         * math/libm-test.inc (test_exceptions): Only test exceptions if
32270         EXCEPTION_TESTS (FLOAT).
32272 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32274         * benchtests/Makefile (string-bench): Add strcpy_chk and
32275         stpcpy_chk.
32276         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
32277         * benchtests/bench-stpcpy_chk.c: New file.
32278         * benchtests/bench-strcpy_chk-ifunc.c: New file.
32279         * benchtests/bench-strcpy_chk.c: New file.
32280         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
32281         code.
32282         (do_test): Likewise.
32284 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32286         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
32287         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
32288         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
32289         with tabs where appropriate.
32290         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
32291         dl-procinfo.h.
32292         [PPC_PLATFORM_PPC440]: Likewise.
32293         [PPC_PLATFORM_PPC464]: Likewise.
32294         [PPC_PLATFORM_PPC476]: Likewise.
32295         (_dl_string_platform): Add support for detecting ppc405, ppc440,
32296         ppc464, and ppc476 platform strings merging from ports/
32297         dl-procinfo.h.
32299 2013-06-11  Andreas Schwab  <schwab@suse.de>
32301         [BZ #14991]
32302         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
32303         (from_ucs4_idx): Regenerate.
32304         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
32305         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
32306         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
32307         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
32308         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
32309         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
32310         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
32311         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
32312         from FROM_LOOP and TO_LOOP specific macros.
32313         (BODY): Handle combining characters.
32314         * iconvdata/BIG5HKSCS.irreversible: Update.
32315         * iconvdata/BIG5HKSCS.precomposed: New file.
32316         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
32317         characters.
32318         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
32320 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32322         * include/sys/time.h: Fix indentation and add copyright header.
32324         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
32325         (do_test): Likewise.
32326         * string/test-memchr.c (do_one_test): Likewise.
32327         (do_test): Likewise.
32328         * string/test-memcmp.c (do_one_test): Likewise.
32329         (do_test): Likewise.
32330         * string/test-memcpy.c (do_one_test): Likewise.
32331         (do_test): Likewise.
32332         * string/test-memmem.c (do_one_test): Likewise.
32333         (do_test): Likewise.
32334         (do_random_tests): Likewise.
32335         * string/test-memmove.c (do_one_test): Likewise.
32336         (do_test): Likewise.
32337         * string/test-memset.c (do_one_test): Likewise.
32338         (do_test): Likewise.
32339         * string/test-rawmemchr.c (do_one_test): Likewise.
32340         (do_test): Likewise.
32341         * string/test-strcasecmp.c (do_one_test): Likewise.
32342         (do_test): Likewise.
32343         * string/test-strcasestr.c (do_one_test): Likewise.
32344         (do_test): Likewise.
32345         * string/test-strcat.c (do_one_test): Likewise.
32346         (do_test): Likewise.
32347         * string/test-strchr.c (do_one_test): Likewise.
32348         (do_test): Likewise.
32349         * string/test-strcmp.c (do_one_test): Likewise.
32350         (do_test): Likewise.
32351         * string/test-strcpy.c (do_one_test): Likewise.
32352         (do_test): Likewise.
32353         * string/test-string.h: Likewise.
32354         (test_init): Likewise.
32355         * string/test-strlen.c (do_one_test): Likewise.
32356         (do_test): Likewise.
32357         * string/test-strncasecmp.c (do_one_test): Likewise.
32358         (do_test): Likewise.
32359         * string/test-strncat.c (do_one_test): Likewise.
32360         (do_test): Likewise.
32361         * string/test-strncmp.c (do_one_test): Likewise.
32362         (do_test_limit): Likewise.
32363         (do_test): Likewise.
32364         * string/test-strncpy.c (do_one_test): Likewise.
32365         (do_test): Likewise.
32366         * string/test-strnlen.c (do_one_test): Likewise.
32367         (do_test): Likewise.
32368         * string/test-strpbrk.c (do_one_test): Likewise.
32369         (do_test): Likewise.
32370         * string/test-strrchr.c (do_one_test): Likewise.
32371         (do_test): Likewise.
32372         * string/test-strspn.c (do_one_test): Likewise.
32373         (do_test): Likewise.
32374         * string/test-strstr.c (do_one_test): Likewise.
32375         (do_test): Likewise.
32377         * benchtests/Makefile (string-bench): Add string benchmarks.
32378         * benchtests/bench-bcopy-ifunc.c: New file.
32379         * benchtests/bench-bcopy.c: New file.
32380         * benchtests/bench-bzero-ifunc.c: New file.
32381         * benchtests/bench-bzero.c: New file.
32382         * benchtests/bench-memccpy-ifunc.c: New file.
32383         * benchtests/bench-memccpy.c: New file.
32384         * benchtests/bench-memchr-ifunc.c: New file.
32385         * benchtests/bench-memchr.c: New file.
32386         * benchtests/bench-memcmp-ifunc.c: New file.
32387         * benchtests/bench-memcmp.c: New file.
32388         * benchtests/bench-memmem-ifunc.c: New file.
32389         * benchtests/bench-memmem.c: New file.
32390         * benchtests/bench-memmove-ifunc.c: New file.
32391         * benchtests/bench-memmove.c: New file.
32392         * benchtests/bench-mempcpy-ifunc.c: New file.
32393         * benchtests/bench-mempcpy.c: New file.
32394         * benchtests/bench-memset-ifunc.c: New file.
32395         * benchtests/bench-memset.c: New file.
32396         * benchtests/bench-rawmemchr-ifunc.c: New file.
32397         * benchtests/bench-rawmemchr.c: New file.
32398         * benchtests/bench-stpcpy-ifunc.c: New file.
32399         * benchtests/bench-stpcpy.c: New file.
32400         * benchtests/bench-stpncpy-ifunc.c: New file.
32401         * benchtests/bench-stpncpy.c: New file.
32402         * benchtests/bench-strcasecmp-ifunc.c: New file.
32403         * benchtests/bench-strcasecmp.c: New file.
32404         * benchtests/bench-strcasestr-ifunc.c: New file.
32405         * benchtests/bench-strcasestr.c: New file.
32406         * benchtests/bench-strcat-ifunc.c: New file.
32407         * benchtests/bench-strcat.c: New file.
32408         * benchtests/bench-strchr-ifunc.c: New file.
32409         * benchtests/bench-strchr.c: New file.
32410         * benchtests/bench-strchrnul-ifunc.c: New file.
32411         * benchtests/bench-strchrnul.c: New file.
32412         * benchtests/bench-strcmp-ifunc.c: New file.
32413         * benchtests/bench-strcmp.c: New file.
32414         * benchtests/bench-strcpy-ifunc.c: New file.
32415         * benchtests/bench-strcpy.c: New file.
32416         * benchtests/bench-strcspn-ifunc.c: New file.
32417         * benchtests/bench-strcspn.c: New file.
32418         * benchtests/bench-strlen-ifunc.c: New file.
32419         * benchtests/bench-strlen.c: New file.
32420         * benchtests/bench-strncasecmp-ifunc.c: New file.
32421         * benchtests/bench-strncasecmp.c: New file.
32422         * benchtests/bench-strncat-ifunc.c: New file.
32423         * benchtests/bench-strncat.c: New file.
32424         * benchtests/bench-strncmp-ifunc.c: New file.
32425         * benchtests/bench-strncmp.c: New file.
32426         * benchtests/bench-strncpy-ifunc.c: New file.
32427         * benchtests/bench-strncpy.c: New file.
32428         * benchtests/bench-strnlen-ifunc.c: New file.
32429         * benchtests/bench-strnlen.c: New file.
32430         * benchtests/bench-strpbrk-ifunc.c: New file.
32431         * benchtests/bench-strpbrk.c: New file.
32432         * benchtests/bench-strrchr-ifunc.c: New file.
32433         * benchtests/bench-strrchr.c: New file.
32434         * benchtests/bench-strspn-ifunc.c: New file.
32435         * benchtests/bench-strspn.c: New file.
32436         * benchtests/bench-strstr-ifunc.c: New file.
32437         * benchtests/bench-strstr.c: New file.
32439         * benchtests/Makefile: Disable parallel execution of targets.
32440         (string-bench): Add memcpy.
32441         (benchset): New variable to store a list of benchmark sets.
32442         (bench-func): Renamed from bench.
32443         (bench-set): New target.
32444         (bench): Depend on bench-func and bench-set.
32445         * benchtests/README: Add section on benchmark sets.
32446         * benchtests/bench-memcpy-ifunc.c: New file.
32447         * benchtests/bench-memcpy.c: New file.
32448         * benchtests/bench-string.h: New file.
32450 2013-06-11  Andreas Schwab  <schwab@suse.de>
32452         [BZ #15577]
32453         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
32454         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
32455         values in the triple.
32456         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
32457         terminator in the group key.
32459 2013-06-11  Andreas Jaeger  <aj@suse.de>
32461         * po/zh_TW.po: Update Chinese (traditional) translation from
32462         translation project.
32464 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32466         * include/time.h (__clock_gettime): Add libc_hidden_proto.
32467         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
32468         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
32469         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32470         (clock_getcpuclockid): Likewise.
32471         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
32472         Add weak_alias and libc_hidden_def.
32473         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
32474         * rt/clock_gettime.c (clock_gettime): Rename to
32475         __clock_gettime.  Add weak_alias and libc_hidden_def.
32476         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
32477         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
32478         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
32479         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
32480         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
32481         Likewise.
32482         * rt/clock_settime.c (clock_settime): Rename to
32483         __clock_settime.  Add weak_alias and libc_hidden_def.
32484         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
32486 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
32488         * mach/err_boot.sub: Remove trailing whitespace.
32489         * mach/err_ipc.sub: Likewise.
32490         * mach/err_mach.sub: Likewise.
32492         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
32493         (ROUNDING_TESTS_double): Likewise.
32494         (ROUNDING_TESTS_long_double): Likewise.
32495         (ROUNDING_TESTS): Likewise.
32496         * math/libm-test.inc: Include <math-tests.h>.
32497         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
32498         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
32499         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
32500         (IF_ROUND_INIT_FE_UPWARD): Likewise.
32502 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32504         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
32505         of assigning.
32507 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
32509         * sysdeps/gnu/errlist.awk: Do not generate space at end of
32510         otherwise empty TRANS lines.
32511         * sysdeps/gnu/errlist.c: Regenerated.
32513         * catgets/gencat.c (error_print): Use (void) in function
32514         definition.
32515         * crypt/crypt_util.c (__init_des): Likewise.
32516         * crypt/speeds.c (Stop): Likewise.
32517         (main): Likewise.
32518         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
32519         * inet/ruserpass.c (token): Likewise.
32520         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
32521         * intl/localealias.c (extend_alias_table): Likewise.
32522         * intl/plural-exp.c (init_germanic_plural): Likewise.
32523         * libio/fcloseall.c (__fcloseall): Likewise.
32524         * libio/genops.c (_IO_flush_all): Likewise.
32525         (_IO_flush_all_linebuffered): Likewise.
32526         (_IO_cleanup): Likewise.
32527         (_IO_iter_begin): Likewise.
32528         (_IO_iter_end): Likewise.
32529         (_IO_list_lock): Likewise.
32530         (_IO_list_unlock): Likewise.
32531         (_IO_list_resetlock): Likewise.
32532         * libio/getchar.c (getchar): Likewise.
32533         * libio/getchar_u.c (getchar_unlocked): Likewise.
32534         * libio/getwchar.c (getwchar): Likewise.
32535         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
32536         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
32537         * login/getpt.c (__getpt): Likewise.
32538         * login/tst-utmp.c (main): Likewise.
32539         * malloc/hooks.c (__malloc_check_init): Likewise.
32540         * malloc/malloc.c (__malloc_stats): Likewise.
32541         * malloc/mtrace.c (tr_break): Likewise.
32542         (mtrace): Likewise.
32543         (muntrace): Likewise.
32544         * misc/fstab.c (endfsent): Likewise.
32545         * misc/getclktck.c (__getclktck): Likewise.
32546         * misc/getdtsz.c (__getdtablesize): Likewise.
32547         * misc/gethostid.c (gethostid): Likewise.
32548         * misc/getpagesize.c (__getpagesize): Likewise.
32549         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
32550         (__get_nprocs): Likewise.
32551         (__get_phys_pages): Likewise.
32552         (__get_avphys_pages): Likewise.
32553         * misc/getttyent.c (getttyent): Likewise.
32554         (setttyent): Likewise.
32555         (endttyent): Likewise.
32556         * misc/getusershell.c (getusershell): Likewise.
32557         (endusershell): Likewise.
32558         (setusershell): Likewise.
32559         (initshells): Likewise.
32560         * misc/hsearch.c (__hdestroy): Likewise.
32561         * misc/sync.c (sync): Likewise.
32562         * misc/syslog.c (closelog_internal): Likewise.
32563         (closelog): Likewise.
32564         * misc/ttyslot.c (ttyslot): Likewise.
32565         * misc/vhangup.c (vhangup): Likewise.
32566         * posix/fork.c (__fork): Likewise.
32567         * posix/getegid.c (__getegid): Likewise.
32568         * posix/geteuid.c (__geteuid): Likewise.
32569         * posix/getgid.c (__getgid): Likewise.
32570         * posix/getpid.c (__getpid): Likewise.
32571         * posix/getppid.c (__getppid): Likewise.
32572         * posix/getuid.c (__getuid): Likewise.
32573         * posix/pause.c (pause): Likewise.
32574         * posix/setpgrp.c (setpgrp): Likewise.
32575         * posix/setsid.c (__setsid): Likewise.
32576         * posix/test-vfork.c (noop): Likewise.
32577         * resolv/gethnamaddr.c (_endhtent): Likewise.
32578         (_gethtent): Likewise.
32579         (ht_endhostent): Likewise.
32580         (gethostent): Likewise.
32581         (dns_service): Likewise.
32582         * stdlib/drand48.c (drand48): Likewise.
32583         * stdlib/lrand48.c (lrand48): Likewise.
32584         * stdlib/mrand48.c (mrand48): Likewise.
32585         * stdlib/rand.c (rand): Likewise.
32586         * stdlib/random.c (__random): Likewise.
32587         * stdlib/setenv.c (clearenv): Likewise.
32588         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
32589         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
32590         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
32591         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
32592         (__get_nprocs): Likewise.
32593         (__get_phys_pages): Likewise.
32594         (__get_avphys_pages): Likewise.
32595         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
32596         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
32597         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
32598         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
32599         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
32600         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
32601         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
32602         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
32603         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
32604         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
32605         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
32606         * sysdeps/mach/hurd/sync.c (sync): Likewise.
32607         * sysdeps/posix/clock.c (clock): Likewise.
32608         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
32609         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
32610         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
32611         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
32612         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
32613         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32614         (__get_nprocs_conf): Likewise.
32615         (__get_phys_pages): Likewise.
32616         (__get_avphys_pages): Likewise.
32617         * time/clock.c (clock): Likewise.
32618         * time/tzset.c (__tzname_max): Likewise.
32620 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
32622         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
32623         (__bswap_32): Do not use "register".
32624         * crypt/crypt.c (_ufc_doit_r): Likewise.
32625         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
32626         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
32627         * gmon/gmon.c (__monstartup): Likewise.
32628         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
32629         * hurd/hurdmalloc.c (more_memory): Likewise.
32630         (malloc): Likewise.
32631         (free): Likewise.
32632         (realloc): Likewise.
32633         (malloc_fork_prepare): Likewise.
32634         (malloc_fork_parent): Likewise.
32635         (malloc_fork_child): Likewise.
32636         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
32637         (_svcauth_des): Likewise.
32638         * inet/inet_lnaof.c (inet_lnaof): Likewise.
32639         * inet/inet_net.c (inet_network): Likewise.
32640         * inet/inet_netof.c (inet_netof): Likewise.
32641         * inet/rcmd.c (__validuser2_sa): Likewise.
32642         * io/fts.c (fts_open): Likewise.
32643         (fts_load): Likewise.
32644         (fts_close): Likewise.
32645         (fts_read): Likewise.
32646         (fts_children): Likewise.
32647         (fts_build): Likewise.
32648         (fts_stat): Likewise.
32649         (fts_sort): Likewise.
32650         (fts_alloc): Likewise.
32651         (fts_lfree): Likewise.
32652         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
32653         (_IO_file_xsgetn): Likewise.
32654         (_IO_file_xsgetn_mmap): Likewise.
32655         * libio/iofopncook.c (_IO_cookie_read): Likewise.
32656         (_IO_cookie_write): Likewise.
32657         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
32658         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
32659         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
32660         * malloc/obstack.c (_obstack_begin): Likewise.
32661         (_obstack_begin_1): Likewise.
32662         (_obstack_newchunk): Likewise.
32663         (_obstack_allocated_p): Likewise.
32664         (obstack_free): Likewise.
32665         (_obstack_memory_used): Likewise.
32666         * misc/getttyent.c (getttynam): Likewise.
32667         (getttyent): Likewise.
32668         (skip): Likewise.
32669         (value): Likewise.
32670         * misc/getusershell.c (initshells): Likewise.
32671         * misc/syslog.c (__vsyslog_chk): Likewise.
32672         * misc/ttyslot.c (ttyslot): Likewise.
32673         * nis/nis_hash.c (__nis_hash): Likewise.
32674         * posix/fnmatch_loop.c (FCT): Likewise.
32675         * posix/getconf.c (print_all): Likewise.
32676         (main): Likewise.
32677         * posix/getopt.c (exchange): Likewise.
32678         * posix/glob.c (globfree): Likewise.
32679         (prefix_array): Likewise.
32680         (__glob_pattern_type): Likewise.
32681         * resolv/arpa/nameser.h (NS_GET16): Likewise.
32682         (NS_GET32): Likewise.
32683         (NS_PUT16): Likewise.
32684         (NS_PUT32): Likewise.
32685         * resolv/gethnamaddr.c (getanswer): Likewise.
32686         (gethostbyname2): Likewise.
32687         (gethostbyaddr): Likewise.
32688         (_gethtent): Likewise.
32689         (_gethtbyname2): Likewise.
32690         (_gethtbyaddr): Likewise.
32691         * resolv/ns_print.c (dst_s_get_int16): Likewise.
32692         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
32693         * resolv/res_init.c (__res_vinit): Likewise.
32694         (net_mask): Likewise.
32695         * resolv/res_mkquery.c (outchar): Likewise.
32696         (PRINT): Likewise.
32697         * stdio-common/printf_fp.c (outchar): Likewise.
32698         (PRINT): Likewise.
32699         * stdio-common/printf_fphex.c (outchar): Likewise.
32700         (PRINT): Likewise.
32701         * stdio-common/printf_size.c (outchar): Likewise.
32702         (PRINT): Likewise.
32703         * stdio-common/test_rdwr.c (main): Likewise.
32704         * stdio-common/tfformat.c (matches): Likewise.
32705         * stdio-common/vfprintf.c (outchar): Likewise.
32706         (printf_unknown): Likewise.
32707         (buffered_vfprintf): Likewise.
32708         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
32709         * stdio-common/xbug.c (AppendToBuffer): Likewise.
32710         (ReadFile): Likewise.
32711         * stdlib/qsort.c (SWAP): Likewise.
32712         (_quicksort): Likewise.
32713         * stdlib/setenv.c (__add_to_environ): Likewise.
32714         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
32715         * stdlib/strtol_l.c (__strtol_l): Likewise.
32716         * stdlib/tst-strtod.c (main): Likewise.
32717         * stdlib/tst-strtol.c (main): Likewise.
32718         * stdlib/tst-strtoll.c (main): Likewise.
32719         * string/bits/string2.h (__strcmp_cc): Likewise.
32720         (__strcmp_cg): Likewise.
32721         (__strcspn_c1): Likewise.
32722         (__strcspn_c2): Likewise.
32723         (__strcspn_c3): Likewise.
32724         (__strspn_c1): Likewise.
32725         (__strspn_c2): Likewise.
32726         (__strspn_c3): Likewise.
32727         (__strsep_1c): Likewise.
32728         (__strsep_2c): Likewise.
32729         (__strsep_3c): Likewise.
32730         * string/memccpy.c (__memccpy): Likewise.
32731         * string/stpcpy.c (__stpcpy): Likewise.
32732         * string/strcmp.c (strcmp): Likewise.
32733         * string/strrchr.c (strrchr): Likewise.
32734         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
32735         Likewise.
32736         * sysdeps/mach/hurd/getcwd.c
32737         (_hurd_canonicalize_directory_name_internal): Likewise.
32738         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
32739         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
32740         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
32741         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
32742         Likewise, in both definitions.
32743         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
32744         definitions.
32745         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
32746         64] (__bswap_64): Likewise.
32747         * time/test_time.c (main): Likewise.
32748         * time/tzfile.c (__tzfile_read): Likewise.
32749         (__tzfile_compute): Likewise.
32750         * time/tzset.c (__tzset_parse_tz): Likewise.
32751         (tzset_internal): Likewise.
32752         (compute_change): Likewise.
32753         * wcsmbs/wcscat.c (__wcscat): Likewise.
32754         * wcsmbs/wcschr.c (wcschr): Likewise.
32755         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
32756         * wcsmbs/wcscspn.c (wcscspn): Likewise.
32757         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
32758         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
32759         * wcsmbs/wcsspn.c (wcsspn): Likewise.
32760         * wcsmbs/wcsstr.c (wcsstr): Likewise.
32761         * wcsmbs/wmemchr.c (wmemchr): Likewise.
32762         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32763         * wcsmbs/wmemset.c (wmemset): Likewise.
32765 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
32767         * scripts/config.guess: Update to version 2013-05-16.
32768         * scripts/config.sub: Update to version 2013-04-24.
32769         * scripts/install-sh: Update to version 2011-11-20.07.
32770         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
32771         * scripts/move-if-change: Update to version 2012-01-06 07:23.
32773 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
32775         * debug/fgetws_u_chk.c: Fix leading whitespaces.
32776         * elf/sln.c: Likewise.
32777         * hurd/hurd/ioctl.h: Likewise.
32778         * hurd/hurdmalloc.c: Likewise.
32779         * hurd/xattr.c: Likewise.
32780         * include/shlib-compat.h: Likewise.
32781         * inet/ruserpass.c: Likewise.
32782         * libio/iofgets_u.c: Likewise.
32783         * libio/iofgetws_u.c: Likewise.
32784         * locale/programs/ld-identification.c: Likewise.
32785         * locale/programs/ld-time.c: Likewise.
32786         * mach/msg-destroy.c: Likewise.
32787         * nss/nss_files/files-netgrp.c: Likewise.
32788         * resolv/res_data.c: Likewise.
32789         * soft-fp/op-1.h: Likewise.
32790         * soft-fp/op-2.h: Likewise.
32791         * soft-fp/op-4.h: Likewise.
32792         * soft-fp/op-common.h: Likewise.
32793         * stdio-common/printf_fphex.c: Likewise.
32794         * stdlib/strtod_l.c: Likewise.
32795         * sunrpc/rpc/clnt.h: Likewise.
32796         * sysdeps/generic/framestate.c: Likewise.
32797         * sysdeps/i386/bsd-_setjmp.S: Likewise.
32798         * sysdeps/i386/bsd-setjmp.S: Likewise.
32799         * sysdeps/i386/__longjmp.S: Likewise.
32800         * sysdeps/i386/setjmp.S: Likewise.
32801         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32802         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32803         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32804         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32805         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32806         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
32807         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32808         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32809         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32810         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32811         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
32812         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
32813         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
32814         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
32815         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
32816         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32817         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
32818         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
32819         * sysdeps/ieee754/support.c: Likewise.
32820         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32821         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
32822         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
32823         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
32824         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
32825         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
32826         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
32827         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
32828         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
32829         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
32830         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
32831         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
32832         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
32833         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
32834         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
32835         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
32836         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
32839 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
32841         * posix/transbug.c: Remove executable mode.
32843 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
32845         * crypt/speeds.c: Remove trailing whitespace.
32846         * dlfcn/default.c: Likewise.
32847         * elf/ifuncdep2.c: Likewise.
32848         * elf/ifuncmain1.c: Likewise.
32849         * elf/ifuncmain1vis.c: Likewise.
32850         * elf/testobj.h: Likewise.
32851         * elf/tst-stackguard1.c: Likewise.
32852         * gmon/sys/gmon.h: Likewise.
32853         * hurd/hurdmsg.c: Likewise.
32854         * hurd/new-fd.c: Likewise.
32855         * hurd/ports-get.c: Likewise.
32856         * iconvdata/ibm1008_420.c: Likewise.
32857         * inet/tst-getni1.c: Likewise.
32858         * inet/tst-getni2.c: Likewise.
32859         * libio/ioungetc.c: Likewise.
32860         * libio/wfiledoalloc.c: Likewise.
32861         * manual/libm-err-tab.pl: Likewise.
32862         * math/w_dremf.c: Likewise.
32863         * misc/ftruncate.c: Likewise.
32864         * posix/bug-glob2.c: Likewise.
32865         * posix/tst-pcre.c: Likewise.
32866         * posix/wait4.c: Likewise.
32867         * resolv/README: Likewise.
32868         * resolv/res_debug.h: Likewise.
32869         * resolv/tst-inet_ntop.c: Likewise.
32870         * setjmp/bug269-setjmp.c: Likewise.
32871         * soft-fp/extended.h: Likewise.
32872         * soft-fp/op-1.h: Likewise.
32873         * soft-fp/op-2.h: Likewise.
32874         * soft-fp/op-4.h: Likewise.
32875         * soft-fp/op-8.h: Likewise.
32876         * soft-fp/testit.c: Likewise.
32877         * stdio-common/bug16.c: Likewise.
32878         * stdlib/random.c: Likewise.
32879         * sunrpc/rpcsvc/rquota.x: Likewise.
32880         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
32881         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32882         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32883         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32884         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32885         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32886         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32887         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32888         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32889         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32890         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32891         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
32892         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32893         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
32894         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32895         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
32896         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
32897         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32898         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
32899         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32900         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32901         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32902         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
32903         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
32904         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
32905         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
32906         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32907         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32908         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32909         * sysdeps/ieee754/s_lib_version.c: Likewise.
32910         * sysdeps/mach/hurd/check_fds.c: Likewise.
32911         * sysdeps/mach/hurd/getsockname.c: Likewise.
32912         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
32913         * sysdeps/mach/hurd/recvfrom.c: Likewise.
32914         * sysdeps/powerpc/bits/link.h: Likewise.
32915         * sysdeps/powerpc/dl-procinfo.c: Likewise.
32916         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
32917         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
32918         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
32919         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32920         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
32921         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
32922         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32923         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
32924         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32925         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
32926         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
32927         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
32928         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32929         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32930         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32931         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
32932         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
32933         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32934         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32935         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32936         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
32937         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32938         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
32939         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
32940         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
32941         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
32942         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32943         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32944         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
32945         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
32946         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
32947         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32948         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32949         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
32950         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32951         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
32952         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
32953         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
32954         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
32955         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
32956         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
32957         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
32958         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
32959         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
32960         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
32961         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
32962         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
32963         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
32964         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
32965         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32966         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32967         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32968         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32969         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
32970         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
32971         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
32972         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32973         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
32974         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
32975         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
32976         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
32977         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
32978         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32979         * sysdeps/powerpc/sysdep.h: Likewise.
32980         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32981         * sysdeps/s390/s390-64/sub_n.S: Likewise.
32982         * sysdeps/sh/dl-trampoline.S: Likewise.
32983         * sysdeps/sh/memset.S: Likewise.
32984         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
32985         * sysdeps/sh/strlen.S: Likewise.
32986         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
32987         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
32988         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
32989         * sysdeps/sparc/sparc32/rem.S: Likewise.
32990         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
32991         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
32992         * sysdeps/sparc/sparc32/strchr.S: Likewise.
32993         * sysdeps/sparc/sparc32/udiv.S: Likewise.
32994         * sysdeps/sparc/sparc32/urem.S: Likewise.
32995         * sysdeps/sparc/sparc64/add_n.S: Likewise.
32996         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32997         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
32998         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
32999         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
33000         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
33001         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
33002         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
33003         * sysdeps/unix/bsd/times.c: Likewise.
33004         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
33005         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
33006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
33007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
33008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
33009         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
33010         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
33011         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
33012         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
33013         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
33014         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
33015         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33016         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
33017         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33018         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33019         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
33020         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33021         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
33022         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
33023         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
33024         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
33025         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
33026         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33027         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
33028         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
33029         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
33030         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
33031         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33032         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
33033         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
33034         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
33035         * sysdeps/x86_64/strcspn.S: Likewise.
33037 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33039         * locale/C-translit.h: Revert #include <stdint.h> because this is a
33040         generated file.  Regenerate properly from gen-translit.pl.
33041         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
33042         locale/C-translit.h.
33044 2013-06-05  Andreas Schwab  <schwab@suse.de>
33046         [BZ #15100]
33047         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
33048         week as 6 instead of -1.
33049         * time/tst-strptime.c (day_tests): Add test case.
33051 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33053         * sysdeps/generic/math_private.h
33054         (libc_feholdexcept_setround_53bit): Replace with
33055         libc_feholdsetround_53bit.
33056         (libc_feupdateenv_53bit): Replace with
33057         libc_feresetround_53bit.
33058         (SET_RESTORE_ROUND_53BIT): Adjust.
33060 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33062         * string/test-strchrnul.c: Add copyright header.
33064         * posix/tst-getaddrinfo4.c: Increase test timeout.
33066 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
33068         [BZ #15536]
33069         * math/libm-test.inc (MAX_EXP): Remove
33070         (MIN_EXP): Define.
33071         (ulp): Use MIN_EXP - MANT_DIG.
33072         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
33074 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
33076         * po/be.po: Revert last change.
33077         * po/zh_CN.po: Likewise.
33078         * po/header.pot: Likewise.
33080 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
33082         * Makefile ($(common-objpfx)linkobj/libc.so): Define
33083         link-libc-deps to empty as target-specific variable.
33084         * Makerules (link-libc-args): New variable.
33085         (libc-for-link): Likewise.
33086         (link-libc-deps): Likewise.
33087         (lib%.so): Depend on $(link-libc-deps).  Link with
33088         $(link-libc-args).
33089         (build-module): Link with $(link-libc-args).
33090         (build-module-asneeded): Likewise.
33091         (build-module-helper-objlist): Filter out $(link-libc-deps) from
33092         list of objects.
33093         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
33094         target-specific variable.
33095         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
33096         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
33097         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
33098         libc.
33099         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
33100         libc and ld.so.
33101         ($(objpfx)libpcprofile.so): Likewise.
33102         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
33103         libc_nonshared.a.
33104         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
33105         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
33106         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
33107         $(link-libc-deps).
33108         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
33109         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
33110         * login/Makefile ($(objpfx)libutil.so): Likewise.
33111         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
33112         * math/Makefile ($(objpfx)libm.so): Likewise.
33113         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
33114         $(objpfx)libnsl.so): Define libc-for-link as target-specific
33115         variable instead of depending directly on libc.
33116         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
33117         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
33118         $(link-libc-deps).
33119         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
33120         libc.
33121         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
33122         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
33123         ($(objpfx)libanl.so): Likewise.
33124         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
33125         ld.so.
33126         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
33127         $(link-libc-deps).
33128         * sysdeps/i386/fpu/Makefile: Remove file.
33129         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
33130         ($(objpfx)libm.so): Remove dependency on ld.so.
33132 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
33134         [BZ # 15553]
33135         * nis/yp_xdr.c (XDRMAXNAME): Define.
33136         (XDRMAXRECORD): Define.
33137         (xdr_domainname): Use XDRMAXNAME.
33138         (xdr_mapname): Likewise.
33139         (xdr_peername): Likewise.
33140         (xdr_keydat): Use XDRMAXRECORD.
33141         (xdr_valdat): Likewise.
33143 2013-05-30  Jeff Law  <law@redhat.com>
33145         [BZ #14256]
33146         * manual/errno.texi (ESTALE): Update to account for more than
33147         just NFS file systems.
33148         * sysdeps/gnu/errlist.c: Regenerated.
33150 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33152         [BZ #15465]
33153         * elf/Makefile (tests): Add tst-null-argv.
33154         (modules-names):  Add tst-null-argv-lib.
33155         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
33156         (tst-null-argv-ENV): Set environment for tst-null-argv.
33157         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
33158         (RTLD_PROGNAME): New macro.
33159         * elf/tst-null-argv.c: New test case.
33160         * elf/tst-null-argv-lib.c: Library for test case.
33161         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
33162         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
33163         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
33164         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
33165         * elf/dl-init.c (call_init): Likewise.
33166         (_dl_init): Likewise.
33167         * elf/dl-load.c (print_search_path): Likewise.
33168         (_dl_map_object): Likewise.
33169         * elf/dl-lookup.c (do_lookup_x): Likewise.
33170         (add_dependency): Likewise.
33171         (_dl_lookup_symbol_x): Likewise.
33172         (_dl_debug_bindings): Likewise.
33173         * elf/dl-open.c (_dl_show_scope): Likewise.
33174         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
33175         * elf/dl-version.c (match_symbol): Likewise.
33176         (_dl_check_map_versions): Likewise.
33177         * elf/rtld.c (dl_main): Likewise.
33178         (print_unresolved): Use RTLD_PROGNAME.
33179         (print_missing_version): Likewise.
33180         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
33181         (elf_machine_rela): Likewise.
33182         * sysdeps/powerpc/powerpc32/dl-machine.c
33183         (__process_machine_rela): Likewise.
33184         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33185         Likewise.
33186         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33187         Likewise.
33188         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
33189         Likewise.
33190         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33191         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
33192         Likewise.
33193         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
33194         Likewise.
33195         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33197 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
33199         * po/be.po: Add descriptive title.
33200         * po/zh_CN.po: Likewise.
33201         * po/header.pot: Likewise.
33203 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
33205         * locale/programs/locarchive.c (create_archive): Inlucde fname in
33206         error message.
33207         (enlarge_archive): Likewise.
33209 2013-05-28  Ben North  <ben@redfrontdoor.org>
33211         * manual/arith.texi (frexp): It is the magnitude of the return
33212         value which lies in [0.5, 1), not the return value itself.
33214 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33216         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33218 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
33220         * stdio-common/bug26.c (main): Correct fscanf template.
33222         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
33223         declare _dl_skip_args.
33225         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
33226         Don't declare.
33228         * manual/platform.texi: Add missing @end deftypefun.
33230 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33232         [BZ #15529]
33233         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
33234         bit of mantissa of 2^16382.
33235         * math/libm-test.inc (hypot_test_data): Add more tests.
33237         * math/libm-test.inc: Add drem and pow10 to list of tested
33238         functions.
33239         (pow10_test): New function.
33240         (drem_test): Likewise.
33241         (drem_test_tonearest): Likewise.
33242         (drem_test_towardzero): Likewise.
33243         (drem_test_downward): Likewise.
33244         (drem_test_upward): Likewise.
33245         (main): Call the new functions.
33247         * math/libm-test.inc (finite_test_data): Remove.
33248         (finite_test): Run tests from isfinite_test_data.
33249         (gamma_test_data): Remove.
33250         (gamma_test): Run tests from lgamma_test_data.
33251         * sysdeps/i386/fpu/libm-test-ulps: Update.
33252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33254 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33256         * manual/platform.texi: Add PowerPC PPR function set documentation.
33257         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
33258         implementation.
33260 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
33262         * math/libm-test.inc (MAX_EXP): Define.
33263         (ULPDIFF): Define.
33264         (ulp): New function.
33265         (check_float_internal): Use ULPDIFF.
33266         (cpow_test): Disable failing test.
33267         (check_ulp): Test ulp() implemetnation.
33268         (main): Call check_ulp before starting tests.
33270 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33272         * math/gen-libm-test.pl (generate_testfile): Do not handle
33273         START_DATA and END_DATA.
33274         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
33275         END_DATA.
33276         (acos_tonearest_test_data): Likewise.
33277         (acos_towardzero_test_data): Likewise.
33278         (acos_downward_test_data): Likewise.
33279         (acos_upward_test_data): Likewise.
33280         (acosh_test_data): Likewise.
33281         (asin_test_data): Likewise.
33282         (asin_tonearest_test_data): Likewise.
33283         (asin_towardzero_test_data): Likewise.
33284         (asin_downward_test_data): Likewise.
33285         (asin_upward_test_data): Likewise.
33286         (asinh_test_data): Likewise.
33287         (atan_test_data): Likewise.
33288         (atanh_test_data): Likewise.
33289         (atan2_test_data): Likewise.
33290         (cabs_test_data): Likewise.
33291         (cacos_test_data): Likewise.
33292         (cacosh_test_data): Likewise.
33293         (carg_test_data): Likewise.
33294         (casin_test_data): Likewise.
33295         (casinh_test_data): Likewise.
33296         (catan_test_data): Likewise.
33297         (catanh_test_data): Likewise.
33298         (cbrt_test_data): Likewise.
33299         (ccos_test_data): Likewise.
33300         (ccosh_test_data): Likewise.
33301         (ceil_test_data): Likewise.
33302         (cexp_test_data): Likewise.
33303         (cimag_test_data): Likewise.
33304         (clog_test_data): Likewise.
33305         (clog10_test_data): Likewise.
33306         (conj_test_data): Likewise.
33307         (copysign_test_data): Likewise.
33308         (cos_test_data): Likewise.
33309         (cos_tonearest_test_data): Likewise.
33310         (cos_towardzero_test_data): Likewise.
33311         (cos_downward_test_data): Likewise.
33312         (cos_upward_test_data): Likewise.
33313         (cosh_test_data): Likewise.
33314         (cosh_tonearest_test_data): Likewise.
33315         (cosh_towardzero_test_data): Likewise.
33316         (cosh_downward_test_data): Likewise.
33317         (cosh_upward_test_data): Likewise.
33318         (cpow_test_data): Likewise.
33319         (cproj_test_data): Likewise.
33320         (creal_test_data): Likewise.
33321         (csin_test_data): Likewise.
33322         (csinh_test_data): Likewise.
33323         (csqrt_test_data): Likewise.
33324         (ctan_test_data): Likewise.
33325         (ctan_tonearest_test_data): Likewise.
33326         (ctan_towardzero_test_data): Likewise.
33327         (ctan_downward_test_data): Likewise.
33328         (ctan_upward_test_data): Likewise.
33329         (ctanh_test_data): Likewise.
33330         (ctanh_tonearest_test_data): Likewise.
33331         (ctanh_towardzero_test_data): Likewise.
33332         (ctanh_downward_test_data): Likewise.
33333         (ctanh_upward_test_data): Likewise.
33334         (erf_test_data): Likewise.
33335         (erfc_test_data): Likewise.
33336         (exp_test_data): Likewise.
33337         (exp_tonearest_test_data): Likewise.
33338         (exp_towardzero_test_data): Likewise.
33339         (exp_downward_test_data): Likewise.
33340         (exp_upward_test_data): Likewise.
33341         (exp10_test_data): Likewise.
33342         (exp2_test_data): Likewise.
33343         (expm1_test_data): Likewise.
33344         (fabs_test_data): Likewise.
33345         (fdim_test_data): Likewise.
33346         (finite_test_data): Likewise.
33347         (floor_test_data): Likewise.
33348         (fma_test_data): Likewise.
33349         (fma_towardzero_test_data): Likewise.
33350         (fma_downward_test_data): Likewise.
33351         (fma_upward_test_data): Likewise.
33352         (fmax_test_data): Likewise.
33353         (fmin_test_data): Likewise.
33354         (fmod_test_data): Likewise.
33355         (fpclassify_test_data): Likewise.
33356         (frexp_test_data): Likewise.
33357         (gamma_test_data): Likewise.
33358         (hypot_test_data): Likewise.
33359         (ilogb_test_data): Likewise.
33360         (isfinite_test_data): Likewise.
33361         (isgreater_test_data): Likewise.
33362         (isgreaterequal_test_data): Likewise.
33363         (isinf_test_data): Likewise.
33364         (isless_test_data): Likewise.
33365         (islessequal_test_data): Likewise.
33366         (islessgreater_test_data): Likewise.
33367         (isnan_test_data): Likewise.
33368         (isnormal_test_data): Likewise.
33369         (issignaling_test_data): Likewise.
33370         (isunordered_test_data): Likewise.
33371         (j0_test_data): Likewise.
33372         (j1_test_data): Likewise.
33373         (jn_test_data): Likewise.
33374         (ldexp_test_data): Likewise.
33375         (lgamma_test_data): Likewise.
33376         (lrint_test_data): Likewise.
33377         (lrint_tonearest_test_data): Likewise.
33378         (lrint_towardzero_test_data): Likewise.
33379         (lrint_downward_test_data): Likewise.
33380         (lrint_upward_test_data): Likewise.
33381         (llrint_test_data): Likewise.
33382         (llrint_tonearest_test_data): Likewise.
33383         (llrint_towardzero_test_data): Likewise.
33384         (llrint_downward_test_data): Likewise.
33385         (llrint_upward_test_data): Likewise.
33386         (log_test_data): Likewise.
33387         (log10_test_data): Likewise.
33388         (log1p_test_data): Likewise.
33389         (log2_test_data): Likewise.
33390         (logb_test_data): Likewise.
33391         (logb_downward_test_data): Likewise.
33392         (lround_test_data): Likewise.
33393         (llround_test_data): Likewise.
33394         (modf_test_data): Likewise.
33395         (nearbyint_test_data): Likewise.
33396         (nextafter_test_data): Likewise.
33397         (nexttoward_test_data): Likewise.
33398         (pow_test_data): Likewise.
33399         (pow_tonearest_test_data): Likewise.
33400         (pow_towardzero_test_data): Likewise.
33401         (pow_downward_test_data): Likewise.
33402         (pow_upward_test_data): Likewise.
33403         (remainder_test_data): Likewise.
33404         (remainder_tonearest_test_data): Likewise.
33405         (remainder_towardzero_test_data): Likewise.
33406         (remainder_downward_test_data): Likewise.
33407         (remainder_upward_test_data): Likewise.
33408         (remquo_test_data): Likewise.
33409         (rint_test_data): Likewise.
33410         (rint_tonearest_test_data): Likewise.
33411         (rint_towardzero_test_data): Likewise.
33412         (rint_downward_test_data): Likewise.
33413         (rint_upward_test_data): Likewise.
33414         (round_test_data): Likewise.
33415         (scalb_test_data): Likewise.
33416         (scalbn_test_data): Likewise.
33417         (scalbln_test_data): Likewise.
33418         (signbit_test_data): Likewise.
33419         (sin_test_data): Likewise.
33420         (sin_tonearest_test_data): Likewise.
33421         (sin_towardzero_test_data): Likewise.
33422         (sin_downward_test_data): Likewise.
33423         (sin_upward_test_data): Likewise.
33424         (sincos_test_data): Likewise.
33425         (sinh_test_data): Likewise.
33426         (sinh_tonearest_test_data): Likewise.
33427         (sinh_towardzero_test_data): Likewise.
33428         (sinh_downward_test_data): Likewise.
33429         (sinh_upward_test_data): Likewise.
33430         (sqrt_test_data): Likewise.
33431         (tan_test_data): Likewise.
33432         (tan_tonearest_test_data): Likewise.
33433         (tan_towardzero_test_data): Likewise.
33434         (tan_downward_test_data): Likewise.
33435         (tan_upward_test_data): Likewise.
33436         (tanh_test_data): Likewise.
33437         (tgamma_test_data): Likewise.
33438         (trunc_test_data): Likewise.
33439         (y0_test_data): Likewise.
33440         (y1_test_data): Likewise.
33441         (yn_test_data): Likewise.
33442         (significand_test_data): Likewise.
33444         * math/gen-libm-test.pl (@functions): Remove variable.
33445         (generate_testfile): Don't handle START and END lines.
33446         * math/libm-test.inc (START): New macro.
33447         (END): Likewise.
33448         (END_COMPLEX): Likewise.
33449         (acos_test): Use END macro without arguments.
33450         (acos_test_tonearest): Likewise.
33451         (acos_test_towardzero): Likewise.
33452         (acos_test_downward): Likewise.
33453         (acos_test_upward): Likewise.
33454         (acosh_test): Likewise.
33455         (asin_test): Likewise.
33456         (asin_test_tonearest): Likewise.
33457         (asin_test_towardzero): Likewise.
33458         (asin_test_downward): Likewise.
33459         (asin_test_upward): Likewise.
33460         (asinh_test): Likewise.
33461         (atan_test): Likewise.
33462         (atanh_test): Likewise.
33463         (atan2_test): Likewise.
33464         (cabs_test): Likewise.
33465         (cacos_test): Use END_COMPLEX macro without arguments.
33466         (cacosh_test): Likewise.
33467         (carg_test): Use END macro without arguments.
33468         (casin_test): Use END_COMPLEX macro without arguments.
33469         (casinh_test): Likewise.
33470         (catan_test): Likewise.
33471         (catanh_test): Likewise.
33472         (cbrt_test): Use END macro without arguments.
33473         (ccos_test): Use END_COMPLEX macro without arguments.
33474         (ccosh_test): Likewise.
33475         (ceil_test): Use END macro without arguments.
33476         (cexp_test): Use END_COMPLEX macro without arguments.
33477         (cimag_test): Use END macro without arguments.
33478         (clog_test): Use END_COMPLEX macro without arguments.
33479         (clog10_test): Likewise.
33480         (conj_test): Likewise.
33481         (copysign_test): Use END macro without arguments.
33482         (cos_test): Likewise.
33483         (cos_test_tonearest): Likewise.
33484         (cos_test_towardzero): Likewise.
33485         (cos_test_downward): Likewise.
33486         (cos_test_upward): Likewise.
33487         (cosh_test): Likewise.
33488         (cosh_test_tonearest): Likewise.
33489         (cosh_test_towardzero): Likewise.
33490         (cosh_test_downward): Likewise.
33491         (cosh_test_upward): Likewise.
33492         (cpow_test): Use END_COMPLEX macro without arguments.
33493         (cproj_test): Likewise.
33494         (creal_test): Use END macro without arguments.
33495         (csin_test): Use END_COMPLEX macro without arguments.
33496         (csinh_test): Likewise.
33497         (csqrt_test): Likewise.
33498         (ctan_test): Likewise.
33499         (ctan_test_tonearest): Likewise.
33500         (ctan_test_towardzero): Likewise.
33501         (ctan_test_downward): Likewise.
33502         (ctan_test_upward): Likewise.
33503         (ctanh_test): Likewise.
33504         (ctanh_test_tonearest): Likewise.
33505         (ctanh_test_towardzero): Likewise.
33506         (ctanh_test_downward): Likewise.
33507         (ctanh_test_upward): Likewise.
33508         (erf_test): Use END macro without arguments.
33509         (erfc_test): Likewise.
33510         (exp_test): Likewise.
33511         (exp_test_tonearest): Likewise.
33512         (exp_test_towardzero): Likewise.
33513         (exp_test_downward): Likewise.
33514         (exp_test_upward): Likewise.
33515         (exp10_test): Likewise.
33516         (exp2_test): Likewise.
33517         (expm1_test): Likewise.
33518         (fabs_test): Likewise.
33519         (fdim_test): Likewise.
33520         (finite_test): Likewise.
33521         (floor_test): Likewise.
33522         (fma_test): Likewise.
33523         (fma_test_towardzero): Likewise.
33524         (fma_test_downward): Likewise.
33525         (fma_test_upward): Likewise.
33526         (fmax_test): Likewise.
33527         (fmin_test): Likewise.
33528         (fmod_test): Likewise.
33529         (fpclassify_test): Likewise.
33530         (frexp_test): Likewise.
33531         (gamma_test): Likewise.
33532         (hypot_test): Likewise.
33533         (ilogb_test): Likewise.
33534         (isfinite_test): Likewise.
33535         (isgreater_test): Likewise.
33536         (isgreaterequal_test): Likewise.
33537         (isinf_test): Likewise.
33538         (isless_test): Likewise.
33539         (islessequal_test): Likewise.
33540         (islessgreater_test): Likewise.
33541         (isnan_test): Likewise.
33542         (isnormal_test): Likewise.
33543         (issignaling_test): Likewise.
33544         (isunordered_test): Likewise.
33545         (j0_test): Likewise.
33546         (j1_test): Likewise.
33547         (jn_test): Likewise.
33548         (ldexp_test): Likewise.
33549         (lgamma_test): Likewise.
33550         (lrint_test): Likewise.
33551         (lrint_test_tonearest): Likewise.
33552         (lrint_test_towardzero): Likewise.
33553         (lrint_test_downward): Likewise.
33554         (lrint_test_upward): Likewise.
33555         (llrint_test): Likewise.
33556         (llrint_test_tonearest): Likewise.
33557         (llrint_test_towardzero): Likewise.
33558         (llrint_test_downward): Likewise.
33559         (llrint_test_upward): Likewise.
33560         (log_test): Likewise.
33561         (log10_test): Likewise.
33562         (log1p_test): Likewise.
33563         (log2_test): Likewise.
33564         (logb_test): Likewise.
33565         (logb_test_downward): Likewise.
33566         (lround_test): Likewise.
33567         (llround_test): Likewise.
33568         (modf_test): Likewise.
33569         (nearbyint_test): Likewise.
33570         (nextafter_test): Likewise.
33571         (nexttoward_test): Likewise.
33572         (pow_test): Likewise.
33573         (pow_test_tonearest): Likewise.
33574         (pow_test_towardzero): Likewise.
33575         (pow_test_downward): Likewise.
33576         (pow_test_upward): Likewise.
33577         (remainder_test): Likewise.
33578         (remainder_test_tonearest): Likewise.
33579         (remainder_test_towardzero): Likewise.
33580         (remainder_test_downward): Likewise.
33581         (remainder_test_upward): Likewise.
33582         (remquo_test): Likewise.
33583         (rint_test): Likewise.
33584         (rint_test_tonearest): Likewise.
33585         (rint_test_towardzero): Likewise.
33586         (rint_test_downward): Likewise.
33587         (rint_test_upward): Likewise.
33588         (round_test): Likewise.
33589         (scalb_test): Likewise.
33590         (scalbn_test): Likewise.
33591         (scalbln_test): Likewise.
33592         (signbit_test): Likewise.
33593         (sin_test): Likewise.
33594         (sin_test_tonearest): Likewise.
33595         (sin_test_towardzero): Likewise.
33596         (sin_test_downward): Likewise.
33597         (sin_test_upward): Likewise.
33598         (sincos_test): Likewise.
33599         (sinh_test): Likewise.
33600         (sinh_test_tonearest): Likewise.
33601         (sinh_test_towardzero): Likewise.
33602         (sinh_test_downward): Likewise.
33603         (sinh_test_upward): Likewise.
33604         (sqrt_test): Likewise.
33605         (tan_test): Likewise.
33606         (tan_test_tonearest): Likewise.
33607         (tan_test_towardzero): Likewise.
33608         (tan_test_downward): Likewise.
33609         (tan_test_upward): Likewise.
33610         (tanh_test): Likewise.
33611         (tgamma_test): Likewise.
33612         (trunc_test): Likewise.
33613         (y0_test): Likewise.
33614         (y1_test): Likewise.
33615         (yn_test): Likewise.
33616         (significand_test): Likewise.
33618 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
33620         [BZ #15381]
33621         * libio/genops.c (_IO_no_init): Initialize wide struct info.
33623 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
33625         [BZ #14894]
33626         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
33627         __ppc_mdoio and __ppc_mdoom.
33628         * manual/platform.texi: Document new functions __ppc_yield,
33629         __ppc_mdoio and __ppc_mdoom.
33631 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
33633         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
33634         (main): Mention "tls" pseudo-hwcap is legacy.
33635         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
33637 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
33639         * math/gen-libm-test.pl (parse_args): Output only string of
33640         arguments as text for test name, not full call or descriptions of
33641         tests for extra outputs.
33642         (generate_testfile): Do not pass function name to parse_args.
33643         Generate this_func variable from START.
33644         * math/libm-test.inc (struct test_f_f_data): Rename test_name
33645         field to arg_str.
33646         (struct test_ff_f_data): Likewise.
33647         (test_ff_f_data_nexttoward): Likewise.
33648         (struct test_fi_f_data): Likewise.
33649         (struct test_fl_f_data): Likewise.
33650         (struct test_if_f_data): Likewise.
33651         (struct test_fff_f_data): Likewise.
33652         (struct test_c_f_data): Likewise.
33653         (struct test_f_f1_data): Likewise.  Remove field extra_name.
33654         (struct test_fF_f1_data): Likewise.
33655         (struct test_ffI_f1_data): Likewise.
33656         (struct test_c_c_data): Rename test_name field to arg_str.
33657         (struct test_cc_c_data): Likewise.
33658         (struct test_f_i_data): Likewise.
33659         (struct test_ff_i_data): Likewise.
33660         (struct test_f_l_data): Likewise.
33661         (struct test_f_L_data): Likewise.
33662         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
33663         and extra2_name.
33664         (COMMON_TEST_SETUP): New macro.
33665         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
33666         (COMMON_TEST_CLEANUP): Likewise.
33667         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
33668         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
33669         macros.
33670         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
33671         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
33672         macros.
33673         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
33674         (RUN_TEST_fff_f): Take argument string.  Call new setup and
33675         cleanup macros.
33676         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
33677         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
33678         macros.
33679         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
33680         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
33681         macros.
33682         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
33683         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
33684         cleanup macros.
33685         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
33686         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
33687         cleanup macros.
33688         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
33689         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
33690         cleanup macros.
33691         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
33692         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
33693         macros.
33694         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
33695         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
33696         macros.
33697         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
33698         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
33699         macros.
33700         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
33701         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
33702         cleanup macros.
33703         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
33704         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
33705         cleanup macros.
33706         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
33707         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
33708         macros.
33709         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
33710         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
33711         cleanup macros.
33712         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
33713         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
33714         macros.
33715         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
33716         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
33717         macros.
33718         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
33719         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
33720         cleanup macros.
33721         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
33723 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
33725         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
33726         to _sifields.sigfault.
33727         (si_addr_lsb): Define new macro.
33728         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33729         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33730         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
33732 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
33734         [BZ #15441]
33735         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
33736         returns -1.
33737         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
33738         null return -1.
33739         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
33740         loading the domain.
33742 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
33744         * math/gen-libm-test.pl (parse_args): Do not include expected
33745         result in test name.
33746         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
33747         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33748         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33749         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33750         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33753 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33755         * benchtests/Makefile: Sort function entries.
33757         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
33758         tanh, asinh, acosh, atanh.
33759         * benchtests/acos-inputs: New file.
33760         * benchtests/acosh-inputs: New file.
33761         * benchtests/asin-inputs: New file.
33762         * benchtests/asinh-inputs: New file.
33763         * benchtests/atanh-inputs: New file.
33764         * benchtests/cosh-inputs: New file.
33765         * benchtests/log-inputs: New file.
33766         * benchtests/sinh-inputs: New file.
33767         * benchtests/tanh-inputs: New file.
33769 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
33771         [BZ #15339]
33772         * posix/tst-getaddrinfo4.c: New test.
33773         * posix/Makefile (tests): Add it.
33775 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33777         [BZ #15339]
33778         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
33779         when no services were used.
33780         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
33781         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
33783 2013-05-21  Andreas Schwab  <schwab@suse.de>
33785         [BZ #15014]
33786         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
33787         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
33788         successful.
33789         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
33790         redundant variable declarations and reallocation of buffer when
33791         parsing as IPv6 address.  Always set NSS status when called from
33792         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
33793         buffer too small.  Correct computation of needed size.
33794         * nss/Makefile (tests): Add test-digits-dots.
33795         * nss/test-digits-dots.c: New test.
33797 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33799         * benchtests/Makefile: Remove instructions for adding
33800         benchmark tests.
33801         * benchtests/README: New file to explain how to execute and
33802         enhance the benchmark tests.
33804 2013-05-21  Andreas Schwab  <schwab@suse.de>
33806         [BZ #15493]
33807         * setjmp/Makefile (tests): Add tst-sigsetjmp.
33808         * setjmp/tst-sigsetjmp.c: New test.
33810 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
33812         * sysdeps/x86_64/memset.S (memset): New implementation.
33813         (__bzero): Likewise.
33814         (__memset_tail): New function.
33816 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
33818         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
33819         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
33820         __memcpy_sse2_unaligned ifunc selection.
33821         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33822         Add memcpy-sse2-unaligned.S.
33823         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33824         Add: __memcpy_sse2_unaligned.
33826 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
33828         [BZ #15490]
33829         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33830         math_force_eval before restoring floating-point envrionment.
33831         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
33832         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33833         Likewise.
33834         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
33835         <math_private.h>.
33836         (__nearbyintl): Use math_force_eval before restoring
33837         floating-point environment.
33838         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
33840         * math/gen-libm-test.pl (special_functions): Remove.
33841         (parse_args): Don't handle TEST_extra.  Handle functions with no
33842         return value.
33843         * math/libm-test.inc (struct test_sincos_data): Replace with
33844         struct test_fFF_11_data.
33845         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
33846         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
33847         (sincos_test_data): Change element type to struct
33848         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
33849         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
33850         RUN_TEST_LOOP_sincos.
33851         * math/README.libm-test: Don't mention special handling of
33852         individual functions.
33853         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
33854         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33855         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33856         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33857         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33860         * math/gen-libm-test.pl (get_variable): Remove function.
33861         (parse_args): Don't show pointer parameters to call in test
33862         names.  Use "extra output N" in test names for extra outputs
33863         rather than naming variables.
33865 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
33867         [BZ #15488]
33868         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
33869         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
33870         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
33871         double tests.
33872         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
33873         disable.
33874         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
33875         check_long_double.
33877         * math/gen-libm-test.pl (@tests): Remove variable.
33878         ($count): Likewise.
33879         (new_test): Remove function.
33880         (show_exceptions): New function.
33881         (special_functions): Use show_exceptions instead of new_test.
33882         (parse_args): Likewise.
33883         (generate_testfile): Pass only function name in generated call to
33884         print_max_error or print_complex_max_error.
33885         (get_ulps): Do not handle complex tests specially.
33886         (output_test): Rename to ...
33887         (get_all_ulps_for_test): ... this.  Return a string rather than
33888         printing to a file.  Require ulps to be present.
33889         (output_ulps): Generate arrays rather than #defines.
33890         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
33891         (struct ulp_data): New type.
33892         (BUILD_COMPLEX_ULP): Remove macro.
33893         (compare_ulp_data): New function.
33894         (find_ulps): Likewise.
33895         (find_test_ulps): Likewise.
33896         (find_function_ulps): Likewise.
33897         (find_complex_function_ulps): Likewise.
33898         (print_max_error): Determine allowed ulps using
33899         find_function_ulps.
33900         (print_complex_max_error): Determine allowed ulps using
33901         find_complex_function_ulps.
33902         (check_float_internal): Determine max ulps using find_test_ulps.
33903         (check_float): Do not take max_ulp parameter.  Update call to
33904         check_float_internal.
33905         (check_complex): Likewise.
33906         (check_int): Do not take max_ulp parameter.
33907         (check_long): Likewise.
33908         (check_bool): Likewise.
33909         (check_longlong): Likewise.
33910         (struct test_f_f_data): Remove max_ulp field.
33911         (struct test_ff_f_data): Likewise.
33912         (struct test_ff_f_data_nexttoward): Likewise.
33913         (struct test_fi_f_data): Likewise.
33914         (struct test_fl_f_data): Likewise.
33915         (struct test_if_f_data): Likewise.
33916         (struct test_fff_f_data): Likewise.
33917         (struct test_c_f_data): Likewise.
33918         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
33919         (struct test_fF_f1_data): Likewise.
33920         (struct test_ffI_f1_data): Likewise.
33921         (struct test_c_c_data): Remove max_ulp field.
33922         (struct test_cc_c_data): Likewise.
33923         (struct test_f_i_data): Likewise.
33924         (struct test_ff_i_data): Likewise.
33925         (struct test_f_l_data): Likewise.
33926         (struct test_f_L_data): Likewise.
33927         (struct test_sincos_data): Likewise.
33928         (RUN_TEST_f_f): Do not handle ulps.
33929         (RUN_TEST_LOOP_f_f): Likewise.
33930         (RUN_TEST_2_f): Likewise.
33931         (RUN_TEST_LOOP_2_f): Likewise.
33932         (RUN_TEST_fff_f): Likewise.
33933         (RUN_TEST_LOOP_fff_f): Likewise.
33934         (RUN_TEST_c_f): Likewise.
33935         (RUN_TEST_LOOP_c_f): Likewise.
33936         (RUN_TEST_f_f1): Likewise.
33937         (RUN_TEST_LOOP_f_f1): Likewise.
33938         (RUN_TEST_fF_f1): Likewise.
33939         (RUN_TEST_LOOP_fF_f1): Likewise.
33940         (RUN_TEST_fI_f1): Likewise.
33941         (RUN_TEST_LOOP_fI_f1): Likewise.
33942         (RUN_TEST_ffI_f1): Likewise.
33943         (RUN_TEST_LOOP_ffI_f1): Likewise.
33944         (RUN_TEST_c_c): Likewise.
33945         (RUN_TEST_LOOP_c_c): Likewise.
33946         (RUN_TEST_cc_c): Likewise.
33947         (RUN_TEST_LOOP_cc_c): Likewise.
33948         (RUN_TEST_f_i): Likewise.
33949         (RUN_TEST_LOOP_f_i): Likewise.
33950         (RUN_TEST_f_i_tg): Likewise.
33951         (RUN_TEST_LOOP_f_i_tg): Likewise.
33952         (RUN_TEST_ff_i_tg): Likewise.
33953         (RUN_TEST_LOOP_ff_i_tg): Likewise.
33954         (RUN_TEST_f_b): Likewise.
33955         (RUN_TEST_LOOP_f_b): Likewise.
33956         (RUN_TEST_f_b_tg): Likewise.
33957         (RUN_TEST_LOOP_f_b_tg): Likewise.
33958         (RUN_TEST_f_l): Likewise.
33959         (RUN_TEST_LOOP_f_l): Likewise.
33960         (RUN_TEST_f_L): Likewise.
33961         (RUN_TEST_LOOP_f_L): Likewise.
33962         (RUN_TEST_sincos): Likewise.
33963         (RUN_TEST_LOOP_sincos): Likewise.
33965 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
33967         [BZ #15480]
33968         [BZ #15485]
33969         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
33970         main case of finite arguments, set rounding mode to FE_TONEAREST
33971         and discard exceptions.
33972         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
33973         exceptions.
33974         (remainder_tonearest_test_data): New variable.
33975         (remainder_test_tonearest): New function.
33976         (remainder_towardzero_test_data): New variable.
33977         (remainder_test_towardzero): New function.
33978         (remainder_downward_test_data): New variable.
33979         (remainder_test_downward): New function.
33980         (remainder_upward_test_data): New variable.
33981         (remainder_test_upward): New function.
33982         (main): Call the new test functions.
33984         * math/libm-test.inc (struct test_f_f1_data): Remove field
33985         extra_init.
33986         (struct test_fF_f1_data): Likewise.
33987         (struct test_ffI_f1_data): Likewise.
33988         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
33989         based on value of EXTRA_EXPECTED.
33990         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
33991         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
33992         EXTRA_VAR based on value of EXTRA_EXPECTED.
33993         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
33994         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
33995         EXTRA_VAR based on value of EXTRA_EXPECTED.
33996         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
33997         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
33998         EXTRA_VAR based on value of EXTRA_EXPECTED.
33999         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34000         * math/gen-libm-test.pl (parse_args): Don't output initializers
34001         for extra output values.
34003         * math/libm-test.inc (check_int): Expect result to be exactly
34004         equal to expected value and do not handle ulps.
34005         (check_long): Likewise.
34006         (check_longlong): Likewise.
34008         * math/libm-test.inc (ceil_test_data): Test for "inexact"
34009         exceptions.
34010         (cimag_test_data): Likewise.
34011         (conj_test_data): Likewise.
34012         (copysign_test_data): Likewise.
34013         (cproj_test_data): Likewise.
34014         (creal_test_data): Likewise.
34015         (fabs_test_data): Likewise.
34016         (fdim_test_data): Likewise.
34017         (finite_test_data): Likewise.
34018         (floor_test_data): Likewise.
34019         (fmax_test_data): Likewise.
34020         (fmin_test_data): Likewise.
34021         (fmod_test_data): Likewise.
34022         (fpclassify_test_data): Likewise.
34023         (frexp_test_data): Likewise.
34024         (ilogb_test_data): Likewise.
34025         (isfinite_test_data): Likewise.
34026         (isgreater_test_data): Likewise.
34027         (isgreaterequal_test_data): Likewise.
34028         (isinf_test_data): Likewise.
34029         (isless_test_data): Likewise.
34030         (islessequal_test_data): Likewise.
34031         (islessgreater_test_data): Likewise.
34032         (isnan_test_data): Likewise.
34033         (isnormal_test_data): Likewise.
34034         (issignaling_test_data): Likewise.
34035         (isunordered_test_data): Likewise.
34036         (ldexp_test_data): Likewise.
34037         (lrint_test_data): Likewise.
34038         (lrint_test_data) [TEST_FLOAT]: Disable one test.
34039         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
34040         (lrint_tonearest_test_data): Test for "inexact" exceptions.
34041         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34042         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
34043         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34044         test input.
34045         (lrint_towardzero_test_data): Test for "inexact" exceptions.
34046         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34047         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
34048         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
34049         that test input.
34050         (lrint_downward_test_data): Test for "inexact" exceptions.
34051         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34052         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
34053         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34054         test input.
34055         (lrint_upward_test_data): Test for "inexact" exceptions.
34056         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
34057         test input.
34058         (llrint_test_data): Test for "inexact" exceptions.
34059         (llrint_test_data) [TEST_FLOAT]: Disable one test.
34060         (llrint_tonearest_test_data): Test for "inexact" exceptions.
34061         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34062         (llrint_towardzero_test_data): Test for "inexact" exceptions.
34063         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34064         (llrint_downward_test_data): Test for "inexact" exceptions.
34065         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34066         (llrint_upward_test_data): Test for "inexact" exceptions.
34067         (logb_test_data): Likewise.
34068         (logb_downward_test_data): Likewise.
34069         (nextafter_test_data): Likewise.
34070         (nexttoward_test_data): Likewise.
34071         (remainder_test_data): Likewise.
34072         (remquo_test_data): Likewise.
34073         (scalbn_test_data): Likewise.
34074         (scalbln_test_data): Likewise.
34075         (signbit_test_data): Likewise.
34076         (sqrt_test_data): Likewise.
34077         (significand_test_data): Likewise.
34079 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34081         [BZ #15424]
34082         * benchtests/bench-modf.c (struct args): Mark arg0 as
34083         volatile.
34084         * scripts/bench.pl: Mark members of struct args as volatile.
34086 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34088         [BZ # 15497]
34089         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
34090         negative infinity on POWER6 or lower.
34091         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
34093 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
34095         [BZ #15442]
34096         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
34097         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
34098         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
34099         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
34100         (_FP_SETQNAN): New macro.
34101         (_FP_SETQNAN_SEMIRAW): Likewise.
34102         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
34103         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
34104         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
34105         (FP_EXTEND): Use _FP_FRAC_SNANP.
34106         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
34107         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
34108         into account.
34109         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34110         New macro.
34111         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34112         Likewise.
34114 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34116         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
34117         with DIVIDE_BY_ZERO_EXCEPTION.
34118         (gamma_test_data): Likewise.
34119         (lgamma_test_data): Likewise.
34120         (log_test_data): Likewise.
34121         (log10_test_data): Likewise.
34122         (log2_test_data): Likewise.
34123         (tgamma_test_data): Likewise.
34125         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
34126         (acos_test_tonearest): Likewise.
34127         (acos_test_towardzero): Likewise.
34128         (acos_test_downward): Likewise.
34129         (acos_test_upward): Likewise.
34130         (acosh_test): Likewise.
34131         (asin_test): Likewise.
34132         (asin_test_tonearest): Likewise.
34133         (asin_test_towardzero): Likewise.
34134         (asin_test_downward): Likewise.
34135         (asin_test_upward): Likewise.
34136         (asinh_test): Likewise.
34137         (atan_test): Likewise.
34138         (atanh_test): Likewise.
34139         (atan2_test): Likewise.
34140         (cabs_test): Likewise.
34141         (cacos_test): Likewise.
34142         (cacosh_test): Likewise.
34143         (casin_test): Likewise.
34144         (casinh_test): Likewise.
34145         (catan_test): Likewise.
34146         (catanh_test): Likewise.
34147         (cbrt_test): Likewise.
34148         (ccos_test): Likewise.
34149         (ccosh_test): Likewise.
34150         (cexp_test): Likewise.
34151         (clog_test): Likewise.
34152         (clog10_test): Likewise.
34153         (cos_test): Likewise.
34154         (cos_test_tonearest): Likewise.
34155         (cos_test_towardzero): Likewise.
34156         (cos_test_downward): Likewise.
34157         (cos_test_upward): Likewise.
34158         (cosh_test): Likewise.
34159         (cosh_test_tonearest): Likewise.
34160         (cosh_test_towardzero): Likewise.
34161         (cosh_test_downward): Likewise.
34162         (cosh_test_upward): Likewise.
34163         (cpow_test): Likewise.
34164         (csin_test): Likewise.
34165         (csinh_test): Likewise.
34166         (csqrt_test): Likewise.
34167         (ctan_test): Likewise.
34168         (ctan_test_tonearest): Likewise.
34169         (ctan_test_towardzero): Likewise.
34170         (ctan_test_downward): Likewise.
34171         (ctan_test_upward): Likewise.
34172         (ctanh_test): Likewise.
34173         (ctanh_test_tonearest): Likewise.
34174         (ctanh_test_towardzero): Likewise.
34175         (ctanh_test_downward): Likewise.
34176         (ctanh_test_upward): Likewise.
34177         (erf_test): Likewise.
34178         (erfc_test): Likewise.
34179         (exp_test): Likewise.
34180         (exp_test_tonearest): Likewise.
34181         (exp_test_towardzero): Likewise.
34182         (exp_test_downward): Likewise.
34183         (exp_test_upward): Likewise.
34184         (exp10_test): Likewise.
34185         (exp2_test): Likewise.
34186         (expm1_test): Likewise.
34187         (fmod_test): Likewise.
34188         (gamma_test): Likewise.
34189         (hypot_test): Likewise.
34190         (j0_test): Likewise.
34191         (j1_test): Likewise.
34192         (jn_test): Likewise.
34193         (lgamma_test): Likewise.
34194         (log_test): Likewise.
34195         (log10_test): Likewise.
34196         (log1p_test): Likewise.
34197         (log2_test): Likewise.
34198         (logb_test_downward): Likewise.
34199         (pow_test): Likewise.
34200         (pow_test_tonearest): Likewise.
34201         (pow_test_towardzero): Likewise.
34202         (pow_test_downward): Likewise.
34203         (pow_test_upward): Likewise.
34204         (remainder_test): Likewise.
34205         (remquo_test): Likewise.
34206         (sin_test): Likewise.
34207         (sin_test_tonearest): Likewise.
34208         (sin_test_towardzero): Likewise.
34209         (sin_test_downward): Likewise.
34210         (sin_test_upward): Likewise.
34211         (sincos_test): Likewise.
34212         (sinh_test): Likewise.
34213         (sinh_test_tonearest): Likewise.
34214         (sinh_test_towardzero): Likewise.
34215         (sinh_test_downward): Likewise.
34216         (sinh_test_upward): Likewise.
34217         (sqrt_test): Likewise.
34218         (tan_test): Likewise.
34219         (tan_test_tonearest): Likewise.
34220         (tan_test_towardzero): Likewise.
34221         (tan_test_downward): Likewise.
34222         (tan_test_upward): Likewise.
34223         (tanh_test): Likewise.
34224         (tgamma_test): Likewise.
34225         (y0_test): Likewise.
34226         (y1_test): Likewise.
34227         (yn_test): Likewise.
34229         * math/gen-libm-test.pl (adjust_arg): Remove function.
34230         (special_function): Remove argument $in_func.  Only handle
34231         generating output for tables of tests, not inside functions.
34232         (parse_args): Likewise.
34233         (generate_testfile): Remove variable $in_func.  Update call to
34234         parse_args.
34235         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
34236         (MINUS_ZERO_INIT): Rename macro to minus_zero.
34237         (PLUS_INFTY_INIT): Rename macro to plus_infty.
34238         (MINUS_INFTY_INIT): Rename macro to minus_infty.
34239         (QNAN_VALUE_INIT): Rename macro to qnan_value.
34240         (MAX_VALUE_INIT): Rename macro to max_value.
34241         (MIN_VALUE_INIT): Rename macro to min_value.
34242         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
34243         (plus_zero): Remove variable.
34244         (minus_zero): Likewise.
34245         (plus_infty): Likewise.
34246         (minus_infty): Likewise.
34247         (qnan_value): Likewise.
34248         (max_value): Likewise.
34249         (min_value): Likewise.
34250         (min_subnorm_value): Likewise.
34252 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34254         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
34255         uint64_t or uint32_t usage.
34256         * crypt/sha256-block.c: Likewise.
34257         * crypt/sha256-crypt.c: Likewise.
34258         * crypt/sha256.c: Likewise.
34259         * crypt/sha512-block.c: Likewise.
34260         * crypt/sha512-crypt.c: Likewise.
34261         * crypt/sha512.c: Likewise.
34262         * debug/backtrace-tst.c: Likewise.
34263         * debug/pcprofiledump.c: Likewise.
34264         * elf/cache.c: Likewise.
34265         * elf/dl-cache.c: Likewise.
34266         * elf/dl-misc.c: Likewise.
34267         * elf/dl-profile.c: Likewise.
34268         * elf/dl-support.c: Likewise.
34269         * elf/ldconfig.c: Likewise.
34270         * elf/sprof.c: Likewise.
34271         * iconv/dummy-repertoire.c: Likewise.
34272         * iconv/iconv_charmap.c: Likewise.
34273         * iconv/skeleton.c: Likewise.
34274         * iconvdata/8bit-generic.c: Likewise.
34275         * iconvdata/cp737.h: Likewise.
34276         * iconvdata/cp775.h: Likewise.
34277         * iconvdata/ibm1008.h: Likewise.
34278         * iconvdata/ibm1025.h: Likewise.
34279         * iconvdata/ibm1046.h: Likewise.
34280         * iconvdata/ibm1097.h: Likewise.
34281         * iconvdata/ibm1112.h: Likewise.
34282         * iconvdata/ibm1122.h: Likewise.
34283         * iconvdata/ibm1123.h: Likewise.
34284         * iconvdata/ibm1124.h: Likewise.
34285         * iconvdata/ibm1129.h: Likewise.
34286         * iconvdata/ibm1130.h: Likewise.
34287         * iconvdata/ibm1132.h: Likewise.
34288         * iconvdata/ibm1133.h: Likewise.
34289         * iconvdata/ibm1137.h: Likewise.
34290         * iconvdata/ibm1140.h: Likewise.
34291         * iconvdata/ibm1141.h: Likewise.
34292         * iconvdata/ibm1142.h: Likewise.
34293         * iconvdata/ibm1143.h: Likewise.
34294         * iconvdata/ibm1144.h: Likewise.
34295         * iconvdata/ibm1145.h: Likewise.
34296         * iconvdata/ibm1146.h: Likewise.
34297         * iconvdata/ibm1147.h: Likewise.
34298         * iconvdata/ibm1148.h: Likewise.
34299         * iconvdata/ibm1149.h: Likewise.
34300         * iconvdata/ibm1153.h: Likewise.
34301         * iconvdata/ibm1154.h: Likewise.
34302         * iconvdata/ibm1155.h: Likewise.
34303         * iconvdata/ibm1156.h: Likewise.
34304         * iconvdata/ibm1157.h: Likewise.
34305         * iconvdata/ibm1158.h: Likewise.
34306         * iconvdata/ibm1160.h: Likewise.
34307         * iconvdata/ibm1161.h: Likewise.
34308         * iconvdata/ibm1162.h: Likewise.
34309         * iconvdata/ibm1163.h: Likewise.
34310         * iconvdata/ibm1164.h: Likewise.
34311         * iconvdata/ibm1166.h: Likewise.
34312         * iconvdata/ibm1167.h: Likewise.
34313         * iconvdata/ibm12712.h: Likewise.
34314         * iconvdata/ibm1390.h: Likewise.
34315         * iconvdata/ibm1399.h: Likewise.
34316         * iconvdata/ibm16804.h: Likewise.
34317         * iconvdata/ibm4517.h: Likewise.
34318         * iconvdata/ibm4899.h: Likewise.
34319         * iconvdata/ibm4909.h: Likewise.
34320         * iconvdata/ibm4971.h: Likewise.
34321         * iconvdata/ibm5347.h: Likewise.
34322         * iconvdata/ibm803.h: Likewise.
34323         * iconvdata/ibm856.h: Likewise.
34324         * iconvdata/ibm901.h: Likewise.
34325         * iconvdata/ibm902.h: Likewise.
34326         * iconvdata/ibm9030.h: Likewise.
34327         * iconvdata/ibm9066.h: Likewise.
34328         * iconvdata/ibm921.h: Likewise.
34329         * iconvdata/ibm922.h: Likewise.
34330         * iconvdata/ibm9448.h: Likewise.
34331         * iconvdata/isiri-3342.h: Likewise.
34332         * iconvdata/jis0201.h: Likewise.
34333         * include/link.h: Likewise.
34334         * include/netdb.h: Likewise.
34335         * inet/check_native.c: Likewise.
34336         * inet/check_pf.c: Likewise.
34337         * inet/getipv4sourcefilter.c: Likewise.
34338         * inet/getnameinfo.c: Likewise.
34339         * inet/getsourcefilter.c: Likewise.
34340         * inet/htonl.c: Likewise.
34341         * inet/setipv4sourcefilter.c: Likewise.
34342         * inet/setsourcefilter.c: Likewise.
34343         * inet/test-inet6_opt.c: Likewise.
34344         * inet/tst-network.c: Likewise.
34345         * locale/C-collate.c: Likewise.
34346         * locale/C-ctype.c: Likewise.
34347         * locale/C-time.c: Likewise.
34348         * locale/C-translit.h: Likewise.
34349         * locale/loadarchive.c: Likewise.
34350         * locale/programs/3level.h: Likewise.
34351         * locale/programs/charmap.c: Likewise.
34352         * locale/programs/charmap.h: Likewise.
34353         * locale/programs/ld-address.c: Likewise.
34354         * locale/programs/ld-collate.c: Likewise.
34355         * locale/programs/ld-ctype.c: Likewise.
34356         * locale/programs/ld-identification.c: Likewise.
34357         * locale/programs/ld-measurement.c: Likewise.
34358         * locale/programs/ld-messages.c: Likewise.
34359         * locale/programs/ld-monetary.c: Likewise.
34360         * locale/programs/ld-name.c: Likewise.
34361         * locale/programs/ld-numeric.c: Likewise.
34362         * locale/programs/ld-paper.c: Likewise.
34363         * locale/programs/ld-telephone.c: Likewise.
34364         * locale/programs/ld-time.c: Likewise.
34365         * locale/programs/linereader.c: Likewise.
34366         * locale/programs/locale.c: Likewise.
34367         * locale/programs/locarchive.c: Likewise.
34368         * locale/programs/locfile.h: Likewise.
34369         * locale/programs/repertoire.c: Likewise.
34370         * locale/programs/simple-hash.c: Likewise.
34371         * locale/programs/simple-hash.h: Likewise.
34372         * malloc/memusage.c: Likewise.
34373         * malloc/memusagestat.c: Likewise.
34374         * nis/nis_defaults.c: Likewise.
34375         * nis/nis_hash.c: Likewise.
34376         * nis/nis_print.c: Likewise.
34377         * nis/nis_xdr.c: Likewise.
34378         * nscd/connections.c: Likewise.
34379         * nscd/hstcache.c: Likewise.
34380         * nscd/nscd_gethst_r.c: Likewise.
34381         * nscd/nscd_getserv_r.c: Likewise.
34382         * nscd/nscd_helper.c: Likewise.
34383         * nscd/servicescache.c: Likewise.
34384         * nss/makedb.c: Likewise.
34385         * nss/nss_db/db-XXX.c: Likewise.
34386         * nss/nss_db/db-initgroups.c: Likewise.
34387         * nss/nss_db/db-netgrp.c: Likewise.
34388         * nss/nss_files/files-network.c: Likewise.
34389         * nss/nss_files/files-parse.c: Likewise.
34390         * posix/bug-regex5.c: Likewise.
34391         * posix/fnmatch_loop.c: Likewise.
34392         * posix/regcomp.c: Likewise.
34393         * posix/regexec.c: Likewise.
34394         * posix/tst-rfc3484-2.c: Likewise.
34395         * posix/tst-rfc3484-3.c: Likewise.
34396         * posix/tst-rfc3484.c: Likewise.
34397         * resolv/nss_dns/dns-canon.c: Likewise.
34398         * resolv/nss_dns/dns-network.c: Likewise.
34399         * resolv/res_init.c: Likewise.
34400         * resolv/res_mkquery.c: Likewise.
34401         * resolv/tst-aton.c: Likewise.
34402         * stdlib/cxa_atexit.c: Likewise.
34403         * stdlib/cxa_finalize.c: Likewise.
34404         * stdlib/gen-fpioconst.c: Likewise.
34405         * stdlib/strtol_l.c: Likewise.
34406         * string/tst-endian.c: Likewise.
34407         * sunrpc/auth_des.c: Likewise.
34408         * sunrpc/clnt_udp.c: Likewise.
34409         * sunrpc/rtime.c: Likewise.
34410         * sunrpc/svcauth_des.c: Likewise.
34411         * sunrpc/xdr.c: Likewise.
34412         * sunrpc/xdr_intXX_t.c: Likewise.
34413         * sunrpc/xdr_rec.c: Likewise.
34414         * sysdeps/generic/ldconfig.h: Likewise.
34415         * sysdeps/generic/ldsodefs.h: Likewise.
34416         * sysdeps/generic/memusage.h: Likewise.
34417         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34418         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
34419         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
34420         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34421         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34422         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34423         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34424         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34425         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34426         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
34427         * sysdeps/posix/getaddrinfo.c: Likewise.
34428         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34429         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34430         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
34431         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34432         * sysdeps/powerpc/test-gettimebase.c: Likewise.
34433         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
34434         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
34435         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
34436         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
34437         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
34438         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
34439         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
34440         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
34441         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
34442         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
34443         * sysdeps/x86_64/dl-tls.h: Likewise.
34444         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
34445         * time/alt_digit.c: Likewise.
34446         * time/era.c: Likewise.
34447         * wcsmbs/tst-c16c32-1.c: Likewise.
34449 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34451         * math/libm-test.inc (struct test_sincos_data): New type.
34452         (RUN_TEST_LOOP_sincos): New macro.
34453         (sincos_test_data): New variable.
34454         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
34456 2013-05-16  Richard Henderson  <rth@redhat.com>
34458         * math/atest-exp2.c (LIMB64): New macro.
34459         (CONSTSZ): New macro.
34460         (mp_exp1, mp_exp_m1, mp_log2): New variables.
34461         (hexdig): Move ...
34462         (print_mpn_fp): ... to function scope.
34463         (read_mpn_hex): Remove.
34464         (get_log2): Remove.
34465         (exp2_mpn): Use mp_log2.
34466         (main): Use mp_exp1.
34468 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34470         * math/libm-test.inc: Remove comment about not testing "inexact"
34471         exceptions.
34472         (INEXACT_EXCEPTION): New macro.
34473         (NO_INEXACT_EXCEPTION): Likewise.
34474         (INVALID_EXCEPTION_OK): Update value.
34475         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34476         (OVERFLOW_EXCEPTION_OK): Likewise.
34477         (UNDERFLOW_EXCEPTION_OK): Likewise.
34478         (IGNORE_ZERO_INF_SIGN): Likewise.
34479         (ERRNO_UNCHANGED): Likewise.
34480         (ERRNO_EDOM): Likewise.
34481         (ERRNO_ERANGE): Likewise.
34482         (test_exceptions): Handle testing "inexact" exceptions.
34483         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
34484         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
34485         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
34486         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
34487         INEXACT_EXCEPTION.
34488         (rint_towardzero_test_data): Likewise.
34489         (rint_downward_test_data): Likewise.
34490         (rint_upward_test_data): Likewise.
34492         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
34493         with OVERFLOW_EXCEPTION.
34494         (exp10_test_data): Likewise.
34495         (exp2_test_data): Likewise.
34496         (expm1_test_data): Likewise.
34497         (lgamma_test_data): Likewise.
34498         (pow_test_data): Likewise.
34499         (tgamma_test_data): Likewise.
34500         (yn_test_data): Remove duplicate test of overflow.
34502         * math/libm-test.inc (struct test_cc_c_data): New type.
34503         (RUN_TEST_LOOP_cc_c): New macro.
34504         (cpow_test_data): New variable.
34505         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
34507         * math/libm-test.inc (struct test_f_L_data): New type.
34508         (RUN_TEST_LOOP_f_L): New macro.
34509         (llrint_test_data): New variable.
34510         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
34511         (llrint_tonearest_test_data): New variable.
34512         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
34513         (llrint_towardzero_test_data): New variable.
34514         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
34515         (llrint_downward_test_data): New variable.
34516         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
34517         (llrint_upward_test_data): New variable.
34518         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
34519         (llround_test_data): New variable.
34520         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
34522 2013-05-13  Peter Collingbourne  <pcc@google.com>
34524         * math/atest-exp2.c (get_log2): Remove const attribute.
34526 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
34528         * math/libm-test.inc (struct test_f_l_data): New type.
34529         (RUN_TEST_LOOP_f_l): New macro.
34530         (lrint_test_data): New variable.
34531         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
34532         (lrint_tonearest_test_data): New variable.
34533         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
34534         (lrint_towardzero_test_data): New variable.
34535         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
34536         (lrint_downward_test_data): New variable.
34537         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
34538         (lrint_upward_test_data): New variable.
34539         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
34540         (lround_test_data): New variable.
34541         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
34543 2013-05-15  Peter Collingbourne  <pcc@google.com>
34545         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
34546         (EXTRACT_WORDS64) Use where appropriate.
34547         (INSERT_WORDS64) Likewise.
34549         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
34550         constraints with x constraints.
34551         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
34553         * malloc/obstack.c (_obstack_compat): Add initializer.
34555 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
34557         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
34558         si_trapno and add si_addr_lsb to _sifields.sigfault.
34559         (si_trapno): Remove macro.
34560         (si_addr_lsb): Define new macro.
34561         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
34563 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
34565         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
34566         instead of TEST_f_l.
34567         (llrint_test_tonearest): Likewise.
34568         (llrint_test_towardzero): Likewise.
34569         (llrint_test_downward): Likewise.
34570         (llrint_test_upward): Likewise.
34571         (llround_test): Likewise.
34573         * math/libm-test.inc (struct test_f_i_data): Add comment.
34574         (RUN_TEST_LOOP_f_b): New macro.
34575         (RUN_TEST_LOOP_f_b_tg): Likewise.
34576         (finite_test_data): New variable.
34577         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
34578         (isfinite_test_data): New variable.
34579         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34580         (isinf_test_data): New variable.
34581         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34582         (isnan_test_data): New variable.
34583         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34584         (isnormal_test_data): New variable.
34585         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34586         (issignaling_test_data): New variable.
34587         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34588         (signbit_test_data): New variable.
34589         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34591         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
34592         with INVALID_EXCEPTION.
34593         (acosh_test_data): Likewise.
34594         (asin_test_data): Likewise.
34595         (atanh_test_data): Likewise.
34596         (fmod_test_data): Likewise.
34597         (log_test_data): Likewise.
34598         (log10_test_data): Likewise.
34599         (log2_test_data): Likewise.
34600         (pow_test_data): Likewise.
34601         (sqrt_test_data): Likewise.
34602         (y0_test_data): Likewise.
34603         (y1_test_data): Likewise.
34604         (yn_test_data): Likewise.
34606         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
34607         function contents.
34609         * math/libm-test.inc (struct test_ff_i_data): New type.
34610         (RUN_TEST_LOOP_ff_i_tg): New macro.
34611         (isgreater_test_data): New variable.
34612         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34613         (isgreaterequal_test_data): New variable.
34614         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34615         (isless_test_data): New variable.
34616         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34617         (islessequal_test_data): New variable.
34618         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34619         (islessgreater_test_data): New variable.
34620         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34621         (isunordered_test_data): New variable.
34622         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34624 2013-05-14  David S. Miller  <davem@davemloft.net>
34626         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34628 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
34630         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
34632         * math/libm-test.inc (struct test_fF_f1_data): Change type of
34633         extra_test to int.
34634         (struct test_f_i_data): Change type of max_ulp to int.
34636         * math/libm-test.inc (test_ffI_f1_data): New type.
34637         (RUN_TEST_LOOP_ffI_f1): New macro.
34638         (remquo_test_data): New variable.
34639         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
34641         * setjmp/tst-setjmp-fp.c: New file.
34642         * setjmp/Makefile (tests): Add tst-setjmp-fp.
34643         (link-libm): New variable.
34644         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
34646         * math/libm-test.inc (struct test_f_i_data): New type.
34647         (RUN_TEST_LOOP_f_i): New macro.
34648         (RUN_TEST_LOOP_f_i_tg): Likewise.
34649         (fpclassify_test_data): New variable.
34650         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
34651         (ilogb_test_data): New variable.
34652         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
34654         * math/libm-test.inc (scalbln_test): Correct function name in END
34655         call.
34657         * math/libm-test.inc (struct test_f_f1_data): Add comment.
34658         (RUN_TEST_LOOP_fI_f1): New macro.
34659         (frexp_test_data): New variable.
34660         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
34662         * math/libm-test.inc (struct test_fF_f1_data): New type.
34663         (RUN_TEST_LOOP_fF_f1): New macro.
34664         (modf_test_data): New variable.
34665         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
34667         * math/libm-test.inc (struct test_f_f1_data): New type.
34668         (RUN_TEST_LOOP_f_f1): New macro.
34669         (gamma_test_data): New variable.
34670         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34671         (lgamma_test_data): New variable.
34672         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34674 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
34676         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
34677         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
34678         (main): Comment "tls" pseudo-hwcap.
34680 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
34682         * math/libm-test.inc (struct test_fl_f_data): New type.
34683         (RUN_TEST_LOOP_fl_f): New variable.
34684         (scalbln_test_data): New variable.
34685         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
34687         * math/libm-test.inc (struct test_fi_f_data): New type.
34688         (RUN_TEST_LOOP_fi_f): New macro.
34689         (ldexp_test_data): New variable.
34690         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
34691         (scalbn_test_data): New variable.
34692         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
34694         * math/libm-test.inc (struct test_c_f_data): New type.
34695         (RUN_TEST_LOOP_c_f): New macro.
34696         (cabs_test_data): New variable.
34697         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
34698         (carg_test_data): New variable.
34699         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
34700         (cimag_test_data): New variable.
34701         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
34702         (creal_test_data): New variable.
34703         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
34705         * math/libm-test.inc (struct test_if_f_data): New type.
34706         (RUN_TEST_LOOP_if_f): New macro.
34707         (jn_test_data): New variable.
34708         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
34709         (yn_test_data): New variable.
34710         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
34712         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
34714 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34716         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
34717         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
34719 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
34721         * benchtests/Makefile (CPPFLAGS-nonlib): Add
34722         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
34723         (bench-deps): Add bench-timing.h.
34724         * benchtests-bench-skeleton.c: Include bench-timing.h.
34725         (main): Use TIMING_* macros instead of clock_gettime.
34726         * benchtests/bench-timing.h: New file.
34728         [BZ #14582]
34729         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
34730         Renamed from _LIB_VERSION.
34731         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
34733 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
34735         * math/libm-test.inc (struct test_fff_f_data): New type.
34736         (RUN_TEST_LOOP_fff_f): New macro.
34737         (fma_test_data): New variable.
34738         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
34739         (fma_towardzero_test_data): New variable.
34740         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
34741         (fma_downward_test_data): New variable.
34742         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
34743         (fma_upward_test_data): New variable.
34744         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
34746         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
34747         (struct test_c_c_data): New type.
34748         (RUN_TEST_LOOP_c_c): New macro.
34749         (cacos_test_data): New variable.
34750         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
34751         (cacosh_test_data): New variable.
34752         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
34753         (casin_test_data): New variable.
34754         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
34755         (casinh_test_data): New variable.
34756         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
34757         (catan_test_data): New variable.
34758         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
34759         (catanh_test_data): New variable.
34760         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
34761         (ccos_test_data): New variable.
34762         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
34763         (ccosh_test_data): New variable.
34764         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
34765         (cexp_test_data): New variable.
34766         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
34767         (clog_test_data): New variable.
34768         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
34769         (clog10_test_data): New variable.
34770         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
34771         (conj_test_data): New variable.
34772         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
34773         (cproj_test_data): New variable.
34774         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
34775         (csin_test_data): New variable.
34776         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
34777         (csinh_test_data): New variable.
34778         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
34779         (csqrt_test_data): New variable.
34780         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
34781         (ctan_test_data): New variable.
34782         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
34783         (ctan_tonearest_test_data): New variable.
34784         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34785         (ctan_towardzero_test_data): New variable.
34786         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34787         (ctan_downward_test_data): New variable.
34788         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34789         (ctan_upward_test_data): New variable.
34790         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34791         (ctanh_test_data): New variable.
34792         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
34793         (ctanh_tonearest_test_data): New variable.
34794         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34795         (ctanh_towardzero_test_data): New variable.
34796         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34797         (ctanh_downward_test_data): New variable.
34798         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34799         (ctanh_upward_test_data): New variable.
34800         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34801         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
34802         of BUILD_COMPLEX.
34804         * math/libm-test.inc (struct test_ff_f_data): New type.
34805         (struct test_ff_f_data_nexttoward): Likewise.
34806         (RUN_TEST_LOOP_2_f): New macro.
34807         (RUN_TEST_LOOP_ff_f): Likewise.
34808         (atan2_test_data): New variable.
34809         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
34810         (copysign_test_data): New variable.
34811         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
34812         (fdim_test_data): New variable.
34813         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
34814         (fmax_test_data): New variable.
34815         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
34816         (fmin_test_data): New variable.
34817         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
34818         (fmod_test_data): New variable.
34819         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
34820         (hypot_test_data): New variable.
34821         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
34822         (nextafter_test_data): New variable.
34823         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
34824         (nexttoward_test_data): New variable.
34825         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
34826         (pow_test_data): New variable.
34827         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
34828         (pow_tonearest_test_data): New variable.
34829         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
34830         (pow_towardzero_test_data): New variable.
34831         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
34832         (pow_downward_test_data): New variable.
34833         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
34834         (pow_upward_test_data): New variable.
34835         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
34836         (remainder_test_data): New variable.
34837         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
34838         (scalb_test_data): New variable.
34839         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
34840         * sysdeps/i386/fpu/libm-test-ulps: Update.
34842 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
34844         * math/libm-test.inc (fma_test): Use max_value instead of local
34845         variable fltmax.
34846         (nextafter_test): Likewise.
34848         * math/libm-test.inc (acos_towardzero_test_data): New variable.
34849         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34850         (acos_downward_test_data): New variable.
34851         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34852         (acos_upward_test_data): New variable.
34853         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34854         (acosh_test_data): New variable.
34855         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
34856         (asin_test_data): New variable.
34857         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
34858         (asin_tonearest_test_data): New variable.
34859         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34860         (asin_towardzero_test_data): New variable.
34861         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34862         (asin_downward_test_data): New variable.
34863         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34864         (asin_upward_test_data): New variable.
34865         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34866         (asinh_test_data): New variable.
34867         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
34868         (atan_test_data): New variable.
34869         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
34870         (atanh_test_data): New variable.
34871         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
34872         (cbrt_test_data): New variable.
34873         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
34874         (ceil_test_data): New variable.
34875         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
34876         (cos_test_data): New variable.
34877         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
34878         (cos_tonearest_test_data): New variable.
34879         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34880         (cos_towardzero_test_data): New variable.
34881         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34882         (cos_downward_test_data): New variable.
34883         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34884         (cos_upward_test_data): New variable.
34885         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34886         (cosh_test_data): New variable.
34887         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
34888         (cosh_tonearest_test_data): New variable.
34889         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34890         (cosh_towardzero_test_data): New variable.
34891         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34892         (cosh_downward_test_data): New variable.
34893         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34894         (cosh_upward_test_data): New variable.
34895         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34896         (erf_test_data): New variable.
34897         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
34898         (erfc_test_data): New variable.
34899         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
34900         (exp_test_data): New variable.
34901         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
34902         (exp_tonearest_test_data): New variable.
34903         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34904         (exp_towardzero_test_data): New variable.
34905         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34906         (exp_downward_test_data): New variable.
34907         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34908         (exp_upward_test_data): New variable.
34909         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34910         (exp10_test_data): New variable.
34911         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
34912         (exp2_test_data): New variable.
34913         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
34914         (expm1_test_data): New variable.
34915         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
34916         (fabs_test_data): New variable.
34917         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
34918         (floor_test_data): New variable.
34919         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
34920         (j0_test_data): New variable.
34921         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
34922         (j1_test_data): New variable.
34923         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
34924         (log_test_data): New variable.
34925         (log_test): Run tests with RUN_TEST_LOOP_f_f.
34926         (log10_test_data): New variable.
34927         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
34928         (log1p_test_data): New variable.
34929         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
34930         (log2_test_data): New variable.
34931         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
34932         (logb_test_data): New variable.
34933         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
34934         (logb_downward_test_data): New variable.
34935         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34936         (nearbyint_test_data): New variable.
34937         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
34938         (rint_test_data): New variable.
34939         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
34940         (rint_tonearest_test_data): New variable.
34941         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34942         (rint_towardzero_test_data): New variable.
34943         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34944         (rint_downward_test_data): New variable.
34945         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34946         (rint_upward_test_data): New variable.
34947         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34948         (round_test_data): New variable.
34949         (round_test): Run tests with RUN_TEST_LOOP_f_f.
34950         (sin_test_data): New variable.
34951         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
34952         (sin_tonearest_test_data): New variable.
34953         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34954         (sin_towardzero_test_data): New variable.
34955         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34956         (sin_downward_test_data): New variable.
34957         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34958         (sin_upward_test_data): New variable.
34959         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34960         (sinh_test_data): New variable.
34961         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
34962         (sinh_tonearest_test_data): New variable.
34963         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34964         (sinh_towardzero_test_data): New variable.
34965         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34966         (sinh_downward_test_data): New variable.
34967         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34968         (sinh_upward_test_data): New variable.
34969         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34970         (sqrt_test_data): New variable.
34971         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
34972         (tan_test_data): New variable.
34973         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
34974         (tan_tonearest_test_data): New variable.
34975         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34976         (tan_towardzero_test_data): New variable.
34977         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34978         (tan_downward_test_data): New variable.
34979         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34980         (tan_upward_test_data): New variable.
34981         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34982         (tanh_test_data): New variable.
34983         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
34984         (tgamma_test_data): New variable.
34985         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
34986         (trunc_test_data): New variable.
34987         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
34988         (y0_test_data): New variable.
34989         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
34990         (y1_test_data): New variable.
34991         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
34992         (significand_test_data): New variable.
34993         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
34995 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
34997         [BZ #12387]
34998         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
35000 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35002         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
35004 2013-05-10  Andreas Jaeger  <aj@suse.de>
35006         [BZ #15448]
35007         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
35008         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
35010 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35012         * math/gen-libm-test.pl (adjust_arg): New function.
35013         (special_functions): Handle generating output in both functions
35014         and arrays.
35015         (parse_args): Likewise.
35016         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
35017         $in_func argument to parse_args.
35018         * math/libm-test.inc (struct test_f_f_data): New type.
35019         (IF_ROUND_INIT_): New macro.
35020         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
35021         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
35022         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
35023         (IF_ROUND_INIT_FE_UPWARD): Likewise.
35024         (ROUND_RESTORE_): Likewise.
35025         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
35026         (ROUND_RESTORE_FE_TONEAREST): Likewise.
35027         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
35028         (ROUND_RESTORE_FE_UPWARD): Likewise.
35029         (RUN_TEST_LOOP_f_f): New macro.
35030         (acos_test_data): New variable.
35031         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
35032         (acos_tonearest_test_data): New variable.
35033         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35035 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35037         * benchtests/bench-skeleton.c (startup): Fix coding style.
35039 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35041         [BZ #6809]
35042         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
35043         negative infinity argument.
35044         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
35045         negative infinity argument.
35046         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
35047         negative infinity argument.
35048         * math/libm-test.inc (tgamma_test): Expect errno to be set for
35049         domain errors.
35051 2013-05-10  Florian Weimer  <fweimer@redhat.com>
35053         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
35054         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
35055         * iconv/iconv_prog.c (main): Likewise.
35056         * locale/programs/charmap-dir.c (charmap_readdir)
35057         (fopen_uncompressed): Likewise.
35058         * locale/programs/locfile.c (siblings_uncached)
35059         (write_locale_data): Use lstat64 instead of lstat.
35060         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
35061         stat.
35063 2013-05-10  Andreas Jaeger  <aj@suse.de>
35065         [BZ #15395]
35066         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
35067         localization.
35068         Include <locale.h>.
35070 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
35072         * elf/dl-close.c (_dl_close_worker): Add comments.
35074 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
35076         [BZ #15359]
35077         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
35078         high part of pi/2.
35079         (__ieee754_rem_pio2l): Update comments.
35081         [BZ #15429]
35082         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
35083         high part of pi/2.
35084         (__ieee754_rem_pio2l): Update comments.
35086         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
35087         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
35089         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
35090         M_PI_4l.
35092         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
35093         (M_PI_34_LOG10El): Likewise.
35094         (M_PI2_LOG10El): Likewise.
35095         (M_PI4_LOG10El): Likewise.
35096         (M_PI_LOG10El): Likewise.
35098 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35100         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35102 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
35104         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
35105         (MINUS_ZERO_INIT): Likewise.
35106         (PLUS_INFTY_INIT): Likewise.
35107         (MINUS_INFTY_INIT): Likewise.
35108         (QNAN_VALUE_INIT): Likewise.
35109         (MAX_VALUE_INIT): Likewise.
35110         (MIN_VALUE_INIT): Likewise.
35111         (MIN_SUBNORM_VALUE_INIT): Likewise.
35112         (plus_zero): Initialize with PLUS_ZERO_INIT.
35113         (minus_zero): Initialize with MINUS_ZERO_INIT.
35114         (plus_infty): Initialize with PLUS_INFTY_INIT.
35115         (minus_infty): Initialize with MINUS_INFTY_INIT.
35116         (qnan_value): Initialize with QNAN_VALUE_INIT.
35117         (max_value): Initialize with MAX_VALUE_INIT.
35118         (min_value): Initialize with MIN_VALUE_INIT.
35119         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
35121         * math/libm-test.inc (RUN_TEST_if_f): New macro.
35122         (jn_test): Use TEST_if_f instead of TEST_ff_f.
35123         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
35124         (yn_test): Use TEST_if_f instead of TEST_ff_f.
35126         * math/libm-test.inc (RUN_TEST_f_f): New macro.
35127         (RUN_TEST_2_f): Likewise.
35128         (RUN_TEST_ff_f): Likewise.
35129         (RUN_TEST_fi_f): Likewise.
35130         (RUN_TEST_fl_f): Likewise.
35131         (RUN_TEST_fff_f): Likewise.
35132         (RUN_TEST_c_f): Likewise.
35133         (RUN_TEST_f_f1): Likewise.
35134         (RUN_TEST_fF_f1): Likewise.
35135         (RUN_TEST_fI_f1): Likewise.
35136         (RUN_TEST_ffI_f1): Likewise.
35137         (RUN_TEST_c_c): Likewise.
35138         (RUN_TEST_cc_c): Likewise.
35139         (RUN_TEST_f_i): Likewise.
35140         (RUN_TEST_f_i_tg): Likewise.
35141         (RUN_TEST_ff_i_tg): Likewise.
35142         (RUN_TEST_f_b): Likewise.
35143         (RUN_TEST_f_b_tg): Likewise.
35144         (RUN_TEST_f_l): Likewise.
35145         (RUN_TEST_f_L): Likewise.
35146         (RUN_TEST_sincos): Likewise.
35147         * math/gen-libm-test.pl (new_test): Take new argument to indicate
35148         whether to show exceptions.  Do not include ");\n" in return
35149         value.
35150         (special_functions): Output call to RUN_TEST_sincos instead of
35151         check_float calls.  Update calls to new_test.
35152         (parse_args): Output call to single RUN_TEST_* macro instead of
35153         check_* calls and other assignments.  Update calls to new_test.
35155         [BZ #2546]
35156         [BZ #2560]
35157         [BZ #5159]
35158         [BZ #15426]
35159         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
35160         input to result for tgamma overflow.
35161         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
35162         (gamma_coeff): New variable.
35163         (NCOEFF): New macro.
35164         (gamma_positive): New function.
35165         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
35166         underflow here.  Use gamma_positive instead of exp (lgamma) for
35167         other arguments.
35168         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
35169         (gamma_coeff): New variable.
35170         (NCOEFF): New macro.
35171         (gammaf_positive): New function.
35172         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
35173         underflow here.  Use gamma_positive instead of exp (lgamma) for
35174         other arguments.
35175         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
35176         (gamma_coeff): New variable.
35177         (NCOEFF): New macro.
35178         (gammal_positive): New function.
35179         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
35180         underflow here.  Use gamma_positive instead of exp (lgamma) for
35181         other arguments.
35182         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
35183         (gamma_coeff): New variable.
35184         (NCOEFF): New macro.
35185         (gammal_positive): New function.
35186         (__ieee754_gammal_r): Handle positive infinity, overflow and
35187         underflow here.  Handle NaN the same as positive infinity.  Remove
35188         check x < 0xffffffff for negative integers.  Use gamma_positive
35189         instead of exp (lgamma) for other arguments.
35190         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
35191         (gamma_coeff): New variable.
35192         (NCOEFF): New macro.
35193         (gammal_positive): New function.
35194         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
35195         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
35196         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
35197         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
35198         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
35199         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
35200         * sysdeps/generic/math_private.h (__gamma_productf): New
35201         prototype.
35202         (__gamma_product): Likewise.
35203         (__gamma_productl): Likewise.
35204         * math/Makefile (libm-calls): Add gamma_product.
35205         * math/libm-test.inc (tgamma_test): Add more tests.
35206         * sysdeps/i386/fpu/libm-test-ulps: Update.
35207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35209 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
35211         * benchtests/bench-skeleton.c (main): Preheat CPU.
35213 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
35215         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
35217 2013-05-07  Roland McGrath  <roland@hack.frob.com>
35219         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
35220         and _dl_skip_args_internal.
35222 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
35224         * manual/message.texi (Message Translation): Talk about users.
35225         Message to key mapping impacts design.
35227 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35229         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
35231         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
35233         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
35234         * sysdeps/wordsize-64/glob64.c: ... here.
35236         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
35237         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
35238         New macros.
35240         * debug/getlogin_r_chk.c: Moved to ...
35241         * login/getlogin_r_chk.c: ... here.
35242         * debug/Makefile (routines): Move getlogin_r_chk to ...
35243         * login/Makefile (routines): ... here.
35244         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
35245         * login/Versions (libc: GLIBC_2.4): ... here.
35247         * io/poll.c (__poll): Renamed from poll.
35248         Add libc_hidden_def.
35249         (poll): Define as weak alias.
35251         * debug/ptsname_r_chk.c: Moved to ...
35252         * login/ptsname_r_chk.c: ... here.
35253         * debug/Makefile (routines): Move ptsname_r_chk to ...
35254         * login/Makefile (routines): ... here.
35255         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
35256         * login/Versions (libc: GLIBC_2.4): ... here.
35258         * posix/getlogin.c: Moved to ...
35259         * login/getlogin.c: ... here.
35260         * posix/getlogin_r.c: Moved to ...
35261         * login/getlogin_r.c: ... here.
35262         * posix/getlogin_r.c: Moved to ...
35263         * login/getlogin_r.c: ... here.
35264         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
35265         * login/Makefile (routines): ... here.
35266         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
35267         * login/Versions (libc: GLIBC_2.0): ... here.
35269         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
35270         (setrlimit): Define as weak alias.
35272         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
35273         Call __ names for open, ftruncate, and close.
35274         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
35275         (truncate): Define as weak alias.
35277 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
35279         * math/gen-libm-test.pl (parse_args): Initialize x before each
35280         test of frexp, modf and remquo.
35282         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
35283         test signgam value.
35285 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35287         [BZ #15418]
35288         [BZ #15419]
35289         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
35290         internal tests.
35291         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35293 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35295         * elf/dl-writev.h: New file.
35296         * elf/dl-misc.c: Include it.
35297         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
35298         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
35300 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
35302         * math/libm-test.inc (noXFails): Remove variable.
35303         (noXPasses): Likewise.
35304         (BUILD_COMPLEX_INT): Remove macro.
35305         (print_screen): Remove xfail argument.
35306         (print_screen_max_error): Likewise.
35307         (update_stats): Likewise.
35308         (print_max_error): Likewise.  Update calls to other affected
35309         functions.
35310         (print_complex_max_error): Likewise.
35311         (test_single_exception): Update calls to print_screen.
35312         (test_single_errno): Likewise.
35313         (check_float_internal): Remove xfail argument.  Update calls to
35314         other affected functions.
35315         (check_float): Likewise.
35316         (check_complex): Likewise.
35317         (check_int): Likewise.
35318         (check_long): Likewise.
35319         (check_bool): Likewise.
35320         (check_longlong): Likewise.
35321         (main): Don't print noXFails and noXPasses.
35322         * math/gen-libm-test.pl (top level): Don't mention expected
35323         failure handling in comment.
35324         (new_test): Don't handle expected failures.
35325         (parse_args): Don't mention expected failure handling in comment.
35326         (generate_testfile): Don't handle expected failures.
35327         (parse_ulps): Likewise.
35328         (print_ulps_file): Likewise.
35329         (get_failure): Remove function.
35330         (output_test): Don't handle expected failures.
35331         * make/README.libm-test: Don't mention expected failure handling.
35333         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
35334         (minus_zero): Likewise.
35335         (plus_infty): Likewise.
35336         (minus_infty): Likewise.
35337         (qnan_value): Likewise.
35338         (max_value): Likewise.
35339         (min_value): Likewise.
35340         (min_subnorm_value): Likewise.
35341         (initialize): Do not initialize those variables dynamically.
35343 2013-05-03  Roland McGrath  <roland@hack.frob.com>
35345         * io/open.c (__open_2): Moved to ...
35346         * io/open_2.c: ... this new file.
35347         * io/open64.c (__open64_2): Moved to ...
35348         * io/open64_2.c: ... this new file.
35349         * io/openat.c (__openat_2): Moved to ...
35350         * io/openat_2.c: ... this new file.
35351         * io/openat64.c (__openat64_2): Moved to ...
35352         * io/openat64_2.c: ... this new file.
35353         * io/Makefile (routines): Add them.
35354         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
35355         * sysdeps/unix/sysv/linux/open_2.c: File removed.
35356         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
35357         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
35358         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
35359         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
35360         (__openat64): Add hidden_ver.
35361         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
35362         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
35364         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
35365         Separately conditionalize setting of GLRO(dl_sysinfo) so
35366         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
35367         as well, but the actual setting is only under [NEED_DL_SYSINFO].
35369 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35371         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
35372         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
35373         definition.
35374         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
35375         * sysdeps/unix/sysv/linux/powerpc/init-first.c
35376         (_libc_vdso_platform_setup): Add __vdso_time initialization.
35377         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
35378         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
35380 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
35382         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
35383         test signgam value.
35385         * math/libm-test.inc (hypot_test): Do not use
35386         IGNORE_ZERO_INF_SIGN.
35388 2013-05-03  Andreas Jaeger  <aj@suse.de>
35390         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
35391         Linux 3.9.
35392         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
35393         (PF_MAX): Adjust for VSOCK change.
35395 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35397         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35399 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
35401         [BZ #15264]
35402         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
35403         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
35404         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
35406 2013-05-02  David S. Miller  <davem@davemloft.net>
35408         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35410 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
35412         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
35414 2013-05-01  Roland McGrath  <roland@hack.frob.com>
35416         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
35418 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
35420         [BZ #14952]
35421         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
35422         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
35423         Use __attribute__ ((__gnu_inline__)).
35424         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
35425         Don't use __attribute__ ((__gnu_inline__)).
35427 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
35429         [BZ #15423]
35430         * math/s_catan.c (__catan): Handle small real or imaginary part of
35431         input specially to avoid spurious underflow.
35432         * math/s_catanf.c (__catanf): Likewise.
35433         * math/s_catanh.c (__catanh): Likewise.
35434         * math/s_catanhf.c (__catanhf): Likewise.
35435         * math/s_catanhl.c (__catanhl): Likewise.
35436         * math/s_catanl.c (__catanl): Likewise.
35437         * math/libm-test.inc (catan_test): Add more tests.
35438         (catanh_test): Likewise.
35439         * sysdeps/i386/fpu/libm-test-ulps: Update.
35440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35442 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35444         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35446 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
35448         [BZ #15416]
35449         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
35450         accurately for denominator in atan2.
35451         * math/s_catanf.c (__catanf): Likewise.
35452         * math/s_catanh.c (__catanh): Likewise.
35453         * math/s_catanhf.c (__catanhf): Likewise.
35454         * math/s_catanhl.c (__catanhl): Likewise.
35455         * math/s_catanl.c (__catanl): Likewise.
35456         * math/libm-test.inc (catan_test): Add more tests.
35457         (catanh_test): Likewise.
35458         * sysdeps/i386/fpu/libm-test-ulps: Update.
35459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35461 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35463         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
35465         * benchtests/Makefile (bench): Remove slow benchmarks.
35466         * benchtests/atan-inputs: Add slow benchmark inputs.
35467         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
35468         (BENCH_FUNC): Accept variant offset.
35469         (VARIANT): Define.
35470         * benchtests/bench-skeleton.c (main): Run benchmark for each
35471         variant.
35472         * benchtests/cos-inputs: Add slow benchmark inputs.
35473         * benchtests/exp-inputs: Likewise.
35474         * benchtests/pow-inputs: Likewise.
35475         * benchtests/sin-inputs: Likewise.
35476         * benchtests/slowatan-inputs: Remove.
35477         * benchtests/slowatan.c: Remove.
35478         * benchtests/slowcos-inputs: Remove.
35479         * benchtests/slowcos.c: Remove.
35480         * benchtests/slowexp-inputs: Remove.
35481         * benchtests/slowexp.c: Remove.
35482         * benchtests/slowpow-inputs: Remove.
35483         * benchtests/slowpow.c: Remove.
35484         * benchtests/slowsin-inputs: Remove.
35485         * benchtests/slowsin.c: Remove.
35486         * benchtests/slowtan-inputs: Remove.
35487         * benchtests/slowtan.c: Remove.
35488         * benchtests/tan-inputs: Add slow benchmark inputs.
35489         * scripts/bench.pl: Parse comments and directives.
35491         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
35492         in CPPFLAGS.
35493         ($(objpfx)bench-%.c): Remove *-ITER.
35494         * benchtests/bench-modf.c: Remove definition of ITER.
35495         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
35496         (main): Loop for DURATION seconds instead of fixed number of
35497         iterations.
35498         * scripts/bench.pl: Don't expect iterations in parameters.
35500 2013-04-29  Roland McGrath  <roland@hack.frob.com>
35502         * io/fchdir.c (__fchdir): Renamed from fchdir.
35503         (fchdir): Define as weak alias.
35505 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
35507         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
35508         (ERRNO_EDOM): Likewise.
35509         (ERRNO_ERANGE): Likewise.
35510         (noErrnoTests): New variable.
35511         (init_max_error): Set errno to 0.
35512         (test_single_errno): New function.
35513         (test_errno): Likewise.
35514         (check_float_internal): Call test_errno.  Set errno to 0.
35515         (check_complex): Refer to errno tests in comment.
35516         (check_int): Call test_errno.  Set errno to 0.
35517         (check_long): Likewise.
35518         (check_bool): Likewise.
35519         (check_longlong): Likewise.
35520         (cos_test): Use ERRNO_* flags for errno tests instead of
35521         check_int.
35522         (expm1_test): Likewise.
35523         (fmod_test): Likewise.
35524         (ilogb_test): Likewise.
35525         (lgamma_test): Likewise.
35526         (pow_test): Likewise.
35527         (remainder_test): Likewise.
35528         (sin_test): Likewise.
35529         (tan_test): Likewise.
35530         (yn_test): Likewise.
35531         (initialize): Set errno to 0.
35532         (main): Print number of errno tests.
35533         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
35535 2013-04-29  Andreas Jaeger  <aj@suse.de>
35537         [BZ #15084]
35538         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
35539         and RES_USEVC.
35541         [BZ #15085]
35542         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
35543         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
35544         unimplemented.
35546         [BZ #15380]
35547         * stdlib/random.c (__initstate): Return NULL if
35548         __initstate fails.
35550         [BZ #15086]
35551         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
35552         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
35553         RES_SNGLKUPREOP.
35555 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35557         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35559 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
35561         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
35562         of individual tests.
35563         (casin_test): Likewise.
35564         (casinh_test): Likewise.
35566 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
35568         [BZ #15409]
35569         * math/s_catan.c (__catan): Handle arguments with large real or
35570         imaginary part separately without squaring.
35571         * math/s_catanf.c (__catanf): Likewise.
35572         * math/s_catanh.c (__catanh): Likewise.
35573         * math/s_catanhf.c (__catanhf): Likewise.
35574         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35575         and redefine.
35576         (__catanhl): Handle arguments with large real or imaginary part
35577         separately without squaring.
35578         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35579         and redefine.
35580         (__catanl): Handle arguments with large real or imaginary part
35581         separately without squaring.
35582         * math/libm-test.inc (catan_test): Add more tests.
35583         (catanh_test): Likewise.
35584         * sysdeps/i386/fpu/libm-test-ulps: Update.
35585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35587 2013-04-27  Andreas Jaeger  <aj@suse.de>
35589         [BZ #15007]
35590         * stdlib/stdlib.h: Update guards for qecvt.
35591         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
35592         <stdlib.h>.
35594 2013-04-27  Allan McRae  <allan@archlinux.org>
35596         * sysdeps/i386/fpu/libm-test-ulps: Update.
35598 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
35600         [BZ #15406]
35601         * math/s_catan.c: Include <float.h>.
35602         (__catan): Ensure underflow exception occurs for underflowed
35603         result.
35604         * math/s_catanf.c: Include <float.h>.
35605         (__catanf): Ensure underflow exception occurs for underflowed
35606         result.
35607         * math/s_catanh.c: Include <float.h>.
35608         (__catanh): Ensure underflow exception occurs for underflowed
35609         result.
35610         * math/s_catanhf.c: Include <float.h>.
35611         (__catanhf): Ensure underflow exception occurs for underflowed
35612         result.
35613         * math/s_catanhl.c: Include <float.h>.
35614         (__catanhl): Ensure underflow exception occurs for underflowed
35615         result.
35616         * math/s_catanl.c: Include <float.h>.
35617         (__catanl): Ensure underflow exception occurs for underflowed
35618         result.
35619         * math/libm-test.inc (catan_test): Add more tests.
35620         (catanh_test): Likewise.
35622         [BZ #15405]
35623         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
35624         underflowed result.
35625         * math/s_ccoshf.c (__ccoshf): Likewise.
35626         * math/s_ccoshl.c (__ccoshl): Likewise.
35627         * math/s_csin.c (__csin): Likewise.
35628         * math/s_csinf.c (__csinf): Likewise.
35629         * math/s_csinh.c (__csinh): Likewise.
35630         * math/s_csinhf.c (__csinhf): Likewise.
35631         * math/s_csinhl.c (__csinhl): Likewise.
35632         * math/s_csinl.c (__csinl): Likewise.
35633         * math/libm-test.inc (ccos_test): Add more tests.
35634         (ccosh_test): Likewise.
35635         (csin_test): Likewise.
35636         (csinh_test): Likewise.
35638 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35640         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
35641         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
35642         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
35643         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
35644         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
35645         powerpc/power5+/fpu folders.
35646         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
35649 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
35651         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35653 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
35655         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
35656         additions to variable.
35657         [$(config-machine) = x86_64] (modules-names): Likewise.
35658         ($(objpfx)tst-audit3): Remove dependency.
35659         ($(objpfx)tst-audit3.out): Likewise.
35660         ($(objpfx)tst-audit4): Likewise.
35661         ($(objpfx)tst-audit4.out): Likewise.
35662         ($(objpfx)tst-audit5): Likewise.
35663         ($(objpfx)tst-audit5.out): Likewise.
35664         ($(objpfx)tst-audit6): Likewise.
35665         ($(objpfx)tst-audit6.out): Likewise.
35666         ($(objpfx)tst-audit7): Likewise.
35667         ($(objpfx)tst-audit7.out): Likewise.
35668         (tst-audit3-ENV): Remove variable.
35669         (tst-audit4-ENV): Likewise.
35670         (tst-audit5-ENV): Likewise.
35671         (tst-audit6-ENV): Likewise.
35672         (tst-audit7-ENV): Likewise.
35673         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
35674         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
35675         addition to variable.
35676         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
35677         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
35678         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
35679         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
35680         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
35681         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
35682         tst-audit3, tst-audit4 and tst-audit5.
35683         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
35684         tst-audit6 and tst-audit7.
35685         [$(subdir) = elf] (modules-names): Add audit modules for those
35686         tests.
35687         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
35688         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
35689         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
35690         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
35691         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
35692         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
35693         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
35694         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
35695         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
35696         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
35697         [$(subdir) = elf] (tst-audit3-ENV): New variable.
35698         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
35699         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
35700         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
35701         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
35702         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
35703         Likewise.
35704         [$(subdir) = elf && $(config-cflags-avx) = yes]
35705         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
35706         [$(subdir) = elf && $(config-cflags-avx) = yes]
35707         (CFLAGS-tst-auditmod4a.c): Likewise.
35708         [$(subdir) = elf && $(config-cflags-avx) = yes]
35709         (CFLAGS-tst-auditmod4b.c): Likewise.
35710         [$(subdir) = elf && $(config-cflags-avx) = yes]
35711         (CFLAGS-tst-auditmod6b.c): Likewise.
35712         [$(subdir) = elf && $(config-cflags-avx) = yes]
35713         (CFLAGS-tst-auditmod6c.c): Likewise.
35714         [$(subdir) = elf && $(config-cflags-avx) = yes]
35715         (CFLAGS-tst-auditmod7b.c): Likewise.
35716         * elf/tst-audit3.c: Move to ...
35717         * sysdeps/x86_64/tst-audit3.c: ... here.
35718         * elf/tst-audit4.c: Move to ...
35719         * sysdeps/x86_64/tst-audit4.c: ... here.
35720         * elf/tst-audit5.c: Move to ...
35721         * sysdeps/x86_64/tst-audit5.c: ... here.
35722         * elf/tst-audit6.c: Move to ...
35723         * sysdeps/x86_64/tst-audit6.c: ... here.
35724         * elf/tst-audit7.c: Move to ...
35725         * sysdeps/x86_64/tst-audit7.c: ... here.
35726         * elf/tst-auditmod3a.c: Move to ...
35727         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
35728         * elf/tst-auditmod3b.c: Move to ...
35729         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
35730         * elf/tst-auditmod4a.c: Move to ...
35731         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
35732         * elf/tst-auditmod4b.c: Move to ...
35733         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
35734         * elf/tst-auditmod5a.c: Move to ...
35735         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
35736         * elf/tst-auditmod5b.c: Move to ...
35737         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
35738         * elf/tst-auditmod6a.c: Move to ...
35739         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
35740         * elf/tst-auditmod6b.c: Move to ...
35741         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
35742         * elf/tst-auditmod6c.c: Move to ...
35743         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
35744         * elf/tst-auditmod7a.c: Move to ...
35745         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
35746         * elf/tst-auditmod7b.c: Move to ...
35747         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
35749 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
35751         [BZ #15366]
35752         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
35753         define unconditionally.
35754         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
35755         define unconditionally.
35756         (INT8_C, INT16_C, etc.): Likewise.
35758 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
35760         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
35761         __ehdr_start with hidden visibility.
35763         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
35765 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
35767         * math/libm-test.inc (cos_test): Use accurate hex constants.
35768         (sincost_test): Likewise.
35770 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
35772         * math/libm-test.inc (catan_test): Add more tests.
35773         (catanh_test): Likewise.
35775         * math/s_catanf.c (__catanf): Use suffixed floating-point
35776         constants.
35777         * math/s_catanhf.c (__catanhf): Likewise.
35778         * math/s_catanhl.c (__catanhl): Likewise.
35779         * math/s_catanl.c (__catanl): Likewise.
35781         [BZ #15394]
35782         * math/s_catan.c (__catan): Calculate imaginary part of result
35783         with log1p not log unless computing log of number close to 0.
35784         * math/s_catanf.c (__catanf): Likewise.
35785         * math/s_catanl.c (__catanl): Likewise.
35786         * math/s_catanh.c (__catanh): Calculate real part of result with
35787         log1p not log unless computing log of number close to 0.
35788         * math/s_catanhf.c (__catanhf): Likewise.
35789         * math/s_catanhl.c (__catanhl): Likewise.
35790         * math/libm-test.inc (catan_test): Add more tests.
35791         (catanh_test): Likewise.
35792         * sysdeps/i386/fpu/libm-test-ulps: Update.
35793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35795 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35797         * benchtests/Makefile: Mention files in which fast and slow
35798         paths of math functions are implemented.
35800 2013-04-23  Roland McGrath  <roland@hack.frob.com>
35802         * sysdeps/posix/timespec_get.c: New file.
35804 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35806         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
35807         POWER.
35808         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
35809         for POWER.
35810         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
35811         powerpc/power5/fpu folders.
35812         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
35813         * benchtests/Makefile: Add modf testcase.
35814         * benchtests/bench-modf.c: New file: Benchmark test for mo
35816 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
35818         [BZ #14888]
35819         * time/Makefile (tests): Add tst-strptime-whitespace.
35820         * time/strptime_l.c (get_number): Use ISSPACE.
35821         (__strptime_internal): Likewise.
35822         * time/tst-strptime-whitespace.c: New test case.
35824 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
35826         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
35827         member.
35828         (_nss_files_init): Set it here.
35830 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
35832         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
35833         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
35834         unsigned.
35836 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
35838         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
35840 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35842         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
35843         size just once.
35845 2013-04-21  David S. Miller  <davem@davemloft.net>
35847         * po/ru.po: Update Russion translation from translation project.
35849 2013-04-17  Adam Conrad  <adconrad@0c3.net>
35851         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
35852         and setfsgid.
35854 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
35856         * configure.in: Remove i386 configure warning. Remove i386 case.
35857         * configure: Regenerate.
35858         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
35859         Add example to error message.
35860         * sysdeps/i386/configure: Regenerate.
35862 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
35864         * benchtests/Makefile (bench): Add cos, tan, slowcos and
35865         slowtan.
35866         * benchtests/cos-inputs: New file.
35867         * benchtests/slowcos-inputs: New file.
35868         * benchtests/slowcos.c: New file.
35869         * benchtests/slowtan-inputs: New file.
35870         * benchtests/slowtan.c: New file.
35871         * benchtests/tan-inputs: New file.
35873 2013-04-16  Roland McGrath  <roland@hack.frob.com>
35875         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
35876         considered kosher.
35878 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35880         * benchtests/Makefile: Include cppflags-iterator.mk to add
35881         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
35883         * Makefile.in (bench-clean): New target.
35884         * benchtests/Makefile (bench-clean): Likewise.
35886 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
35888         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
35890 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
35892         * stdio-common/tstdiomisc.c: Fix coding-style violation.
35894 2013-04-15  Andreas Schwab  <schwab@suse.de>
35896         * nscd/grpcache.c (cache_addgr): Properly check for short write.
35897         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35898         * nscd/pwdcache.c (cache_addpw): Likewise.
35899         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
35900         more than recsize.
35902 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35904         * benchtests/Makefile (bench): Write all output to
35905         bench-out.tmp together.
35907 2013-04-15  Andreas Schwab  <schwab@suse.de>
35909         * nscd/nscd.c (main): Don't fork again after closing files.
35911 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35913         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
35915         * benchtests/Rules (bench-deps): Collect dependencies into a
35916         single variable.  Add Makefile to dependencies.
35917         ($(objpfx)bench-%.c): Depend on bench-deps.
35919 2013-04-12  Roland McGrath  <roland@hack.frob.com>
35920             Xavier Roche  <roche+kml2@exalead.com>
35922         [BZ #15361]
35923         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
35924         just that it's a file descriptor.
35925         * manual/llio.texi (Synchronizing AIO Operations): Update description
35926         for EBADF error from aio_fsync.
35928 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35930         * Rules (bench): Move target definition...
35931         * benchtests/Makefile: ... here.
35933 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
35935         * math/libm-test.inc (cos_test): Fix PI/2 test.
35936         (sincos_test): Likewise.
35937         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
35938         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
35940 2013-04-11  Andreas Schwab  <schwab@suse.de>
35942         [BZ #13988]
35943         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
35944         accept exponent character only when digits were seen.
35945         * stdio-common/Makefile (tests): Add bug26.
35946         * stdio-common/bug26.c: New file.
35948         [BZ #14293]
35949         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
35950         non-freeable.
35952 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35954         * Makeconfig (rtld-prefix): Define built linker prefix.
35955         * Rules (run-bench): Use it.
35956         * math/Makefile (run-regen-ulps): Likewise.
35958         * Rules (bench): Remove eval.
35960 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35961             Roland McGrath  <roland@hack.frob.com>
35962             Ondrej Bilka  <neleai@seznam.cz>
35964         [BZ #15346]
35965         * time/getdate.c: Include ctype.h and alloca.h.
35966         (__getdate_r): Trim leading and trailing spaces of input.
35967         * time/tst-getdate.c (tests): Add tests with leading and
35968         trailing spaces.
35970 2013-04-08  Roland McGrath  <roland@hack.frob.com>
35972         [BZ #14280]
35973         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
35974         when computing value.
35976 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35978         * math/README.libm-test (How can I generate "libm-test-ulps"?):
35979         Use testrun.sh to run libm tests.
35981         [BZ #15309]
35982         * elf/dl-open.c (dl_open_worker): memset all of seen array.
35984 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
35986         [BZ #15264]
35987         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
35989 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35991         * Makefile.in (regen-ulps): New target.
35992         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
35993         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
35994         [ifneq (no,$(PERL)] (regen-ulps): New target.
35995         [ifeq (no,$(PERL)] (regen-ulps): New target.
35996         * math/libm-test.inc (ulps_file_name): Define.
35997         (output_dir): New variable.
35998         (options): Add "output-dir" option.
35999         (parse_opt): Handle 'o' case.
36000         (main): If output_dir is non-NULL use it as a prefix
36001         otherwise use "".
36002         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
36004 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36006         [BZ #10060, #10062]
36007         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
36008         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
36009         fail configure if __sync_val_compare_and_swap is not inlined.
36010         * sysdeps/i386/configure: Regenerate.
36011         * configure.in: Build for i686 when configured for i386.
36012         * configure: Regenerate.
36013         * README: Remove i386 reference.
36015 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36017         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
36018         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36020 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
36022         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
36023         (lmsnanval): New variables.
36024         (F): Add conversion tests.
36025         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
36026         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
36028         * stdio-common/tstdiomisc.c (F): Properly collect individual
36029         tests' results.
36031         [BZ #14686, #15336]
36032         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
36033         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
36034         Instead, use input NaN values or generate a qNaN by arithmetic
36035         operation.  Also fix bugs to comply with the standard.
36036         * math/libm-test.inc (remainder_test): Add more tests.
36038         [BZ #15335, #15342]
36039         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
36040         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
36041         input NaN values or generate a qNaN by arithmetic operation.
36043         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
36044         unreachable code.
36046         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
36047         definitions.
36049 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
36051         [BZ #14478]
36052         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
36053         underflowed result.
36054         * math/s_cexpf.c (__cexpf): Likewise.
36055         * math/s_cexpl.c (__cexpl): Likewise.
36056         * math/libm-test.inc (cexp_test): Add more tests.
36058 2013-04-03  Andreas Schwab  <schwab@suse.de>
36060         [BZ #15330]
36061         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
36062         order arrays from heap if bigger than alloca cutoff.
36064 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
36066         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
36067         (SNAN_TESTS_double): Refer to GCC PR56831.
36068         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
36069         GCC PR56828.
36071 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36073         * Rules (bench): Move bench.out after the run is complete.
36075         * Rules (bench): Echo currently running benchmark.
36077         * benchtests/Makefile (bench): Add atan and slowatan.
36078         * benchtests/atan-inputs: New file.
36079         * benchtests/slowatan-inputs: New file.
36080         * benchtests/slowatan.c: New file.
36082         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
36083         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
36084         its value.
36086         [BZ #15305]
36087         * sysdeps/unix/sysv/linux/kernel-features.h
36088         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
36089         __ASSUME_XFS_RESTRICTED_CHOWN.
36090         * sysdeps/unix/sysv/linux/pathconf.c
36091         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
36092         Save and restore errno.
36094 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
36096         [BZ #15327]
36097         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
36098         arguments using __kernel_casinh.
36099         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
36100         arguments using __kernel_casinhf.
36101         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
36102         arguments using __kernel_casinhl.
36103         * math/libm-test.inc (cacosh_test): Add more tests.
36104         * sysdeps/i386/fpu/libm-test-ulps: Update.
36105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36107 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36109         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
36110         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
36112         * bench/Makefile (bench): Add sin and slowsin.
36113         * benchtests/sin-inputs: New file.
36114         * benchtests/slowsin-inputs: New file.
36115         * benchtests/slowsin.c: New file.
36117         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
36118         (bench): Add slowexp and slowpow.
36119         (exp-ITER): Increase iterations.
36120         (pow-ITER): Likewise.
36121         * benchtests/exp-inputs: Change input.
36122         * benchtests/pow-inputs: Likewise.
36123         * benchtests/slowexp-inputs: New file.
36124         * benchtests/slowexp.c: New file.
36125         * benchtests/slowpow-inputs: New file.
36126         * benchtests/slowpow.c: New file.
36128 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36130         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
36131         instructions.
36132         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36133         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
36134         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
36135         * benchtests/Makefile: Add rint benchtest.
36136         * benchtests/rint-inputs: Input for rint benchtest.
36138 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
36140         * Versions.def (libm): Add GLIBC_2.18.
36141         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
36142         hidden libm prototypes.
36143         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
36144         * math/Makefile (libm-calls): Add s_issignaling.
36145         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
36146         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
36147         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
36148         declaration.
36149         * math/math.h [__USE_GNU] (issignaling): New macro.
36150         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
36151         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
36152         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
36153         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
36154         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
36155         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
36156         * manual/arith.texi (issignaling): New section.
36157         * manual/libm-err-tab.pl (@all_functions): Update comment.
36158         * math/gen-libm-test.pl (parse_args): Apply special handling for
36159         issignaling.
36160         * math/libm-test.inc (print_float, issignaling_test): New
36161         functions.
36162         (check_float_internal): Add issignaling checks.
36163         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
36164         default definition.
36165         * sysdeps/powerpc/math-tests.h: New file.
36166         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
36167         tests.
36168         * math/test-snan.c (TEST_FUNC): Likewise.
36170 2013-03-30  David S. Miller  <davem@davemloft.net>
36172         * po/de.po: Update from translation team.
36174 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
36176         [BZ #10357]
36177         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36178         imaginary part less than 1.0 and real part less than 0.5
36179         specially.
36180         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36181         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36182         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
36183         (cacos_test): Add more tests.
36184         (casin_test): Likewise.
36185         (casinh_test): Likewise.
36186         * sysdeps/i386/fpu/libm-test-ulps: Update.
36187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36189 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36191         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
36192         ONE with its value.
36194         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
36195         (__pow_mp): Replace ONE and MONE with their values.
36196         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36197         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
36198         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36199         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
36200         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36201         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36203         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
36205         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
36206         (__pow_mp): Replace ZERO and MZERO with their values.
36207         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36208         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36209         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36210         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36211         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36212         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
36213         (__sqr): Likewise.
36215         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
36217         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
36219 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36221         * include/stdlib.h [!SHARED] (__call_tls_dtors):
36222         Declare with __attribute__ ((weak)).
36223         * stdlib/exit.c (__libc_atexit) [!SHARED]:
36224         Call __call_tls_dtors only if it's not NULL.
36226 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36228         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
36229         didn't do it already, then set _dl_phdr and _dl_phnum based on the
36230         magic __ehdr_start linker symbol if it's defined.
36231         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
36232         them up here if it was already done.
36234         * elf/dl-support.c (_dl_phdr): Make pointer to const.
36235         (_dl_aux_init): Use const in cast when setting it.
36236         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
36237         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
36238         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
36240         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
36241         Declare them here.
36242         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
36243         * csu/libc-tls.c: Nor here.
36244         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
36246         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
36247         (__libc_message): Never call vsyslog.
36249 2013-03-28  Alan Modra  <amodra@gmail.com>
36251         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
36252         Define as empty.
36253         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
36254         Likewise.
36256 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36258         [BZ #15214]
36259         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
36260         underflow.
36261         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36263 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36265         [BZ #15304]
36266         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
36267         Don't add gid passed as argument.
36269         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
36271 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
36273         [BZ #15307]
36274         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36275         imaginary part between 1.0 and 1.5 and real part less than 0.5
36276         specially.
36277         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36278         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36279         * math/libm-test.inc (cacos_test): Add more tests.
36280         (casin_test): Likewise.
36281         (casinh_test): Likewise.
36282         * sysdeps/i386/fpu/libm-test-ulps: Update.
36283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36285 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36287         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
36288         constants.
36289         (norm): Likewise.
36290         (denorm): Likewise.
36291         (__dbl_mp): Likewise.
36292         (add_magnitudes): Likewise.
36293         (sub_magnitudes): Likewise.
36294         (__add): Likewise.
36295         (__sub): Likewise.
36296         (__mul): Likewise.
36297         (__sqr): Likewise.
36298         (__inv): Likewise.
36299         (__dvd): Likewise.
36301         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
36302         commented code.
36303         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
36304         (__dubcos): Likewise.
36305         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
36306         (__ieee754_acos): Likewise.
36307         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36308         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
36309         (__exp1): Likewise.
36310         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36311         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36312         (log1): Likewise.
36313         (my_log2): Likewise.
36314         (checkint): Likewise.
36315         * sysdeps/ieee754/dbl-64/e_remainder.c
36316         (__ieee754_remainder): Likewise.
36317         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36318         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
36319         (bsloww): Likewise.
36320         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36322         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36323         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
36324         MANTISSA_STORE_T to store computations on mantissa.  Use
36325         macros for rounding and division.
36326         (denorm): Likewise.
36327         (__dbl_mp): Likewise.
36328         (add_magnitudes): Likewise.
36329         (sub_magnitudes): Likewise.
36330         (__mul): Likewise.
36331         (__sqr): Likewise.
36332         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
36333         powers of two in terms of TWOPOW macro.
36334         (mp_no): Make type of mantissa as MANTISSA_T.
36335         [!RADIXI]: Define RADIXI.
36336         [!TWO52]: Define TWO52.
36337         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36339 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36341         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
36342         llroundl symbol when building for PPC32.
36344 2013-03-24  Mark H Weaver  <mhw@netris.org>
36346         * manual/arith.texi (Normalization Functions): Fix prototypes for
36347         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
36349 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36351         [BZ #13889]
36352         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
36353         high value to check if expl overflow.
36354         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
36355         to check for underflow and overflow.
36356         * math/libm-test.inc: Add exp test.
36358 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
36360         [BZ #11120]
36361         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
36362         with NOT_IN_libc.
36364 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36366         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
36367         symbol.
36369 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
36371         * math/gen-libm-test.pl (parse_args, special_functions): Properly
36372         wrap blocks consisting of several statements.
36374         * sysdeps/generic/math-tests.h: New file.
36375         * sysdeps/i386/fpu/math-tests.h: Likewise.
36376         * math/test-snan.c: Include it.
36377         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
36379 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
36381         [BZ #15285]
36382         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
36383         (__ieee754_j0l): Do not improve calculations using cos of twice
36384         input for inputs above LDBL_MAX / 2.0L.
36385         (__ieee754_y0l): Likewise.
36386         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
36387         (__ieee754_j1l): Do not improve calculations using cos of twice
36388         input for inputs above LDBL_MAX / 2.0L.
36389         (__ieee754_y1l): Likewise.
36390         * math/libm-test.inc (j0_test): Add another test.
36391         (j1_test): Likewise.
36392         (y0_test): Likewise.
36393         (y1_test): Likewise.
36394         * sysdeps/i386/fpu/libm-test-ulps: Update.
36396 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36398         * Rules ($(objpfx)bench-%.c): Include code from a C source
36399         file.
36401 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
36403         [BZ #15287]
36404         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36405         imaginary part 1.0 and real part less than 0.5 specially.
36406         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36407         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36408         * math/libm-test.inc (cacos_test): Add more tests.
36409         (casin_test): Likewise.
36410         (casinh_test): Likewise.
36411         * sysdeps/i386/fpu/libm-test-ulps: Update.
36412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36414 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36416         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
36417         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
36419 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
36421         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
36422         * config.make.in (config-cflags-sse4): Remove variable.
36423         (config-cflags-avx): Likewise.
36424         (config-cflags-sse2avx): Likewise.
36425         (config-cflags-novzeroupper): Likewise.
36426         (config-asflags-i686): Likewise.
36427         (have-mfma4): Likewise.
36428         (have-as-vis3): Likewise.
36429         (MIG): Likewise.
36430         * configure.in (MIG): Do not AC_SUBST.
36431         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
36432         (libc_cv_cc_sse4): Do not AC_SUBST.
36433         (libc_cv_cc_avx): Likewise.
36434         (libc_cv_cc_sse2avx): Likewise.
36435         (libc_cv_cc_novzeroupper): Likewise.
36436         (libc_cv_cc_fma4): Likewise.
36437         (libc_cv_as_i686): Likewise.
36438         (libc_cv_sparc_as_vis3): Likewise.
36439         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
36440         LIBC_CONFIG_VAR.
36441         (config-asflags-i686): Likewise.
36442         (config-cflags-avx): Likewise.
36443         (config-cflags-sse2avx): Likewise.
36444         (have-mfma4): Likewise.
36445         (config-cflags-novzeroupper): Likewise.
36446         * sysdeps/mach/configure.in (MIG): Likewise.
36447         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
36448         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
36449         LIBC_CONFIG_VAR.
36450         (config-cflags-avx): Likewise.
36451         (config-cflags-sse2avx): Likewise.
36452         (have-mfma4): Likewise.
36453         (config-cflags-novzeroupper): Likewise.
36454         * configure: Regenerated.
36455         * sysdeps/i386/configure: Likewise.
36456         * sysdeps/mach/configure: Likewise.
36457         * sysdeps/sparc/configure: Likewise.
36458         * sysdeps/x86_64/configure: Likewise.
36460 2013-03-20  Roland McGrath  <roland@hack.frob.com>
36462         [BZ #14812]
36463         * locale/programs/localedef.c (options): Put N_ translation marker
36464         on argument names, not just descriptions.
36466 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36468         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
36470 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
36472         [BZ #14176]
36473         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
36475 2013-03-19  Roland McGrath  <roland@hack.frob.com>
36477         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
36478         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
36479         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
36480         [!BEFORE_ABORT] (before_abort): New function.
36481         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
36482         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
36483         (writev_for_fatal): New function.
36484         (WRITEV_FOR_FATAL): New macro; call that.
36485         (backtrace_and_maps): New function.
36486         (BEFORE_ABORT): New macro; call that.
36487         (struct str_list): Type removed.
36488         (__libc_message, __libc_fatal): Functions removed.
36489         Include <sysdeps/posix/libc_fatal.c> instead.
36491 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
36493         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
36494         constants.
36495         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
36496         double constants.
36498 2013-03-19  Andreas Schwab  <schwab@suse.de>
36500         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
36501         * sysdeps/gnu/configure: Regenerate.
36503         * configure.in: Substitute libc_cv_rtlddir.
36504         * configure: Regenerate.
36505         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
36506         * Makeconfig (rtlddir, inst_rtlddir): New variables.
36507         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
36508         * elf/Makefile (install-others, CFLAGS-interp.c)
36509         (ldso_install, common-ldd-rewrite): Likewise.
36510         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
36511         $(inst_slibdir)/$(rtld-installed-name).
36512         * scripts/rellns-sh: Add -p option.
36513         * Makerules (make-shlib-link): Use rellns-sh to get relative name
36514         for source.
36516 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36518         * manual/nptl.texi: Renamed to ...
36519         * manual/threads.texi: ... this.
36520         * manual/Makefile (chapters): Update.
36522 2013-03-18  Roland McGrath  <roland@hack.frob.com>
36524         [BZ #14812]
36525         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
36526         on argument names, not just descriptions.
36527         * malloc/memusagestat.c (options): Likewise.
36528         * nss/getent.c (options): Likewise.
36530 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
36532         [BZ #14812]
36533         * iconv/iconv_prog.c (options): Put N_ translation marker
36534         on argument names, not just descriptions.
36535         * iconv/iconvconfig.c (options): Likewise.
36537 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
36539         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
36540         implementation which is faster on all x86_64 architectures.
36541         Tested on AMD, Intel Nehalem, SNB, IVB.
36542         * sysdeps/x86_64/strnlen.S: Likewise.
36544         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36545         Remove all multiarch strlen and strnlen versions.
36546         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
36547         Remove strlen and strnlen related parts.
36549         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
36550         Inline strlen part.
36551         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
36553         * sysdeps/x86_64/multiarch/strlen.S: Remove.
36554         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
36555         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
36556         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
36557         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36558         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
36560 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
36562         * manual/memory.texi (Malloc Tunable Parameters):
36563         Sort parameters alphabetically. Add comments for missing entries.
36565 2013-03-17  David S. Miller  <davem@davemloft.net>
36567         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36569 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
36571         [BZ #15283]
36572         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
36573         for arguments at most half maximum finite value.
36574         * math/libm-test.inc (j0_test): Add more tests.
36575         (j1_test): Likewise.
36576         (y0_test): Likewise.
36577         (y1_test): Likewise.
36578         * sysdeps/i386/fpu/libm-test-ulps: Update.
36579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36581         [BZ #14155]
36582         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
36583         1 / x and functions P and Q for arguments above 0x1p256L.
36584         (__ieee754_y0l): Likewise.
36585         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
36586         (__ieee754_y1l): Likewise.
36587         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
36588         (j1_test): Likewise.
36589         (y0_test): Likewise.
36590         (y1_test): Likewise.
36592 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
36594         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
36595         variable.
36597 2013-03-15  Roland McGrath  <roland@hack.frob.com>
36599         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
36600         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
36601         zero since it's initialized to EXEC_PAGESIZE.
36603         * sysdeps/unix/sysv/linux/ldsodefs.h
36604         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
36605         * sysdeps/generic/ldsodefs.h: ... here.
36607 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
36609         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
36611         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
36612         math/test-snan.c.
36613         * math/test-snan.c: Renamed from
36614         sysdeps/powerpc/fpu/test-powerpc-snan.c.
36615         * math/Makefile (tests): Add test-snan.
36616         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
36617         test-powerpc-snan.
36619         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
36620         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
36621         functions.
36622         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
36623         __builtin_nan family of functions.
36624         * math/libm-test.inc (initialize): Initialize qnan_value with
36625         __builtin_nan family of functions.
36626         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
36627         Remove variables.
36628         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
36629         Remove functions.
36630         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
36631         storage class.  Initialize qNaN_var and sNaN_var with
36632         __builtin_nan and __builtin_nans families of functions,
36633         respectively.
36635         * math/libm-test.inc (acosh_test): Also test with qNaN input.
36636         (sqrt_test): Remove duplicate test with qNaN input.
36637         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
36638         (round_test, signbit_test, significand_test): Note missing +/-Inf
36639         as well as qNaN tests.
36641         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
36642         qNaN_var.  Fix a few strings, too.
36643         * math/libm-test.inc (nan_value): Rename to qnan_value.
36644         * math/gen-libm-test.pl (%beautify): Adjust to that.
36645         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
36646         * math/test-misc.c (main): Likewise.
36647         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
36648         to __qnan_bytes, and __qnan_union, respectively.
36649         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
36650         Likewise.
36651         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
36652         and lqnanval, respectively.
36653         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
36654         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
36655         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
36656         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
36658         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
36659         * math/test-misc.c (main) [__x86_64__]: Enable test for long
36660         doubles.
36662         * math/test-misc.c (main): Fix copy'n'pastos.
36663         * misc/tst-efgcvt.c (special): Likewise.
36665         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
36666         Remove declarations.
36668 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36670         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
36671         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
36672         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
36673         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
36675 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36677         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
36678         macro to return vdso values correctly in IFUNC implementations.
36679         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
36680         Optimization by using IFUNC.
36682 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36683             Richard Henderson  <rth@redhat.com>
36684             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36686         * Makefile.in (bench): New target.
36687         * NEWS: Mention the benchmark framework.
36688         * Rules (bench): Likewise.
36689         (binaries-bench): Generate binaries for functions to
36690         benchmark.
36691         * benchtests/Makefile: New makefile for benchmark tests.
36692         * benchtests/bench-skeleton.c: New skeleton file for benchmark
36693         programs.
36694         * benchtests/exp-inputs: New input file for EXP function.
36695         * benchtests/pow-inputs: New input file for POW function.
36696         * scripts/bench.pl: New script to generate source files for
36697         benchmark programs.
36699 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36701         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36702         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
36703         computations on mantissa.  Use macros for rounding and
36704         division.
36705         (denorm): Likewise.
36706         (__dbl_mp): Likewise.
36707         (add_magnitudes): Likewise.
36708         (sub_magnitudes): Likewise.
36709         (__mul): Likewise.
36710         (__sqr): Likewise.
36711         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
36712         powers of two in terms of TWOPOW macro.
36713         (mp_no): Make type of mantissa as MANTISSA_T.
36714         [!RADIXI]: Define RADIXI.
36715         [!TWO52]: Define TWO52.
36716         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36718         * manual/nptl.texi (cindex): Modify threads to pthreads.
36720 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
36722         * sysdeps/x86_64/preconfigure: Regenerated.
36724 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
36726         [BZ #14155]
36727         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
36728         0x1p28 and above.
36729         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
36730         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
36731         0x1p28 and above.
36732         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
36733         * math/libm-test.inc (j0_test): Do not allow one spurious
36734         underflow exception.
36735         (y1_test): Likewise.
36737 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36739         * manual/Makefile (chapters): Add nptl.
36740         * manual/debug.texi (Debugging Support): Add link to Threads
36741         chapter.
36742         * manual/nptl.texi: New file.
36744         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
36746 2013-03-14  Petr Baudis  <pasky@ucw.cz>
36748         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
36749         for non-NULL pointer before the memory validity test. Pointed
36750         out by Holger Brunck <holger.brunck@keymile.com>.
36752 2013-03-13  Andreas Schwab  <schwab@suse.de>
36754         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
36755         instead of .os.
36757 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
36759         * timezone/zic.c: Update from tzcode 2013b.
36761 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
36763         * manual/install.texi (Configuring and compiling):
36764         Mention i686 and i586.
36765         * INSTALL: Regenerate.
36767 2013-03-12  Roland McGrath  <roland@hack.frob.com>
36769         * sysdeps/init_array/elf-init.c: New file.
36770         * csu/elf-init.c
36771         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
36772         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
36774         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
36775         __gmon_start__ as global, but as static with a .preinit_array pointer.
36776         * sysdeps/init_array/gmon-start.c: New file.  Use that.
36777         * sysdeps/init_array/crti.S: New file, empty except for comments.
36778         * sysdeps/init_array/crtn.S: Likewise.
36780 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
36782         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
36783         definining bcopy.
36784         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36785         Remove Prefer_SSE_for_memop.
36786         * sysdeps/x86_64/multiarch/init-arch.h: Remove
36787         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
36788         HAS_PREFER_SSE_FOR_MEMOP.
36789         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
36790         memset-x86-64.
36791         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36792         Remove bzero, memset ifunc support.
36793         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
36794         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
36795         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36796         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36798 2013-03-11  Andreas Schwab  <schwab@suse.de>
36800         [BZ #15234]
36801         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
36802         by SHLIB_COMPAT.
36803         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
36804         (GLIBC_2.16): Remove pthread_atfork.
36806 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
36808         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
36809         (ptestcases.h): Likewise.
36811 2013-03-08  Roland McGrath  <roland@hack.frob.com>
36813         * Makeconfig ($(common-objpfx)config.status): Depend on
36814         sysdeps/*/preconfigure{,.in} too.
36816 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
36818         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
36819         (__free_hook): Use void * instead of __malloc_ptr_t.
36820         (__malloc_hook): Likewise.
36821         (__realloc_hook): Likewise.
36822         (__memalign_hook): Likewise.
36823         (__after_morecore_hook): Likewise.
36824         * malloc/arena.c (save_malloc_hook): Likewise.
36825         (save_free_hook): Likewise.
36826         * malloc/hooks.c (malloc_hook_ini): Likewise.
36827         (realloc_hook_ini): Likewise.
36828         (memalign_hook_ini): Likewise.
36829         * malloc/malloc.c (malloc_hook_ini): Likewise.
36830         (realloc_hook_ini): Likewise.
36831         (memalign_hook_ini): Likewise.
36832         (__free_hook): Likewise.
36833         (__malloc_hook): Likewise.
36834         (__realloc_hook): Likewise.
36835         (__memalign_hook): Likewise.
36836         (__libc_malloc): Likewise.
36837         (__libc_free): Likewise.
36838         (__libc_realloc): Likewise.
36839         (__libc_memalign): Likewise.
36840         (__libc_valloc): Likewise.
36841         (__libc_pvalloc): Likewise.
36842         (__libc_calloc): Likewise.
36843         (__posix_memalign): Likewise.
36844         * malloc/morecore.c (__sbrk): Likewise.
36845         (__default_morecore): Likewise.
36847         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
36849         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
36850         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
36851         __malloc_ptrdiff_t.
36853         * malloc/malloc.h (__malloc_size_t): Remove macro.
36854         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
36855         __malloc_size_t.
36856         (old_memalign_hook): Likewise.
36857         (old_realloc_hook): Likewise.
36858         (struct hdr): Likewise.
36859         (flood): Likewise.
36860         (mallochook): Likewise.
36861         (memalignhook): Likewise.
36862         (reallochook): Likewise.
36863         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
36864         (tr_old_realloc_hook): Likewise.
36865         (tr_old_memalign_hook): Likewise.
36866         (tr_mallochook): Likewise.
36867         (tr_reallochook): Likewise.
36868         (tr_memalignhook): Likewise.
36870 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36872         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
36873         default_ldbl_pack and using as default implementation.
36874         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
36875         implementation.
36876         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
36877         redundant definition.
36878         (ldbl_insert_mantissa): Likewise.
36879         (ldbl_canonicalize): Likewise.
36880         (ldbl_nearbyint): Likewise.
36881         (ldbl_pack): Rename to ldbl_pack_ppc.
36882         (ldbl_unpack): Rename to ldbl_unpack_ppc.
36883         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
36884         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
36886 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
36888         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
36889         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
36890         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
36891         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
36892         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
36893         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
36894         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
36895         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
36897 2013-03-07  Andreas Jaeger  <aj@suse.de>
36899         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36900         bits/mman-linux.h.
36902 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
36904         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
36905         Include mpa.h and declare __MPEXP.
36906         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
36907         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
36908         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
36909         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
36910         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
36911         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
36912         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
36914         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
36915         (__slowpow): Use long double EXPL and LOGL functions to
36916         compute POW.
36917         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
36918         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
36919         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
36920         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
36921         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
36922         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
36924         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
36925         intermediate variable to calculate exponent.
36926         (__sqr): Likewise.
36927         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36928         Likewise.
36929         (__sqr): Likewise.
36931         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
36932         [!NO__SQR]: Define __sqr.
36933         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
36934         and NO__SQR.  Remove all code except __mul and __sqr.  Include
36935         sysdeps/ieee754/dbl-64/mpa.c.
36936         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36938         [BZ #12723]
36939         * posix/Makefile (tests): Add tst-pathconf.
36940         * posix/tst-pathconf.c: New test case.
36941         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
36942         _PC_PIPE_BUF.
36943         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
36945 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
36947         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
36949 2013-03-06  Andreas Jaeger  <aj@suse.de>
36951         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
36952         definition via __MAP_ANONYMOUS.
36954         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
36955         it's not part of Linux headers.
36957         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
36958         (MAP_HUGE_MASK): Define.
36960         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36961         Define.
36962         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36963         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36964         Define.
36965         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36966         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36967         Define.
36968         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36969         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
36970         Define.
36971         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36973         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
36974         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
36975         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
36976         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
36977         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
36978         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
36980         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36981         Handle f2fs.
36983         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36984         Handle f2fs and efivarfs.
36986         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
36987         f2fs.
36989         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
36990         (EFIVARFS_MAGIC): Add.
36991         (F2FS_LINK_MAX): Add.
36993 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36995         * stdio-common/vfprintf.c: Replace __builtin_expect with
36996         __glibc_unlikely.
36998 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
37000         [BZ #13550]
37001         * sysdeps/generic/bp-sym.h: Remove file.
37002         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
37003         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
37004         <bp-sym.h> and <bp-asm.h>.
37005         (__longjmp): Don't use BP_SYM.
37006         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
37007         and <bp-asm.h>.
37008         (memcpy): Don't use BP_SYM.
37009         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
37010         <bp-sym.h> and <bp-asm.h>.
37011         (memcpy): Don't use BP_SYM.
37012         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
37013         <bp-asm.h>.
37014         (memcpy): Don't use BP_SYM.
37015         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
37016         <bp-asm.h>.
37017         (memset): Don't use BP_SYM.
37018         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37019         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37020         (__bzero): Don't use BP_SYM.
37021         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37022         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37023         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
37024         <bp-sym.h> and <bp-asm.h>.
37025         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37026         pointers.
37027         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
37028         <bp-sym.h> and <bp-asm.h>.
37029         (memcpy): Don't use BP_SYM.
37030         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
37031         <bp-sym.h> and <bp-asm.h>.
37032         (memset): Don't use BP_SYM.
37033         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37034         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37035         (__bzero): Don't use BP_SYM.
37036         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37037         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37038         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
37039         <bp-sym.h> and <bp-asm.h>.
37040         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37041         pointers.
37042         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
37043         <bp-sym.h> and <bp-asm.h>.
37044         (memcpy): Don't use BP_SYM.
37045         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
37046         <bp-sym.h> and <bp-asm.h>.
37047         (memset): Don't use BP_SYM.
37048         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37049         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37050         (__bzero): Don't use BP_SYM.
37051         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37052         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37053         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
37054         <bp-sym.h> and <bp-asm.h>.
37055         (__memchr): Don't use BP_SYM.
37056         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
37057         <bp-sym.h> and <bp-asm.h>.
37058         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37059         pointers.
37060         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
37061         <bp-sym.h> and <bp-asm.h>.
37062         (memcpy): Don't use BP_SYM.
37063         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
37064         <bp-sym.h> and <bp-asm.h>.
37065         (__mempcpy): Don't use BP_SYM.
37066         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
37067         <bp-sym.h> and <bp-asm.h>.
37068         (__memrchr): Don't use BP_SYM.
37069         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
37070         <bp-sym.h> and <bp-asm.h>.
37071         (memset): Don't use BP_SYM.
37072         (__bzero): Likewise.
37073         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
37074         <bp-sym.h> and <bp-asm.h>.
37075         (__rawmemchr): Don't use BP_SYM.
37076         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
37077         <bp-sym.h> and <bp-asm.h>.
37078         (__STRCMP): Don't use BP_SYM.
37079         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
37080         <bp-sym.h> and <bp-asm.h>.
37081         (strchr): Don't use BP_SYM.
37082         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
37083         <bp-sym.h> and <bp-asm.h>.
37084         (__strchrnul): Don't use BP_SYM.
37085         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
37086         <bp-sym.h> and <bp-asm.h>.
37087         (strlen): Don't use BP_SYM.
37088         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
37089         <bp-sym.h> and <bp-asm.h>.
37090         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37091         pointers.
37092         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
37093         <bp-sym.h> and <bp-asm.h>.
37094         (__strnlen): Don't use BP_SYM.
37095         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
37096         <bp-sym.h> and <bp-asm.h>.
37097         (__GI__setjmp): Don't use BP_SYM.
37098         (_setjmp): Likewise.
37099         (__sigsetjmp): Likewise.
37100         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
37101         (L(start_addresses)): Don't use BP_SYM.
37102         (_start): Likewise.
37103         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
37104         <bp-asm.h>.
37105         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
37106         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
37107         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37108         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37109         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
37110         <bp-asm.h>.
37111         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
37112         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
37113         about bounded pointers.
37114         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37115         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37116         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
37117         <bp-asm.h>.
37118         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37119         about bounded pointers.  Remove GKM FIXME comments.
37120         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37121         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
37122         <bp-asm.h>.
37123         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
37124         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
37125         Remove GKM FIXME comments.
37126         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37127         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37128         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
37129         <bp-asm.h>.
37130         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37131         about bounded pointers.  Remove GKM FIXME comment.
37132         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
37133         and <bp-asm.h>.
37134         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37135         pointers.
37136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
37137         <bp-sym.h> and <bp-asm.h>.
37138         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
37140         <bp-sym.h> and <bp-asm.h>.
37141         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
37142         comment.
37144 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37146         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
37147         call free(NULL).
37149 2013-03-05  David S. Miller  <davem@davemloft.net>
37151         * po/es.po: Update from translation team.
37153 2013-03-05  Andreas Jaeger  <aj@suse.de>
37155         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
37156         <bits/mman-linux.h>.
37157         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37158         is fine.
37159         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
37160         <bits/mman-linux.h> to end of file.
37161         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37162         is fine.
37163         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
37164         <bits/mman-linux.h> to end of file.
37165         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37166         is fine.
37167         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
37168         <bits/mman-linux.h> to end of file.
37170         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
37171         (MCL_CURRENT, MCL_FUTURE): Define here.
37173 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37175         [BZ #15232]
37176         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
37177         attribute_hidden.
37178         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37180 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37182         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
37183         fourth parameter needed for rt_sigprocmask syscall.
37184         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
37185         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
37186         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
37187         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
37188         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
37189         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
37191 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
37193         [BZ #13550]
37194         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
37195         comment about bounded pointers.
37196         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
37197         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
37199 2013-03-04  Andreas Jaeger  <aj@suse.de>
37201         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
37202         common definitions.
37204         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
37205         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
37206         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
37207         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37208         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37209         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37211 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37213         [BZ #15055]
37214         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
37215         __ieee754_sqrl instead of __sqrl.
37217 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
37219         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
37220         * sysdeps/powerpc/fpu_control.h: ... here.
37221         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
37222         * sysdeps/powerpc/bits/fenvinline.h: ... here.
37223         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
37224         * sysdeps/powerpc/bits/mathinline.h: ... here.
37226 2013-03-01  Roland McGrath  <roland@hack.frob.com>
37228         * elf/dl-hwcaps.c (_dl_important_hwcaps):
37229         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
37230         to just [NEED_DL_SYSINFO_DSO].
37231         * elf/dl-support.c: Likewise.
37232         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
37233         * elf/rtld.c (dl_main): Likewise.
37234         * elf/setup-vdso.h (setup_vdso): Likewise.
37235         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
37236         * sysdeps/unix/sysv/linux/dl-sysdep.c
37237         (_dl_discover_osversion): Likewise.
37239 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
37241         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
37242         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37244 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
37246         * NEWS: Mention libm performance improvements and non-x86 PI
37247         futex support.
37249         * csu/libc-start.c (__pthread_initialize_minimal): Change
37250         function arguments.
37251         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37253 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
37255         [BZ #13550]
37256         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
37257         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
37258         <bp-sym.h> and <bp-asm.h>.
37259         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37260         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
37261         and <bp-asm.h>.
37262         (memcpy): Don't use BP_SYM.
37263         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
37264         <bp-asm.h>.
37265         (__mpn_add_n): Don't use BP_SYM.
37266         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
37267         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
37268         and <bp-asm.h>.
37269         (__mpn_addmul_1): Don't use BP_SYM.
37270         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37271         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
37272         <bp-sym.h>.
37273         (_setjmp): Don't use BP_SYM.
37274         (__novmx_setjmp): Likewise.
37275         (__GI__setjmp): Likewise.
37276         (__vmx_setjmp): Likewise.
37277         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
37278         <bp-sym.h>.
37279         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
37280         (__bzero): Don't use BP_SYM.
37281         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37282         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37283         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
37284         <bp-sym.h> and <bp-asm.h>.
37285         (memcpy): Don't use BP_SYM.
37286         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
37287         <bp-sym.h> and <bp-asm.h>.
37288         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37289         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
37290         <bp-sym.h> and <bp-asm.h>.
37291         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37292         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
37293         <bp-asm.h>.
37294         (__mpn_lshift): Don't use BP_SYM.
37295         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37296         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
37297         <bp-asm.h>.
37298         (memset): Don't use BP_SYM.
37299         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37300         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37301         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
37302         <bp-asm.h>.
37303         (__mpn_mul_1): Don't use BP_SYM.
37304         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37305         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
37306         <bp-sym.h> and <bp-asm.h>.
37307         (memcmp): Don't use BP_SYM.
37308         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
37309         <bp-sym.h> and <bp-asm.h>.
37310         (memcpy): Don't use BP_SYM.
37311         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
37312         <bp-sym.h> and <bp-asm.h>.
37313         (memset): Don't use BP_SYM.
37314         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
37315         <bp-sym.h> and <bp-asm.h>.
37316         (strncmp): Don't use BP_SYM.
37317         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
37318         <bp-sym.h> and <bp-asm.h>.
37319         (memcpy): Don't use BP_SYM.
37320         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
37321         <bp-sym.h> and <bp-asm.h>.
37322         (memset): Don't use BP_SYM.
37323         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
37324         <bp-sym.h> and <bp-asm.h>.
37325         (__memchr): Don't use BP_SYM.
37326         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
37327         <bp-sym.h> and <bp-asm.h>.
37328         (memcmp): Don't use BP_SYM.
37329         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
37330         <bp-sym.h> and <bp-asm.h>.
37331         (memcpy): Don't use BP_SYM.
37332         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
37333         <bp-sym.h> and <bp-asm.h>.
37334         (__mempcpy): Don't use BP_SYM.
37335         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
37336         <bp-sym.h> and <bp-asm.h>.
37337         (__memrchr): Don't use BP_SYM.
37338         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
37339         <bp-sym.h> and <bp-asm.h>.
37340         (memset): Don't use BP_SYM.
37341         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
37342         <bp-sym.h> and <bp-asm.h>.
37343         (__rawmemchr): Don't use BP_SYM.
37344         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
37345         <bp-sym.h> and <bp-asm.h>.
37346         (__STRCMP): Don't use BP_SYM.
37347         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
37348         <bp-sym.h> and <bp-asm.h>.
37349         (strchr): Don't use BP_SYM.
37350         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
37351         <bp-sym.h> and <bp-asm.h>.
37352         (__strchrnul): Don't use BP_SYM.
37353         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
37354         <bp-sym.h> and <bp-asm.h>.
37355         (strlen): Don't use BP_SYM.
37356         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
37357         <bp-sym.h> and <bp-asm.h>.
37358         (strncmp): Don't use BP_SYM.
37359         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
37360         <bp-sym.h> and <bp-asm.h>.
37361         (__strnlen): Don't use BP_SYM.
37362         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
37363         <bp-asm.h>.
37364         (__mpn_rshift): Don't use BP_SYM.
37365         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37366         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
37367         <bp-sym.h> and <bp-asm.h>.
37368         (__sigsetjmp): Don't use BP_SYM.
37369         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
37370         (L(start_addresses)): Don't use BP_SYM.
37371         (_start): Likewise.
37372         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
37373         <bp-asm.h>.
37374         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
37375         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37376         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37377         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
37378         <bp-asm.h>.
37379         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
37380         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37381         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37382         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
37383         <bp-asm.h>.
37384         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
37385         comments.
37386         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37387         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
37388         <bp-asm.h>.
37389         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
37390         FIXME comments.
37391         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37392         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37393         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
37394         <bp-asm.h>.
37395         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
37396         comment.
37397         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
37398         and <bp-asm.h>.
37399         (strncmp): Don't use BP_SYM,
37400         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
37401         <bp-asm.h>.
37402         (__mpn_sub_n): Don't use BP_SYM.
37403         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37404         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
37405         and <bp-asm.h>.
37406         (__mpn_submul_1): Don't use BP_SYM.
37407         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
37409         <bp-sym.h> and <bp-asm.h>.
37410         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
37412         <bp-sym.h> and <bp-asm.h>.
37413         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
37414         comment.
37416 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37418         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
37419         Use ZK to minimize writes to Z.
37420         (sub_magnitudes): Simplify code a bit.
37421         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
37422         Use ZK to minimize writes to Z.
37423         (sub_magnitudes): Simplify code a bit.
37425 2013-02-27  Roland McGrath  <roland@hack.frob.com>
37427         * csu/gmon-start.c: Add special exception to license text.
37429 2013-02-27  Richard Henderson  <rth@redhat.com>
37431         * scripts/config.guess: Update from config.git.
37432         * scripts/config.sub: Likewise.
37434 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37436         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
37438         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
37440         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
37442         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
37444         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
37446 2013-02-26  Roland McGrath  <roland@hack.frob.com>
37448         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
37449         [$(build-shared = yes].
37451 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37453         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
37454         (__mul): Reduce iterations for calculating mantissa.
37456         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
37457         MPTWO.
37458         (__mpranred): Likewise.
37460         [BZ #15160]
37461         * malloc/memusagestat.c (main): Draw graphs for heap and stack
37462         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
37464 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
37466         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
37467         Define __attribute__.
37469 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37471         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
37472         unused.
37473         * posix/regex_internal.h (__attribute): Remove.
37474         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
37475         (re_string_context_at): Likewise.
37476         (bitset_not): Use __attribute__ and mark function as possibly
37477         unused.
37478         (bitset_merge): Likewise.
37479         (bitset_mask): Likewise.
37480         (re_string_char_size_at): Likewise.
37481         (re_string_wchar_at): Likewise.
37482         (re_string_elem_size_at): Likewise.
37484 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37486         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
37487         code.
37488         (cc32): Likewise.
37490         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
37491         (__acr): Likewise.
37492         (__cpy): Likewise.
37493         (norm): Likewise.
37494         (denorm): Likewise.
37495         (__dbl_mp): Likewise.
37496         (add_magnitudes): Likewise.
37497         (sub_magnitudes): Likewise.
37498         (__mul): Likewise.
37499         (__inv): Likewise.
37501         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
37502         style.
37504         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
37505         style.
37507         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
37508         code.
37510         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
37511         up changes with default code.
37512         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
37513         Likewise.
37515 2013-02-24  Allan McRae  <allan@archlinux.org>
37517         * manual/socket.texi (The Internet Namespace): Order menu items
37518         to match that in the file.
37520         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
37521         node listing of the info page menu.
37523 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
37525         [BZ #13550]
37526         * sysdeps/i386/bp-asm.h: Remove file.
37527         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
37528         (PARMS): Do not use macros from bp-asm.h.
37529         (S1): Likewise.
37530         (S2): Likewise.
37531         (SIZE): Likewise.
37532         (__mpn_add_n): Do not use BP_SYM
37533         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
37534         "bp-asm.h".
37535         (PARMS): Do not use macros from bp-asm.h.
37536         (S1): Likewise.
37537         (SIZE): Likewise.
37538         (__mpn_addmul_1): Do not use BP_SYM
37539         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
37540         "bp-asm.h".
37541         (PARMS): Do not use macros from bp-asm.h.
37542         (SIGMSK): Likewise.
37543         (_setjmp): Likewise.  Do not use BP_SYM.
37544         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
37545         "bp-asm.h".
37546         (PARMS): Do not use macros from bp-asm.h.
37547         (SIGMSK): Likewise.
37548         (setjmp): Likewise.  Do not use BP_SYM.
37549         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
37550         "bp-asm.h".
37551         (PARMS): Do not use macros from bp-asm.h.
37552         (__frexp): Do not use BP_SYM.
37553         (frexp): Likewise.
37554         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
37555         "bp-asm.h".
37556         (PARMS): Do not use macros from bp-asm.h.
37557         (__frexpf): Do not use BP_SYM.
37558         (frexpf): Likewise.
37559         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
37560         "bp-asm.h".
37561         (PARMS): Do not use macros from bp-asm.h.
37562         (__frexpl): Do not use BP_SYM.
37563         (frexpl): Likewise.
37564         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
37565         "bp-asm.h".
37566         (PARMS): Do not use macros from bp-asm.h.
37567         (__remquo): Do not use BP_SYM.
37568         (remquo): Likewise.
37569         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
37570         "bp-asm.h".
37571         (PARMS): Do not use macros from bp-asm.h.
37572         (__remquof): Do not use BP_SYM.
37573         (remquof): Likewise.
37574         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
37575         "bp-asm.h".
37576         (PARMS): Do not use macros from bp-asm.h.
37577         (__remquol): Do not use BP_SYM.
37578         (remquol): Likewise.
37579         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
37580         "bp-asm.h".
37581         (PARMS): Do not use macros from bp-asm.h.
37582         (DEST): Likewise.
37583         (SRC): Likewise.
37584         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
37585         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
37586         "bp-asm.h".
37587         (PARMS): Do not use macros from bp-asm.h.
37588         (strlen): Do not use BP_SYM.
37589         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
37590         "bp-asm.h".
37591         (PARMS): Do not use macros from bp-asm.h.
37592         (S1): Likewise.
37593         (S2): Likewise.
37594         (SIZE): Likewise.
37595         (__mpn_add_n): Do not use BP_SYM.
37596         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
37597         "bp-asm.h".
37598         (PARMS): Do not use macros from bp-asm.h.
37599         (S1): Likewise.
37600         (SIZE): Likewise.
37601         (__mpn_addmul_1): Do not use BP_SYM.
37602         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
37603         weak_alias.
37604         (bzero): Likewise.
37605         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
37606         "bp-asm.h".
37607         (PARMS): Do not use macros from bp-asm.h.
37608         (S): Likewise.
37609         (SIZE): Likewise.
37610         (__mpn_lshift): Do not use BP_SYM.
37611         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
37612         "bp-asm.h".
37613         (PARMS): Do not use macros from bp-asm.h.
37614         (DEST): Likewise.
37615         (SRC): Likewise.
37616         (LEN): Likewise.
37617         (memcpy): Likewise.  Do not use BP_SYM.
37618         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
37619         libc_hidden_def and weak_alias.
37620         (mempcpy): Do not use BP_SYM in weak_alias.
37621         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
37622         "bp-asm.h".
37623         (PARMS): Do not use macros from bp-asm.h.
37624         (DEST): Likewise.
37625         (LEN): Likewise.
37626         [!BZERO_P] (CHR): Likewise.
37627         (memset): Likewise.  Do not use BP_SYM.
37628         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
37629         "bp-asm.h".
37630         (PARMS): Do not use macros from bp-asm.h.
37631         (S1): Likewise.
37632         (SIZE): Likewise.
37633         (__mpn_mul_1): Do not use BP_SYM.
37634         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
37635         "bp-asm.h".
37636         (PARMS): Do not use macros from bp-asm.h.
37637         (S): Likewise.
37638         (SIZE): Likewise.
37639         (__mpn_rshift): Do not use BP_SYM.
37640         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
37641         "bp-asm.h".
37642         (PARMS): Do not use macros from bp-asm.h.
37643         (STR): Likewise.
37644         (CHR): Likewise.
37645         (strchr): Likewise.  Do not use BP_SYM.
37646         (index): Do not use BP_SYM in weak_alias.
37647         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
37648         "bp-asm.h".
37649         (PARMS): Do not use macros from bp-asm.h.
37650         (DEST): Likewise.
37651         (SRC): Likewise.
37652         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
37653         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
37654         "bp-asm.h".
37655         (PARMS): Do not use macros from bp-asm.h.
37656         (strlen): Do not use BP_SYM.
37657         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
37658         "bp-asm.h".
37659         (PARMS): Do not use macros from bp-asm.h.
37660         (S1): Likewise.
37661         (S2): Likewise.
37662         (SIZE): Likewise.
37663         (__mpn_sub_n): Do not use BP_SYM.
37664         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
37665         "bp-asm.h".
37666         (PARMS): Do not use macros from bp-asm.h.
37667         (S1): Likewise.
37668         (SIZE): Likewise.
37669         (__mpn_submul_1): Do not use BP_SYM.
37670         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
37671         "bp-asm.h".
37672         (PARMS): Do not use macros from bp-asm.h.
37673         (S1): Likewise.
37674         (S2): Likewise.
37675         (SIZE): Likewise.
37676         (__mpn_add_n): Do not use BP_SYM.
37677         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
37678         weak_alias.
37679         (bzero): Likewise.
37680         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
37681         "bp-asm.h".
37682         (PARMS): Do not use macros from bp-asm.h.
37683         (BLK2): Likewise.
37684         (LEN): Likewise.
37685         (memcmp): Do not use BP_SYM.
37686         (bcmp): Do not use BP_SYM in weak_alias.
37687         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
37688         "bp-asm.h".
37689         (PARMS): Do not use macros from bp-asm.h.
37690         (DEST): Likewise.
37691         (SRC): Likewise.
37692         (LEN): Likewise.
37693         (memcpy): Likewise.  Do not use BP_SYM.
37694         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
37695         "bp-asm.h".
37696         (PARMS): Do not use macros from bp-asm.h.
37697         (DEST): Likewise.
37698         (SRC): Likewise.
37699         (LEN): Likewise.
37700         (memmove): Likewise.  Do not use BP_SYM.
37701         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
37702         "bp-asm.h".
37703         (PARMS): Do not use macros from bp-asm.h.
37704         (DEST): Likewise.
37705         (SRC): Likewise.
37706         (LEN): Likewise.
37707         (__mempcpy): Likewise.  Do not use BP_SYM.
37708         (mempcpy): Do not use BP_SYM in weak_alias.
37709         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
37710         "bp-asm.h".
37711         (PARMS): Do not use macros from bp-asm.h.
37712         (DEST): Likewise.
37713         (LEN): Likewise.
37714         [!BZERO_P] (CHR): Likewise.
37715         (memset): Likewise.  Do not use BP_SYM.
37716         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
37717         "bp-asm.h".
37718         (PARMS): Do not use macros from bp-asm.h.
37719         (STR2): Likewise.
37720         (strcmp): Do not use BP_SYM.
37721         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
37722         "bp-asm.h".
37723         (PARMS): Do not use macros from bp-asm.h.
37724         (STR): Likewise.
37725         (DELIM): Likewise.
37726         [USE_AS_STRTOK_R] (SAVE): Likewise.
37727         (FUNCTION): Likewise.  Do not use BP_SYM.
37728         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
37729         aliases.
37730         (strtok_r): Likewise.
37731         (__GI___strtok_r): Likewise.
37732         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37733         (PARMS): Do not use macros from bp-asm.h.
37734         (S): Likewise.
37735         (SIZE): Likewise.
37736         (__mpn_lshift): Do not use BP_SYM.
37737         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37738         (PARMS): Do not use macros from bp-asm.h.
37739         (STR): Likewise.
37740         (CHR): Likewise.
37741         (__memchr): Do not use BP_SYM.
37742         (memchr): Do not use BP_SYM in weak_alias.
37743         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37744         (PARMS): Do not use macros from bp-asm.h.
37745         (BLK2): Likewise.
37746         (LEN): Likewise.
37747         (memcmp): Do not use BP_SYM.
37748         (bcmp): Do not use BP_SYM in weak_alias.
37749         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
37750         (PARMS): Do not use macros from bp-asm.h.
37751         (S1): Likewise.
37752         (SIZE): Likewise.
37753         (__mpn_mul_1): Do not use BP_SYM.
37754         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
37755         "bp-asm.h".
37756         (PARMS): Do not use macros from bp-asm.h.
37757         (STR): Likewise.
37758         (CHR): Likewise.
37759         (__rawmemchr): Do not use BP_SYM.
37760         (rawmemchr): Do not use BP_SYM in weak_alias.
37761         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37762         (PARMS): Do not use macros from bp-asm.h.
37763         (S): Likewise.
37764         (SIZE): Likewise.
37765         (__mpn_rshift): Do not use BP_SYM.
37766         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37767         (PARMS): Do not use macros from bp-asm.h.
37768         (SIGMSK): Likewise.
37769         (__sigsetjmp): Likewise.  Do not use BP_SYM.
37770         * sysdeps/i386/start.S: Do not include "bp-sym.h".
37771         (_start): Do not use BP_SYM.
37772         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
37773         (PARMS): Do not use macros from bp-asm.h.
37774         (DEST): Likewise.
37775         (SRC): Likewise.
37776         (__stpcpy): Likewise.  Do not use BP_SYM.
37777         (stpcpy): Do not use BP_SYM in weak_alias.
37778         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
37779         "bp-asm.h".
37780         (PARMS): Do not use macros from bp-asm.h.
37781         (DEST): Likewise.
37782         (SRC): Likewise.
37783         (LEN): Likewise.
37784         (__stpncpy): Likewise.  Do not use BP_SYM.
37785         (stpncpy): Do not use BP_SYM in weak_alias.
37786         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37787         (PARMS): Do not use macros from bp-asm.h.
37788         (STR): Likewise.
37789         (CHR): Likewise.
37790         (strchr): Likewise.  Do not use BP_SYM.
37791         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
37792         "bp-asm.h".
37793         (PARMS): Do not use macros from bp-asm.h.
37794         (STR): Likewise.
37795         (CHR): Likewise.
37796         (__strchrnul): Likewise.  Do not use BP_SYM.
37797         (strchrnul): Do not use BP_SYM in weak_alias.
37798         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
37799         "bp-asm.h".
37800         (PARMS): Do not use macros from bp-asm.h.
37801         (STOP): Likewise.
37802         (strcspn): Do not use BP_SYM.
37803         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
37804         "bp-asm.h".
37805         (PARMS): Do not use macros from bp-asm.h.
37806         (STR): Likewise.
37807         (STOP): Likewise.
37808         (strpbrk): Likewise.  Do not use BP_SYM.
37809         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
37810         "bp-asm.h".
37811         (PARMS): Do not use macros from bp-asm.h.
37812         (STR): Likewise.
37813         (CHR): Likewise.
37814         (strrchr): Likewise.  Do not use BP_SYM.
37815         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
37816         (PARMS): Do not use macros from bp-asm.h.
37817         (SKIP): Likewise.
37818         (strspn): Do not use BP_SYM.
37819         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
37820         (PARMS): Do not use macros from bp-asm.h.
37821         (STR): Likewise.
37822         (DELIM): Likewise.
37823         (SAVE): Likewise.
37824         (FUNCTION): Likewise.  Do not use BP_SYM.
37825         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
37826         aliases.
37827         (strtok_r): Likewise.
37828         (__GI___strtok_r): Likewise.
37829         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
37830         (PARMS): Do not use macros from bp-asm.h.
37831         (S1): Likewise.
37832         (S2): Likewise.
37833         (SIZE): Likewise.
37834         (__mpn_sub_n): Do not use BP_SYM.
37835         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
37836         "bp-asm.h".
37837         (PARMS): Do not use macros from bp-asm.h.
37838         (S1): Likewise.
37839         (SIZE): Likewise.
37840         (__mpn_submul_1): Do not use BP_SYM.
37841         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
37842         <bp-sym.h>.
37843         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
37844         and <bp-asm.h>.
37845         (PARMS): Do not use macros from bp-asm.h.
37846         (FLAGS): Likewise.
37847         (PTID): Likewise.
37848         (TLS): Likewise.
37849         (CTID): Likewise.
37850         (__clone): Do not use BP_SYM.
37851         (clone): Do not use BP_SYM in weak_alias.
37852         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
37853         and <bp-asm.h>.
37854         (PARMS): Do not use macros from bp-asm.h.
37855         (LEN): Likewise.
37856         (__mmap64): Do not use BP_SYM.
37857         (mmap64): Do not use BP_SYM in weak_alias.
37858         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37859         <bp-sym.h> and <bp-asm.h>.
37860         (PARMS): Do not use macros from bp-asm.h.
37861         (__posix_fadvise64_l64): Do not use BP_SYM.
37862         * sysdeps/unix/sysv/linux/i386/semtimedop.S
37863         (PARMS): Do not use macros from bp-asm.h.
37864         (NSOPS): Likewise.
37865         (semtimedop): Do not use BP_SYM.
37866         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
37867         and <bp-asm.h>.
37869 2013-02-21  Allan McRae  <allan@archlinux.org>
37871         * manual/message.texi (Charset conversion in gettext):
37872         Move @end statement to beginning of line.
37874 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37876         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
37877         static.
37878         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
37879         Likewise.
37881         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
37882         (denorm): Likewise.
37883         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
37884         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
37886 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37888         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
37889         tail-call to the resolved function if pltexit isn't needed.
37891 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37893         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
37894         or Y being zero as being unlikely.
37895         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
37896         Likewise.
37898 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
37900         * manual/nss.texi (System Databases and Name Service Switch):
37901         Remove frobnicate @pxref.
37903 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
37905         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
37906         __attribute__ ((unused)) to __attribute__ ((__unused__)).
37908 2013-02-20  Petr Machata  <pmachata@redhat.com>
37910         * elf/elf.h (R_ARM_TARGET1): New macro.
37911         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
37912         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
37913         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
37914         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
37915         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
37916         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
37917         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
37918         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
37919         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
37920         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
37921         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
37922         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
37923         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
37924         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
37925         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
37926         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
37927         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
37928         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
37929         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
37930         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
37931         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
37932         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
37933         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
37934         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
37935         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
37936         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
37937         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
37938         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
37939         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
37940         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
37941         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
37942         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
37943         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
37944         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
37945         (R_ARM_THM_GOT_BREL12): Likewise.
37946         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
37947         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
37948         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
37949         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
37950         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
37951         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
37952         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
37953         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
37954         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
37956 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
37958         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
37959         __attribute_used__ to __attribute__ ((unused)).
37961 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37963         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
37964         powerpc mpa.c.
37965         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
37966         comment formatting.
37967         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
37969 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
37971         [BZ #13550]
37972         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
37973         Remove macro.
37974         (ENTER): Remove both macro definitions.
37975         (LEAVE): Likewise.
37976         (CHECK_BOUNDS_LOW): Likewise.
37977         (CHECK_BOUNDS_HIGH): Likewise.
37978         (CHECK_BOUNDS_BOTH): Likewise.
37979         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
37980         (RETURN_BOUNDED_POINTER): Likewise.
37981         (RETURN_NULL_BOUNDED_POINTER): Likewise.
37982         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
37983         (POP_ERRNO_LOCATION_RETURN): Likewise.
37984         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
37985         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37986         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
37987         macros.
37988         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37989         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
37990         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
37991         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
37992         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
37993         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
37994         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
37995         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
37996         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
37997         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
37998         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
37999         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
38000         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38001         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
38002         removed macros.
38003         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38004         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
38005         macros.
38006         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38007         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
38008         * sysdeps/i386/i586/memset.S (memset): Likewise.
38009         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
38010         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38011         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
38012         macros.
38013         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38014         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
38015         Change uses of L(2) to L(out).
38016         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
38017         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
38018         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
38019         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38020         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
38021         removed macros.
38022         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38023         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
38024         macros.
38025         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38026         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
38027         (RETURN): Do not use macro LEAVE.
38028         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
38029         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
38030         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
38031         * sysdeps/i386/i686/memset.S (memset): Likewise.
38032         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
38033         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
38034         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38035         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
38036         Likewise.
38037         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38038         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
38039         L(1_2) and L(1_3) into L(1).
38040         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38041         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
38042         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38043         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
38044         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38045         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
38046         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
38047         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38048         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
38049         macros.
38050         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
38051         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38052         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
38053         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
38054         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
38055         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38056         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
38057         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
38058         * sysdeps/i386/strcspn.S (strcspn): Likewise.
38059         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
38060         * sysdeps/i386/strrchr.S (strrchr): Likewise.
38061         * sysdeps/i386/strspn.S (strspn): Likewise.
38062         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
38063         conditional code.
38064         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38065         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
38066         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38067         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
38068         L(1_3) into L(1_1).
38069         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
38070         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38071         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
38072         macros.
38073         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38075 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
38077         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
38078         macro.
38080 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38082         * math/atest-exp.c (exp_mpn): Remove ROUND.
38083         * math/atest-exp2.c (exp_mpn): Likewise.
38084         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
38086         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
38087         * stdlib/tst-tls-atexit-lib.c: Likewise.
38088         * stdlib/tst-tls-atexit.c: Likewise.
38090 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38092         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
38093         and __attribute_alloc_size__.
38095 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38097         * include/programs/xmalloc.h: Change __attribute_alloc_size to
38098         __attribute_alloc_size__.
38099         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
38100         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
38102 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38104         * include/programs/xmalloc.h: New file.
38105         * catgets/gencat.c: Include it.
38106         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
38107         * elf/pldd.c: Likewise.
38108         * iconv/iconv_charmap.c: Likewise.
38109         * iconv/iconvconfig.c: Likewise.
38110         * iconv/strtab.c: Likewise.
38111         * locale/programs/locale.c: Likewise.
38112         * locale/programs/localedef.h: Likewise.
38113         * locale/programs/simple-hash.c: Likewise.
38114         * nscd/nscd.h: Likewise.
38115         * nss/makedb.c: Likewise.
38116         * sysdeps/generic/ldconfig.h: Likewise.
38118 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38120         * Versions.def: Add GLIBC_2.18.
38121         * include/link.h (struct link_map): New member l_tls_dtor_count.
38122         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
38123         (__call_tls_dtors): Likewise.
38124         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
38125         __cxa_thread_atexit_impl.
38126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38127         Likewise.
38128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38129         Likewise.
38130         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38131         Likewise.
38132         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38133         Likewise.
38134         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38135         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
38136         Likewise.
38137         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
38138         Likewise.
38139         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38140         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38141         Likewise.
38142         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
38143         (tests): Add test case tst-tls-atexit.
38144         (modules-names): Add shared library for tst-tls-atexit.
38145         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
38146         (GLIBC_PRIVATE): Add __call_tls_dtors.
38147         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
38148         for libstdc++.
38149         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
38150         * stdlib/tst-tls-atexit.c: New test case.
38151         * stdlib/tst-tls-atexit-lib.c: New test case.
38153         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
38155         * elf/Versions (ld): Add _dl_find_dso_for_object.
38156         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
38157         * elf/dl-open.c (_dl_find_dso_for_object): New function.
38158         (dl_open_worker): Use _dl_find_dso_for_object.
38159         * elf/dl-sym.c (do_sym): Likewise.
38160         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
38162 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38164         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
38165         Syntactic changes only.
38166         (_dl_runtime_profile): Do a tail-call to the resolved function.
38168 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
38170         [BZ #13550]
38171         * sysdeps/x86_64/bp-asm.h: Remove file.
38172         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
38173         <bp-sym.h> and <bp-asm.h>.
38174         (__clone): Do not use BP_SYM.
38175         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
38176         <bp-sym.h> and <bp-asm.h>.
38177         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38178         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
38179         "bp-asm.h".
38180         (_setjmp): Do not use BP_SYM.
38181         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
38182         "bp-asm.h".
38183         (setjmp): Do not use BP_SYM.
38184         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
38185         libc_hidden_def.
38186         (mempcpy): Do not use BP_SYM in weak_alias.
38187         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
38188         "bp-asm.h".
38189         (strchr): Do not use BP_SYM.
38190         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
38191         "bp-asm.h".
38192         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
38193         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
38194         (_start): Do not use BP_SYM.
38195         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
38196         "bp-asm.h".
38197         (strcat): Do not use BP_SYM.
38198         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
38199         "bp-asm.h".
38200         (STRCMP): Do not use BP_SYM.
38201         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
38202         "bp-asm.h".
38203         (STRCPY): Do not use BP_SYM.
38204         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
38205         "bp-asm.h".
38206         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
38207         "bp-asm.h".
38208         (FUNCTION): Do not use BP_SYM.
38209         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
38210         weak_alias.
38211         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
38213 2013-02-17  Andreas Jaeger  <aj@suse.de>
38215         * time/Versions: Sort entries.
38216         * string/Versions: Likewise.
38217         * resolv/Versions: Likewise.
38218         * posix/Versions: Likewise.
38219         * iconv/Versions: Likewise.
38220         * elf/Versions: Likewise.
38221         * wcsmbs/Versions: Likewise.
38223 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38225         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
38226         loop termination condition.
38228         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
38229         variable to calculate EZ.
38230         (__sqr): Likewise.
38232         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
38233         the lower precision input.
38235 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
38237         [BZ #13550]
38238         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
38239         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
38240         (run-via-rtld-prefix): Do not handle %-bp tests.
38241         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
38242         (all-object-suffixes): Remove .ob.
38243         (bppfx): Remove variable.
38244         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
38245         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
38246         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
38247         [$(build-bounded) = yes] (libtype.ob): Likewise.
38248         * Makerules (elide-routines.ob): Remove variable.
38249         (do-tests-clean): Do not handle *-bp.out.
38250         (common-mostlyclean): Do not handle *-bp and *-bp.out.
38251         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
38252         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
38253         (tests): Do not include $(tests-bp.out).
38254         (xtests): Do not include $(xtests-bp.out).
38255         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
38256         [$(build-bounded) = yes] ($(addprefix
38257         $(objpfx),$(binaries-bounded))): Remove rule.
38258         ($(objpfx)%-bp.out): Remove rule.
38259         * config.make.in (build-bounded): Remove variable.
38260         * crypt/Makefile [$(build-bounded) = yes]
38261         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
38262         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
38263         append to variable.
38264         [$(build-bounded) = yes] (install-lib): Likewise.
38265         [$(build-bounded) = yes] (generated): Likewise.
38266         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
38267         Remove rule.
38268         * intl/Makefile [$(build-bounded) = yes]
38269         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
38270         * math/Makefile [$(build-bounded) = yes]
38271         ($(tests:%=$(objpfx)%-bp): Likewise.
38272         * misc/Makefile [$(build-bounded) = yes]
38273         ($(objpfx)tst-tsearch-bp): Likewise.
38274         * nptl/Makeconfig (bounded-thread-library): Remove variable.
38275         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
38276         Remove dependency.
38277         * string/Makefile (o-objects.ob): Remove variable.
38278         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
38279         (CFLAGS-.ob): Remove variable.
38280         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
38281         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
38282         both definitions of variable.
38283         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
38284         (ASFLAGS-.ob): Remove variable.
38286 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
38288         [BZ #13550]
38289         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
38290         Remove __BOUNDED_POINTERS__ from condition.
38291         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
38292         * string/bits/string2.h [!__NO_STRING_INLINES &&
38293         !__BOUNDED_POINTERS__]: Likewise.
38294         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
38295         Likewise.
38296         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
38297         Remove conditional code.
38298         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
38299         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
38300         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
38301         condition.
38303         [BZ #13550]
38304         * csu/libc-start.c: Do not include <bp-sym.h>.
38305         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
38306         * elf/dl-open.c: Do not include <bp-sym.h>.
38307         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
38308         * math/fegetenv.c: Do not include <bp-sym.h>.
38309         (fegetenv): Do not use BP_SYM in versioned symbols.
38310         * nptl/sysdeps/pthread/bits/libc-lockP.h
38311         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
38312         <bp-sym.h>.
38313         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38314         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
38315         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38316         (__pthread_mutex_destroy): Likewise.
38317         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38318         (__pthread_mutex_lock): Likewise.
38319         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38320         (__pthread_mutex_trylock): Likewise.
38321         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38322         (__pthread_mutex_unlock): Likewise.
38323         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38324         (__pthread_mutexattr_init): Likewise.
38325         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38326         (__pthread_mutexattr_destroy): Likewise.
38327         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38328         (__pthread_mutexattr_settype): Likewise.
38329         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38330         (__pthread_rwlock_init): Likewise.
38331         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38332         (__pthread_rwlock_destroy): Likewise.
38333         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38334         (__pthread_rwlock_rdlock): Likewise.
38335         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38336         (__pthread_rwlock_tryrdlock): Likewise.
38337         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38338         (__pthread_rwlock_wrlock): Likewise.
38339         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38340         (__pthread_rwlock_trywrlock): Likewise.
38341         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38342         (__pthread_rwlock_unlock): Likewise.
38343         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38344         (__pthread_key_create): Likewise.
38345         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38346         (__pthread_setspecific): Likewise.
38347         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38348         (__pthread_getspecific): Likewise.
38349         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
38350         Likewise.
38351         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38352         (_pthread_cleanup_push_defer): Likewise.
38353         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38354         (_pthread_cleanup_pop_restore): Likewise.
38355         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38356         (pthread_setcancelstate): Likewise.
38357         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
38358         <bp-sym.h>.
38359         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
38360         (memchr): Do not use BP_SYM in weak_alias.
38361         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
38362         (fegetenv): Do not use BP_SYM in versioned symbols.
38363         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
38364         (fesetenv): Do not use BP_SYM in versioned symbols.
38365         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
38366         (feupdateenv): Do not use BP_SYM in versioned symbols.
38367         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
38368         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
38369         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
38370         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
38371         (open64): Do not use BP_SYM in weak_alias.
38372         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
38373         (fegetenv): Do not use BP_SYM in versioned symbols.
38374         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
38375         (fesetenv): Do not use BP_SYM in versioned symbols.
38376         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
38377         (feupdateenv): Do not use BP_SYM in versioned symbols.
38378         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
38379         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
38380         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
38381         (feraiseexcept): Do not use BP_SYM in versioned symbols.
38382         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
38383         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
38384         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
38385         <bp-sym.h>.
38386         (__libc_start_main): Do not use BP_SYM.
38388 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38390         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
38391         redundant return line.
38392         (norm): Likewise.
38393         (denorm): Likewise.
38394         (dbl_mp): Likewise.
38395         (sub_magnitudes): Likewise.
38396         (__add): Likewise.
38397         (__sub): Likewise.
38398         (__mul): Likewise.
38399         (__inv): Likewise.
38400         (__dvd): Likewise.
38401         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
38402         (norm): Likewise.
38403         (denorm): Likewise.
38404         (dbl_mp): Likewise.
38405         (sub_magnitudes): Likewise.
38406         (__add): Likewise.
38407         (__sub): Likewise.
38408         (__mul): Likewise.
38409         (__inv): Likewise.
38410         (__dvd): Likewise.
38412         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
38413         instead of __mul.
38414         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38415         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
38416         (cc32): Likewise.
38418         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
38419         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
38420         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
38421         of __mul for squares.
38422         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
38423         function
38424         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
38425         Likewise.
38426         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
38427         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38429 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
38431         [BZ #13550]
38432         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
38433         code.
38434         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
38435         prototype or function definition.  Rename ubp_* variables and
38436         parameters.  Remove argv definitions conditional on
38437         [__BOUNDED_POINTERS__].
38438         * debug/backtrace.c (__backtrace): Do not use __unbounded.
38439         * elf/dl-runtime.c (_dl_fixup): Likewise.
38440         * include/set-hooks.h (RUN_HOOK): Likewise.
38441         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
38442         definition.
38443         * string/strcpy.c (strcpy): Do not use __unbounded.
38444         * sysdeps/generic/frame.h (struct layout): Likewise.
38445         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
38446         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
38447         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
38448         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
38449         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
38450         (__backtrace): Likewise.
38451         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
38452         use __ptrvalue.
38453         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
38454         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
38455         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
38456         Likewise.
38457         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
38458         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
38459         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
38460         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
38461         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
38462         Do not use __unbounded.
38463         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
38464         Rename __unboundedrlimits parameter to rlimits in prototype.
38465         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
38466         Do not use __unbounded.
38467         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
38468         not use __ptrvalue.
38469         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
38470         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
38471         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
38472         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
38473         __ptrvalue or __unbounded.
38474         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
38475         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
38476         use __unbounded.
38477         (__new_msgctl): Do not use __ptrvalue.
38478         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
38479         __unbounded.
38480         (__libc_msgrcv): Do not use __ptrvalue.
38481         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
38482         startup_info): Do not use __unbounded.
38483         (__libc_start_main): Likewise.  Rename ubp_* variables and
38484         parameters.  Remove argv definitions conditional on
38485         [__BOUNDED_POINTERS__].
38486         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
38487         __ptrvalue.
38488         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
38489         use __unbounded.
38490         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
38491         or __ptrvalue.
38492         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
38493         use __unbounded.
38494         (__new_shmctl): Do not use __ptrvalue.
38495         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
38496         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
38497         Likewise.
38498         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
38499         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
38500         (__libc_sigaction): Likewise.
38501         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
38502         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
38503         Likewise.
38504         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
38506 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
38508         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
38510         * string/mempcpy.c: Implement by calling memcpy.
38512 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
38514         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
38516         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
38517         evaluation.
38519         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
38520         values in the mantissa.
38522         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
38523         minimize writes to Z.
38524         (sub_magnitudes): Simplify code a bit.
38526 2013-02-12  Roland McGrath  <roland@hack.frob.com>
38528         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
38529         from the message.  The linker prefixes all warnings with that already.
38531 2013-02-12  Andreas Schwab  <schwab@suse.de>
38533         [BZ #15078]
38534         * posix/regexec.c (extend_buffers): Add parameter min_len.
38535         (check_matching): Pass minimum needed length.
38536         (clean_state_log_if_needed): Likewise.
38537         (get_subexp): Likewise.
38538         * posix/Makefile (tests): Add bug-regex34.
38539         (bug-regex34-ENV): Define.
38540         * posix/bug-regex34.c: New file.
38542         [BZ #11561]
38543         * posix/regcomp.c (parse_bracket_exp): When looking up collating
38544         elements compare against the byte sequence of it, not its name.
38545         * posix/Makefile (tests): Add bug-regex35.
38546         (bug-regex35-ENV): Define.
38547         * posix/bug-regex35.c: New file.
38549 2013-02-11  Tom de Vries  <tom@codesourcery.com>
38551         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
38552         comment.
38553         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
38554         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
38555         (CHECK_EOL): Add undef.
38557 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
38559         * bits/stdlib-bsearch.h: New file.
38560         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
38561         * stdlib/stdlib.h: Likewise.
38563 2013-02-11  Roland McGrath  <roland@hack.frob.com>
38565         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
38566         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
38567         declaration.
38568         * manual/search.texi (Array Search Function): Add missing const in
38569         lfind prototype.
38570         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
38571         declaration to use rlim_t.
38572         (Basic Scheduling Functions): Remove erroneous const from
38573         sched_getparam prototype.  Remove erroneous * from
38574         sched_get_priority_max and sched_get_priority_min prototypes.
38575         (Resource Usage): Fix summary @comment on vtimes to refer to
38576         sys/vtimes.h rather than vtimes.h.
38577         Add missing *s in vtimes prototype.
38578         (Limits on Resources): Fix ulimit prototype to return long int.
38579         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
38580         prototypes to use long int rather than double.
38581         (BSD Random): Fix initstate and setstate to use char *, not void *.
38582         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
38583         prototype to make second argument 'struct aiocb64 *const[]'.
38584         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
38585         (Status of AIO Operations): Remove erroneous const in aio_return and
38586         aio_return64 prototypes.
38587         (Synchronizing I/O): Fix sync prototype to return void.
38588         * manual/startup.texi (Suboptions): Remove an erroneous const in
38589         getsubopt prototype.
38590         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
38591         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
38592         use size_t rather than int.
38593         (Scanning All Users): Likewise for getpwent_r.
38594         (Setting Groups): Add missing const to setgroups prototype.
38595         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
38596         * manual/socket.texi (Host Names): Fix gethostbyaddr and
38597         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
38598         'const void *' rather than 'const char *'.
38599         (Host Address Functions): Likewise for inet_ntop.
38600         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
38601         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
38602         ssize_t for return value.
38603         (Sending Data): Likewise for send, sendto, sendmsg.
38604         (Socket Option Functions): Add a missing const in setsockopt prototype.
38605         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
38606         use wchar_t for the argument.
38607         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
38608         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
38609         take no arguments.
38610         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
38611         double/float/long double for second argument.
38612         Fix return types of significand, significandf, significandl.
38613         * manual/filesys.texi (Setting Permissions): Use mode_t for second
38614         argument in fchmod prototype.
38615         (File Owner): Use uid_t and gid_t in fchown prototype.
38616         (File Times): Add const to utimes, futimes, and lutimes prototypes.
38617         (Making Special Files): Use mode_t and dev_t in mknod prototype.
38618         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
38619         use 'const struct dirent **' as argument types to CMP function pointer
38620         argument.
38621         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
38622         (File Times): Fix summary magic @comment for struct utimbuf and utime
38623         to refer to utime.h, not time.h.
38624         * manual/string.texi (Argz Functions): Add missing const in
38625         argz_extract and argz_next prototypes.
38626         (Finding Tokens in a String): Likewise for basename.
38627         (String/Array Comparison): Fix typo in wcscasecmp prototype.
38628         (Copying and Concatenation): Fix typo in wmemmove prototype.
38629         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
38630         (Signal Stack): Remove erroneous const in sigstack prototype.
38631         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
38632         prototype.
38633         (Simple Calendar Time): Likewise for stime.
38634         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
38635         prototype.
38636         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
38637         say sys/sysctl.h instead.
38638         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
38639         and vsyslog prototypes.
38641 2013-02-11  Tom de Vries  <tom@codesourcery.com>
38643         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
38644         Remove.
38646 2013-02-11  Roland McGrath  <roland@hack.frob.com>
38648         * misc/sys/mman.h: Fix typo in mremap comment.
38650 2013-02-08  Roland McGrath  <roland@hack.frob.com>
38652         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
38653         the '\0' terminator.
38655 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
38657         [BZ #13550]
38658         * debug/segfault.c: Don't include <bp-checks.h>.
38659         * sysdeps/generic/bp-checks.h: Remove file.
38660         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
38661         (__GETDENTS): Don't use CHECK_N.
38662         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
38663         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
38664         (__getgroups): Don't use CHECK_N.
38665         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
38666         (setgroups): Don't use CHECK_N.
38667         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
38668         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
38669         (__libc_msgrcv): Don't use CHECK_N.
38670         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
38671         (__libc_msgsnd): Don't use CHECK_N.
38672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
38673         <bp-checks.h>.
38674         (__libc_pread): Don't use CHECK_N.
38675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
38676         include <bp-checks.h>.
38677         (__libc_pread64): Don't use CHECK_N.
38678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
38679         include <bp-checks.h>.
38680         (__libc_pwrite): Don't use CHECK_N.
38681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
38682         include <bp-checks.h>.
38683         (__libc_pwrite64): Don't use CHECK_N.
38684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
38685         <bp-checks.h>.
38686         (__libc_pread): Don't use CHECK_N.
38687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
38688         include <bp-checks.h>.
38689         (__libc_pread64): Don't use CHECK_N.
38690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
38691         include <bp-checks.h>.
38692         (__libc_pwrite): Don't use CHECK_N.
38693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
38694         include <bp-checks.h>.
38695         (__libc_pwrite64): Don't use CHECK_N.
38696         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
38697         (do_pread): Don't use CHECK_N.
38698         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
38699         (do_pread64): Don't use CHECK_N.
38700         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
38701         (do_pwrite): Don't use CHECK_N.
38702         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
38703         (do_pwrite64): Don't use CHECK_N.
38704         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
38705         (__libc_readv): Don't use CHECK_N.
38706         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
38707         (semop): Don't use CHECK_N.
38708         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
38709         <bp-checks.h>.
38710         (semtimedop): Don't use CHECK_N.
38711         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
38712         (__libc_pread): Don't use CHECK_N.
38713         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
38714         <bp-checks.h>.
38715         (__libc_pread64): Don't use CHECK_N.
38716         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
38717         <bp-checks.h>.
38718         (__libc_pwrite): Don't use CHECK_N.
38719         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
38720         <bp-checks.h>.
38721         (__libc_pwrite64): Don't use CHECK_N.
38722         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
38723         <bp-checks.h>.
38724         (__libc_msgrcv): Don't use CHECK_N.
38725         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
38726         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
38727         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
38728         (__libc_writev): Don't use CHECK_N.
38730 2013-02-08  Roland McGrath  <roland@hack.frob.com>
38732         * string/strcpy.c: Removed unused variable.
38734         * Makeconfig (+sysdep-includes): Define with := rather than =.
38735         Use an existing include/ subdir of each sysdeps dir before it.
38737 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38739         * nscd/connection.c (register_traced_file): Comment function.
38740         [HAVE_INOTIFY] (union __inev): Define.
38741         [HAVE_INOTIFY] (inotify_check_files): New function.
38742         [HAVE_INOTIFY] (clear_db_cache): Likewise.
38743         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
38744         clear_db_cache.
38745         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
38747 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38749         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
38750         loaded if not already and that a failure is permanent.
38752 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38754         [BZ #15006]
38755         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
38756         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
38758 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
38760         [BZ #13550]
38761         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
38762         (CHECK_1_NULL_OK): Likewise.
38763         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
38764         (__fxstat): Do not use CHECK_1.
38765         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
38766         <bp-checks.h>.
38767         (___fxstat64): Do not use CHECK_1.
38768         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
38769         <bp-checks.h>.
38770         (__fxstatat): Do not use CHECK_1.
38771         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
38772         <bp-checks.h>.
38773         (__fxstatat64): Do not use CHECK_1.
38774         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
38775         <bp-checks.h>.
38776         (__fxstat): Do not use CHECK_1.
38777         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
38778         <bp-checks.h>.
38779         (__fxstatat): Do not use CHECK_1.
38780         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38781         <bp-checks.h>.
38782         (__getresgid): Do not use CHECK_1.
38783         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38784         <bp-checks.h>.
38785         (__getresuid): Do not use CHECK_1.
38786         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
38787         <bp-checks.h>.
38788         (__lxstat): Do not use CHECK_1.
38789         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38790         <bp-checks.h>.
38791         (__old_msgctl): Do not use CHECK_1.
38792         (__new_msgctl): Likewise.
38793         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
38794         <bp-checks.h>.
38795         (__new_setrlimit): Do not use CHECK_1.
38796         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38797         <bp-checks.h>.
38798         (__old_shmctl): Do not use CHECK_1.
38799         (__new_shmctl): Likewise.
38800         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
38801         <bp-checks.h>.
38802         (__xstat): Do not use CHECK_1.
38803         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
38804         (__lxstat): Do not use CHECK_1.
38805         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
38806         <bp-checks.h>.
38807         (___lxstat64): Do not use CHECK_1.
38808         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
38809         (__old_msgctl): Do not use CHECK_1.
38810         (__new_msgctl): Likewise.
38811         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
38812         <bp-checks.h>.
38813         (__gettimeofday): Do not use CHECK_1.
38814         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
38815         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
38816         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
38817         <bp-checks.h>.
38818         (__gettimeofday): Do not use CHECK_1.
38819         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
38820         (__old_shmctl): Do not use CHECK_1_NULL_OK.
38821         (__new_shmctl): Do not use CHECK_1.
38822         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
38823         <bp-checks.h>.
38824         (do_sigtimedwait): Do not use CHECK_1.
38825         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
38826         <bp-checks.h>.
38827         (do_sigwaitinfo): Do not use CHECK_1.
38828         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
38829         <bp-checks.h>.
38830         (msgctl): Do not use CHECK_1.
38831         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
38832         <bp-checks.h>.
38833         (shmctl): Do not use CHECK_1.
38834         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
38835         (ustat): Do not use CHECK_1.
38836         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
38837         <bp-checks.h>.
38838         (__fxstat): Do not use CHECK_1.
38839         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
38840         <bp-checks.h>.
38841         (__fxstatat): Do not use CHECK_1.
38842         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
38843         <bp-checks.h>.
38844         (__lxstat): Do not use CHECK_1.
38845         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
38846         <bp-checks.h>.
38847         (__xstat): Do not use CHECK_1.
38848         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
38849         (__xstat): Do not use CHECK_1.
38850         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
38851         (___xstat64): Do not use CHECK_1.
38853         [BZ #13550]
38854         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
38855         definitions.
38856         (CHECK_BOUNDS_HIGH): Likewise.
38857         * string/strcpy.c: Do not include <bp-checks.h>.
38858         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
38860 2013-02-07  Roland McGrath  <roland@hack.frob.com>
38862         * nscd/nscd-client.h (__nscd_drop_map_ref):
38863         Add __attribute__ ((unused)).
38864         * nis/nss-nisplus.h (niserr2nss): Likewise.
38866         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
38867         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
38869         * csu/libc-tls.c (init_static_tls, init_slotinfo):
38870         Remove inline keyword.
38871         * include/rounding-mode.h (round_away): Likewise.
38872         * libio/wfileops.c (adjust_wide_data): Likewise.
38873         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
38874         (__m128i_strloadu_tolower): Likewise.
38875         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
38876         (__m128i_strloadu_tolower): Likewise.
38877         * time/mktime.c (ydhms_diff): Likewise.
38878         * locale/elem-hash.h (elem_hash): Likewise.
38879         * locale/setlocale.c (setdata): Likewise.
38880         * posix/regex_internal.h (re_string_char_size_at): Likewise.
38881         (re_string_wchar_at): Likewise.
38882         (bitset_not, bitset_merge, bitset_mask): Likewise.
38883         [!(__GNUC__ > 3)] (inline): Remove macro.
38884         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
38885         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
38886         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
38887         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
38888         * string/memcmp.c (memcmp_bytes): Likewise.
38889         * locale/programs/locarchive.c (compute_hashval): Likewise.
38890         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
38891         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
38892         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
38893         * nss/getent.c (print_rpc, print_protocols): Likewise.
38894         (print_passwd, print_group, print_aliases): Likewise.
38895         * nis/nss-nisplus.h (niserr2nss): Likewise.
38896         * nscd/connections.c (restart_p): Likewise.
38897         Change return type to bool.
38899 2013-02-05  Roland McGrath  <roland@hack.frob.com>
38901         * Makeconfig (all-Depend-files): Add existing
38902         $(sorted-subdirs:=/Depend) files.
38903         (all-subdirs): Remove nss.
38904         * sysdeps/unix/inet/Subdirs: Add it here instead.
38905         * hesiod/Depend: New file.
38907         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
38908         instead of calling alloca.
38910         * io/lseek.c (__lseek): Rename to __libc_lseek.
38911         Define __lseek as an alias.
38913         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
38915 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
38917         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
38918         else clause and remove check for non-standard endianness.
38920 2013-02-04  David S. Miller  <davem@davemloft.net>
38922         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38924 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
38926         [BZ #13550]
38927         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
38928         (__ubp_memchr): Remove prototype.
38929         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
38930         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
38931         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
38932         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
38933         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
38934         Remove alias.
38935         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
38936         (__ubp_memchr): Likewise.
38937         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
38938         (__ubp_memchr): Likewise.
38939         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
38940         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
38941         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
38942         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
38943         CHECK_STRING.
38944         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
38945         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
38946         (__getcwd): Do not use CHECK_STRING.
38947         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
38948         <bp-checks.h>.
38949         (__real_chown): Do not use CHECK_STRING.
38950         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
38951         <bp-checks.h>.
38952         (fchownat): Do not use CHECK_STRING.
38953         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
38954         CHECK_STRING.
38955         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
38956         <bp-checks.h>.
38957         (__lchown): Do not use CHECK_STRING.
38958         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
38959         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
38960         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
38961         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
38962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
38963         include <bp-checks.h>.
38964         (truncate64): Do not use CHECK_STRING.
38965         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
38966         <bp-checks.h>.
38967         (__real_chown): Do not use CHECK_STRING.
38968         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
38969         <bp-checks.h>.
38970         (__lchown): Do not use CHECK_STRING.
38971         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38972         <bp-checks.h>.
38973         (__chown): Do not use CHECK_STRING.
38974         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
38975         <bp-checks.h>.
38976         (truncate64): Do not use CHECK_STRING.
38977         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
38978         Likewise.
38979         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
38980         (__xmknod): Do not use CHECK_STRING.
38981         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
38982         <bp-checks.h>.
38983         (__xmknodat): Do not use CHECK_STRING.
38984         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
38985         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
38987 2013-02-04  Andreas Schwab  <schwab@suse.de>
38989         [BZ #14142]
38990         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
38991         * include/netdb.h: Likewise for h_errno.
38992         * elf/tst-stackguard1.c: Include <tls.h>.
38994 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
38996         * elf/link.h (struct link_map): Extend the l_addr comment.
38997         * include/link.h (struct link_map): Likewise.
38999 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
39001         [BZ #13550]
39002         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
39003         (BOUNDED_1): Remove macro.
39004         * debug/backtrace.c: Don't include <bp-checks.h>.
39005         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
39006         (__backtrace): Likewise.
39007         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
39008         <bp-checks.h>.
39009         (__backtrace): Don't use BOUNDED_1.
39010         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
39011         <bp-checks.h>.
39012         (__backtrace): Don't use BOUNDED_1.
39013         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
39014         (__backtrace): Don't use BOUNDED_1.
39015         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
39016         (shmat): Don't use BOUNDED_N.
39018 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
39020         [BZ #13550]
39021         * sysdeps/generic/bp-start.h: Remove file.
39022         * csu/libc-start.c: Don't include <bp-start.h>.
39023         (LIBC_START_MAIN): Set up __environ directly instead of using
39024         INIT_ARGV_and_ENVIRON.
39025         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
39026         <bp-start.h>.
39028         [BZ #13550]
39029         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
39030         definitions.
39031         (CHECK_FCNTL): Likewise.
39032         (CHECK_N_PAGES): Likewise.
39034         [BZ #13550]
39035         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
39036         definitions.
39037         (CHECK_SIGSET_NULL_OK): Likewise.
39038         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
39039         <bp-checks.h>.
39040         (sigpending): Don't use CHECK_SIGSET.
39041         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
39042         <bp-checks.h>.
39043         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39044         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
39045         <bp-checks.h>.
39046         (do_sigsuspend): Don't use CHECK_SIGSET.
39047         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
39048         use CHECK_SIGSET.
39049         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
39050         (do_sigwait): Don't use CHECK_SIGSET.
39051         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
39052         use CHECK_SIGSET.
39053         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
39054         include <bp-checks.h>.
39055         (sigpending): Don't use CHECK_SIGSET.
39056         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
39057         include <bp-checks.h>.
39058         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39059         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
39060         <bp-checks.h>.
39061         (sigpending): Don't use CHECK_SIGSET.
39062         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
39063         <bp-checks.h>.
39064         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39066         [BZ #13550]
39067         * sysdeps/generic/bp-semctl.h: Remove file.
39068         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
39069         <bp-checks.h> and <bp-semctl.h>.
39070         (__old_semctl): Don't use CHECK_SEMCTL.
39071         (__new_semctl): Likewise.
39072         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
39073         and <bp-semctl.h>.
39074         (__old_semctl): Don't use CHECK_SEMCTL.
39075         (__new_semctl): Likewise.
39076         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
39077         <bp-checks.h> and <bp-semctl.h>.
39078         (__old_semctl): Don't use CHECK_SEMCTL.
39079         (__new_semctl): Likewise.
39080         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
39081         <bp-checks.h> and <bp-semctl.h>.
39082         (semctl): Don't use CHECK_SEMCTL.
39084         [BZ #13550]
39085         * Makerules (elide-bp-thunks): Remove variable.
39086         (elide-routines.oS): Don't use $(elide-bp-thunks).
39087         (elide-routines.os): Likewise.
39088         (elide-routines.o): Likewise.
39089         (elide-routines.op): Likewise.
39090         (elide-routines.og): Likewise.
39091         (objects): Don't use $(bp-thunks).
39092         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
39093         include.
39094         (common-generated): Do not add s-proto-bp.d.
39095         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
39096         (int): Likewise.
39097         (typ): Likewise.
39098         Do not generate makefile rules for bounded-pointer thunks.
39099         * sysdeps/generic/bp-thunks.h: Remove file.
39100         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
39101         * sysdeps/unix/s-proto-bp.S: Likewise.
39103         [BZ #15062]
39104         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
39105         parts of result separately when argument is not close to line from
39106         -i to i and one part of argument is small.
39107         * math/k_casinhf.c (__kernel_casinhf): Likewise.
39108         * math/k_casinhl.c (__kernel_casinhl): Likewise.
39109         * math/libm-test.inc (cacos_test): Add more tests.
39110         (casin_test): Likewise.
39111         (casinh_test): Likewise.
39112         * sysdeps/i386/fpu/libm-test-ulps: Update.
39113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39115 2013-01-31  David S. Miller  <davem@davemloft.net>
39117         * po/de.po: Update from translation team.
39119 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
39121         * time/tzfile.c: Include stdint.h for SIZE_MAX.
39123 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
39125         * configure.in (_AC_PROG_CC_C89): New definition.
39126         * configure: Regenerate.
39128         * configure.in (AC_PROG_CPP): New definition.
39129         * configure: Regenerate.
39131 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39133         * debug/tst-backtrace.h: New file.
39134         * debug/tst-backtrace2.c: Include tst-backtrace.h.
39135         (ret): Remove variable.
39136         (x): Likewise.
39137         (FAIL): Remove macro.
39138         (NO_INLINE): Likewise.
39139         (fn1): Use match function instead of strstr.
39140         * debug/tst-backtrace3.c: Include tst-backtrace.h.
39141         (ret): Remove variable.
39142         (x): Likewise.
39143         (FAIL): Remove macro.
39144         (NO_INLINE): Likewise.
39145         (fn): Use match function instead of strstr.
39146         * debug/tst-backtrace4.c: Include tst-backtrace.h.
39147         (ret): Remove variable.
39148         (x): Likewise.
39149         (FAIL): Remove macro.
39150         (NO_INLINE): Likewise.
39151         (handle_signal): Use match function instead of strstr.
39152         * debug/tst-backtrace5.c: Include tst-backtrace.h.
39153         (ret): Remove variable.
39154         (x): Likewise.
39155         (FAIL): Remove macro.
39156         (NO_INLINE): Likewise.
39157         (handle_signal): Use match function instead of strstr.
39159 2013-01-23  Roland McGrath  <roland@hack.frob.com>
39161         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
39163 2013-01-23  David S. Miller  <davem@davemloft.net>
39165         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
39166         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
39167         argument of CAS if possible.
39168         * sysdeps/sparc/sparc64/bits/atomic.h
39169         (__arch_compare_and_exchange_val_32_acq): Likewise.
39170         (__arch_compare_and_exchange_val_64_acq): Likewise.
39172 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
39174         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
39175         * sysdeps/posix/ulimit.c: ... this.
39176         Include <limits.h>.
39177         * sysdeps/unix/bsd/ulimit.c: Remove file.
39179 2013-01-23  Adam Conrad  <adconrad@0c3.net>
39181         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
39182         (LDFLAGS-tst-array5): Likewise.
39184 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39186         [BZ #15036]
39187         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
39188         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
39189         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
39190         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
39192 2013-01-21  David S. Miller  <davem@davemloft.net>
39194         * sysdeps/sparc/backtrace.c: New file.
39195         * sysdeps/sparc/sparc32/backtrace.h: New file.
39196         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
39197         * sysdeps/sparc/sparc64/backtrace.h: New file.
39198         * sysdeps/sparc/sparc64/backtrace.c: Delete.
39199         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
39200         -funwind-tables.
39202 2013-01-21  Andreas Schwab  <schwab@suse.de>
39204         [BZ #15020]
39205         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
39206         closed its stdout.
39208 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
39210         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
39211         "mpa2.h".
39212         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39214 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
39215             Mark Mitchell  <mark@codesourcery.com>
39216             Tom de Vries  <tom@codesourcery.com>
39217             Paul Pluzhnikov  <ppluzhnikov@google.com>
39219         * debug/tst-backtrace2.c: New file.
39220         * debug/tst-backtrace3.c: Likewise.
39221         * debug/tst-backtrace4.c: Likewise.
39222         * debug/tst-backtrace5.c: Likewise.
39223         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
39224         (CFLAGS-tst-backtrace3.c): Likewise.
39225         (CFLAGS-tst-backtrace4.c): Likewise.
39226         (CFLAGS-tst-backtrace5.c): Likewise.
39227         (LDFLAGS-tst-backtrace2): Likewise.
39228         (LDFLAGS-tst-backtrace3): Likewise.
39229         (LDFLAGS-tst-backtrace4): Likewise.
39230         (LDFLAGS-tst-backtrace5): Likewise.
39231         (tests): Add new tests tst-backtrace2, tst-backtrace3,
39232         tst-backtrace4 and tst-backtrace5.
39234 2013-01-18  Anton Blanchard  <anton@samba.org>
39235             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39237         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
39238         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
39239         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
39240         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
39241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39242         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
39243         "+r" and remove output regs list as redundant.  Add explicit inline
39244         asm to specify register of return val to work around compiler codegen
39245         bug.  Remove (int) cast on return value.  Add return type parameter to
39246         use in macro so that this macro does not truncate return value for
39247         64-bit values.
39248         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
39249         pass to INTERNAL_VSYSCALL_NCS.
39250         (INLINE_VSYSCALL): Add 'long int' as return type to
39251         INTERNAL_VSYSCALL_NCS macro invocation.
39252         (INTERNAL_VSYSCALL): Add 'long int' as return type to
39253         INTERNAL_VSYSCALL_NCS macro invocation.
39254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39256 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39258         [BZ #14496]
39259         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
39260         Fix application of SIMD FP exception mask.
39262         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
39263         mp_no from a power of two.
39264         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
39265         __mpexp_twomm1.  Use __pow_mp.
39267         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
39268         multiplication.
39270 2013-01-17  David S. Miller  <davem@davemloft.net>
39272         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39274 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
39276         [BZ #15023]
39277         * include/complex.h: Condition contents on [!_COMPLEX_H].
39278         (__kernel_casinhf): New prototype.
39279         (__kernel_casinh): Likewise.
39280         (__kernel_casinhl): Likewise.
39281         * math/Makefile (libm_calls): Add k_casinh.
39282         * math/k_casinh.c: New file.
39283         * math/k_casinhf.c: Likewise.
39284         * math/k_casinhl.c: Likewise.
39285         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
39286         finite nonzero arguments.
39287         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
39288         finite nonzero arguments.
39289         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
39290         finite nonzero arguments.
39291         * math/s_casinh.c: Do not include <float.h>.
39292         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
39293         * math/s_casinhf.c: Do not include <float.h>.
39294         (__casinhf): Move code for finite nonzero arguments to
39295         k_casinhf.c.
39296         * math/s_casinhl.c: Do not include <float.h>.
39297         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
39298         redefine.
39299         (__casinhl): Move code for finite nonzero arguments to
39300         k_casinhl.c.
39301         * math/libm-test.inc (cacos_test): Add more tests.
39302         * sysdeps/i386/fpu/libm-test-ulps: Update.
39303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39305 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
39307         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
39308         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
39309         [!HAVE_MREMAP]: Remove [defined linux] case.
39310         * malloc/arena.c: Do not include <malloc-sysdep.h>.
39312 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39314         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
39316 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
39318         * elf/elf.h (R_386_SIZE32): New relocation.
39319         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
39320         R_386_SIZE32.
39321         (elf_machine_rela): Likewise.
39322         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
39323         R_X86_64_SIZE64 and R_X86_64_SIZE32.
39325 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
39327         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
39328         (FP_FAST_FMA): Do not define.
39329         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
39330         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
39331         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
39332         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
39333         !_SOFT_FLOAT]: Likewise.
39334         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
39335         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
39336         value.
39337         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
39338         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
39339         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
39340         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
39341         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
39342         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
39343         file.
39345 2013-01-16  Andreas Schwab  <schwab@suse.de>
39347         [BZ #14327]
39348         * include/stdlib.h (__mktemp): Add declaration.
39349         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
39350         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
39352 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39354         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
39355         definitions.
39356         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39357         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
39358         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
39359         definitions here.
39360         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
39361         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
39362         definitions.
39363         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
39364         and ONE.
39365         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
39366         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
39367         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
39368         definitions.
39369         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
39370         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
39371         definitions.
39372         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
39374         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
39376 2013-01-15  David S. Miller  <davem@davemloft.net>
39378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39379         trunc{,f} to libm-sysdep_routes.
39380         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
39382         file.
39383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
39384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
39385         file.
39386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
39387         file.
39388         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
39389         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
39390         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
39391         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
39392         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
39393         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
39394         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
39395         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
39397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39398         nearbyint{,f} to libm-sysdep_routes.
39399         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
39401         New file.
39402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
39403         file.
39404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
39405         New file.
39406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
39407         file.
39408         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
39409         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
39410         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
39411         file.
39412         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
39413         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
39414         file.
39415         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
39416         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
39417         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
39419         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
39420         libc_feholdexcept and libc_fesetenv.
39422 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
39424         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
39426 2013-01-14  David S. Miller  <davem@davemloft.net>
39428         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
39429         (SPARC_ASM_VIS2_IFUNC): Likewise.
39430         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
39431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
39432         use of 'siam' instruction.
39433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
39434         Likewise.
39435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
39436         Likewise.
39437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
39438         Likewise.
39439         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
39440         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
39441         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
39442         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
39443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
39444         file.
39445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
39446         file.
39447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
39448         file.
39449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
39450         file.
39451         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
39452         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
39453         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
39454         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
39455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
39456         new VIS2 routines.
39457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39460         Likewise.
39461         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39462         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39463         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39464         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
39466         routines to libm-sysdep_routines.
39467         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39470         fdim/fdimf to libm-sysdep_routines.
39471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
39472         file.
39473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
39474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
39475         file.
39476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
39477         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
39478         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
39479         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
39480         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
39481         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
39482         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
39484 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39486         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
39487         to optimize copies.
39489         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
39490         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39491         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39493         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
39494         local variable MPTWO.
39495         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
39496         Likewise.
39498 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39500         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
39501         GLOB_NOESCAPE.
39503 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39505         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
39507 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39509         * manual/pattern.texi (glob_t): Document gl_flags.
39510         (glob64_t): Likewise.
39512 2013-01-11  David S. Miller  <davem@davemloft.net>
39514         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
39515         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
39516         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
39517         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
39518         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
39519         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
39520         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
39521         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
39522         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
39523         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
39524         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
39525         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
39526         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
39528         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
39529         sparc V9 rather than using V8 code.
39530         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39531         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39533         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39534         Move to...
39535         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
39536         Here.
39538 2013-01-11  Roland McGrath  <roland@hack.frob.com>
39540         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
39541         not in the main loop.
39542         * configure: Regenerated.
39544 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
39546         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
39547         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
39548         to just #else.
39549         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
39550         [!__GLIBC_HAVE_LONG_LONG] case.
39551         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
39552         condition to just #else.
39553         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
39554         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
39555         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
39556         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
39557         unconditional.
39558         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
39559         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
39560         #elif condition to just #else.
39561         * sysdeps/unix/sysv/linux/sys/sysmacros.h
39562         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
39563         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
39564         #elif condition to just #else.
39566 2013-01-11  Steve Ellcey  <sellcey@mips.com>
39568         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
39569         (EF_MIPS_ARCH_64): Fix value.
39570         (EF_MIPS_ARCH_32R2): New.
39571         (EF_MIPS_ARCH_64R2): New.
39573 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
39575         * Makeconfig (+link-pie-before-libc): New.
39576         (+link-pie-after-libc): Likewise.
39577         (+link-pie-tests): Likewise.
39578         (+link-pie): Rewritten.
39579         (link-before-libc): Remove $(config-LDFLAGS).
39580         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
39581         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
39582         (config-LDFLAGS): Renamed to ...
39583         (rtld-LDFLAGS): This.
39584         (rtld-tests-LDFLAGS): New macro.
39585         (link-libc-rpath-link): Likewise.
39586         (link-libc-tests-rpath-link): Likewise.
39587         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
39588         (link-libc): Prepand $(link-libc-rpath-link).
39589         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
39590         (test-program-prefix): New macro.
39591         (test-via-rtld-prefix): Likewise.
39592         (test-program-cmd): Likewise.
39593         (host-test-program-cmd): Likewise.
39594         * Makefile ($(common-objpfx)testrun.sh): Replace
39595         $(run-program-prefix) with $(test-program-prefix).
39596         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
39597         $(rtld-LDFLAGS).
39598         ($(common-objpfx)shlib.lds): Likewise.
39599         (build-module-helper): Likewise.
39600         ($(common-objpfx)format.lds): Likewise.
39601         * Rules (binaries-pie-tests): New.
39602         (binaries-pie-notests): Likewise.
39603         (binaries-pie): Rewritten.
39604         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
39605         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
39606         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
39607         (make-test-out): Replace $(host-built-program-cmd) with
39608         $(host-test-program-cmd).
39609         * config.make.in (build-hardcoded-path-in-tests): New variable.
39610         * configure.in (--enable-hardcoded-path-in-tests): New configure
39611         option.
39612         (hardcoded_path_in_tests): New AC_SUBST.
39613         * configure: Regenerated.
39614         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
39615         $(built-program-cmd) with $(test-program-cmd).
39616         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
39617         (test_program_cmd): This.
39618         * elf/Makefile ($(objpfx)order.out): Run test with
39619         $(test-program-prefix).
39620         ($(objpfx)order2.out): Likewise.
39621         ($(objpfx)tst-initorder.out): Likewise.
39622         ($(objpfx)tst-initorder2.out): Likewise.
39623         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
39624         $(test-program-cmd).
39625         ($(objpfx)tst-array1-static.out): Likewise.
39626         ($(objpfx)tst-array2.out): Likewise.
39627         ($(objpfx)tst-array3.out): Likewise.
39628         ($(objpfx)tst-array4.out): Likewise.
39629         ($(objpfx)tst-array5.out): Likewise.
39630         ($(objpfx)tst-array5-static.out): Likewise.
39631         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
39632         $(test-program-cmd).
39633         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
39634         $(run-program-prefix) with $(test-program-prefix).
39635         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
39636         (test_program_prefix): This.
39637         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
39638         $(run-program-prefix) with $(test-program-prefix).
39639         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
39640         (test_program_prefix): This.
39641         * iconvdata/tst-tables.sh: Likewise.
39642         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
39643         $(run-program-prefix) with $(test-program-prefix).
39644         ($(objpfx)tst-translit.out): Likewise.
39645         ($(objpfx)tst-gettext2.out): Likewise.
39646         ($(objpfx)tst-gettext4.out): Likewise.
39647         ($(objpfx)tst-gettext6.out): Likewise.
39648         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
39649         (test_program_prefix): This.
39650         * intl/tst-gettext2.sh: Likewise.
39651         * intl/tst-gettext4.sh  Likewise.
39652         * intl/tst-gettext6.sh: Likewise.
39653         * intl/tst-translit.sh: Likewise.
39654         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
39655         with $(test-program-cmd).
39656         * libio/Makefile ($(objpfx)test-freopen.out): Replace
39657         $(run-program-prefix) with $(test-program-prefix).
39658         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
39659         (test_program_prefix): This.
39660         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
39661         $(run-program-prefix) with $(test-program-prefix).
39662         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
39663         (test_program_prefix): This.
39664         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
39665         * posix/Makefile ($(objpfx)globtest.out): Replace
39666         $(run-via-rtld-prefix) and $(test-wrapper) with
39667         $(test-program-prefix) and $(test-via-rtld-prefix).
39668         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
39669         $(test-program-prefix).
39670         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
39671         $(host-test-program-cmd).
39672         (tst-spawn-ARGS): Likewise.
39673         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
39674         $(test-program-prefix).
39675         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
39676         (test_via_rtld_prefix): This.
39677         (test_wrapper): Renamed to ...
39678         (test_program_prefix): This.
39679         (run_program_prefix): Replaced by test_program_prefix.
39680         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
39681         (test_program_prefix): This.
39682         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
39683         with $(host-test-program-cmd).
39684         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
39685         $(run-program-prefix) with $(test-program-prefix).
39686         ($(objpfx)tst-printf.out): Likewise.
39687         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
39688         $(test-program-cmd).
39689         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
39690         (test_program_prefix): This.
39691         * stdio-common/tst-unbputc.sh: Likewise.
39692         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
39693         $(run-program-prefix) with $(test-program-prefix).
39694         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
39695         (test_program_prefix): This.
39696         * string/Makefile ($(objpfx)tst-svc.out):  Replace
39697         $(built-program-cmd) with $(test-program-cmd).
39699 2013-01-11  Andreas Jaeger  <aj@suse.de>
39701         [BZ #15003]
39702         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
39703         value. Sync with Linux 3.7.
39705 2013-01-10  David S. Miller  <davem@davemloft.net>
39707         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
39708         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39709         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39711 2013-01-10  Roland McGrath  <roland@hack.frob.com>
39713         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
39714         never set.
39715         * configure: Regenerated.
39717 2013-01-10  David S. Miller  <davem@davemloft.net>
39719         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
39720         sparc V9 rather than using V8 code.
39721         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39722         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39724 2013-01-10  Roland McGrath  <roland@hack.frob.com>
39726         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
39727         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
39728         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
39729         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
39730         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
39731         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
39732         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
39733         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
39734         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
39735         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
39736         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
39737         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
39738         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
39739         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
39740         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
39741         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
39742         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
39743         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
39744         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
39745         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
39746         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
39747         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
39748         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
39749         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
39750         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
39751         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
39752         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
39754 2013-01-10  David S. Miller  <davem@davemloft.net>
39756         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39758 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
39760         * posix/Makefile (tests-static): New variable.
39761         (tests): Add $(tests-static).
39762         (tst-exec-static-ARGS): New variable.
39763         (tst-spawn-static-ARGS): Likewise.
39764         * posix/tst-exec-static.c: New file.
39765         * posix/tst-spawn-static.c: Likewise.
39766         * posix/tst-exec.c: Support run directly.
39767         * posix/tst-spawn.c: Likewise.
39769 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
39771         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
39772         long.
39773         * math/bits/mathcalls.h (llrint): Likewise.
39774         (llround): Likewise.
39775         * stdlib/stdlib.h (struct drand48_data): Likewise.
39776         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
39777         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
39778         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
39779         Likewise.
39780         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
39781         Likewise.
39782         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
39783         (elf_greg_t): Likewise.
39784         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
39785         (__jmp_buf): Likewise.
39786         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
39787         definitions.
39788         (llrint): Likewise, for all definitions.
39789         (llrintl): Likewise.
39791         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
39792         Remove [__GNUC__] condition.
39793         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
39794         condition to just [__USE_ISOC99].
39795         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
39797 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
39799         [BZ #14200]
39800         * sysdeps/unix/sysv/linux/x86/bits/environments.h
39801         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
39802         defined.
39803         (_POSIX_V6_ILP32_OFF32): Likewise.
39804         (_XBS5_ILP32_OFF32): Likewise.
39805         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
39806         (__ILP32_OFFBIG_LDFLAGS): Likewise.
39808 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39810         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
39812         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
39813         doubles __mpexp_twomm1.  Adjust usage.
39814         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
39815         Remove.
39817 2013-01-10  Andreas Schwab  <schwab@suse.de>
39819         [BZ #14964]
39820         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
39821         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
39823 2013-01-09  David S. Miller  <davem@davemloft.net>
39825         [BZ #15003]
39826         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
39827         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
39828         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
39829         (TCP_FASTOPEN): Define.
39830         (tcp_repair_opt): New structure.
39831         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
39832         enum values.
39833         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
39834         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
39835         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
39836         (tcp_cookie_transactions): New structure.
39838 2013-01-09  Anton Blanchard  <anton@samba.org>
39840         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
39841         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
39842         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
39843         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
39845 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
39847         * include/features.h (__USE_ANSI): Remove.
39849 2013-01-09  Roland McGrath  <roland@hack.frob.com>
39851         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
39853         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
39855 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
39857         * sysdeps/s390/fpu/libm-test-ulps: Update.
39859         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39861         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
39862         (__acr): Likewise.
39863         (__cpy): Likewise.
39864         (norm): Likewise.
39865         (denorm): Likewise.
39866         (__mp_dbl): Likewise.
39867         (__dbl_mp): Likewise.
39868         (add_magnitudes): Likewise.
39869         (sub_magnitudes): Likewise.
39870         (__add): Likewise.
39871         (__sub): Likewise.
39872         (__mul): Likewise.
39873         (__inv): Likewise.
39874         (__dvd): Likewise.
39875         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
39876         (__acr): Likewise.
39877         (__cpy): Likewise.
39878         (norm): Likewise.
39879         (denorm): Likewise.
39880         (__mp_dbl): Likewise.
39881         (__dbl_mp): Likewise.
39882         (add_magnitudes): Likewise.
39883         (sub_magnitudes): Likewise.
39884         (__add): Likewise.
39885         (__sub): Likewise.
39886         (__mul): Likewise.
39887         (__inv): Likewise.
39888         (__dvd): Likewise.
39889         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
39890         (__acr): Likewise.
39891         (__cpy): Likewise.
39892         (norm): Likewise.
39893         (denorm): Likewise.
39894         (__mp_dbl): Likewise.
39895         (__dbl_mp): Likewise.
39896         (add_magnitudes): Likewise.
39897         (sub_magnitudes): Likewise.
39898         (__add): Likewise.
39899         (__sub): Likewise.
39900         (__mul): Likewise.
39901         (__inv): Likewise.
39902         (__dvd): Likewise.
39904 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
39906         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
39907         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
39908         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
39909         2 && __USE_EXTERN_INLINES]: Likewise.
39911 2013-01-08  Andreas Jaeger  <aj@suse.de>
39913         [BZ# 14985]
39914         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
39915         Remove.
39916         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
39917         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
39919 2013-01-07  Anton Blanchard  <anton@samba.org>
39921         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
39922         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
39923         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
39924         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
39925         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
39926         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39927         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
39928         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
39929         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39930         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39931         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39932         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39933         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39934         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39935         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
39936         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39937         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39938         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39939         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
39940         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
39941         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
39942         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
39943         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
39944         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
39945         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
39946         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
39947         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39948         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
39949         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
39950         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39951         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
39952         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39953         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39954         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
39955         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
39956         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39957         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39958         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39959         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
39960         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
39961         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
39962         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39963         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
39965 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
39967         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
39968         (__MALLOC_PMT): Likewise.
39969         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
39970         [__GNUC__], only on [_LIBC].
39971         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
39972         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
39973         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
39974         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
39975         forward declaration.
39976         (realloc_hook_ini): Likewise.
39977         (memalign_hook_ini): Likewise.
39978         (__libc_memalign): Do not use __MALLOC_PMT in variable
39979         declaration.
39980         (__libc_valloc): Likewise.
39981         (__libc_pvalloc): Likewise.
39982         (__libc_calloc): Likewise.
39983         (__posix_memalign): Likewise.
39985         [BZ #14996]
39986         * math/s_casinh.c: Include <float.h>.
39987         (__casinh): Do not do computation with squaring and square root
39988         for large arguments.
39989         * math/s_casinhf.c: Include <float.h>.
39990         (__casinhf): Do not do computation with squaring and square root
39991         for large arguments.
39992         * math/s_casinhl.c: Include <float.h>.
39993         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
39994         (__casinhl): Do not do computation with squaring and square root
39995         for large arguments.
39996         * math/libm-test.inc (casin_test): Add more tests.
39997         (casinh_test): Likewise.
39998         * sysdeps/i386/fpu/libm-test-ulps: Update.
39999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40001 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
40003         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
40004         (__x86_64_raw_data_cache_size): Likewise.
40005         (__x86_64_data_cache_size_half): Likewise.
40006         (__x86_64_raw_data_cache_size_half): Likewise.
40007         (__x86_64_shared_cache_size): Likewise.
40008         (__x86_64_raw_shared_cache_size): Likewise.
40009         (__x86_64_shared_cache_size_half): Likewise.
40010         (__x86_64_raw_shared_cache_size_half): Likewise.
40011         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
40012         to ...
40013         (__x86_data_cache_size): This.
40014         (__x86_64_raw_data_cache_size): Renamed to ...
40015         (__x86_raw_data_cache_size): This.
40016         (__x86_64_data_cache_size_half): Renamed to ...
40017         (__x86_data_cache_size_half): This.
40018         (__x86_64_raw_data_cache_size_half): Renamed to ...
40019         (__x86_raw_data_cache_size_half): This.
40020         (__x86_64_shared_cache_size): Renamed to ...
40021         (__x86_shared_cache_size): This.
40022         (__x86_64_raw_shared_cache_size): Renamed to ...
40023         (__x86_raw_shared_cache_size): This.
40024         (__x86_64_shared_cache_size_half): Renamed to ...
40025         (__x86_shared_cache_size_half): This.
40026         (__x86_64_raw_shared_cache_size_half): Renamed to ...
40027         (__x86_raw_shared_cache_size_half): This.
40028         * sysdeps/x86_64/memcpy.S: Updated.
40029         * sysdeps/x86_64/memset.S: Likewise.
40030         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
40031         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40032         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40034 2013-01-04  David S. Miller  <davem@davemloft.net>
40036         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40038 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
40040         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
40041         1 to avoid redefinition warning.
40042         (__USE_GNU): Don't define.
40043         (init_signaling_nan): Protoize.
40045         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40047 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40049         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
40050         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
40051         (__cpymn): Likewise.
40052         (norm): Remove commented code.
40053         (denorm): Likewise.
40054         (__mp_dbl): Likewise.
40055         (__inv): Likewise.
40056         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
40057         (__cpymn): Likewise.
40058         (norm): Remove commented code.
40059         (denorm): Likewise.
40060         (__mp_dbl): Likewise.
40061         (__inv): Likewise.
40063         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
40064         mp_no value for 1.0 and 2.0.
40065         (norm): Use RADIXI instead of radixi.d.
40066         (denorm): Likewise.
40067         (__mul): Use 0.0 instead of zero.d.
40068         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
40069         mp_no value for 1.0 and 2.0.
40070         (norm): Use RADIXI instead of radixi.d.
40071         (denorm): Likewise.
40072         (__mul): Use 0.0 instead of zero.d.
40074 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
40076         [BZ #14994]
40077         * math/s_casinh.c (__casinh): Reduce finite argument to first
40078         quadrant then set signs of results at the end.
40079         * math/s_casinhf.c (__casinhf): Likewise.
40080         * math/s_casinhl.c (__casinhl): Likewise.
40081         * math/libm-test.inc (casin_test): Add more tests.
40082         (casinh_test): Likewise.
40083         * sysdeps/i386/fpu/libm-test-ulps: Update.
40084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40086 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40088         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
40090         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
40092         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
40093         declarations.
40094         (denorm): Likewise.
40095         (__mp_dbl): Likewise.
40096         (__inv): Likewise.
40098         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
40099         and adjust the header comment.
40101         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
40102         variable name from declaration.
40104 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
40106         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40107         Initialize COMMON_CPUID_INDEX_7 element.
40108         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
40109         (CPUID_RTM): Likewise.
40110         (HAS_RTM): Likewise.
40111         (COMMON_CPUID_INDEX_7): New enum.
40113 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
40115         [BZ #14981]
40116         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
40117         size is zero, record memory as freed.
40119 2013-01-03  Andreas Jaeger  <aj@suse.de>
40121         * po/ia.po: Add new Interlingua translation.
40123 2012-01-03  Allan McRae  <allan@archlinux.org>
40125         * locale/programs/localedef.c: Fix description of '--posix' flag.
40127 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
40129         * NEWS: Update dates in second copyright notice.
40130         * README: Update copyright dates in example.
40131         * manual/libc.texinfo: Update copyright dates.
40132         * scripts/test-installation.pl: Update copyright date in --version
40133         output.
40135         * hurd/ctty-input.c: Fix copyright notice formatting.
40136         * hurd/ctty-output.c: Likewise.
40137         * hurd/dtable.c: Likewise.
40138         * hurd/hurd-raise.c: Likewise.
40139         * hurd/hurdprio.c: Likewise.
40140         * hurd/msgportdemux.c: Likewise.
40141         * misc/sys/file.h: Likewise.
40142         * misc/sys/ioctl.h: Likewise.
40143         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
40144         * sysdeps/mach/hurd/chdir.c: Likewise.
40145         * sysdeps/mach/hurd/fchdir.c: Likewise.
40146         * sysdeps/mach/hurd/rename.c: Likewise.
40147         * sysdeps/mach/hurd/rmdir.c: Likewise.
40148         * sysdeps/mach/hurd/seekdir.c: Likewise.
40149         * sysdeps/mach/hurd/setsid.c: Likewise.
40150         * sysdeps/posix/wait3.c: Likewise.
40152         * All files with FSF copyright notices: Update copyright dates
40153         using scripts/update-copyrights.
40154         * intl/plural.c: Regenerated.
40155         * locale/programs/charmap-kw.h: Likewise.
40156         * locale/programs/locfile-kw.h: Likewise.
40158 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40160         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
40161         four values.
40163         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
40164         calculation loop and add branch prediction.
40166         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
40167         check access beyond bounds of m1np.
40169         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40170         MPTWO.
40171         (__inv): Remove local variable MPTWO to use the global
40172         constant.
40173         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
40174         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40175         variable MPTWO.
40176         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
40177         MP3HALFS static const.
40179 2013-01-01  David S. Miller  <davem@davemloft.net>
40181         * po/ca.po: Update from translation team.
40183 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
40185         * scripts/update-copyrights: New file.
40186         * Makeconfig: Reformat copyright notice.
40187         * ctype/ctype.h: Likewise.
40188         * debug/swprintf_chk.c: Likewise.
40189         * elf/dl-cache.c: Likewise.
40190         * elf/dl-debug.c: Likewise.
40191         * elf/dl-object.c: Likewise.
40192         * grp/initgroups.c: Likewise.
40193         * hurd/Makefile: Likewise.
40194         * hurd/hurd/signal.h: Likewise.
40195         * hurd/hurdfault.c: Likewise.
40196         * hurd/hurdioctl.c: Likewise.
40197         * hurd/hurdlookup.c: Likewise.
40198         * hurd/intr-msg.c: Likewise.
40199         * iconv/gconv_open.c: Likewise.
40200         * libio/swprintf.c: Likewise.
40201         * locale/lc-ctype.c: Likewise.
40202         * locale/nl_langinfo.c: Likewise.
40203         * mach/Machrules: Likewise.
40204         * mach/Makefile: Likewise.
40205         * malloc/obstack.h: Likewise.
40206         * manual/Makefile: Likewise.
40207         * manual/tsort.awk: Likewise.
40208         * misc/bits/stab.def: Likewise.
40209         * nis/nis_print_group_entry.c: Likewise.
40210         * nis/nis_table.c: Likewise.
40211         * nis/nss_compat/compat-pwd.c: Likewise.
40212         * nis/nss_compat/compat-spwd.c: Likewise.
40213         * po/Makefile: Likewise.
40214         * posix/fnmatch.c: Likewise.
40215         * posix/regex.h: Likewise.
40216         * resolv/Makefile: Likewise.
40217         * resolv/nss_dns/dns-network.c: Likewise.
40218         * resolv/res_hconf.c: Likewise.
40219         * scripts/gen-sorted.awk: Likewise.
40220         * soft-fp/soft-fp.h: Likewise.
40221         * stdio-common/printf.h: Likewise.
40222         * stdlib/monetary.h: Likewise.
40223         * stdlib/random.c: Likewise.
40224         * stdlib/random_r.c: Likewise.
40225         * sysdeps/generic/Makefile: Likewise.
40226         * sysdeps/gnu/Makefile: Likewise.
40227         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40228         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40229         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40230         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40231         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40232         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40233         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40234         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40235         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40236         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40237         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40238         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40239         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40240         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40241         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
40242         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40243         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40244         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40245         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40246         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40247         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40248         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40249         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40250         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
40251         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
40252         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40253         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
40254         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
40255         * sysdeps/mach/hurd/errnos.awk: Likewise.
40256         * sysdeps/mach/hurd/fork.c: Likewise.
40257         * sysdeps/mach/hurd/getcwd.c: Likewise.
40258         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
40259         * sysdeps/mach/hurd/mmap.c: Likewise.
40260         * sysdeps/mach/hurd/utimes.c: Likewise.
40261         * sysdeps/mach/hurd/xmknod.c: Likewise.
40262         * sysdeps/posix/profil.c: Likewise.
40263         * sysdeps/posix/readdir_r.c: Likewise.
40264         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40265         * sysdeps/powerpc/bits/setjmp.h: Likewise.
40266         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
40267         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40268         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40269         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40270         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40271         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40272         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40273         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40274         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40275         * sysdeps/pthread/lio_listio.c: Likewise.
40276         * sysdeps/sparc/dl-procinfo.h: Likewise.
40277         * sysdeps/unix/i386/sysdep.S: Likewise.
40278         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
40279         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
40280         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
40281         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
40282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40283         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
40284         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
40285         * sysdeps/unix/sysv/linux/speed.c: Likewise.
40286         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
40287         * sysdeps/wordsize-32/divdi3.c: Likewise.
40288         * time/sys/time.h: Likewise.
40289         * wcsmbs/Makefile: Likewise.
40291 2013-01-01  David S. Miller  <davem@davemloft.net>
40293         * po/fr.po: Update from translation team.
40295         * catgets/gencat.c: Update copyright year.
40296         * csu/version.c: Likewise.
40297         * debug/catchsegv.sh: Likewise.
40298         * debug/pcprofiledump.c: Likewise.
40299         * debug/xtrace.sh: Likewise.
40300         * elf/ldconfig.c: Likewise.
40301         * elf/ldd.bash.in: Likewise.
40302         * elf/pldd.c: Likewise.
40303         * elf/sotruss.ksh: Likewise.
40304         * elf/sprof.c: Likewise.
40305         * iconv/iconv_prog.c: Likewise.
40306         * iconv/iconvconfig.c: Likewise.
40307         * locale/programs/locale.c: Likewise.
40308         * locale/programs/localedef.c: Likewise.
40309         * login/programs/pt_chown.c: Likewise.
40310         * malloc/memusage.sh: Likewise.
40311         * malloc/memusagestat.c: Likewise.
40312         * malloc/mtrace.pl: Likewise.
40313         * nscd/nscd.c: Likewise.
40314         * nss/getent.c: Likewise.
40315         * nss/makedb.c: Likewise.
40316         * posix/getconf.c: Likewise.
40318 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40320         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
40321         numbers.
40323 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
40325         * math/bits/mathcalls.h (modf): Use __nonnull.
40327 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40329         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
40330         (split): Use macro CN instead of the bare value.
40331         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
40332         could be used.
40333         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
40334         instead of the bare value.
40335         (power1): Likewise.
40337 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40339         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
40340         __ATAN_TWOM.
40341         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40343         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
40344         their values.
40345         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
40346         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
40347         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
40348         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
40350 2012-12-28  Andreas Jaeger  <aj@suse.de>
40352         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
40353         values are from Linux 3.7.
40355         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
40356         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
40358 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40360         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
40361         TRUE case.
40363         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
40364         (norm): Likewise.
40365         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
40366         variables with preprocessor constants.
40367         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40368         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40369         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40371 2012-12-27  Bruno Haible  <bruno@clisp.org>
40373         [BZ #14317]
40374         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
40375         only if needed.
40377 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40379         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
40380         and use variable directly.
40381         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
40383         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40384         MPONE.
40385         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
40386         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40387         variable MPONE.
40388         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
40389         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
40390         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
40391         include directive.  Remove local variable MPONE.
40392         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
40393         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
40394         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40396 2012-12-25  David S. Miller  <davem@davemloft.net>
40398         * version.h (RELEASE): Set to "development".
40399         (VERSION): Set to "2.17.90".
40400         * NEWS: Add 2.18 section.
40402 2012-12-21  David S. Miller  <davem@davemloft.net>
40404         * po/hr.po: Update from translation team.
40406 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40408         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
40410 2012-12-19  Steve Ellcey  <sellcey@mips.com>
40412         * NEWS:  Mention new memcpy for MIPS.
40414 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40416         * manual/contrib.texi (Contributors): Spelling correction.
40418 2012-12-15  David S. Miller  <davem@davemloft.net>
40420         * po/ru.po: Update from translation team.
40422 2012-12-13  David S. Miller  <davem@davemloft.net>
40424         * NEWS: Mention IFUNC testsuite enhancements.
40426         * po/pl.po: Update from translation team.
40427         * po/bg.po: Likewise.
40429         * manual/contrib.texi (Contributors): Update entries for Hongjiu
40430         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
40432 2012-12-11  David S. Miller  <davem@davemloft.net>
40434         * po/sv.po: Update from translation team.
40436         * po/vi.po: Update from translation team.
40438         * po/cs.po: Update from translation team.
40440         * po/de.po: Update from translation team.
40441         * po/eo.po: Likewise.
40442         * po/nl.po: Likewise.
40444 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40446         [BZ #14246]
40447         * manual/argp.texi (Argp Helper Functions): Move node to follow
40448         Argp Parsing State.
40450         [BZ #14872]
40451         * manual/conf.texi (Limits on File System Capacity): Mention if
40452         terminating null is included in the max size.
40454 2012-12-10  Andreas Jaeger  <aj@suse.de>
40456         * po/cs.po: Update from translation team.
40458 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40460         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
40461         void pointer and cast to uintptr_t.
40462         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
40463         path.
40464         * sysdeps/s390/s390-64/memcpy.S: Likewise.
40465         * sysdeps/s390/s390-64/memset.S: Likewise.
40467 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
40469         [BZ #14833]
40470         * menual/message.texi (Message Translation): Fix typos.
40471         (Helper programs for gettext): Likewise.
40473 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
40475         [BZ #14898]
40476         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
40477         Change to -1.
40479 2012-12-07  David S. Miller  <davem@davemloft.net>
40481         * po/libc.pot: Update.
40483 2012-12-07  Richard Henderson  <rth@redhat.com>
40485         [BZ #10114]
40486         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
40487         normal/normal case to before the switch.
40488         (_FP_DIV): Likewise.
40490 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
40491             Mike Frysinger  <vapier@gentoo.org>
40493         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
40494         check for __NR_fadvise64_64.
40496 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
40498         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
40499         0, not just to plain "0" as a statement.
40500         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
40501         with cw.
40503 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
40505         * NEWS: Use sourceware.org in Bugzilla URL.
40507 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
40510         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
40512         * stdio-common/tst-put-error.c (do_test): Add newline to the
40513         padded test to ensure flush.
40515 2012-12-05  Jeff Law  <law@redhat.com>
40517         * sunrpc/etc.rpc (fedfs_admin): Add entry.
40519 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
40521         * README: Don't refer to ports add-on as distributed separately.
40522         Mention AArch64 in list of systems supported in the ports add-on.
40524         * LICENSES: Add more non-FSF copyright and license notices.
40526         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
40527         ((unused)).
40529         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
40531         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
40532         10000 as width of padded output.
40534 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
40536         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
40538         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
40539         variable LX with __attribute__ ((unused)).
40540         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
40541         Likewise.
40542         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
40543         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40544         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
40545         with __attribute__ ((unused)).
40547 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
40549         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
40551 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
40553         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
40554         (CFLAGS-nldbl-acos.c): New variable.
40555         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
40556         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
40557         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
40558         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
40559         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
40560         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
40561         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
40562         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
40563         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
40564         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
40565         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
40566         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
40567         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
40568         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
40569         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
40570         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
40571         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
40572         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
40573         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
40574         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
40575         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
40576         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
40577         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
40578         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
40579         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
40580         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
40581         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
40582         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
40583         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
40584         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
40585         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
40586         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
40587         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
40588         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
40589         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
40590         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
40591         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
40592         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
40593         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
40594         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
40595         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
40596         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
40597         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
40598         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
40599         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
40600         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
40601         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
40602         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
40603         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
40604         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
40605         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
40606         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
40607         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
40608         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
40609         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
40610         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
40611         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
40612         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
40613         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
40614         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
40615         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
40616         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
40617         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
40618         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
40619         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
40620         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
40621         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
40622         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
40623         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
40624         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
40625         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
40626         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
40627         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
40628         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
40629         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
40630         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
40631         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
40632         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
40633         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
40634         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
40635         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
40636         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
40637         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
40638         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
40639         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
40640         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
40641         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
40642         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
40643         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
40644         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
40645         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
40646         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
40647         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
40648         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
40649         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
40650         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
40651         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
40653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40654         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
40656         [BZ #14914]
40657         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
40658         whole low double instead of just low 47 bits when splitting values
40659         into two parts.
40661 2012-12-03  Allan McRae  <allan@archlinux.org>
40663         * manual/stdio.texi (Predefined Printf Handlers): Remove
40664         @hsep and @vsep usage.
40666 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
40668         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
40669         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
40671 2012-12-03  Jeff Law  <law@redhat.com>
40673         * time/sys/time.h (settimeofday): Do not mark TV argument
40674         as __nonnull.
40676 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
40678         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
40679         when currently writing and seek to current position when not.
40680         * libio/Makefile (tests): Remove bug-fclose1.
40681         * libio/bug-fclose1.c: Delete.
40683 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
40685         * manual/arith.texi (feenableexcept): Fix typo.
40686         (fedisableexcept): Likewise.
40688 2012-11-30  Roland McGrath  <roland@hack.frob.com>
40690         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
40691         second, differently-typed declaration, rather than a cast.
40693 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40695         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
40696         * include/rpc/svc.h: ... here.
40698 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
40700         [BZ #13013]
40701         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
40702         depending n and resplen2 to catch cases where answer
40703         equals answerp2.
40705 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
40707         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
40708         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
40710 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
40712         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
40714 2012-11-29  Roland McGrath  <roland@hack.frob.com>
40716         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
40718 2012-11-28  Jeff Law  <law@redhat.com>
40720         [BZ #13761]
40721         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
40722         dataset_temporary.  Track alloca usage into alloca_used.
40723         If dataset is large allocate and release it via malloc/free.
40725 2012-06-04  Florian Weimer  <fweimer@redhat.com>
40727         [BZ #14197]
40728         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
40730 2012-11-28  David S. Miller  <davem@davemloft.net>
40732         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40734 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
40736         [BZ #14803]
40737         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
40738         of pi/2 rounded to nearest to 64 bits.
40739         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
40740         nearest to 64 bits.
40741         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
40742         bits.
40744 2012-11-28  Jeff Law <law@redhat.com>
40745             Martin Osvald <mosvald@redhat.com>
40747         [BZ #14889]
40748         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
40749         * sunrpc/svc.c: Include time.h.
40750         (__svc_accept_failed): New function.
40751         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
40752         any reason other than EINTR, call __svc_accept_failed.
40753         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
40754         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
40756 2012-11-28  Andreas Schwab  <schwab@suse.de>
40758         * scripts/abilist.awk: Also handle indirect functions in .opd
40759         section.
40761 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
40763         [BZ #13881]
40764         * sysdeps/x86/fpu/powl_helper.c: New file.
40765         * sysdeps/x86/fpu/Makefile: Likewise.
40766         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
40767         (p3): New object.
40768         (__ieee754_powl): Use __powl_helper for finite arguments except
40769         integer exponents below 8.
40770         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
40771         (p3): New object.
40772         (__ieee754_powl): Use __powl_helper for finite arguments except
40773         integer exponents below 8.
40774         * math/libm-test.inc (pow_test): Add more tests and enable some
40775         previously disabled tests.
40776         * sysdeps/i386/fpu/libm-test-ulps: Update.
40777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40779 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40780             Carlos O'Donell  <carlos_odonell@mentor.com>
40782         * nss/makedb.c (is_prime): Assert that input is odd and greater
40783         than 4.  Note that fact in a comment too.
40784         (next_prime): Add 4 to input.
40786 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40788         [BZ #11741]
40789         * libio/Makefile (tests): Add test case tst-fwrite-error.
40790         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
40791         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
40792         * libio/tst-fwrite-error.c: New test case.
40794 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
40796         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
40797         before casting to void *.
40798         * include/libc-internal.h (__pointer_type): New macro.
40799         (__integer_if_pointer_type_sub): Likewise.
40800         (__integer_if_pointer_type): Likewise.
40801         (cast_to_integer): Likewise.
40802         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
40803         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
40804         before casting to atomic64_t.
40805         (atomic_exchange_acq): Likewise.
40806         (__arch_exchange_and_add_body): Likewise.
40807         (__arch_add_body): Likewise.
40808         (atomic_add_negative): Likewise.
40809         (atomic_add_zero): Likewise.
40811 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
40813         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
40814         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
40815         (add_fdes): Likewise.
40816         (linear_search_fdes): Likewise.
40817         (binary_search_unencoded_fdes): Likewise.
40819 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
40821         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
40823 2012-11-24  Adam Conrad  <adconrad@0c3.net>
40825         * configure.in: Autodetect C++ header directories.
40826         * configure: Regenerated.
40828 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
40830         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
40832 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
40834         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40836 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
40838         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
40839         LDBL_MANT_DIG == 106]: Disable some tests.
40840         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
40841         Likewise.
40842         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
40843         Likewise.
40845         [BZ #14871]
40846         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
40847         input for small inputs.  Return +/- pi/2 for large inputs.
40848         * math/libm-test.inc (atan_test): Add more tests.
40850         * sysdeps/generic/unwind-dw2-fde-glibc.c
40851         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
40852         __attribute__ ((unused)).
40854         [BZ #14645]
40855         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
40856         x * y if x and y are nonzero and z is zero.
40858         [BZ #14811]
40859         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
40860         nonzero exponents with absolute value below 0x1p-117 to +/-
40861         0x1p-117.
40863         [BZ #14869]
40864         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
40865         up arguments below 2**-450, not just those below 2**-500.
40866         * math/libm-test.inc (hypot_test): Add another test.
40868         [BZ #14868]
40869         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
40870         Return a+b for ratio over 2**120, not 2**60.
40871         * math/libm-test.inc (hypot_test): Add another test.
40873         * math/libm-test.inc (clog_test): Use
40874         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
40875         (clog10_test): Likewise.
40877         [BZ #6778]
40878         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
40880 2012-11-22  Andreas Schwab  <schwab@suse.de>
40882         * sysdeps/i386/fpu/libm-test-ulps: Update.
40884 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
40886         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
40887         printf output with newline.
40889 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
40891         [BZ #14865]
40892         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
40893         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
40894         -z nodlopen, -z initfirst and -z execstack support.
40895         * configure: Regenerated.
40897         * elf/elf.h (DF_1_NODIRECT): New macro.
40898         (DF_1_IGNMULDEF): Likewise.
40899         (DF_1_NOKSYMS): Likewise.
40900         (DF_1_NOHDR): Likewise.
40901         (DF_1_EDITED): Likewise.
40902         (DF_1_NORELOC): Likewise.
40903         (DF_1_SYMINTPOSE): Likewise.
40904         (DF_1_GLOBAUDIT): Likewise.
40905         (DF_1_SINGLETON): Likewise.
40906         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
40907         DT_1_SUPPORTED_MASK bits.
40908         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
40910 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
40912         * sysdeps/unix/make-syscalls.sh: Document prefixes.
40914 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
40916         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
40917         macro.
40919         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
40920         (sendmmsg): Move declarations...
40921         * socket/sys/socket.h: ... here.
40922         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
40923         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
40924         include it from...
40925         * socket/recvmmsg.c: ... this new file.
40926         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
40927         (sendmmsg): Rename to __sendmmsg, create weak alias and make
40928         definition of __sendmmsg hidden.
40929         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
40930         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
40931         Move ENOSYS stub into and include it from...
40932         * socket/sendmmsg.c: ... this new file.
40933         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
40934         (sysdep_routines): Move recvmmsg and sendmmsg...
40935         * socket/Makefile (routines): ... here.
40936         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
40937         (GLIBC_PRIVATE): Add __sendmmsg.
40938         * include/sys/socket.h (__sendmmsg): Add declarations.
40939         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
40940         sendmmsg.
40942 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
40944         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
40945         variable I1 with __attribute__ ((unused)).
40946         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40948 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
40950         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
40951         DUMMY variables with __attribute__ ((unused)).
40953         * bits/byteswap.h: Include <bits/types.h>.
40954         (__bswap_64): Use __uint64_t instead of unsigned long long int.
40956 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
40958         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
40959         string_t.  Do not manually set errno.
40960         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
40961         length with __strnlen.  Make sure to both set errno and return it on
40962         failure.
40964 2012-11-19  David S. Miller  <davem@davemloft.net>
40966         With help from Joseph Myers.
40967         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
40968         very large arguments properly.
40969         * math/libm-test.inc (atan_test): New tests.
40970         (atan2_test): New tests.
40971         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40972         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40974 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
40976         [BZ #14856]
40977         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
40978         Define to 3.
40980         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
40981         [POSIX] (EADDRNOTAVAIL): Likewise.
40982         [POSIX] (EAFNOSUPPORT): Likewise.
40983         [POSIX] (EALREADY): Likewise.
40984         [POSIX] (ECONNABORTED): Likewise.
40985         [POSIX] (ECONNREFUSED): Likewise.
40986         [POSIX] (ECONNRESET): Likewise.
40987         [POSIX] (EDESTADDRREQ): Likewise.
40988         [POSIX] (EDQUOT): Likewise.
40989         [POSIX] (EHOSTUNREACH): Likewise.
40990         [POSIX] (EIDRM): Likewise.
40991         [POSIX] (EISCONN): Likewise.
40992         [POSIX] (ELOOP): Likewise.
40993         [POSIX] (EMULTIHOP): Likewise.
40994         [POSIX] (ENETDOWN): Likewise.
40995         [POSIX] (ENETUNREACH): Likewise.
40996         [POSIX] (ENOBUFS): Likewise.
40997         [POSIX] (ENODATA): Likewise.
40998         [POSIX] (ENOLINK): Likewise.
40999         [POSIX] (ENOMSG): Likewise.
41000         [POSIX] (ENOPROTOOPT): Likewise.
41001         [POSIX] (ENOSR): Likewise.
41002         [POSIX] (ENOSTR): Likewise.
41003         [POSIX] (ENOTCONN): Likewise.
41004         [POSIX] (ENOTSOCK): Likewise.
41005         [POSIX] (EOPNOTSUPP): Likewise.
41006         [POSIX] (EOVERFLOW): Likewise.
41007         [POSIX] (EPROTO): Likewise.
41008         [POSIX] (EPROTONOSUPPORT): Likewise.
41009         [POSIX] (EPROTOTYPE): Likewise.
41010         [POSIX] (ESTALE): Likewise.
41011         [POSIX] (ETIME): Likewise.
41012         [POSIX] (ETXTBSY): Likewise.
41013         [POSIX] (EWOULDBLOCK): Likewise.
41014         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
41015         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
41016         [POSIX] (SEEK_CUR): Likewise.
41017         [POSIX] (SEEK_END): Likewise.
41018         [POSIX || UNIX98] (mode_t): Do not require.
41019         [POSIX] (off_t): Likewise.
41020         [POSIX] (pid_t): Likewise.
41021         [POSIX] (sys/stat.h): Do not allow header.
41022         [POSIX] (unistd.h): Likewise.
41023         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
41024         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
41025         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
41026         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
41027         require.
41028         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
41029         sigevent): Specify elements.
41030         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
41031         entry.
41032         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
41033         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
41035         * conform/data/cpio.h-data [POSIX]: Disable whole file.
41036         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
41037         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
41038         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
41039         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
41040         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
41041         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
41042         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
41043         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
41044         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
41045         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
41046         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
41047         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
41048         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
41049         Likewise.
41050         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
41051         Likewise.
41052         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
41053         Likewise.
41054         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
41055         Likewise.
41056         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
41057         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
41058         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
41059         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
41060         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
41061         Specify lower bound on value.
41062         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
41063         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
41064         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
41065         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
41066         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
41067         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
41068         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
41069         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
41070         value.
41071         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
41072         as optional.
41073         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
41074         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
41075         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
41076         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
41077         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
41078         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
41079         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
41080         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
41081         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
41082         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
41083         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
41084         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
41085         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
41086         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
41087         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
41088         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
41089         entry.
41090         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
41091         optional.
41092         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
41093         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
41094         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
41095         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
41096         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
41097         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
41098         Likewise.
41099         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
41100         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
41101         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
41102         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
41103         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
41104         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
41105         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
41106         as optional.
41107         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
41108         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
41109         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
41110         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
41111         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
41112         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
41113         specify as optional.
41114         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
41115         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
41116         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
41117         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
41118         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
41119         [XPG3] (NL_LANGMAX): Likewise.
41120         [POSIX || XPG3] (NL_MSGMAX): Likewise.
41121         [POSIX || XPG3] (NL_NMAX): Likewise.
41122         [POSIX || XPG3] (NL_SETMAX): Likewise.
41123         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
41124         [XPG3] (NZERO): Likewise.
41125         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
41126         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
41127         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
41128         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
41129         (REG_ERANGE): Expect.
41130         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
41131         optional-constant.
41132         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
41133         Use (void) in prototype.
41134         [POSIX] (*_t): Allow.
41135         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
41136         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
41137         (WRDE_BADVAL): Expect.
41139         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
41140         expect.
41141         [XPG3 || XPG4] (O_RSYNC): Likewise.
41142         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
41143         Likewise.
41144         [XPG3 || XPG4] (pthread_sigmask): Likewise.
41145         [XPG3 || XPG4] (sigqueue): Likewise.
41146         [XPG3 || XPG4] (sigtimedwait): Likewise.
41147         [XPG3 || XPG4] (sigwaitinfo): Likewise.
41148         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
41149         [XPG3 || XPG4] (vsnprintf): Likewise.
41150         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
41151         Likewise.
41152         [XPG3 || XPG4] (blksize_t): Likewise.
41153         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
41154         Likewise.
41155         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
41156         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
41157         [XPG3 || XPG4] (struct itimerspec): Likewise.
41158         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
41159         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
41160         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
41161         [XPG3 || XPG4] (clockid_t): Likewise.
41162         [XPG3 || XPG4] (timer_t): Likewise.
41163         [XPG3 || XPG4] (clock_getres): Likewise.
41164         [XPG3 || XPG4] (clock_gettime): Likewise.
41165         [XPG3 || XPG4] (clock_settime): Likewise.
41166         [XPG3 || XPG4] (nanosleep): Likewise.
41167         [XPG3 || XPG4] (timer_create): Likewise.
41168         [XPG3 || XPG4] (timer_delete): Likewise.
41169         [XPG3 || XPG4] (timer_gettime): Likewise.
41170         [XPG3 || XPG4] (timer_getoverrun): Likewise.
41171         [XPG3 || XPG4] (timer_settime): Likewise.
41172         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
41173         [XPG3 || XPG4] (getlogin_r): Likewise.
41174         [XPG3 || XPG4] (pread): Likewise.
41175         [XPG3 || XPG4] (pthread_atfork): Likewise.
41176         [XPG3 || XPG4] (pwrite): Likewise.
41178         [BZ #14835]
41179         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
41180         <bits/siginfo.h>.
41182 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41184         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
41185         finalizing MALLSTREAM.
41187         * sysdeps/mach/hurd/syncfs.c: New file.
41189 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41191         [BZ #14719]
41192         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
41193         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
41194         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
41195         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
41196         (_nss_dns_gethostbyname4_r): Likewise.
41197         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
41198         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
41200 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
41202         [BZ #13763]
41203         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
41205 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
41207         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
41208         * elf/cache.c (print_entry): Print ",AArch64" for
41209         FLAG_AARCH64_LIB64
41211         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
41212         * elf/cache.c (print_entry): Print ",hard-float" for
41213         FLAG_ARM_LIBHF.
41215 2012-11-18  David S. Miller  <davem@davemloft.net>
41217         With help from Joseph Myers.
41218         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
41219         cutoff to 2**-13.
41220         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
41221         cutoff to 2**-25.
41222         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
41223         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
41224         small.
41225         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
41226         * math/libm-test.inc (y0_test): New tests.
41227         (y1_test): New tests.
41228         * sysdeps/i386/fpu/libm-test-ulps: Update.
41229         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41230         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41232 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
41234         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
41235         64-bit targets.
41236         * configure: Regenerated.
41238 2012-11-17  David S. Miller  <davem@davemloft.net>
41240         [BZ #14811]
41241         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
41242         nonzero exponents with absolute value below 0x1p-128 to +/-
41243         0x1p-128.
41245 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
41247         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
41249         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
41251         * posix/getconf-speclist.c: New file.
41252         * posix/posix-envs.def: Likewise.
41253         * posix/confstr.c (START_ENV_GROUP): New macro.
41254         (END_ENV_GROUP): Likewise.
41255         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41256         (KNOWN_PRESENT_ENV_STRING): Likewise.
41257         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41258         (UNKNOWN_ENVIRONMENT): Likewise.
41259         (confstr): Include posix-envs.def instead of handling
41260         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
41261         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
41262         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
41263         (END_ENV_GROUP): Likewise.
41264         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41265         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41266         (UNKNOWN_ENVIRONMENT): Likewise.
41267         (__sysconf): Include posix-envs.def instead of handling associated
41268         cases directly here.
41269         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
41270         preprocessing getconf-speclist.c rather than running getconf or
41271         generating empty file.
41273 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
41275         * scripts/check-local-headers.sh: Ignore 'mach' headers.
41277 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
41279         [BZ #14672]
41280         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
41282 2012-11-16  David S. Miller  <davem@davemloft.net>
41284         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
41285         smaller than LDBL_EPSILON/2.0L, just return xm1.
41287 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
41289         * elf/tst-array1.c (init): Set constructor priority to 1000.
41290         (fini): Set destructor priority to 1000.
41291         * elf/tst-array2dep.c: Likewise.
41293 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41295         [BZ #11741]
41296         * libio/fileops.c (_IO_new_file_write): Correctly return error.
41297         (_IO_new_file_xsputn): Also return EOF if none of the input
41298         data was written when overflow failed.
41299         * libio/iopadn.c (_IO_padn): Likewise.
41300         * libio/iowpadn.c (_IO_wpadn): Likewise.
41301         * stdio-common/tst-put-error.c: Add copyright notice.
41302         (do_test): Add case for printing padded string.
41303         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
41304         _IO_padn returned error.
41305         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
41306         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
41307         return EOF.
41309 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41311         * libio/libioP.h: Add comment note that the references to C++
41312         bits are now obsolete.
41314 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41316         * math/libm-test.inc (check_complex): Use asprintf.
41318 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
41320         * debug/pcprofiledump.c (print_version): Update copyright year.
41321         * malloc/memusagestat.c (print_version): Likewise.
41323 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
41325         [BZ #14831]
41326         * elf/Makefile (tests): Add tst-audit8.
41327         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
41328         ($(objpfx)tst-audit8.out): New target.
41329         (tst-audit8-ENV): New variable.
41330         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
41331         audit if l_reloc_result is NULL.
41332         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
41333         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
41334         * elf/tst-audit8.c: New file.
41336 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41338         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
41339         * misc/Makefile (CFLAGS-select.c): Define.
41340         * posix/Makefile (CFLAGS-pause.c): Define.
41342 2012-11-13  David S. Miller  <davem@davemloft.net>
41344         * crypt/Makefile: Move test targets after toplevel Rules
41345         inclusion.  Grab any necessary sysdep routines when linking.
41346         * crypt/md5.c (md5_process_block): Remove define, we will always
41347         name it __md5_process_block.
41348         (md5_finish_ctx): Update md5_process_block call.
41349         (md5_stream): Likewise.
41350         (md5_process_bytes): Likewise.
41351         (md5_process_block): Rename to __md5_process_block and move to ...
41352         * crypt/md5-block.c: ... here.
41353         * crypt/sha256.c (sha256_process_block): Move to ...
41354         * crypt/sha256-block.c: ... here.
41355         * crypt/sha512.c (sha512_process_block): Move to ...
41356         * crypt/sha512-block.c: ... here.
41357         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
41358         path.
41359         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
41360         * sysdeps/sparc/sparc64/multiarch/Makefile
41361         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
41362         crypt subdir.
41363         (localedef-aux): Add md5 crypto assembler when in locale subdir.
41364         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
41365         multiarch changes.
41366         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
41367         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
41368         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
41369         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
41370         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
41371         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
41372         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
41373         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
41374         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
41375         file.
41376         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
41377         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
41378         file.
41379         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
41381 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
41383         * timezone/tzselect.ksh: Update from tzcode git revision
41384         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
41385         * timezone/zdump.c: Likewise.
41386         * timezone/zic.c: Likewise.
41387         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
41388         in TZVERSION setting, not $(PKGVERSION).
41389         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
41390         REPORT_BUGS_TO settings.
41392         [BZ #14838]
41393         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
41394         macro.
41396 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41398         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
41399         detection to immediately after _FP_ROUND().
41400         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
41401         bits are 0.
41403 2012-11-11  David S. Miller  <davem@davemloft.net>
41405         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
41406         inttypes.h
41407         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
41408         __close rather than their public counterparts.
41410 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
41412         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
41413         file.
41414         [UNIX98] (sem_timedwait): Do not expect.
41415         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
41416         [XPG4 || UNIX98] (sockatmark): Do not expect.
41417         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
41418         (clock_getcpuclockid): Do not expect.
41419         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
41420         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
41421         Do not expect.
41422         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
41423         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
41424         [UNIX98] (vwscanf): Likewise.
41425         [UNIX98] (vswscanf): Likewise.
41427 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
41429         * timezone/version.h: Remove file.
41430         * timezone/README: Do not refer to version.h.
41431         * timezone/Makefile ($(objpfx)zic.o): New dependency on
41432         $(objpfx)version.h.
41433         ($(objpfx)zdump.o): Likewise.
41434         ($(objpfx)version.h): New target.
41436         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
41437         2012i.
41438         * timezone/README: Don't mention modification to tzselect.ksh.
41439         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
41440         work on unmodified tzselect.ksh.  Substitute version numbers in
41441         tzselect.ksh.
41443         * Makefile (format-me): Remove.
41444         (INSTALL): Adjust indentation.  Use commands directly instead of
41445         using $(format-me).
41447         * aclocal.m4 (ACX_PKGVERSION): New macro.
41448         (ACX_BUGURL): Likewise.
41449         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
41450         (PKGVERSION): New AC_DEFINE_UNQUOTED.
41451         (REPORT_BUGS_TO): Likewise.
41452         * configure: Regenerated.
41453         * config.h.in (PKGVERSION): New macro.
41454         (REPORT_BUGS_TO): Likewise.
41455         * config.make.in (PKGVERSION): New variable.
41456         (PKGVERSION_TEXI): Likewise.
41457         (REPORT_BUGS_TO): Likewise.
41458         (REPORT_BUGS_TEXI): Likewise.
41459         * Makefile (format-me): Use -I$(common-objpfx)manual.
41460         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
41461         ($(common-objpfx)manual/%): New target.
41462         (manual/%): Remove target.
41463         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
41464         (print_version): Use PKGVERSION.
41465         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
41466         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
41467         and REPORT_BUGS_TO.
41468         ($(objpfx)xtrace): Likewise.
41469         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
41470         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
41471         (print_version): Use PKGVERSION.
41472         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
41473         (do_version): Use PKGVERSION.
41474         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
41475         REPORT_BUGS_TO.
41476         (common-ldd-rewrite): Likewise.
41477         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
41478         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
41479         (print_version): Use PKGVERSION.
41480         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
41481         * elf/pldd.c (argp_program_bug_address): Remove variable.
41482         (more_help): New function.
41483         (argp): Use more_help.
41484         (print_version): Use PKGVERSION.
41485         * elf/sln.c (main): Use PKGVERSION.
41486         (usage): Use REPORT_BUGS_TO.
41487         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
41488         (top level): Use PKGVERSION.
41489         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
41490         (print_version): Use PKGVERSION.
41491         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
41492         (print_version): Use PKGVERSION.
41493         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
41494         (print_version): Use PKGVERSION.
41495         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
41496         (print_version): Use PKGVERSION.
41497         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
41498         (print_version): Use PKGVERSION.
41499         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
41500         (print_version): Use PKGVERSION.
41501         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
41502         and BUGURL.
41503         ($(objpfx)memusage): Likewise.
41504         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
41505         (do_version): Use PKGVERSION.
41506         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
41507         (print_version): Use PKGVERSION.
41508         * malloc/mtrace.pl ($PACKAGE): Remove variable.
41509         ($PKGVERSION): New variable.
41510         ($REPORT_BUGS_TO): Likewise.
41511         (usage): Use $REPORT_BUGS_TO.
41512         (top level): Use $PKGVERSION.
41513         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
41514         ($(objpfx)pkgvers.texi): New rule.
41515         ($(objpfx)stamp-pkgvers): Likewise.
41516         * manual/install.texi: Include pkgvers.texi.
41517         (--with-pkgversion): Document new configure option.
41518         (--with-bugurl): Likewise.
41519         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
41520         than necessarily for this particular distribution.  Use
41521         REPORT_BUGS_TO for where to report bugs.
41522         * INSTALL: Regenerated.
41523         * manual/libc.texinfo: Include pkgvers.texi.
41524         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
41525         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
41526         (print_version): Use PKGVERSION.
41527         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
41528         (print_version): Use PKGVERSION.
41529         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
41530         (print_version): Use PKGVERSION.
41531         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
41532         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
41533         macro.
41534         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
41535         (print_version): Use PKGVERSION.
41536         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
41537         (print_version): Use PKGVERSION.
41538         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
41539         and PKGVERSION.
41541         * timezone/checktab.awk: Update from tzcode 2012i.
41542         * timezone/ialloc.c: Likewise.
41543         * timezone/private.h: Likewise.
41544         * timezone/scheck.c: Likewise.
41545         * timezone/tzfile.h: Likewise.
41546         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
41547         (TZVERSION): Hardcode tzcode version number.
41548         * timezone/zdump.c: Update from tzcode 2012i.
41549         * timezone/zic.c: Likewise.
41550         * timezone/version.h: New file.
41551         * timezone/README: Describe version.h.  Update upstream location.
41553         [BZ #14824]
41554         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
41555         (mktemp): Enable declaration.
41556         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
41557         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
41558         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
41559         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
41560         Likewise.
41561         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
41562         Likewise.
41563         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
41564         Likewise.
41565         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
41566         Likewise.
41567         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
41568         Likewise.
41569         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
41570         Likewise.
41572         [BZ #14821]
41573         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
41574         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
41575         for copies of such integer values.
41576         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
41577         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
41579 2012-11-09  Andreas Jaeger  <aj@suse.de>
41581         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
41582         definitions and declarations that are provided by
41583         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41585 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41587         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
41588         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
41589         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
41590         definition.
41592 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41594         * elf/elf.h: Update comment before AArch64 relocations.
41596 2012-11-07  David S. Miller  <davem@davemloft.net>
41598         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
41599         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
41600         (__start_context): Declare.
41601         (__makecontext_ret): Delete.
41602         (__makecontext): Hook up __start_context instead of
41603         __makecontext_ret.
41604         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
41605         (sysdep_routines): Add __start_context when in stdlib.
41607 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41609         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
41610         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
41611         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
41612         hardcoded "nm".
41613         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
41614         (READELF): New variable.  Use it instead of hardcoded "readelf".
41616 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
41618         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
41619         * sysdeps/x86/Makefile: Here.
41620         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
41621         * sysdeps/x86/tst-xmmymm.sh: This.
41623 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41625         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
41626         expectations.
41627         [UNIX98] (pthread_barrier_t): Do not expect.
41628         [UNIX98] (pthread_barrierattr_t): Likewise.
41629         [UNIX98] (pthread_spinlock_t): Likewise.
41630         [UNIX98] (pthread_barrier_destroy): Likewise.
41631         [UNIX98] (pthread_barrier_init): Likewise.
41632         [UNIX98] (pthread_barrier_wait): Likewise.
41633         [UNIX98] (pthread_barrierattr_destroy): Likewise.
41634         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
41635         [UNIX98] (pthread_barrierattr_init): Likewise.
41636         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
41637         [UNIX98] (pthread_getcpuclockid): Likewise.
41638         [UNIX98] (pthread_mutex_timedlock): Likewise.
41639         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
41640         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
41641         [UNIX98] (pthread_sigmask): Likewise.
41642         [UNIX98] (pthread_spin_destroy): Likewise.
41643         [UNIX98] (pthread_spin_init): Likewise.
41644         [UNIX98] (pthread_spin_lock): Likewise.
41645         [UNIX98] (pthread_spin_trylock): Likewise.
41646         [UNIX98] (pthread_spin_unlock): Likewise.
41647         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
41648         Do not expect.
41649         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
41650         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
41651         [XPG3 || XPG4] (pthread_cond_t): Likewise.
41652         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
41653         [XPG3 || XPG4] (pthread_key_t): Likewise.
41654         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
41655         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
41656         [XPG3 || XPG4] (pthread_once_t): Likewise.
41657         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
41658         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
41659         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
41660         [XPG3 || XPG4] (pthread_t): Likewise.
41662         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
41663         not expect.
41664         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
41666         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
41667         Change function return type to int.
41669         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
41670         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
41671         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
41672         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
41673         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
41674         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
41675         [!POSIX] (posix_madvise): Likewise.
41676         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
41677         && !UNIX98].
41678         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
41679         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
41680         (mode_t): Likewise.
41681         (posix_mem_offset): Likewise.
41682         (posix_typed_mem_get_info): Likewise.
41683         (posix_typed_mem_open): Likewise.
41685         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
41686         Change condition to [XOPEN2K8].
41688         * conform/conformtest.pl: Preprocess allow-header data with -x c
41689         instead of from stdin.
41690         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
41691         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
41692         [C99-based standards] (cerfc): Likewise.
41693         [C99-based standards] (cexp2): Likewise.
41694         [C99-based standards] (cexpm1): Likewise.
41695         [C99-based standards] (clog10): Likewise.
41696         [C99-based standards] (clog1p): Likewise.
41697         [C99-based standards] (clog2): Likewise.
41698         [C99-based standards] (clgamma): Likewise.
41699         [C99-based standards] (ctgamma): Likewise.
41700         [C99-based standards] (cerff): Likewise.
41701         [C99-based standards] (cerfcf): Likewise.
41702         [C99-based standards] (cexp2f): Likewise.
41703         [C99-based standards] (cexpm1f): Likewise.
41704         [C99-based standards] (clog10f): Likewise.
41705         [C99-based standards] (clog1pf): Likewise.
41706         [C99-based standards] (clog2f): Likewise.
41707         [C99-based standards] (clgammaf): Likewise.
41708         [C99-based standards] (ctgammaf): Likewise.
41709         [C99-based standards] (cerfl): Likewise.
41710         [C99-based standards] (cerfcl): Likewise.
41711         [C99-based standards] (cexp2l): Likewise.
41712         [C99-based standards] (cexpm1l): Likewise.
41713         [C99-based standards] (clog10l): Likewise.
41714         [C99-based standards] (clog1pl): Likewise.
41715         [C99-based standards] (clog2l): Likewise.
41716         [C99-based standards] (clgammal): Likewise.
41717         [C99-based standards] (ctgammal): Likewise.
41718         * conform/data/inttypes.h-data [C99-based standards]: Include
41719         stdint.h-data.  Remove all expectations for stdint.h contents.
41720         [C99-based standards] (PRI*): Do not allow.
41721         [C99-based standards] (SCN*): Likewise.
41722         [C99-based standards] (*_t): Likewise.
41723         [C99-based-standards] (PRId8): Expect macro.
41724         [C99-based-standards] (PRIi8): Likewise.
41725         [C99-based-standards] (PRIo8): Likewise.
41726         [C99-based-standards] (PRIu8): Likewise.
41727         [C99-based-standards] (PRIx8): Likewise.
41728         [C99-based-standards] (PRIX8): Likewise.
41729         [C99-based-standards] (SCNd8): Likewise.
41730         [C99-based-standards] (SCNi8): Likewise.
41731         [C99-based-standards] (SCNo8): Likewise.
41732         [C99-based-standards] (SCNu8): Likewise.
41733         [C99-based-standards] (SCNx8): Likewise.
41734         [C99-based-standards] (PRIdLEAST8): Likewise.
41735         [C99-based-standards] (PRIiLEAST8): Likewise.
41736         [C99-based-standards] (PRIoLEAST8): Likewise.
41737         [C99-based-standards] (PRIuLEAST8): Likewise.
41738         [C99-based-standards] (PRIxLEAST8): Likewise.
41739         [C99-based-standards] (PRIXLEAST8): Likewise.
41740         [C99-based-standards] (SCNdLEAST8): Likewise.
41741         [C99-based-standards] (SCNiLEAST8): Likewise.
41742         [C99-based-standards] (SCNoLEAST8): Likewise.
41743         [C99-based-standards] (SCNuLEAST8): Likewise.
41744         [C99-based-standards] (SCNxLEAST8): Likewise.
41745         [C99-based-standards] (PRIdFAST8): Likewise.
41746         [C99-based-standards] (PRIiFAST8): Likewise.
41747         [C99-based-standards] (PRIoFAST8): Likewise.
41748         [C99-based-standards] (PRIuFAST8): Likewise.
41749         [C99-based-standards] (PRIxFAST8): Likewise.
41750         [C99-based-standards] (PRIXFAST8): Likewise.
41751         [C99-based-standards] (SCNdFAST8): Likewise.
41752         [C99-based-standards] (SCNiFAST8): Likewise.
41753         [C99-based-standards] (SCNoFAST8): Likewise.
41754         [C99-based-standards] (SCNuFAST8): Likewise.
41755         [C99-based-standards] (SCNxFAST8): Likewise.
41756         [C99-based-standards] (PRId16): Likewise.
41757         [C99-based-standards] (PRIi16): Likewise.
41758         [C99-based-standards] (PRIo16): Likewise.
41759         [C99-based-standards] (PRIu16): Likewise.
41760         [C99-based-standards] (PRIx16): Likewise.
41761         [C99-based-standards] (PRIX16): Likewise.
41762         [C99-based-standards] (SCNd16): Likewise.
41763         [C99-based-standards] (SCNi16): Likewise.
41764         [C99-based-standards] (SCNo16): Likewise.
41765         [C99-based-standards] (SCNu16): Likewise.
41766         [C99-based-standards] (SCNx16): Likewise.
41767         [C99-based-standards] (PRIdLEAST16): Likewise.
41768         [C99-based-standards] (PRIiLEAST16): Likewise.
41769         [C99-based-standards] (PRIoLEAST16): Likewise.
41770         [C99-based-standards] (PRIuLEAST16): Likewise.
41771         [C99-based-standards] (PRIxLEAST16): Likewise.
41772         [C99-based-standards] (PRIXLEAST16): Likewise.
41773         [C99-based-standards] (SCNdLEAST16): Likewise.
41774         [C99-based-standards] (SCNiLEAST16): Likewise.
41775         [C99-based-standards] (SCNoLEAST16): Likewise.
41776         [C99-based-standards] (SCNuLEAST16): Likewise.
41777         [C99-based-standards] (SCNxLEAST16): Likewise.
41778         [C99-based-standards] (PRIdFAST16): Likewise.
41779         [C99-based-standards] (PRIiFAST16): Likewise.
41780         [C99-based-standards] (PRIoFAST16): Likewise.
41781         [C99-based-standards] (PRIuFAST16): Likewise.
41782         [C99-based-standards] (PRIxFAST16): Likewise.
41783         [C99-based-standards] (PRIXFAST16): Likewise.
41784         [C99-based-standards] (SCNdFAST16): Likewise.
41785         [C99-based-standards] (SCNiFAST16): Likewise.
41786         [C99-based-standards] (SCNoFAST16): Likewise.
41787         [C99-based-standards] (SCNuFAST16): Likewise.
41788         [C99-based-standards] (SCNxFAST16): Likewise.
41789         [C99-based-standards] (PRId32): Likewise.
41790         [C99-based-standards] (PRIi32): Likewise.
41791         [C99-based-standards] (PRIo32): Likewise.
41792         [C99-based-standards] (PRIu32): Likewise.
41793         [C99-based-standards] (PRIx32): Likewise.
41794         [C99-based-standards] (PRIX32): Likewise.
41795         [C99-based-standards] (SCNd32): Likewise.
41796         [C99-based-standards] (SCNi32): Likewise.
41797         [C99-based-standards] (SCNo32): Likewise.
41798         [C99-based-standards] (SCNu32): Likewise.
41799         [C99-based-standards] (SCNx32): Likewise.
41800         [C99-based-standards] (PRIdLEAST32): Likewise.
41801         [C99-based-standards] (PRIiLEAST32): Likewise.
41802         [C99-based-standards] (PRIoLEAST32): Likewise.
41803         [C99-based-standards] (PRIuLEAST32): Likewise.
41804         [C99-based-standards] (PRIxLEAST32): Likewise.
41805         [C99-based-standards] (PRIXLEAST32): Likewise.
41806         [C99-based-standards] (SCNdLEAST32): Likewise.
41807         [C99-based-standards] (SCNiLEAST32): Likewise.
41808         [C99-based-standards] (SCNoLEAST32): Likewise.
41809         [C99-based-standards] (SCNuLEAST32): Likewise.
41810         [C99-based-standards] (SCNxLEAST32): Likewise.
41811         [C99-based-standards] (PRIdFAST32): Likewise.
41812         [C99-based-standards] (PRIiFAST32): Likewise.
41813         [C99-based-standards] (PRIoFAST32): Likewise.
41814         [C99-based-standards] (PRIuFAST32): Likewise.
41815         [C99-based-standards] (PRIxFAST32): Likewise.
41816         [C99-based-standards] (PRIXFAST32): Likewise.
41817         [C99-based-standards] (SCNdFAST32): Likewise.
41818         [C99-based-standards] (SCNiFAST32): Likewise.
41819         [C99-based-standards] (SCNoFAST32): Likewise.
41820         [C99-based-standards] (SCNuFAST32): Likewise.
41821         [C99-based-standards] (SCNxFAST32): Likewise.
41822         [C99-based-standards] (PRId64): Likewise.
41823         [C99-based-standards] (PRIi64): Likewise.
41824         [C99-based-standards] (PRIo64): Likewise.
41825         [C99-based-standards] (PRIu64): Likewise.
41826         [C99-based-standards] (PRIx64): Likewise.
41827         [C99-based-standards] (PRIX64): Likewise.
41828         [C99-based-standards] (SCNd64): Likewise.
41829         [C99-based-standards] (SCNi64): Likewise.
41830         [C99-based-standards] (SCNo64): Likewise.
41831         [C99-based-standards] (SCNu64): Likewise.
41832         [C99-based-standards] (SCNx64): Likewise.
41833         [C99-based-standards] (PRIdLEAST64): Likewise.
41834         [C99-based-standards] (PRIiLEAST64): Likewise.
41835         [C99-based-standards] (PRIoLEAST64): Likewise.
41836         [C99-based-standards] (PRIuLEAST64): Likewise.
41837         [C99-based-standards] (PRIxLEAST64): Likewise.
41838         [C99-based-standards] (PRIXLEAST64): Likewise.
41839         [C99-based-standards] (SCNdLEAST64): Likewise.
41840         [C99-based-standards] (SCNiLEAST64): Likewise.
41841         [C99-based-standards] (SCNoLEAST64): Likewise.
41842         [C99-based-standards] (SCNuLEAST64): Likewise.
41843         [C99-based-standards] (SCNxLEAST64): Likewise.
41844         [C99-based-standards] (PRIdFAST64): Likewise.
41845         [C99-based-standards] (PRIiFAST64): Likewise.
41846         [C99-based-standards] (PRIoFAST64): Likewise.
41847         [C99-based-standards] (PRIuFAST64): Likewise.
41848         [C99-based-standards] (PRIxFAST64): Likewise.
41849         [C99-based-standards] (PRIXFAST64): Likewise.
41850         [C99-based-standards] (SCNdFAST64): Likewise.
41851         [C99-based-standards] (SCNiFAST64): Likewise.
41852         [C99-based-standards] (SCNoFAST64): Likewise.
41853         [C99-based-standards] (SCNuFAST64): Likewise.
41854         [C99-based-standards] (SCNxFAST64): Likewise.
41855         [C99-based-standards] (PRIdMAX): Likewise.
41856         [C99-based-standards] (PRIiMAX): Likewise.
41857         [C99-based-standards] (PRIoMAX): Likewise.
41858         [C99-based-standards] (PRIuMAX): Likewise.
41859         [C99-based-standards] (PRIxMAX): Likewise.
41860         [C99-based-standards] (PRIXMAX): Likewise.
41861         [C99-based-standards] (SCNdMAX): Likewise.
41862         [C99-based-standards] (SCNiMAX): Likewise.
41863         [C99-based-standards] (SCNoMAX): Likewise.
41864         [C99-based-standards] (SCNuMAX): Likewise.
41865         [C99-based-standards] (SCNxMAX): Likewise.
41866         [C99-based-standards] (PRIdPTR): Likewise.
41867         [C99-based-standards] (PRIiPTR): Likewise.
41868         [C99-based-standards] (PRIoPTR): Likewise.
41869         [C99-based-standards] (PRIuPTR): Likewise.
41870         [C99-based-standards] (PRIxPTR): Likewise.
41871         [C99-based-standards] (PRIXPTR): Likewise.
41872         [C99-based-standards] (SCNdPTR): Likewise.
41873         [C99-based-standards] (SCNiPTR): Likewise.
41874         [C99-based-standards] (SCNoPTR): Likewise.
41875         [C99-based-standards] (SCNuPTR): Likewise.
41876         [C99-based-standards] (SCNxPTR): Likewise.
41877         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
41878         allow.
41879         * conform/data/stdint.h-data: Update comments to clarify
41880         requirements.
41881         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
41882         type.
41883         [C99-based standards] (INT8_MAX): Likewise.
41884         [C99-based standards] (INT16_MIN): Likewise.
41885         [C99-based standards] (INT16_MAX): Likewise.
41886         [C99-based standards] (INT32_MIN): Likewise.
41887         [C99-based standards] (INT32_MAX): Likewise.
41888         [C99-based standards] (INT64_MIN): Likewise.
41889         [C99-based standards] (INT64_MAX): Likewise.
41890         [C99-based standards] (UINT8_MAX): Likewise.
41891         [C99-based standards] (UINT16_MAX): Likewise.
41892         [C99-based standards] (UINT32_MAX): Likewise.
41893         [C99-based standards] (UINT64_MAX): Likewise.
41894         [C99-based standards] (INT_LEAST8_MIN): Likewise.
41895         [C99-based standards] (INT_LEAST8_MAX): Likewise.
41896         [C99-based standards] (INT_LEAST16_MIN): Likewise.
41897         [C99-based standards] (INT_LEAST16_MAX): Likewise.
41898         [C99-based standards] (INT_LEAST32_MIN): Likewise.
41899         [C99-based standards] (INT_LEAST32_MAX): Likewise.
41900         [C99-based standards] (INT_LEAST64_MIN): Likewise.
41901         [C99-based standards] (INT_LEAST64_MAX): Likewise.
41902         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
41903         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
41904         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
41905         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
41906         [C99-based standards] (INT_FAST8_MIN): Likewise.
41907         [C99-based standards] (INT_FAST8_MAX): Likewise.
41908         [C99-based standards] (INT_FAST16_MIN): Likewise.
41909         [C99-based standards] (INT_FAST16_MAX): Likewise.
41910         [C99-based standards] (INT_FAST32_MIN): Likewise.
41911         [C99-based standards] (INT_FAST32_MAX): Likewise.
41912         [C99-based standards] (INT_FAST64_MIN): Likewise.
41913         [C99-based standards] (INT_FAST64_MAX): Likewise.
41914         [C99-based standards] (UINT_FAST8_MAX): Likewise.
41915         [C99-based standards] (UINT_FAST16_MAX): Likewise.
41916         [C99-based standards] (UINT_FAST32_MAX): Likewise.
41917         [C99-based standards] (UINT_FAST64_MAX): Likewise.
41918         [C99-based standards] (INTPTR_MIN): Likewise.
41919         [C99-based standards] (INTPTR_MAX): Likewise.
41920         [C99-based standards] (UINTPTR_MAX): Likewise.
41921         [C99-based standards] (INTMAX_MIN): Likewise.
41922         [C99-based standards] (INTMAX_MAX): Likewise.
41923         [C99-based standards] (UINTMAX_MAX): Likewise.
41924         [C99-based standards] (PTRDIFF_MIN): Likewise.
41925         [C99-based standards] (PTRDIFF_MAX): Likewise.
41926         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
41927         [C99-based standards] (SIZE_MAX): Likewise.
41928         [C99-based standards] (WCHAR_MAX): Likewise.
41929         [C99-based standards] (WINT_MAX): Likewise.
41930         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
41931         constraint on value.
41932         [C99-based standards] (WCHAR_MIN): Likewise.
41933         [C99-based standards] (WINT_MIN): Likewise.
41934         [C99-based standards] (*_t): Allow.
41935         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
41936         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
41937         Include math.h-data and complex.h-data.  Remove all expectations
41938         of math.h and complex.h contents.
41939         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
41940         at end of line.
41941         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
41942         (struct tm): Expect tag.
41943         [C99-based-standards] (wcstof): Expect function.
41944         [C99-based-standards] (wcstold): Likewise.
41945         [C99-based-standards] (wcstoll): Likewise.
41946         [C99-based-standards] (wcstoull): Likewise.
41947         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
41948         macro-int-constant.  Specify type.
41949         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
41950         constraint on value.
41951         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
41952         Specify type.
41953         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
41954         Specify value.
41955         [ISO C standards]: Do not allow headers.
41956         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
41957         wcs[abcdefghijklmnopqrstuvwxyz]*.
41958         [ISO C standards] (*_t): Do not allow.
41959         * conform/data/wctype.h-data [C99-based standards] (iswblank):
41960         Expect function.
41961         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
41962         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
41963         Specify type.
41964         [ISO C standards]: Do not allow headers.
41965         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
41966         is[abcdefghijklmnopqrstuvwxyz]*.
41967         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
41968         to[abcdefghijklmnopqrstuvwxyz]*.
41969         [ISO C standards] (*_t): Do not allow.
41970         * conform/data/stdalign.h-data: New file.
41971         * conform/data/stdbool.h-data: Likewise.
41972         * conform/data/stdnoreturn.h-data: Likewise.
41974 2012-11-07  Roland McGrath  <roland@hack.frob.com>
41976         [BZ #14815]
41977         * manual/filesys.texi (Directory Entries): Typo fix.
41978         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
41980 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41982         * elf/elf.h (EM_AARCH64): New macro.
41983         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
41984         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
41985         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
41986         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
41987         (R_AARCH64_TLSDESC): Likewise.
41988         (NT_ARM_TLS): Likewise.
41989         (NT_ARM_HW_BREAK): Likewise.
41990         (NT_ARM_HW_WATCH): Likewise.
41992 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41994         [BZ #14811]
41995         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
41996         (__ieee754_powl): Saturate nonzero exponents with absolute value
41997         below 0x1p-79 to +/- 0x1p-79.
41998         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
41999         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
42000         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
42001         nonzero exponents with absolute value below 0x1p-32 to +/-
42002         0x1p-32.
42003         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
42004         (__ieee754_powl): Saturate nonzero exponents with absolute value
42005         below 0x1p-79 to +/- 0x1p-79.
42006         * math/libm-test.inc (pow_test): Add more tests.
42008 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42010         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
42011         _dl_s390_cap_flags with kernel. Increase string length.
42012         (_dl_s390_platforms): Add z196 and zEC12.
42014 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42016         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
42017         Change XOPEN21K to XOPEN2K.
42019 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
42021         * string/memmove.c: Use memcpy when possible.
42023 2012-11-06  Andreas Jaeger  <aj@suse.de>
42025         * po/eo.po: Update from translation team.
42027 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
42029         [BZ #14793]
42030         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
42031         exponent and small x and y exponents, scale x or y up.  Increase
42032         by 2 the exponent used in scaling up.
42033         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42034         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42035         * math/libm-test.inc (fma_test): Add more tests.
42036         (fma_test_towardzero): Likewise.
42037         (fma_test_downward): Likewise.
42038         (fma_test_upward): Likewise.
42040 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
42042         [BZ #14805]
42043         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
42044         fenv_t *.
42046         [BZ #14801]
42047         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
42048         namespace for names of struct fields.
42049         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
42050         fenv_t fields.
42051         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
42052         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
42054 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42056         [BZ #3665]
42057         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
42059 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42061         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
42062         PTR_DEMANGLE.
42064         [BZ #5246]
42065         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
42066         PTR_DEMANGLE.
42068 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
42070         [BZ #14797]
42071         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
42072         definitely overflow as x * y not x * y + z.
42073         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42074         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42075         * math/libm-test.inc (fma_test): Add more tests.
42076         (fma_test_towardzero): Likewise.
42077         (fma_test_downward): Likewise.
42078         (fma_test_upward): Likewise.
42080 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42082         [BZ #157]
42084         * include/stub-tag.h: Remove file.
42085         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
42086         '#include' of it.
42087         * manual/maint.texi (Porting): Don't reference it.
42088         * Makerules ($(objpfx)stubs): Likewise.
42089         * dirent/closedir.c: Don't include <stub-tag.h>.
42090         * dirent/dirfd.c: Likewise.
42091         * dirent/fdopendir.c: Likewise.
42092         * dirent/getdents.c: Likewise.
42093         * dirent/getdents64.c: Likewise.
42094         * dirent/opendir.c: Likewise.
42095         * dirent/readdir.c: Likewise.
42096         * dirent/readdir64.c: Likewise.
42097         * dirent/readdir64_r.c: Likewise.
42098         * dirent/readdir_r.c: Likewise.
42099         * dirent/rewinddir.c: Likewise.
42100         * dirent/seekdir.c: Likewise.
42101         * dirent/telldir.c: Likewise.
42102         * gmon/profil.c: Likewise.
42103         * grp/setgroups.c: Likewise.
42104         * inet/if_index.c: Likewise.
42105         * io/access.c: Likewise.
42106         * io/chdir.c: Likewise.
42107         * io/chmod.c: Likewise.
42108         * io/chown.c: Likewise.
42109         * io/close.c: Likewise.
42110         * io/dup.c: Likewise.
42111         * io/dup2.c: Likewise.
42112         * io/dup3.c: Likewise.
42113         * io/euidaccess.c: Likewise.
42114         * io/faccessat.c: Likewise.
42115         * io/fchdir.c: Likewise.
42116         * io/fchmod.c: Likewise.
42117         * io/fchmodat.c: Likewise.
42118         * io/fchown.c: Likewise.
42119         * io/fchownat.c: Likewise.
42120         * io/fcntl.c: Likewise.
42121         * io/flock.c: Likewise.
42122         * io/fstatfs.c: Likewise.
42123         * io/fstatfs64.c: Likewise.
42124         * io/fstatvfs.c: Likewise.
42125         * io/fstatvfs64.c: Likewise.
42126         * io/futimens.c: Likewise.
42127         * io/fxstat.c: Likewise.
42128         * io/fxstat64.c: Likewise.
42129         * io/fxstatat.c: Likewise.
42130         * io/fxstatat64.c: Likewise.
42131         * io/getcwd.c: Likewise.
42132         * io/isatty.c: Likewise.
42133         * io/lchmod.c: Likewise.
42134         * io/lchown.c: Likewise.
42135         * io/link.c: Likewise.
42136         * io/linkat.c: Likewise.
42137         * io/lseek.c: Likewise.
42138         * io/lseek64.c: Likewise.
42139         * io/lxstat64.c: Likewise.
42140         * io/mkdir.c: Likewise.
42141         * io/mkdirat.c: Likewise.
42142         * io/mkfifo.c: Likewise.
42143         * io/mkfifoat.c: Likewise.
42144         * io/open.c: Likewise.
42145         * io/open64.c: Likewise.
42146         * io/openat.c: Likewise.
42147         * io/openat64.c: Likewise.
42148         * io/pipe.c: Likewise.
42149         * io/pipe2.c: Likewise.
42150         * io/poll.c: Likewise.
42151         * io/posix_fadvise.c: Likewise.
42152         * io/posix_fadvise64.c: Likewise.
42153         * io/posix_fallocate.c: Likewise.
42154         * io/posix_fallocate64.c: Likewise.
42155         * io/read.c: Likewise.
42156         * io/readlink.c: Likewise.
42157         * io/readlinkat.c: Likewise.
42158         * io/rmdir.c: Likewise.
42159         * io/sendfile.c: Likewise.
42160         * io/sendfile64.c: Likewise.
42161         * io/statfs.c: Likewise.
42162         * io/statfs64.c: Likewise.
42163         * io/statvfs.c: Likewise.
42164         * io/statvfs64.c: Likewise.
42165         * io/symlink.c: Likewise.
42166         * io/symlinkat.c: Likewise.
42167         * io/ttyname.c: Likewise.
42168         * io/ttyname_r.c: Likewise.
42169         * io/umask.c: Likewise.
42170         * io/unlink.c: Likewise.
42171         * io/unlinkat.c: Likewise.
42172         * io/utime.c: Likewise.
42173         * io/utimensat.c: Likewise.
42174         * io/write.c: Likewise.
42175         * io/xmknod.c: Likewise.
42176         * io/xmknodat.c: Likewise.
42177         * io/xstat.c: Likewise.
42178         * io/xstat64.c: Likewise.
42179         * login/getpt.c: Likewise.
42180         * login/grantpt.c: Likewise.
42181         * login/unlockpt.c: Likewise.
42182         * math/e_acoshl.c: Likewise.
42183         * math/e_acosl.c: Likewise.
42184         * math/e_asinl.c: Likewise.
42185         * math/e_atan2l.c: Likewise.
42186         * math/e_atanhl.c: Likewise.
42187         * math/e_coshl.c: Likewise.
42188         * math/e_expl.c: Likewise.
42189         * math/e_fmodl.c: Likewise.
42190         * math/e_gammal_r.c: Likewise.
42191         * math/e_hypotl.c: Likewise.
42192         * math/e_j0l.c: Likewise.
42193         * math/e_j1l.c: Likewise.
42194         * math/e_jnl.c: Likewise.
42195         * math/e_lgammal_r.c: Likewise.
42196         * math/e_log10l.c: Likewise.
42197         * math/e_log2l.c: Likewise.
42198         * math/e_logl.c: Likewise.
42199         * math/e_powl.c: Likewise.
42200         * math/e_rem_pio2l.c: Likewise.
42201         * math/e_sinhl.c: Likewise.
42202         * math/e_sqrtl.c: Likewise.
42203         * math/fclrexcpt.c: Likewise.
42204         * math/fedisblxcpt.c: Likewise.
42205         * math/feenablxcpt.c: Likewise.
42206         * math/fegetenv.c: Likewise.
42207         * math/fegetexcept.c: Likewise.
42208         * math/fegetround.c: Likewise.
42209         * math/feholdexcpt.c: Likewise.
42210         * math/fesetenv.c: Likewise.
42211         * math/fesetround.c: Likewise.
42212         * math/feupdateenv.c: Likewise.
42213         * math/fgetexcptflg.c: Likewise.
42214         * math/fraiseexcpt.c: Likewise.
42215         * math/fsetexcptflg.c: Likewise.
42216         * math/ftestexcept.c: Likewise.
42217         * math/k_cosl.c: Likewise.
42218         * math/k_rem_pio2l.c: Likewise.
42219         * math/k_sinl.c: Likewise.
42220         * math/k_tanl.c: Likewise.
42221         * math/s_asinhl.c: Likewise.
42222         * math/s_atanl.c: Likewise.
42223         * math/s_cbrtl.c: Likewise.
42224         * math/s_erfl.c: Likewise.
42225         * math/s_expm1l.c: Likewise.
42226         * math/s_log1pl.c: Likewise.
42227         * math/s_tanhl.c: Likewise.
42228         * misc/acct.c: Likewise.
42229         * misc/brk.c: Likewise.
42230         * misc/chflags.c: Likewise.
42231         * misc/chroot.c: Likewise.
42232         * misc/fchflags.c: Likewise.
42233         * misc/fgetxattr.c: Likewise.
42234         * misc/flistxattr.c: Likewise.
42235         * misc/fremovexattr.c: Likewise.
42236         * misc/fsetxattr.c: Likewise.
42237         * misc/fsync.c: Likewise.
42238         * misc/ftruncate.c: Likewise.
42239         * misc/futimes.c: Likewise.
42240         * misc/futimesat.c: Likewise.
42241         * misc/getdomain.c: Likewise.
42242         * misc/getdtsz.c: Likewise.
42243         * misc/gethostid.c: Likewise.
42244         * misc/gethostname.c: Likewise.
42245         * misc/getloadavg.c: Likewise.
42246         * misc/getpagesize.c: Likewise.
42247         * misc/getsysstats.c: Likewise.
42248         * misc/getxattr.c: Likewise.
42249         * misc/gtty.c: Likewise.
42250         * misc/ioctl.c: Likewise.
42251         * misc/lgetxattr.c: Likewise.
42252         * misc/listxattr.c: Likewise.
42253         * misc/llistxattr.c: Likewise.
42254         * misc/lremovexattr.c: Likewise.
42255         * misc/lsetxattr.c: Likewise.
42256         * misc/lutimes.c: Likewise.
42257         * misc/madvise.c: Likewise.
42258         * misc/mincore.c: Likewise.
42259         * misc/mlock.c: Likewise.
42260         * misc/mlockall.c: Likewise.
42261         * misc/mmap.c: Likewise.
42262         * misc/mprotect.c: Likewise.
42263         * misc/msync.c: Likewise.
42264         * misc/munlock.c: Likewise.
42265         * misc/munlockall.c: Likewise.
42266         * misc/munmap.c: Likewise.
42267         * misc/preadv.c: Likewise.
42268         * misc/preadv64.c: Likewise.
42269         * misc/ptrace.c: Likewise.
42270         * misc/pwritev.c: Likewise.
42271         * misc/pwritev64.c: Likewise.
42272         * misc/readv.c: Likewise.
42273         * misc/reboot.c: Likewise.
42274         * misc/remap_file_pages.c: Likewise.
42275         * misc/removexattr.c: Likewise.
42276         * misc/revoke.c: Likewise.
42277         * misc/select.c: Likewise.
42278         * misc/setdomain.c: Likewise.
42279         * misc/setegid.c: Likewise.
42280         * misc/seteuid.c: Likewise.
42281         * misc/sethostid.c: Likewise.
42282         * misc/sethostname.c: Likewise.
42283         * misc/setregid.c: Likewise.
42284         * misc/setreuid.c: Likewise.
42285         * misc/setxattr.c: Likewise.
42286         * misc/sstk.c: Likewise.
42287         * misc/stty.c: Likewise.
42288         * misc/swapoff.c: Likewise.
42289         * misc/swapon.c: Likewise.
42290         * misc/sync.c: Likewise.
42291         * misc/syncfs.c: Likewise.
42292         * misc/syscall.c: Likewise.
42293         * misc/truncate.c: Likewise.
42294         * misc/ualarm.c: Likewise.
42295         * misc/usleep.c: Likewise.
42296         * misc/ustat.c: Likewise.
42297         * misc/utimes.c: Likewise.
42298         * misc/vhangup.c: Likewise.
42299         * misc/writev.c: Likewise.
42300         * posix/_exit.c: Likewise.
42301         * posix/alarm.c: Likewise.
42302         * posix/execve.c: Likewise.
42303         * posix/fexecve.c: Likewise.
42304         * posix/fork.c: Likewise.
42305         * posix/fpathconf.c: Likewise.
42306         * posix/getaddrinfo.c: Likewise.
42307         * posix/getegid.c: Likewise.
42308         * posix/geteuid.c: Likewise.
42309         * posix/getgid.c: Likewise.
42310         * posix/getgroups.c: Likewise.
42311         * posix/getlogin.c: Likewise.
42312         * posix/getlogin_r.c: Likewise.
42313         * posix/getpgid.c: Likewise.
42314         * posix/getpid.c: Likewise.
42315         * posix/getppid.c: Likewise.
42316         * posix/getresgid.c: Likewise.
42317         * posix/getresuid.c: Likewise.
42318         * posix/getsid.c: Likewise.
42319         * posix/getuid.c: Likewise.
42320         * posix/glob64.c: Likewise.
42321         * posix/nanosleep.c: Likewise.
42322         * posix/pathconf.c: Likewise.
42323         * posix/pause.c: Likewise.
42324         * posix/posix_madvise.c: Likewise.
42325         * posix/pread.c: Likewise.
42326         * posix/pread64.c: Likewise.
42327         * posix/pwrite.c: Likewise.
42328         * posix/pwrite64.c: Likewise.
42329         * posix/sched_getaffinity.c: Likewise.
42330         * posix/sched_getp.c: Likewise.
42331         * posix/sched_gets.c: Likewise.
42332         * posix/sched_primax.c: Likewise.
42333         * posix/sched_primin.c: Likewise.
42334         * posix/sched_rr_gi.c: Likewise.
42335         * posix/sched_setaffinity.c: Likewise.
42336         * posix/sched_setp.c: Likewise.
42337         * posix/sched_sets.c: Likewise.
42338         * posix/sched_yield.c: Likewise.
42339         * posix/setgid.c: Likewise.
42340         * posix/setlogin.c: Likewise.
42341         * posix/setpgid.c: Likewise.
42342         * posix/setresgid.c: Likewise.
42343         * posix/setresuid.c: Likewise.
42344         * posix/setsid.c: Likewise.
42345         * posix/setuid.c: Likewise.
42346         * posix/sleep.c: Likewise.
42347         * posix/spawni.c: Likewise.
42348         * posix/sysconf.c: Likewise.
42349         * posix/times.c: Likewise.
42350         * posix/wait.c: Likewise.
42351         * posix/wait3.c: Likewise.
42352         * posix/wait4.c: Likewise.
42353         * posix/waitpid.c: Likewise.
42354         * resolv/gai_sigqueue.c: Likewise.
42355         * resource/getpriority.c: Likewise.
42356         * resource/getrlimit.c: Likewise.
42357         * resource/getrusage.c: Likewise.
42358         * resource/nice.c: Likewise.
42359         * resource/setpriority.c: Likewise.
42360         * resource/setrlimit.c: Likewise.
42361         * resource/ulimit.c: Likewise.
42362         * rt/aio_cancel.c: Likewise.
42363         * rt/aio_fsync.c: Likewise.
42364         * rt/aio_read.c: Likewise.
42365         * rt/aio_sigqueue.c: Likewise.
42366         * rt/aio_suspend.c: Likewise.
42367         * rt/aio_write.c: Likewise.
42368         * rt/clock_getres.c: Likewise.
42369         * rt/clock_gettime.c: Likewise.
42370         * rt/clock_nanosleep.c: Likewise.
42371         * rt/clock_settime.c: Likewise.
42372         * rt/lio_listio.c: Likewise.
42373         * rt/mq_close.c: Likewise.
42374         * rt/mq_getattr.c: Likewise.
42375         * rt/mq_notify.c: Likewise.
42376         * rt/mq_open.c: Likewise.
42377         * rt/mq_receive.c: Likewise.
42378         * rt/mq_send.c: Likewise.
42379         * rt/mq_setattr.c: Likewise.
42380         * rt/mq_timedreceive.c: Likewise.
42381         * rt/mq_timedsend.c: Likewise.
42382         * rt/mq_unlink.c: Likewise.
42383         * rt/shm_open.c: Likewise.
42384         * rt/shm_unlink.c: Likewise.
42385         * rt/timer_create.c: Likewise.
42386         * rt/timer_delete.c: Likewise.
42387         * rt/timer_getoverr.c: Likewise.
42388         * rt/timer_gettime.c: Likewise.
42389         * rt/timer_settime.c: Likewise.
42390         * setjmp/__longjmp.c: Likewise.
42391         * setjmp/setjmp.c: Likewise.
42392         * signal/kill.c: Likewise.
42393         * signal/killpg.c: Likewise.
42394         * signal/raise.c: Likewise.
42395         * signal/sigaction.c: Likewise.
42396         * signal/sigaltstack.c: Likewise.
42397         * signal/sigblock.c: Likewise.
42398         * signal/sigignore.c: Likewise.
42399         * signal/sigintr.c: Likewise.
42400         * signal/signal.c: Likewise.
42401         * signal/sigpause.c: Likewise.
42402         * signal/sigpending.c: Likewise.
42403         * signal/sigqueue.c: Likewise.
42404         * signal/sigreturn.c: Likewise.
42405         * signal/sigset.c: Likewise.
42406         * signal/sigsetmask.c: Likewise.
42407         * signal/sigstack.c: Likewise.
42408         * signal/sigsuspend.c: Likewise.
42409         * signal/sigtimedwait.c: Likewise.
42410         * signal/sigvec.c: Likewise.
42411         * signal/sigwait.c: Likewise.
42412         * signal/sigwaitinfo.c: Likewise.
42413         * signal/sysv_signal.c: Likewise.
42414         * socket/accept.c: Likewise.
42415         * socket/accept4.c: Likewise.
42416         * socket/bind.c: Likewise.
42417         * socket/connect.c: Likewise.
42418         * socket/getpeername.c: Likewise.
42419         * socket/getsockname.c: Likewise.
42420         * socket/getsockopt.c: Likewise.
42421         * socket/isfdtype.c: Likewise.
42422         * socket/listen.c: Likewise.
42423         * socket/recv.c: Likewise.
42424         * socket/recvfrom.c: Likewise.
42425         * socket/recvmsg.c: Likewise.
42426         * socket/send.c: Likewise.
42427         * socket/sendmsg.c: Likewise.
42428         * socket/sendto.c: Likewise.
42429         * socket/setsockopt.c: Likewise.
42430         * socket/shutdown.c: Likewise.
42431         * socket/sockatmark.c: Likewise.
42432         * socket/socket.c: Likewise.
42433         * socket/socketpair.c: Likewise.
42434         * stdio-common/ctermid.c: Likewise.
42435         * stdio-common/cuserid.c: Likewise.
42436         * stdio-common/remove.c: Likewise.
42437         * stdio-common/rename.c: Likewise.
42438         * stdio-common/renameat.c: Likewise.
42439         * stdio-common/tempname.c: Likewise.
42440         * stdlib/getcontext.c: Likewise.
42441         * stdlib/makecontext.c: Likewise.
42442         * stdlib/setcontext.c: Likewise.
42443         * stdlib/swapcontext.c: Likewise.
42444         * stdlib/system.c: Likewise.
42445         * streams/fattach.c: Likewise.
42446         * streams/fdetach.c: Likewise.
42447         * streams/getmsg.c: Likewise.
42448         * streams/getpmsg.c: Likewise.
42449         * streams/putmsg.c: Likewise.
42450         * streams/putpmsg.c: Likewise.
42451         * sysdeps/unix/bsd/getpt.c: Likewise.
42452         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
42453         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
42454         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42456         Likewise.
42457         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
42458         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42459         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
42460         * sysvipc/msgctl.c: Likewise.
42461         * sysvipc/msgget.c: Likewise.
42462         * sysvipc/msgrcv.c: Likewise.
42463         * sysvipc/msgsnd.c: Likewise.
42464         * sysvipc/semctl.c: Likewise.
42465         * sysvipc/semget.c: Likewise.
42466         * sysvipc/semop.c: Likewise.
42467         * sysvipc/semtimedop.c: Likewise.
42468         * sysvipc/shmat.c: Likewise.
42469         * sysvipc/shmctl.c: Likewise.
42470         * sysvipc/shmdt.c: Likewise.
42471         * sysvipc/shmget.c: Likewise.
42472         * termios/tcdrain.c: Likewise.
42473         * termios/tcflow.c: Likewise.
42474         * termios/tcflush.c: Likewise.
42475         * termios/tcgetattr.c: Likewise.
42476         * termios/tcgetpgrp.c: Likewise.
42477         * termios/tcsendbrk.c: Likewise.
42478         * termios/tcsetattr.c: Likewise.
42479         * termios/tcsetpgrp.c: Likewise.
42480         * time/adjtime.c: Likewise.
42481         * time/clock.c: Likewise.
42482         * time/getitimer.c: Likewise.
42483         * time/gettimeofday.c: Likewise.
42484         * time/setitimer.c: Likewise.
42485         * time/settimeofday.c: Likewise.
42486         * time/stime.c: Likewise.
42487         * time/time.c: Likewise.
42489 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
42491         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
42492         /usr/old/bin.
42494         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
42495         instead of spaces.
42496         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
42498 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
42500         [BZ #14796]
42501         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
42502         FE_TONEAREST before applying Dekker multiplication and Knuth
42503         addition.  Clear inexact exceptions and check for exact zero
42504         results afterwards.
42505         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42506         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42507         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42508         * math/libm-test.inc (fma_test): Add more tests.
42509         (fma_test_towardzero): Likewise.
42510         (fma_test_downward): Likewise.
42511         (fma_test_upward): Likewise.
42512         * sysdeps/generic/math_private.h (default_libc_fesetround): New
42513         function.
42514         (libc_fesetround): New macro.
42515         (libc_fesetroundf): Likewise.
42516         (libc_fesetroundl): Likewise.
42517         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
42518         function.
42519         (libc_fesetround_387): Likewise.
42520         (libc_fesetroundf): New macro.
42521         (libc_fesetround): Likewise.
42522         (libc_fesetroundl): Likewise.
42523         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
42524         function.
42525         (libc_fesetroundf): New macro.
42526         (libc_fesetround): Likewise.
42527         (libc_fesetroundl): Likewise.
42528         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
42529         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
42530         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
42531         libm_hidden_ver.
42532         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
42533         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
42534         libm_hidden_def.
42535         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
42536         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
42537         libm_hidden_ver.
42538         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
42539         libm_hidden_def.
42541         [BZ #3439]
42542         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
42543         integer constant usable in #if and use that to give value to enum
42544         constant.
42545         (FE_DIVBYZERO): Likewise.
42546         (FE_UNDERFLOW): Likewise.
42547         (FE_OVERFLOW): Likewise.
42548         (FE_INVALID): Likewise.
42549         (FE_INVALID_SNAN): Likewise.
42550         (FE_INVALID_ISI): Likewise.
42551         (FE_INVALID_IDI): Likewise.
42552         (FE_INVALID_ZDZ): Likewise.
42553         (FE_INVALID_IMZ): Likewise.
42554         (FE_INVALID_COMPARE): Likewise.
42555         (FE_INVALID_SOFTWARE): Likewise.
42556         (FE_INVALID_SQRT): Likewise.
42557         (FE_INVALID_INTEGER_CONVERSION): Likewise.
42558         (FE_TONEAREST): Likewise.
42559         (FE_TOWARDZERO): Likewise.
42560         (FE_UPWARD): Likewise.
42561         (FE_DOWNWARD): Likewise.
42562         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
42563         (FE_DIVBYZERO): Likewise.
42564         (FE_OVERFLOW): Likewise.
42565         (FE_UNDERFLOW): Likewise.
42566         (FE_INEXACT): Likewise.
42567         (FE_TONEAREST): Likewise.
42568         (FE_DOWNWARD): Likewise.
42569         (FE_UPWARD): Likewise.
42570         (FE_TOWARDZERO): Likewise.
42571         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
42572         (FE_UNDERFLOW): Likewise.
42573         (FE_OVERFLOW): Likewise.
42574         (FE_DIVBYZERO): Likewise.
42575         (FE_INVALID): Likewise.
42576         (FE_TONEAREST): Likewise.
42577         (FE_TOWARDZERO): Likewise.
42578         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
42579         (FE_OVERFLOW): Likewise.
42580         (FE_UNDERFLOW): Likewise.
42581         (FE_DIVBYZERO): Likewise.
42582         (FE_INEXACT): Likewise.
42583         (FE_TONEAREST): Likewise.
42584         (FE_TOWARDZERO): Likewise.
42585         (FE_UPWARD): Likewise.
42586         (FE_DOWNWARD): Likewise.
42587         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
42588         (FE_DIVBYZERO): Likewise.
42589         (FE_OVERFLOW): Likewise.
42590         (FE_UNDERFLOW): Likewise.
42591         (FE_INEXACT): Likewise.
42592         (FE_TONEAREST): Likewise.
42593         (FE_DOWNWARD): Likewise.
42594         (FE_UPWARD): Likewise.
42595         (FE_TOWARDZERO): Likewise.
42597 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
42599         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
42601 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
42603         * scripts/cross-test-ssh.sh (command): Use newlines to separate
42604         commands.  Quote $PWD.
42605         (blacklist_exports): Don't use remove_newlines.  Replace "declare
42606         -x" by "export".
42607         (remove_newlines): Remove.
42609 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
42611         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
42612         * stdlib/stdlib.h (atof): Moved to ...
42613         * include/bits/stdlib-float.h: Here.  New file.
42614         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
42615         * stdlib/bits/stdlib-float.h: New file.
42616         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
42617         -mno-sse -mno-mmx.
42618         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
42619         <xmmintrin.h>.
42621 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
42623         * conform/conformtest.pl (@headers): Add fenv.h.
42624         * conform/data/fenv.h-data: New file.
42625         * include/fenv.h [_ISOMAC]: Disable all contents of file except
42626         include of <math/fenv.h>.
42628         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
42629         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
42630         && !UNIX98].  Enables tests for XOPEN2K8.
42631         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
42632         POSIX2008]: Likewise.
42634         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
42635         (struct rusage): Do not expect type or its members.
42637         [BZ #3439]
42638         * math/math.h (FP_NAN): Define macro to integer constant usable in
42639         #if and use that to give value to enum constant.
42640         (FP_INFINITE): Likewise.
42641         (FP_ZERO): Likewise.
42642         (FP_SUBNORMAL): Likewise.
42643         (FP_NORMAL): Likewise.
42645 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
42647         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
42648         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
42649         arguments.
42651 2012-11-02  Roland McGrath  <roland@hack.frob.com>
42653         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
42654         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
42655         autoconf-time if not.
42656         * configure.in: Remove AC_PREREQ.
42658 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42660         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
42661         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
42662         of the internal implementation.
42664 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
42666         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
42667         except include of <misc/sys/syslog.h>.
42669 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
42672         function returns with a NULL context exit with zero.
42674 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42676         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
42678 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
42680         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
42681         (run_program_cmd): This.
42682         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
42683         (tst_langinfo): New variable.  Use it.
42685 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
42687         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
42688         floating point opcodes.
42690 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42692         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
42693         variable.
42695         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
42697         * sysdeps/mach/hurd/powerpc: Remove directory.
42698         * sysdeps/mach/powerpc: Likewise.
42700 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42702         * scripts/check-local-headers.sh: Ignore c++ headers.
42704 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42706         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
42707         __libc_cleanup_region_start argument.
42709 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
42711         [BZ #14784]
42712         [BZ #14785]
42713         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
42714         x * y using scaling, not as x * y + z.
42715         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42716         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42717         * math/libm-test.inc (fma_test): Add more tests.
42718         (fma_test_towardzero): Likewise.
42719         (fma_test_downward): Likewise.
42720         (fma_test_upward): Likewise.
42722 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42724         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
42726 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
42728         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
42729         New variable.
42731 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
42733         * rt/tst-shm.c (worker): Correct checking for mmap failure.
42735 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
42737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42738         Fix sort order.
42739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42740         Likewise.
42742 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42745         Fix the order of the list for glibc 2.17.
42746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42747         Likewise.
42749 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
42751         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42753 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
42755         [BZ #14610]
42756         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
42757         for low part of x being zero before using __atanl (y).
42758         * math/libm-test.inc (atan2_test): Add another test.
42760         * manual/install.texi (Configuring and compiling): Document
42761         general use of test-wrapper and test-wrapper-env.
42762         * INSTALL: Regenerated.
42764         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
42765         (__fma): Do not extract and scale down low bits on after-rounding
42766         systems when result rounded to normal precision would have normal
42767         exponent.
42768         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
42769         (__fmal): Do not extract and scale down low bits on after-rounding
42770         systems when result rounded to normal precision would have normal
42771         exponent.
42772         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
42773         (__fmal): Do not extract and scale down low bits on after-rounding
42774         systems when result rounded to normal precision would have normal
42775         exponent.
42776         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
42777         macro.
42778         (fma_test): Add more tests.
42779         (fma_test_towardzero): Likewise.
42780         (fma_test_downward): Likewise.
42781         (fma_test_upward): Likewise.
42783 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
42785         * sysdeps/i386/tininess.h: Renamed to ...
42786         * sysdeps/x86/tininess.h: This.
42787         * sysdeps/x86_64/tininess.h: Removed.
42789 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
42791         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
42792         input.  Use $(build-program-cmd).
42793         ($(objpfx)tst-array1-static.out): Likewise.
42794         ($(objpfx)tst-array2.out): Likewise.
42795         ($(objpfx)tst-array3.out): Likewise.
42796         ($(objpfx)tst-array4.out): Likewise.
42797         ($(objpfx)tst-array5.out): Likewise.
42798         ($(objpfx)tst-array5-static.out): Likewise.
42800 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
42802         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
42803         if defined.
42805         * nss/nsswitch.h (nss_interface_function): Provide new
42806         macro for use with NSS functions.
42807         * grp/initgroups.c: Use new macro.
42808         * nss/getXXbyYY.c: Likewise.
42809         * nss/getXXbyYY_r.c: Likewise.
42810         * nss/getXXent.c: Likewise.
42811         * nss/getXXent_r.c: Likewise.
42812         * sysdeps/posix/getaddrinfo.c: Likewise.
42814 2012-10-30  Andreas Jaeger  <aj@suse.de>
42816         * po/ru.po: Update Russion translation from translation project.
42818 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
42820         [BZ #14152]
42821         [BZ #14783]
42822         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
42823         result and shift together with sticky bit instead of replicating
42824         round-to-nearest rounding.
42825         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42826         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42827         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
42828         missing underflow exceptions.
42829         (fma_test_towardzero): Add more tests.
42830         (fma_test_downward): Likewise.
42831         (fma_test_upward): Likewise.
42833         [BZ #14047]
42834         * sysdeps/generic/tininess.h: New file.
42835         * sysdeps/i386/tininess.h: Likewise.
42836         * sysdeps/sh/tininess.h: Likewise.
42837         * sysdeps/x86_64/tininess.h: Likewise.
42838         * stdlib/tst-strtod-underflow.c: Likewise.
42839         * stdlib/tst-tininess.c: Likewise.
42840         * stdlib/strtod_l.c: Include <tininess.h>.
42841         (round_and_return): Do not set errno for exact underflow cases.
42842         Force an underflow exception when setting errno for underflow.
42843         Determine underflow based on rounding to normal precision if
42844         TININESS_AFTER_ROUNDING.
42845         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
42846         ERANGE for exact underflow cases.
42847         * stdlib/Makefile (tests): Add tst-tininess and
42848         tst-strtod-underflow.
42849         ($(objpfx)tst-tininess): Use $(link-libm).
42850         ($(objpfx)tst-strtod-underflow): Likewise.
42852 2012-10-30  Andreas Jaeger  <aj@suse.de>
42854         [BZ#14767]
42855         * elf/Makefile (tests): Remove conditional for have-initfini-array
42856         since this is now always required and the variable does not exist
42857         anymore.
42858         (tests-static): Likewise.
42859         (modules-names): Likewise.
42861         * po/eo.po: Add Esperanto translation from translation project.
42863         * elf/tst-array1.c (fini_array): Make writeable so that it can be
42864         merged with constructor/destructor.
42865         (init_array): Likewise.
42866         * elf/tst-array2dep.c (fini_array): Likewise.
42867         (init_array): Likewise.
42869 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
42871         * manual/message.texi: Delete @cartouche tags.
42873 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
42875         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
42876         EOPNOTSUPP.
42877         * sysdeps/mach/hurd/fsync.c: Likewise.
42879         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
42880         [_POSIX_REALTIME_SIGNALS]: Change condition to
42881         [_POSIX_REALTIME_SIGNALS > 0].
42883 2012-10-27  Andreas Jaeger  <aj@suse.de>
42885         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
42886         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
42887         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
42888         [__WORDSIZE != 64]: Likewise.
42890 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
42892         *  iconvdata/tst-table.sh: Remove ${SHELL}.
42893         *  iconvdata/tst-tables.sh: Likewise.
42895 2012-10-25  David S. Miller  <davem@davemloft.net>
42897         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42898         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
42899         of strtoull.
42901         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
42902         ifunc-impl-list.c
42903         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42904         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
42905         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
42906         file.
42908 2012-10-25  Roland McGrath  <roland@hack.frob.com>
42910         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42911         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
42912         __getdirentries.
42914 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
42915             Jim Blandy  <jimb@codesourcery.com>
42917         * scripts/cross-test-ssh.sh: New file.
42918         * manual/install.texi (Configuring and compiling): Document use of
42919         cross-test-ssh.sh.
42920         * INSTALL: Regenerated.
42922 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
42924         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
42925         EOPNOTSUPP.
42927 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
42929         * Makeconfig (run-program-prefix): Fix comment.
42931 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
42932             Jim Blandy  <jimb@codesourcery.com>
42934         * Makeconfig (test-wrapper): New variable,
42935         (test-wrapper-env): Likewise.
42936         [$(cross-compiling) = yes && $(test-wrapper) != ""]
42937         (run-built-tests): Define to yes.
42938         (run-program-prefix): Use $(test-wrapper).
42939         (built-program-cmd): Likewise.
42940         * Rules (make-test-out): Use $(test-wrapper-env) and
42941         $(host-built-program-cmd).
42942         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
42943         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
42944         tst-pathopt.sh.
42945         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
42946         $(test-wrapper-env) to tst-rtld-load-self.sh.
42947         ($(objpfx)order2.out): Use $(test-wrapper).
42948         ($(objpfx)tst-initorder.out): Likewise.
42949         ($(objpfx)tst-initorder2.out): Likewise.
42950         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
42951         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
42952         (test_wrapper_env): New variable.  Use it to run ld.so.
42953         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
42954         Use it to run ld.so.
42955         (test_wrapper_env): Likewise.
42956         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
42957         $(test-wrapper) to run-iconv-test.sh.
42958         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
42959         (ICONV): Use $test_wrapper.
42960         * posix/Makefile ($(objpfx)globtest.out): Pass
42961         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
42962         globtest.sh, not $(run-program-prefix).
42963         * posix/globtest.sh (run_via_rtld_prefix): New variable.
42964         (test_wrapper): Likewise.
42965         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
42966         set together with run_via_rtld_prefix.
42967         (run_program_prefix): Define in terms of test_wrapper and
42968         run_via_rtld_prefix.
42970 2012-10-24  Roland McGrath  <roland@hack.frob.com>
42972         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
42973         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
42974         Targets removed.
42976         [BZ #14743]
42977         * include/time.h: Remove librt_hidden_proto (clock_gettime).
42978         Declare __clock_getres, __clock_gettime, __clock_settime,
42979         __clock_nanosleep, and __clock_getcpuclockid.
42980         * rt/clock_gettime.c: Define __clock_gettime as an alias.
42981         Remove librt_hidden_def (clock_gettime).
42982         * sysdeps/unix/clock_gettime.c: Likewise.
42983         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
42984         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
42985         * rt/clock_getres.c: Define __clock_getres as an alias.
42986         * sysdeps/posix/clock_getres.c: Likewise.
42987         * rt/clock_settime.c: Define __clock_settime as an alias.
42988         * sysdeps/unix/clock_settime.c: Likewise.
42989         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
42990         * sysdeps/unix/clock_nanosleep.c: Likewise.
42991         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
42992         * rt/clock-compat.c: New file.
42993         * rt/Makefile (librt-routines): Add clock-compat and move
42994         $(clock-routines) to ...
42995         (routines): ... here, new variable.
42996         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
42997         Don't add get_clockfreq here.
42998         * rt/Versions (libc: GLIBC_2.17): New version set.
42999         Add clock_* symbols here.
43000         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
43001         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
43002         (GLIBC_2.17): Add clock_* symbols.
43003         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43004         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43005         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43007         Likewise.
43008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43009         Likewise.
43010         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43011         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43012         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43013         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43014         * NEWS: Mention the move.
43016         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
43017         Use __open, __read, __close rather than their public counterparts.
43018         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43019         (__get_clockfreq_via_cpuinfo): Likewise.
43020         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
43021         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
43023         * config.h.in (HAVE_IFUNC): New #undef.
43024         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
43025         was successful.
43026         * configure: Regenerated.
43028 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43030         * configure.in: Move READELF check to start of file.
43031         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
43032         libc_cv_asm_gnu_indirect_function in the process.
43033         * configure: Regenerated.
43035 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43037         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
43038         send the output to /dev/null.
43039         (libc_cv_cc_with_libunwind): Likewise.
43040         (libc_cv_as_noexecstack): Likewise.
43041         * configure: Regenerate.
43043 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43045         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
43047         * posix/globtest.sh (TMPDIR): Do not set.
43048         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
43049         (testout): Likewise.
43051 2012-10-24  Andreas Jaeger  <aj@suse.de>
43053         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
43054         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
43055         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
43056         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
43057         posix_fadvise64, posix_fallocate64.
43059         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
43060         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
43061         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
43062         Likewise.
43063         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
43064         Likewise.
43065         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
43067         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
43068         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
43069         <bits/fcntl-linux.h>.
43070         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
43072         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
43073         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
43074         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
43075         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
43076         [__WORDSIZE != 64]: Likewise.
43078 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43080         * Makeconfig (run-built-tests): New variable.
43081         * Rules [$(cross-compiling) = yes]: Change condition to
43082         [$(run-built-tests) = no].
43083         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
43084         to [$(run-built-tests) = yes].
43085         * elf/Makefile [$(cross-compiling) = no]: Likewise
43086         * grp/Makefile [$(cross-compiling) = no]: Likewise.
43087         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
43088         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
43089         * intl/Makefile [$(cross-compiling) = no]: Likewise.
43090         * io/Makefile [$(cross-compiling) = no]: Likewise.
43091         * libio/Makefile [$(cross-compiling) = no]: Likewise.
43092         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
43093         * misc/Makefile [$(cross-compiling) = no]: Likewise.
43094         * posix/Makefile [$(cross-compiling) = no]: Likewise.
43095         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
43096         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
43097         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
43098         * string/Makefile [$(cross-compiling) = no]: Likewise.
43100         * posix/Makefile ($(objpfx)globtest.out): Pass
43101         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
43102         $(rtld-installed-name).
43103         * posix/globtest.sh (elf_objpfx): Remove variable.
43104         (rtld_installed_name): Likewise.
43105         (library_path): Likewise.
43106         (run_program_prefix): New variable.  Use for running globtest
43107         binary.
43109 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
43110             Joseph Myers  <joseph@codesourcery.com>
43112         * Makeconfig (host-built-program-cmd): New variable.
43113         * elf/Makefile (tst-stackguard1-ARGS): Use
43114         $(host-built-program-cmd).
43115         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
43116         (tst-spawn-ARGS): Likewise.
43117         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
43119 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43120             Jim Blandy  <jimb@codesourcery.com>
43122         * Makeconfig (run-via-rtld-prefix): New variable.
43123         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
43124         (built-program-cmd): Likewise.
43126 2012-10-22  Andreas Jaeger  <aj@suse.de>
43128         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
43129         __O_RSYNC if it exists, otherwise to O_SYNC.
43131 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
43132             Joseph Myers  <joseph@codesourcery.com>
43134         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
43135         /dev/null.
43136         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
43137         from /dev/null
43138         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
43139         /dev/null.
43141 2012-10-22  Andreas Jaeger  <aj@suse.de>
43143         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
43144         Define always.
43145         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
43147         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43148         bits/fcntl-linux.h.
43150         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
43151         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
43153         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
43154         to __O_LARGEFILE.
43155         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
43156         to __O_LARGEFILE.
43158 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
43159             Joseph Myers  <joseph@codesourcery.com>
43161         * config.make.in (NM): New variable.
43163 2012-10-21  Andreas Jaeger  <aj@suse.de>
43165         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
43166         definitions and declarations that are provided by
43167         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43169 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43171         [BZ #14683]
43172         * elf/Makefile (tests-static): Add tst-leaks1-static.
43173         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
43174         ($(objpfx)tst-leaks1-static): New rule.
43175         ($(objpfx)tst-leaks1-static-mem): Likewise.
43176         (tst-leaks1-static-ENV): New macro.
43177         * elf/dl-open.c (dl_open_worker): Check the main application
43178         only if SHARED is defined.
43179         * elf/tst-leaks1-static.c: New file.
43181 2012-10-20  Andreas Jaeger  <aj@suse.de>
43183         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
43184         generic values for Linux.
43185         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
43186         and declarations that are provided by <bits/fcntl-linux.h> and
43187         include <bits/fcntl-linux.h>.
43188         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43189         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43191 2012-10-20  Roland McGrath  <roland@hack.frob.com>
43193         * io/fcntl.h: Move include of <bits/types.h> to the top and
43194         include it unconditionally.
43196 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43198         * wcsmbs/Makefile (tests-ifunc): New variable.
43199         (tests): Add $(tests-ifunc).
43200         * wcsmbs/test-wcschr-ifunc.c: New file.
43201         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
43202         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
43203         * wcsmbs/test-wcslen-ifunc.c: Likewise.
43204         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
43205         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
43207         * string/Makefile (tests-ifunc): New variable.
43208         (tests): Add $(tests-ifunc).
43209         * string/test-memccpy.c (TEST_NAME): New macro.
43210         * string/test-memchr.c (TEST_NAME): Likewise.
43211         * string/test-memcmp.c (TEST_NAME): Likewise.
43212         * string/test-memcpy.c (TEST_NAME): Likewise.
43213         * string/test-memmem.c (TEST_NAME): Likewise.
43214         * string/test-memmove.c (TEST_NAME): Likewise.
43215         * string/test-memset.c (TEST_NAME): Likewise.
43216         * string/test-rawmemchr.c (TEST_NAME): Likewise.
43217         * string/test-stpcpy.c (TEST_NAME): Likewise.
43218         * string/test-stpncpy.c (TEST_NAME): Likewise.
43219         * string/test-strcasecmp.c (TEST_NAME): Likewise.
43220         * string/test-strcasestr.c (TEST_NAME): Likewise.
43221         * string/test-strcat.c (TEST_NAME): Likewise.
43222         * string/test-strchr.c (TEST_NAME): Likewise.
43223         * string/test-strcmp.c(TEST_NAME): Likewise.
43224         * string/test-strcpy.c (TEST_NAME): Likewise.
43225         * string/test-strcspn.c (TEST_NAME): Likewise.
43226         * string/test-strlen.c (TEST_NAME): Likewise.
43227         * string/test-strncasecmp.c (TEST_NAME): Likewise.
43228         * string/test-strncmp.c (TEST_NAME): Likewise.
43229         * string/test-strncpy.c (TEST_NAME): Likewise.
43230         * string/test-strnlen.c (TEST_NAME): Likewise.
43231         * string/test-strpbrk.c (TEST_NAME): Likewise.
43232         * string/test-strrchr.c (TEST_NAME): Likewise.
43233         * string/test-strspn.c (TEST_NAME): Likewise.
43234         * string/test-strstr.c (TEST_NAME): Likewise.
43235         * string/test-bcopy-ifunc.c: New file.
43236         * string/test-bzero-ifunc.c: Likewise.
43237         * string/test-memccpy-ifunc.c: Likewise.
43238         * string/test-memchr-ifunc.c: Likewise.
43239         * string/test-memcmp-ifunc.c: Likewise.
43240         * string/test-memcpy-ifunc.c: Likewise.
43241         * string/test-memmem-ifunc.c: Likewise.
43242         * string/test-memmove-ifunc.c: Likewise.
43243         * string/test-mempcpy-ifunc.c: Likewise.
43244         * string/test-memset-ifunc.c: Likewise.
43245         * string/test-rawmemchr-ifunc.c: Likewise.
43246         * string/test-stpcpy-ifunc.c: Likewise.
43247         * string/test-stpncpy-ifunc.c: Likewise.
43248         * string/test-strcasecmp-ifunc.c: Likewise.
43249         * string/test-strcasestr-ifunc.c: Likewise.
43250         * string/test-strcat-ifunc.c: Likewise.
43251         * string/test-strchr-ifunc.c: Likewise.
43252         * string/test-strchrnul-ifunc.c: Likewise.
43253         * string/test-strcmp-ifunc.c: Likewise.
43254         * string/test-strcpy-ifunc.c: Likewise.
43255         * string/test-strcspn-ifunc.c: Likewise.
43256         * string/test-strlen-ifunc.c: Likewise.
43257         * string/test-strncasecmp-ifunc.c: Likewise.
43258         * string/test-strncat-ifunc.c: Likewise.
43259         * string/test-strncmp-ifunc.c: Likewise.
43260         * string/test-strncpy-ifunc.c: Likewise.
43261         * string/test-strnlen-ifunc.c: Likewise.
43262         * string/test-strpbrk-ifunc.c: Likewise.
43263         * string/test-strrchr-ifunc.c: Likewise.
43264         * string/test-strspn-ifunc.c: Likewise.
43265         * string/test-strstr-ifunc.c: Likewise.
43267         * debug/Makefile (tests-ifunc): New variable.
43268         (tests): Add $(tests-ifunc).
43269         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
43270         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
43271         * debug/test-stpcpy_chk-ifunc.c: New file.
43272         * debug/test-strcpy_chk-ifunc.c: Likewise.
43274 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43276         [BZ #13601]
43277         * elf/dl-load.c (open_verify): Retry read if the entire ELF
43278         header is not read in.
43280 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
43282         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
43283         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
43284         directly.  Pass built executable to script as
43285         $(built-program-cmd).
43286         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
43287         $testprogram without using LD_LIBRARY_PATH and $ldso.
43289         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
43290         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
43291         $(rtld-installed-name).
43292         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
43293         (rtld_installed_name): Likewise.
43294         (library_path): Likewise.
43295         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
43296         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
43297         $(run-program-prefix) to tst-tables.sh.
43298         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
43299         it to run tst-table-from and tst-table-to.
43300         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
43301         Pass it to tst-table.sh.
43302         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
43303         $(run-program-prefix) to tst-gettext.sh.
43304         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
43305         tst-translit.sh.
43306         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
43307         tst-gettext2.sh.
43308         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
43309         to run tst-gettext.
43310         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
43311         to run tst-gettext2.
43312         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
43313         to run tst-translit.
43314         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
43315         $(run-program-prefix) to tst-mtrace.sh.
43316         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
43317         to run tst-mtrace.
43318         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
43319         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
43320         $(rtld-installed-name).
43321         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
43322         (rtld_installed_name): Likewise.
43323         (run_program_prefix): New variable.  Use it to run wordexp-test.
43325         * Makeconfig (ARCH): Remove all definitions.
43326         (machine): Likewise.
43327         [ARCH]: Remove conditional code.
43328         [!objdir]: Give error.
43329         [!objdir] (objpfx): Remove.
43330         [!objdir] (common-objpfx): Likewise.
43331         [!objdir] (common-objdir): Likewise.
43332         * configure.in (config_makefile): Remove.  Hardcode Makefile in
43333         AC_CONFIG_FILES call.
43334         * configure: Regenerated.
43336         [BZ #13888]
43337         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
43338         or TMPDIR.
43339         (testout): Likewise.
43341         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
43342         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
43343         $(rtld-installed-name).
43344         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
43345         (rtld_installed_name): Likwise.
43346         (runit): Remove function.
43347         (run_getconf): New variable,  Use it for running getconf binary.
43349 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
43351         [BZ #14716]
43352         * string/test-memmem.c (check_result): New function.
43353         (do_one_test): Use it.
43354         (check1): New function.
43355         (test_main): Use it.
43357 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
43359         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
43361 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
43363         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
43364         (_G_LSEEK64): Likewise.
43365         (_G_MMAP64): Likewise.
43366         (_G_FSTAT64): Likewise.
43367         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
43368         (_G_LSEEK64): Likewise.
43369         (_G_MMAP64): Likewise.
43370         (_G_FSTAT64): Likewise.
43371         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
43372         unconditional.  Call __mmap64 directly.
43373         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
43374         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
43375         __lseek64 directly.
43376         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
43377         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
43378         __mmap64 directly.
43379         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
43380         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
43381         __lseek64 directly.
43382         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
43383         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
43384         __lseek64 directly.
43385         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
43386         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
43387         __lseek64 directly.
43388         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
43389         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
43390         __fxstat64 directly.
43391         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
43392         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
43393         unconditional.
43394         (freopen64) [!_G_OPEN64]: Remove conditional code.
43395         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
43396         unconditional.
43397         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
43398         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
43399         unconditional.
43400         (ftello64) [!_G_LSEEK64]: Remove conditional code.
43401         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
43402         unconditional.
43403         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
43404         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
43405         unconditional.
43406         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
43407         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
43408         unconditional.
43409         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
43410         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
43411         unconditional.
43412         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
43413         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
43414         unconditional.
43415         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
43417 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43419         [BZ #12140]
43420         * manual/memory.texi (Malloc Tunable Parameters): Add note
43421         about free list pointers overwriting some perturb bytes.
43422         Wording suggested by Roland McGrath.
43424 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
43426         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
43427         (lgamma_test): Likewise.
43428         (tgamma_test): Likewise.
43430 2012-10-16  Florian Weimer  <fweimer@redhat.com>
43432         [BZ #14700]
43433         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
43434         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
43436 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
43438         * NEWS: Mention BZ #14716.
43439         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
43440         when removing AVAILABLE1_USES_J macro.
43442 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
43444         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
43445         (__bswap_64): __uint64_t for unsigned 64-bit int.
43447 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
43449         * include/string.h (memmem): Declare libc hidden alias.
43450         * string/memmem.c (memmem): Define libc hidden alias.
43451         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
43452         __read, __close instead of open, read, close.
43454 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
43456         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
43457         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
43458         global and hidden.
43459         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
43460         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
43461         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
43462         Likewise.
43463         (__rawmemchr_sse2): Likewise.
43464         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
43465         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
43466         (__strchr_sse2): Likewise.
43467         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
43468         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
43469         (__strcasecmp_sse2): Likewise.
43470         (__strncasecmp_sse2): Likewise.
43471         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
43472         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
43473         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
43474         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
43475         (__strrchr_sse2): Likewise.
43476         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
43477         ifunc-impl-list.c.
43478         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
43479         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
43480         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
43481         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43482         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
43483         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
43484         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43485         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43486         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
43487         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
43488         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
43489         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
43490         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
43491         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
43492         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
43493         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43494         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
43495         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
43496         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
43497         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
43498         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
43499         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
43500         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
43501         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
43502         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
43503         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43504         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
43505         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43506         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
43507         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
43509         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
43510         global and hidden.
43511         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
43512         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
43513         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
43514         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
43515         Likewise.
43516         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
43517         Likewise.
43518         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
43519         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
43520         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
43521         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
43522         ifunc-impl-list.c.
43523         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43524         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43525         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43526         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43527         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43528         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43529         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43530         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43531         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43532         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43533         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43534         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43535         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43536         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
43537         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
43538         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43539         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
43540         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
43541         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43542         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43543         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43544         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43545         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43546         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43547         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43548         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
43549         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
43550         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
43551         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
43552         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43553         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
43554         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43555         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43556         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
43557         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43558         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43559         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43560         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43561         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43562         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43563         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
43565         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
43566         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
43567         * include/ifunc-impl-list.h: New file.
43568         * misc/ifunc-impl-list.c: Likewise.
43569         * misc/Makefile (routines): Add ifunc-impl-list.
43570         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
43571         * string/test-string.h: Include <ifunc-impl-list.h>.
43572         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
43573         TEST_NAME]: New variables.
43574         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
43575         are defined.
43576         (test_init): Call __libc_ifunc_impl_list to initialize
43577         func_list if TEST_IFUNC and TEST_NAME are defined.
43579         * string/Makefile (strop-tests): Add bcopy and bzero.
43580         * string/test-bcopy.c: New file.
43581         * string/test-bzero.c: Likewise.
43582         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
43583         defined.
43584         * string/test-memset.c: Support bzero test if TEST_BZERO is
43585         defined.
43586         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
43587         __libc_memmove.
43588         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
43589         __libc_memset.
43590         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
43591         of memset.
43593 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
43595         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
43596         * configure: Regenerated.
43598         * Makeconfig (+link-static-before-libc): Don't include
43599         $(link-static-libc).
43601         * libio/libio.h (_IO_pos_t): Remove.
43603 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43605         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
43606         McGrath.
43608 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43610         * crypt/crypt-entry.c: Include fips-private.h.
43611         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
43612         * crypt/md5c-test.c (main): Tolerate disabled MD5.
43613         * sysdeps/unix/sysv/linux/fips-private.h: New file.
43614         * sysdeps/generic/fips-private.h: New file, dummy fallback.
43616 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43618         * crypt/crypt-private.h: Include stdbool.h.
43619         (_ufc_setup_salt_r): Return bool.
43620         * crypt/crypt-entry.c: Include errno.h.
43621         (__crypt_r): Return NULL with EINVAL for bad salt.
43622         * crypt/crypt_util.c (bad_for_salt): New.
43623         (_ufc_setup_salt_r): Check that salt is long enough and within
43624         the specified alphabet.
43625         * crypt/badsalttest.c: New file.
43626         * crypt/Makefile (tests): Add it.
43627         ($(objpfx)badsalttest): New.
43629 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
43631         * NEWS: Add entry for BZ #14602.
43633 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
43635         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
43636         type-generic.
43637         * math/libm-test.inc: Update comment listing what functions and
43638         macros are tested.
43639         (isgreater_test): New function.
43640         (isgreaterequal_test): Likewise.
43641         (isless_test): Likewise.
43642         (islessequal_test): Likewise.
43643         (islessgreater_test): Likewise.
43644         (isunordered_test): Likewise.
43645         (main): Call the new functions.
43647 2012-10-09  Roland McGrath  <roland@hack.frob.com>
43649         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
43650         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
43651         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
43652         * sysdeps/i386/configure: Regenerated.
43653         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
43654         * sysdeps/mach/configure: Regenerated.
43655         * sysdeps/mach/hurd/configure: Regenerated.
43656         * sysdeps/powerpc/configure: Regenerated.
43657         * sysdeps/powerpc/powerpc32/configure: Regenerated.
43658         * sysdeps/powerpc/powerpc64/configure: Regenerated.
43659         * sysdeps/s390/s390-32/configure: Regenerated.
43660         * sysdeps/s390/s390-64/configure: Regenerated.
43661         * sysdeps/sh/configure: Regenerated.
43662         * sysdeps/sparc/configure: Regenerated.
43663         * sysdeps/unix/sysv/linux/configure: Regenerated.
43664         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
43665         * sysdeps/x86_64/configure: Regenerated.
43667         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
43668         defined.  Don't check if MAP is NULL.
43670 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
43672         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
43673         (_G_stat64): Likewise.
43674         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
43675         (_G_stat64): Likewise.
43676         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
43677         instead of struct _G_stat64.
43678         * libio/fileops.c (mmap_remap_check): Likewise.
43679         (decide_maybe_mmap): Likewise.
43680         (_IO_new_file_seekoff): Likewise.
43681         (_IO_file_stat): Likewise.
43682         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
43683         _G_off64_t.
43684         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
43685         instead of struct _G_stat64.
43686         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43688 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
43690         [BZ #14602]
43691         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43692         Replace with ...
43693         (CHECK_EOL): New macro.
43694         (two_way_short_needle): Check beginning of haystack for EOL.  Use
43695         CHECK_EOL.
43696         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43697         Replace with CHECK_EOL.
43698         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43699         Replace with CHECK_EOL.
43701 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
43703         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
43704         type-generic.
43705         * math/libm-test.inc: Update comment listing what functions and
43706         macros are tested.
43707         (finite_test): New function.
43708         (isinf_test): Likewise.
43709         (isnan_test): Likewise.
43710         (fpclassify_test): Test subnormal input.
43711         (isfinite_test): Likewise.
43712         (isnormal_test): Likewise.
43713         (main): Call the new functions.
43715 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
43717         [BZ #14660]
43718         * Makerules (%.dynsym): Force C locale when running
43719         $(OBJDUMP) --dynamic-syms.
43721 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
43723         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
43724         <stdint.h>.
43726 2012-10-06  David S. Miller  <davem@davemloft.net>
43728         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
43729         upper 32-bits of the length value in %o2 since we use branch-on-register
43730         tests which consider the entire 64-bit register.
43732 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
43734         * string/test-strstr.c (check2): Add a test for page boundary.
43736 2012-10-05  David S. Miller  <davem@davemloft.net>
43738         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
43739         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
43740         file.
43741         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
43742         sysdep_routines.
43743         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
43744         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
43745         and bzero when HWCAP_SPARC_CRYPTO is present.
43747 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
43749         [BZ #14602]
43750         * string/test-strstr.c (check2): New function.
43751         (test_main): Call check2.
43753         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
43754         and bug-strchr1.
43755         * string/bug-strcasestr1.c (do_test): Moved to ...
43756         * string/test-strcasestr.c (check1): Here.  New function.
43757         (do_one_test): Break out result checking code into ...
43758         (check_result): This.  New function.
43759         (do_one_test): Call check_result.
43760         (test_main): Call check1.
43761         * string/bug-strchr1.c (do_test): Moved to ...
43762         * string/test-strchr.c (check1): Here.  New function.
43763         (do_one_test): Break out result checking code into ...
43764         (check_result): This.  New function.
43765         (do_one_test): Call check_result.
43766         (test_main): Call check1.
43767         * string/bug-strstr1.c (main): Moved to ...
43768         * string/test-strstr.c (check1): Here.  New function.
43769         (do_one_test): Break out result checking code into ...
43770         (check_result): This.  New function.
43771         (do_one_test): Call check_result.
43772         (test_main): Call check1.
43773         * string/bug-strcasestr1.c: Removed.
43774         * string/bug-strchr1.c: Likewise.
43775         * string/bug-strstr1.c: Likewise.
43777         * elf/Makefile (dl-routines): Add hwcaps.
43778         * elf/dl-support.c (_dl_important_hwcaps): Removed.
43779         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
43780         (_dl_important_hwcaps): Moved to ...
43781         * elf/dl-hwcaps.c: Here.  New file.
43782         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
43784         [BZ #14557]
43785         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
43786         if IS_IN_rtld isn't defined.
43788         * elf/dl-support.c (_dl_sysinfo_map): New.
43789         Include "get-dynamic-info.h" and "setup-vdso.h".
43790         (_dl_non_dynamic_init): Call setup_vdso.
43791         * elf/dynamic-link.h: Don't include <assert.h>.
43792         (elf_get_dynamic_info): Moved to ...
43793         * elf/get-dynamic-info.h: Here.  New file.
43794         * elf/dynamic-link.h: Include "get-dynamic-info.h".
43795         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
43796         * elf/setup-vdso.h: Here.  New file.
43797         * elf/rtld.c: Include "setup-vdso.h".
43798         (dl_main): Call setup_vdso.
43800 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
43802         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
43803         creal in comment listing functions tested.  List finite, isinf,
43804         isnan, isless, islessequal, isgreater, isgreaterequal,
43805         islessgreater, isunordered, lgamma_r and pow10 as functions and
43806         macros not tested.  Mention which functions not tested are aliases
43807         for other functions.  Fix typo.  Note that signs of NaNs are not
43808         tested.
43810         * scripts/config.guess: Update from config.git.
43811         * scripts/config.sub: Likewise.
43813 2012-10-04  Roland McGrath  <roland@hack.frob.com>
43815         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
43816         * misc/madvise.c (madvise): Renamed to __madvise.
43817         Make madvise a weak alias.
43818         * include/sys/mman.h: Declare __madvise.
43819         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
43820         * sysdeps/unix/syscalls.list
43821         (madvise): Make __madvise the strong name, and madvise a weak alias.
43822         * sysdeps/unix/sysv/linux/syscalls.list
43823         (madvise, mmap): Remove redundant entries.
43824         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
43825         * malloc/malloc.c (mtrim): Likewise.
43826         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
43828 2012-10-03  Roland McGrath  <roland@hack.frob.com>
43830         * sysdeps/mach/hurd/dl-cache.c: File removed.
43831         * config.h.in (USE_LDCONFIG): New #undef.
43832         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
43833         * configure: Regenerated.
43834         * elf/Makefile (dl-routines): Add dl-cache only under
43835         [$(use-ldconfig) = yes].
43836         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
43837         cache on [USE_LDCONFIG].
43838         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
43839         [USE_LDCONFIG].
43840         * elf/rtld.c (dl_main): Likewise.
43842 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
43844         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
43845         _SC_LEVEL4_CACHE_LINESIZE.
43847 2012-10-03  Roland McGrath  <roland@hack.frob.com>
43849         * sysdeps/unix/bsd/confstr.h: File removed.
43851 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
43853         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
43854         sys/sdt-config.h.
43856 2012-10-02  Roland McGrath  <roland@hack.frob.com>
43858         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
43859         Make 'mapoff' field ElfW(Off) rather than off_t.
43861 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
43863         * nscd/Makefile: Remove nscd-cflags and all its users.
43864         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
43865         (CFLAGS-nonlib): Add compiler flags for nscd modules.
43867         [BZ #10631]
43868         * malloc.c (malloc_printerr): Clarify error message.
43870 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
43872         [BZ #14648]
43873         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43874         Set bit_FMA_Usable if FMA is supported.
43875         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
43876         macro.
43877         (bit_FMA4_Usable): Updated.
43878         (index_FMA_Usable): New macro.
43879         (CPUID_FMA): Likewise
43880         (HAS_FMA): Defined with bit_FMA_Usable.
43882 2012-10-01  Roland McGrath  <roland@hack.frob.com>
43884         * bits/types.h (__swblk_t): Type removed.
43885         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
43886         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
43887         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43888         (__SWBLK_T_TYPE): Likewise.
43889         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43890         (__SWBLK_T_TYPE): Likewise.
43891         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43892         (__SWBLK_T_TYPE): Likewise.
43893         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43894         (__SWBLK_T_TYPE): Likewise.
43896 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
43897             Honza Horak <hhorak@redhat.com>
43899         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
43900         (xdr_mapname): Use YPMAXMAP as maxsize.
43901         (xdr_peername): Use YPMAXPEER as maxsize.
43902         (xdr_keydat): Use YPAXRECORD as maxsize.
43903         (xdr_valdat): Use YPMAXRECORD as maxsize.
43905 2012-10-01  Roland McGrath  <roland@hack.frob.com>
43907         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
43909         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
43910         * csu/init-first.c: ... here.
43911         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
43912         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
43913         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
43914         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
43915         * sysdeps/i386/init-first.c: File removed.
43916         * sysdeps/sh/init-first.c: File removed.
43918 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
43920         [BZ #14645]
43921         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
43922         if x * y might underflow to zero and z is zero.
43923         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43924         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43925         * math/libm-test.inc (min_subnorm_value): New variable.
43926         (fma_test): Add more tests.
43927         (fma_test_towardzero): Likewise.
43928         (fma_test_downward): Likewise
43929         (fma_test_upward): Likewise.
43930         (initialize): Set min_subnorm_value.
43932 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
43934         [BZ #14638]
43935         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
43936         0 + 0.
43937         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
43938         mode for addition resulting in exact zero.
43939         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
43940         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
43941         exact 0 + 0.
43942         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43943         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43944         * math/libm-test.inc (fma_test): Add more tests.
43945         (fma_test_towardzero): New function.
43946         (fma_test_downward): Likewise.
43947         (fma_test_upward): Likewise.
43948         (main): Call the new functions.
43950 2012-09-28  David S. Miller  <davem@davemloft.net>
43952         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
43954 2012-09-28  Roland McGrath  <roland@hack.frob.com>
43956         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
43957         instead of SIGALRM.
43959         * sysdeps/gnu/_G_config.h: Moved to ...
43960         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
43961         * sysdeps/mach/hurd/_G_config.h: Moved to ...
43962         * sysdeps/generic/_G_config.h: ... here.
43964         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
43966         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
43968         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
43969         Conditionalize target on [libnss_test1.so-version].
43971         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
43973         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
43974         (elfobjdir): Move out of conditionals.
43976         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
43977         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
43978         (__nss_lookup_function): Conditionalize label remove_from_tree on
43979         [!DO_STATIC_NSS || SHARED], matching its only use.
43981 2012-09-28  David S. Miller  <davem@davemloft.net>
43983         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
43984         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
43985         file.
43986         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
43987         sysdep_routines.
43988         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
43989         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
43990         when HWCAP_SPARC_CRYPTO is present.
43992 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43994         * io/tst-mknodat.c: Create a FIFO instead of a socket.
43996 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
43998         [BZ #6530]
43999         * stdio-common/vfprintf.c (process_string_arg): Revert
44000         2000-07-22 change.
44002 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
44004         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
44005         for testcase.
44006         * stdio-common/tst-sprintf.c: Include <locale.h>
44007         (main): Test sprintf's handling of incomplete multibyte
44008         characters.
44010 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
44012         * elf/dl-runtime.c (VERSYMIDX): Removed.
44013         * elf/dl-version.c (VERSYMIDX): Likewise.
44014         * elf/do-rel.h (VERSYMIDX): Likewise.
44015         (VALIDX): Likewise.
44016         * elf/dynamic-link.h (VERSYMIDX): Likewise.
44017         * elf/rtld.c (VALIDX): Likewise.
44018         (ADDRIDX): Likewise.
44019         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
44020         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
44021         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
44022         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
44023         (VALIDX): Likewise.
44024         (ADDRIDX): Likewise.
44026 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44028         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
44030 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
44032         [BZ #11438]
44033         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
44034         to global scope.
44035         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
44036         addresses are in the same scope as 192.0.2/24.
44037         * posix/gai.conf: Document new scope table defaults.
44039 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44041         [BZ #5298]
44042         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
44043         for ftell.  Compute offsets from write pointers instead.
44044         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44046 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44048         [BZ #14543]
44049         * libio/Makefile (tests): New test case tst-fseek.
44050         * libio/tst-fseek.c: New test case to verify that fseek/ftell
44051         combination works in wide mode.
44052         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
44053         state when the external buffer state changes.
44055 2012-09-27  David S. Miller  <davem@davemloft.net>
44057         [BZ #14376]
44058         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
44059         pass reloc->r_addend in as the 'high' argument to
44060         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
44062         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44064 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44066         * rt/tst-aio2.c: Include <pthread.h>.
44067         * rt/tst-aio3.c: Likewise.
44069 2012-09-27  Steve Ellcey  <sellcey@mips.com>
44071         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
44073 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
44075         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
44076         contents on [SHARED].
44078 2012-09-26  Marek Polacek  <polacek@redhat.com>
44080         [BZ #14530]
44081         [BZ #13741]
44082         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
44083         for C++ and GCC <4.3 as well as for non GCC compilers.
44085 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
44087         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44089 2012-09-25  Roland McGrath  <roland@hack.frob.com>
44091         * Makefile.in (all, install): Declare with .PHONY.
44092         Reported by Michael Hope <michael.hope@linaro.org>.
44094 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44096         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
44097         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
44098         system header.
44099         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
44100         Likewise.
44101         (sydep_routines): Add the new and the internal functions.
44102         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
44103         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
44104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
44105         (GLIBC_2.17): Add the new function.
44106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44107         (GLIBC_2.17): Likewise.
44108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
44109         (GLIBC_2.17): Likewise.
44110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
44111         (GLIBC_2.17): Likewise.
44112         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
44114 2012-09-25  Alan Modra  <amodra@gmail.com>
44116         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
44117         Add release barrier before setting once_control to say
44118         initialisation is done.  Add hints on lwarx.  Use macro in
44119         place of isync.
44120         (clear_once_control): Add release barrier.
44122 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44124         [BZ #13629]
44125         * math/s_clog.c (__clog): Handle more values close to |z| = 1
44126         specially.
44127         * math/s_clog10.c (__clog10): Likewise.
44128         * math/s_clog10f.c (__clog10f): Likewise.
44129         * math/s_clog10l.c (__clog10l): Likewise.
44130         * math/s_clogf.c (__clogf): Likewise.
44131         * math/s_clogl.c (__clogl): Likewise.
44132         * math/Makefile (libm-calls): Add x2y2m1.
44133         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
44134         (__x2y2m1): Likewise.
44135         (__x2y2m1l): Likewise.
44136         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
44137         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
44138         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
44139         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
44140         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
44141         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
44142         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
44143         * sysdeps/i386/fpu/libm-test-ulps: Update.
44144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44146         [BZ #14621]
44147         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
44148         int as type of variable DEPTH.
44149         (glob): Use size_t instead of int as type of variables NEWCOUNT
44150         and OLD_PATHC.
44152 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44154         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44155         Add s_sincosf-sse2.
44156         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
44157         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
44158         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
44159         macros for using routine as __sincosf_ia32.
44160         Use macro for function declaration and weak_alias.
44161         * sysdeps/i386/fpu/libm-test-ulps: Update.
44163         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
44164         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44166         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
44167         subnormal argument.
44168         * math/s_cexpf.c (__cexpf): Likewise.
44169         * math/s_csinf.c (__csinf): Likewise.
44170         * math/s_csinhf.c (__csinhf): Likewise.
44171         * math/s_ctanf.c (__ctanf): Likewise.
44172         * math/s_ctanhf.c (__ctanhf): Likewise.
44173         * math/s_ccosh.c (__ccoshf): Likewise.
44174         * math/s_cexp.c (__cexpl): Likewise.
44175         * math/s_csin.c (__csin): Likewise.
44176         * math/s_csinh.c (__csinh): Likewise.
44177         * math/s_ctan.c (__ctan): Likewise.
44178         * math/s_ctanh.c (ctanh): Likewise.
44179         * math/s_ccoshl.c (__ccoshl): Likewise.
44180         * math/s_cexpl.c (__cexpl): Likewise.
44181         * math/s_csinl.c (__csinl): Likewise.
44182         * math/s_csinhl.c (__csinhl): Likewise.
44183         * math/s_ctanl.c (__ctanl): Likewise.
44184         * math/s_ctanhl.c (__ctanhl): Likewise.
44186 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44188         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
44189         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
44190         (_IO_off_t): Define to __off_t, not _G_off_t.
44191         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
44192         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
44193         (_IO_wint_t): Define to wint_t, not _G_wint_t.
44194         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
44195         type of __dummy and __dummy2 fields.
44196         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
44197         (_G_ssize_t): Likewise.
44198         (_G_off_t): Likewise.
44199         (_G_pid_t): Likewise.
44200         (_G_uid_t): Likewise.
44201         (_G_wchar_t): Likewise.
44202         (_G_wint_t): Likewise.
44203         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
44204         (_G_ssize_t): Likewise.
44205         (_G_off_t): Likewise.
44206         (_G_pid_t): Likewise.
44207         (_G_uid_t): Likewise.
44208         (_G_wchar_t): Likewise.
44209         (_G_wint_t): Likewise.
44210         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
44211         (_G_ssize_t): Likewise.
44212         (_G_off_t): Likewise.
44213         (_G_pid_t): Likewise.
44214         (_G_uid_t): Likewise.
44215         (_G_wchar_t): Likewise.
44216         (_G_wint_t): Likewise.
44218 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44220         * malloc/arena.c: Include malloc-sysdep.h.
44221         (shrink_heap): Use check_may_shrink_heap to decide if madvise
44222         is sufficient to shrink the heap or an unmap is needed.
44223         * sysdeps/generic/malloc-sysdep.h: New file.  Define
44224         new function check_may_shrink_heap.
44225         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
44226         new function check_may_shrink_heap.
44228 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44230         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
44231         comments.
44233 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
44235         * catgets/test-gencat.sh: Add "set -e".
44236         * elf/tst-pathopt.sh: Likewise.
44237         * grp/tst_fgetgrent.sh: Likewise.
44238         * iconvdata/run-iconv-test.sh: Likewise.
44239         * intl/tst-gettext.sh: Likewise.
44240         * intl/tst-gettext2.sh: Likewise.
44241         * intl/tst-gettext4.sh: Likewise.
44242         * intl/tst-gettext6.sh: Likewise.
44243         * intl/tst-translit.sh: Likewise.
44244         * io/ftwtest-sh: Likewise.
44245         * libio/test-freopen.sh: Likewise.
44246         * malloc/tst-mtrace.sh: Likewise.
44247         * posix/globtest.sh: Likewise.
44248         * posix/tst-getconf.sh: Likewise.
44249         * posix/wordexp-tst.sh: Likewise.
44250         * stdio-common/tst-printf.sh: Likewise.
44251         * stdio-common/tst-unbputc.sh: Likewise.
44252         * stdlib/tst-fmtmsg.sh: Likewise.
44253         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44254         * catgets/Makefile: Do not specify -e option when running
44255         testsuite shell scripts.
44256         * elf/Makefile: Likewise.
44257         * grp/Makefile: Likewise.
44258         * iconvdata/Makefile: Likewise.
44259         * intl/Makefile: Likewise.
44260         * io/Makefile: Likewise.
44261         * libio/Makefile: Likewise.
44262         * malloc/Makefile: Likewise.
44263         * posix/Makefile: Likewise.
44264         * stdio-common/Makefile: Likewise.
44265         * stdlib/Makefile: Likewise.
44266         * sysdeps/x86_64/Makefile: Likewise.
44268         * io/ftwtest-sh: Add copyright header.
44269         * posix/globtest.sh: Likewise.
44270         * posix/tst-getconf.sh: Likewise.
44271         * posix/wordexp-tst.sh: Likewise.
44272         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44274 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
44276         [BZ #13679]
44277         * Makeconfig (+link): Defined as $(+link-static) if
44278         $(build-shared) isn't yes.
44279         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
44280         isn't yes.
44281         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
44283         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
44285         [BZ #14562]
44286         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
44287         new chunk size with MALLOC_ALIGN_MASK.
44289 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
44291         [BZ #5044]
44292         * stdio-common/printf_fphex.c: Include <stdbool.h> and
44293         <rounding-mode.h>.
44294         (__printf_fphex): Determine rounding using get_rounding_mode and
44295         round_away.
44296         * stdio-common/tst-printf-round.c (struct hex_test): New
44297         structure.
44298         (hex_tests): New variable.
44299         (test_hex_in_one_mode): New function.
44300         (do_test): Also run tests for hex float output.
44302 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
44304         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44305         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44306         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
44307         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44308         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44309         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
44310         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44311         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44313 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
44315         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
44316         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
44317         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
44318         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
44320 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
44322         [BZ #14579]
44323         * elf/rtld.c (dl_main): Limit the check for self loading to normal
44324         mode only.
44325         * elf/tst-rtld-load-self.sh: New test.
44326         * elf/Makefile: Run it.
44328 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
44330         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
44331         (tst-writev-ENV): Remove.
44332         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
44334 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
44336         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
44338 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
44340         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
44341         unconditional.
44342         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
44343         Likewise.
44344         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
44345         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
44346         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
44347         Likewise.
44349 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
44351         [BZ #14587]
44352         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
44353         * config.make.in (have-cpp-asm-debuginfo): Removed.
44354         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
44355         * configure: Regenerated.
44357 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
44359         [BZ #5044]
44360         * stdio-common/printf_fp.c: Include <stdbool.h> and
44361         <rounding-mode.h>.
44362         (___printf_fp): Determine rounding using get_rounding_mode and
44363         round_away.
44364         * stdio-common/tst-printf-round.c: New file.
44365         * stdio-common/Makefile (tests): Add tst-printf-round.
44366         (link-libm): New variable.
44367         ($(objpfx)tst-printf-round): Depend in $(link-libm).
44369 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
44371         [BZ #14576]
44372         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
44373         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
44374         Likewise.
44375         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
44376         Likewise.
44378 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
44380         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
44381         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44382         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44383         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44385 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
44387         [BZ #14518]
44388         * include/rounding-mode.h: New file.
44389         * sysdeps/generic/get-rounding-mode.h: Likewise.
44390         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
44391         * stdlib/strtod_l.c: Include <rounding-mode.h>.
44392         (MAX_VALUE): New macro.
44393         (MIN_VALUE): Likewise.
44394         (overflow_value): New function.
44395         (underflow_value): Likewise.
44396         (round_and_return): Use overflow_value and underflow_value to
44397         determine return values in overflow and underflow cases.  Use
44398         round_away to determine rounding depending on rounding mode.
44399         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
44400         determine return values in overflow and underflow cases.
44401         * stdlib/tst-strtod-round.c: Include <fenv.h>.
44402         (struct test_results): New structure.
44403         (struct test): Use struct test_results to store expected results
44404         for all rounding modes.
44405         (TEST): Include expected results for all rounding modes.
44406         (test_in_one_mode): New function.
44407         (do_test): Use test_in_one_mode to compute and check results.
44408         Check results for all rounding modes.
44409         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
44410         $(link-libm).
44412 2012-12-09  Allan McRae  <allan@archlinux.org>
44414         * sysdeps/i386/fpu/libm-test-ulps: Update
44416 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
44418         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
44419         (_G_int32_t): Likewise.
44420         (_G_uint16_t): Likewise.
44421         (_G_uint32_t): Likewise.
44422         (_G_HAVE_BOOL): Likewise.
44423         (_G_HAVE_ATEXIT): Likewise.
44424         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44425         (_G_HAVE_IO_FILE_OPEN): Likewise.
44426         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
44427         (_G_int32_t): Likewise.
44428         (_G_uint16_t): Likewise.
44429         (_G_uint32_t): Likewise.
44430         (_G_HAVE_BOOL): Likewise.
44431         (_G_HAVE_ATEXIT): Likewise.
44432         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44433         (_G_HAVE_IO_FILE_OPEN): Likewise.
44434         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
44435         (_G_int32_t): Likewise.
44436         (_G_uint16_t): Likewise.
44437         (_G_uint32_t): Likewise.
44438         (_G_HAVE_BOOL): Likewise.
44439         (_G_HAVE_ATEXIT): Likewise.
44440         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44441         (_G_HAVE_IO_FILE_OPEN): Likewise.
44443 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
44445         * csu/libc-tls.c: Update copyright years.
44447 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
44449         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
44450         [!_G_USING_THUNKS]: Remove conditional code.
44451         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
44452         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
44454         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
44455         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
44456         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44457         (_G_VTABLE_LABEL_PREFIX): Likewise.
44458         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44459         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44460         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44461         (_G_VTABLE_LABEL_PREFIX): Likewise.
44462         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
44463         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44464         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44465         (_G_VTABLE_LABEL_PREFIX): Likewise.
44466         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
44468 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
44470         * libio/Makefile: Include ../Makeconfig before tests.
44471         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
44472         only if $(build-shared) is yes.
44474         * iconv/gconv_db.c: Update copyright years.
44476 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44478         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
44479         unwind info if defined PIC. Fix special cases description.
44480         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
44482         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
44483         DP_HI_MASK entry.
44484         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
44486 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
44488         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
44490         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
44491         is NULL.
44493         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
44494         (LDLIBS-tst-chk4): This.
44495         (LDFLAGS-tst-chk5): Renamed to ...
44496         (LDLIBS-tst-chk5): This.
44497         (LDFLAGS-tst-chk6): Renamed to ...
44498         (LDLIBS-tst-chk6): This.
44499         (LDFLAGS-tst-lfschk4): Renamed to ...
44500         (LDLIBS-tst-lfschk4): This.
44501         (LDFLAGS-tst-lfschk5): Renamed to ...
44502         (LDLIBS-tst-lfschk5): This.
44503         (LDFLAGS-tst-lfschk6): Renamed to ...
44504         (LDLIBS-tst-lfschk6): This.
44506         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
44507         on $(common-objpfx)soversions.mk.
44509 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
44511         [BZ #10014]
44512         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
44513         example host name.
44515 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
44517         * malloc/arena.c (arena_get_retry): New function that gets
44518         another arena for the caller to try its request on.
44519         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
44520         current arena cannot fulfill the request.
44521         (__libc_memalign): Likewise.
44522         (__libc_memalign): Likewise.
44523         (__libc_pvalloc): Likewise.
44524         (__libc_calloc): Likewise.
44526 2012-09-05  John Tobey  <john.tobey@gmail.com>
44528         [BZ #13542]
44529         * manual/arith.texi (Operations on Complex): Fix description
44530         of carg branch cut.
44532 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
44534         [BZ #10014]
44535         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
44536         host name.
44538         [BZ #10038]
44539         * manual/memory.texi (Memory): Make order of menu items match
44540         order of sections.
44542 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44544         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
44545         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
44546         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
44548 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44550         * csu/libc-tls.c (static_dtv): Renamed to ...
44551         (_dl_static_dtv): This.  Make it global.
44552         (_dl_initial_dtv): Removed.
44553         (__libc_setup_tls): Updated.
44554         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
44555         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
44556         DL_INITIAL_DTV.
44558 2012-09-06  Petr Machata  <pmachata@redhat.com>
44560         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
44561         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
44562         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
44563         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
44565 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44567         [BZ #14545]
44568         * csu/libc-tls.c (_dl_initial_dtv): New variable.
44569         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
44570         freeing dtv[-1].
44572 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44574         [BZ #14544]
44575         * Makeconfig (link-static-before-libc): Replace $(+prector)
44576         with $(+prectorT).
44577         (link-static-after-libc): Replace $(+postctor) with
44578         $(+postctorT).
44579         (link-bounded): Replace $(+prector)/$(+postctor) with
44580         $(+prectorT)/$(+postctorT).
44581         (+prectorT): New macro.
44582         (+postctorT): Likewise.
44584 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
44586         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
44587         (round_str): Handle values above the maximum for IBM long double
44588         as inexact.
44589         * stdlib/tst-strtod-round.c (tests): Regenerated.
44591 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44593         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
44594         assembler flag.
44595         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
44596         zarch_nohighgprs around the zarch optimized routines.
44597         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
44598         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
44599         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
44600         for zarch.
44602 2012-09-05  David S. Miller  <davem@davemloft.net>
44604         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44606         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
44607         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
44608         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
44609         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44610         entries.
44612 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44614         * malloc/arena.c: Fold copyright years.
44615         * malloc/mcheck.c, malloc/memusage.c: Likewise.
44617 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44619         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
44621 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44623         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
44625 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44627         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
44628         change internal state upon failure.
44630 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44632         * malloc/mcheck.c (mcheck_check_all): Fix typo.
44633         * malloc/memusage.c (mmap): Likewise.
44634         (mmap64, mremap): Likewise.  Adjust name in comment.
44636 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44638         * libio/fileops.c: Fix typos in comments.
44639         * libio/oldfileops.c: Likewise.
44640         * libio/wfileops.c: Likewise.
44642 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44644         [BZ #1349]
44645         * malloc/Makefile (tests): Add tst-malloc-usable test case.
44646         (tst-malloc-usable-ENV): Set environment for test case.
44647         * malloc/hooks.c (malloc_check_get_size): New function to get
44648         requested size.
44649         * malloc/malloc.c (musable): Use malloc_check_get_size.
44650         * malloc/tst-malloc-usable.c: New test case.
44652 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44654         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
44656 2012-09-05  Allan McRae  <allan@archlinux.org>
44658         [BZ #13966]
44659         * configure.in (CXX_SYSINCLUDES): Use compiler output to
44660         determine header location.
44661         * configure: Regenerated.
44663 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44665         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
44666         float format.
44667         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
44668         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
44669         format.
44670         (test): Regenerate.
44672 2012-09-04  David S. Miller  <davem@davemloft.net>
44674         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
44675         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
44676         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
44678 2012-09-04  Florian Weimer  <fweimer@redhat.com>
44680         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
44681         failures.
44683         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
44685 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
44687         [BZ #9914]
44688         * libio/iogetdelim.c: Include <limits.h>.
44689         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
44690         + len + 1 would overflow.
44692 2012-09-03  Andreas Jaeger  <aj@suse.de>
44694         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44695         * sysdeps/i386/fpu/libm-test-ulps: Update.
44697 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44699         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44700         Add s_sinf-sse2, s_conf-sse2.
44702         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
44703         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
44704         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
44705         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
44707         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
44708         for using routine as __sinf_ia32.
44709         Use macro for function declaration and weak_alias.
44710         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
44711         for using routine as __cosf_ia32.
44712         Use macro for function declaration and weak_alias.
44714         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
44715         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
44717         * sysdeps/x86_64/fpu/s_sinf.S: New file.
44718         * sysdeps/x86_64/fpu/s_cosf.S: New file.
44719         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44721         * math/libm-test.inc (cos_test): Add more test cases.
44722         (sin_test): Likewise.
44723         (sincos_test): Likewise.
44725 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44727         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
44728         (IFUNC_RESOLVE): Make pointers to the specialized implementations
44729         hidden.
44730         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
44732 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
44734         [BZ #14538]
44735         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
44736         first element of the GOT.
44737         (elf_machine_load_address): Return the difference between
44738         the runtime address of _DYNAMIC and elf_machine_dynamic ().
44740 2012-09-01  Allan McRae  <allan@archlinux.org>
44742         [BZ #13412]
44743         * configure.in (AWK): Require gawk version 3.0 or later.
44744         * configure: Regenerated.
44746 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
44748         * sysdeps/unix/sysv/linux/kernel-features.h
44749         (__ASSUME_POSIX_CPU_TIMERS): Remove.
44750         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44751         [__NR_clock_getres]: Make code unconditional.
44752         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
44753         (clock_getcpuclockid): Remove code left unreachable by removal of
44754         conditionals.
44755         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
44756         code unconditional.
44757         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44758         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44759         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
44760         Make code unconditional.
44761         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44762         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44763         * sysdeps/unix/sysv/linux/clock_settime.c
44764         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
44765         conditional code.
44766         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
44767         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44769 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
44771         [BZ #14476]
44772         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
44773         scripts/test-installation.pl.
44775         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
44776         and $ld_so_version if it is set.
44778 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44780         [BZ #14516]
44781         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
44782         failure if reading from procfs failed.
44783         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
44785 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
44787         * sysdeps/unix/sysv/linux/kernel-features.h
44788         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
44789         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44790         Remove conditional code.
44791         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44792         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
44793         Remove conditional code.
44794         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44795         * sysdeps/unix/sysv/linux/i386/fxstat.c
44796         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44797         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44798         * sysdeps/unix/sysv/linux/i386/fxstatat.c
44799         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44800         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44801         * sysdeps/unix/sysv/linux/i386/lxstat.c
44802         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44803         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44804         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
44805         Remove conditional code.
44806         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44807         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44808         Remove conditional code.
44809         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44810         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
44811         <kernel-features.h>.
44812         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
44813         Remove.
44814         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
44815         Remove conditional code.
44816         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44817         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
44818         Remove conditional.
44820 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
44822         [BZ #5400]
44823         * NEWS: Add fixed bug number.
44825 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
44827         [BZ #14519]
44828         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
44829         underflowing exponent in case of negative sign.
44830         * stdlib/tst-strtod-round-data: Add more tests.
44831         * stdlib/tst-strtod-round.c (tests): Regenerated.
44833         [BZ #3479]
44834         * stdlib/strtod_l.c (NDIG): Remove.
44835         (HEXNDIG): Likewise.
44836         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
44837         smallest representable value.
44838         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
44839         lie within an exact representation of 1/2 ulp of the result.
44840         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
44841         unconditionally.
44842         (TENS_P9_IDX): Define unconditionally.
44843         (TENS_P9_SIZE): Likewise.
44844         (TENS_P10_IDX): Likewise.
44845         (TENS_P10_SIZE): Likewise.
44846         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
44847         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
44848         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
44849         entries for 10^2^13 and 10^2^14.
44850         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
44851         (TENS_P13_IDX): Define.
44852         (TENS_P13_SIZE): Likewise.
44853         (TENS_P14_IDX): Likewise.
44854         (TENS_P14_SIZE): Likewise.
44855         (_fpioconst_pow10): Change array size to
44856         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
44857         unconditional.
44858         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
44859         1024]: Add entries for 10^2^13 and 10^2^14.
44860         [LAST_POW10 > _LAST_POW10]: Remove #error.
44861         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
44862         (_fpioconst_pow10): Change array size to
44863         FPIOCONST_POW10_ARRAY_SIZE.
44864         * stdlib/gen-fpioconst.c: New file.
44865         * stdlib/gen-tst-strtod-round.c: Likewise.
44866         * stdlib/tst-strtod-round-data: Likewise.
44867         * stdlib/tst-strtod-round.c: Likewise.
44868         * stdlib/Makefile (tests): Add tst-strtod-round.
44870         [BZ #14459]
44871         * stdlib/strtod_l.c: Include <stdint.h>.
44872         (NDEBUG): Do not define.
44873         (round_and_return): Change EXPONENT parameter to type intmax_t.
44874         Rearrange calculations to avoid internal overflow possibilities.
44875         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
44876         Rearrange calculations to avoid internal overflow possibilities.
44877         Assert that number fits inside MPNSIZE limbs.
44878         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
44879         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
44880         calculations and add assertions to avoid internal overflow
44881         possibilities.  Add casts to avoid signed/unsigned operations.
44882         * stdlib/tst-strtod-overflow.c: New file.
44883         * stdlib/Makefile (tests): Add tst-strtod-overflow.
44885 2012-08-25  Marek Polacek  <polacek@redhat.com>
44887         * time/time.h: Fix some typos in comments.
44889 2012-08-23  Roland McGrath  <roland@hack.frob.com>
44891         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
44892         * posix/tst-rfc3484-2.c: Likewise.
44893         * posix/tst-rfc3484-3.c: Likewise.
44895 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
44897         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
44898         (EF_ARM_ABI_FLOAT_HARD): Likewise.
44900 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
44902         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
44903         #include of fxstatat64.c.
44905 2012-08-22  Roland McGrath  <roland@hack.frob.com>
44907         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
44908         * shadow/getspent_r.c: Likewise.
44909         * shadow/getspnam.c: Likewise.
44910         * shadow/getspnam_r.c: Likewise.
44911         * gshadow/getsgent.c: Likewise.
44912         * gshadow/getsgent_r.c: Likewise.
44913         * gshadow/getsgnam.c: Likewise.
44914         * gshadow/getsgnam_r.c: Likewise.
44915         * inet/getnetbyad.c: Likewise.
44916         * inet/getnetbyad_r.c: Likewise.
44917         * inet/getnetbynm.c: Likewise.
44918         * inet/getnetbynm_r.c: Likewise.
44919         * inet/getnetent.c: Likewise.
44920         * inet/getnetent_r.c: Likewise.
44921         * inet/getproto.c: Likewise.
44922         * inet/getproto_r.c: Likewise.
44923         * inet/getprtent.c: Likewise.
44924         * inet/getprtent_r.c: Likewise.
44925         * inet/getprtname.c: Likewise.
44926         * inet/getprtname_r.c: Likewise.
44927         * inet/getrpcbyname.c: Likewise.
44928         * inet/getrpcbyname_r.c: Likewise.
44929         * inet/getrpcbynumber.c: Likewise.
44930         * inet/getrpcbynumber_r.c: Likewise.
44931         * inet/getrpcent.c: Likewise.
44932         * inet/getrpcent_r.c: Likewise.
44933         * inet/getaliasent.c: Likewise.
44934         * inet/getaliasent_r.c: Likewise.
44935         * inet/getaliasname.c: Likewise.
44936         * inet/getaliasname_r.c: Likewise.
44937         * nscd/getgrgid_r.c: Likewise.
44938         * nscd/getgrnam_r.c: Likewise.
44939         * nscd/gethstbyad_r.c: Likewise.
44940         * nscd/gethstbynm3_r.c: Likewise.
44941         * nscd/getpwnam_r.c: Likewise.
44942         * nscd/getpwuid_r.c: Likewise.
44943         * nscd/getsrvbynm_r.c: Likewise.
44944         * nscd/getsrvbypt_r.c: Likewise.
44945         * nscd/gai.c: Likewise.
44947         * configure.in (build_nscd): New substituted variable, set
44948         by --disable-build-nscd and defaults to $use_nscd.
44949         * configure: Regenerated.
44950         * config.make.in (build-nscd): New substituted variable.
44951         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
44952         Change conditional to require [$(build-nscd) = yes] as well.
44953         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
44955         [BZ# 13696]
44956         * configure.in (use_nscd): New substituted variable, set by
44957         --disable-nscd.  If enabled, define USE_NSCD.
44958         * configure: Regenerated.
44959         * config.h.in: Add USE_NSCD.
44960         * config.make.in (use-nscd): New substituted variable.
44961         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
44962         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
44963         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
44964         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
44965         (CFLAGS-getgrnam_r.c): Likewise.
44966         (CFLAGS-initgroups.c): Likewise.
44967         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
44968         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
44969         Variables removed.
44970         * inet/getnetgrent_r.c
44971         (nscd_setnetgrent): New function, broken out of ...
44972         (setnetgrent): ... here.  Call it.
44973         (innetgr): Conditionalize nscd bits on [USE_NSCD].
44974         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
44975         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
44976         * nscd/Makefile (routines, aux): Move definitions after include of
44977         Makeconfig.  Conditionalize on [$(use-nscd) != no].
44978         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
44979         Conditionalize on [USE_NSCD].
44980         (is_nscd, nscd_init_cb): Likewise.
44981         (nss_load_library): Conditionalize init callback on [USE_NSCD].
44982         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
44983         * nss/nss_db/db-init.c: Likewise.
44984         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
44985         [USE_NSCD].
44986         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
44987         (make_request): Use it.
44988         (cache_valid_p): New function.
44989         (__check_pf): Use it.
44990         * NEWS: Add item for --disable-nscd.
44992 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
44994         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
44995         to support sed >= 4.2.1-20-ga9bf076.
44996         * configure: Regenerated.
44998 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45000         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
45001         Conditionalize whole body on [IREL].
45003 2012-08-22  Jeff Law <law@redhat.com>
45005         [BZ #14505]
45006         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
45007         if the family is PF_UNSPEC.
45009 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
45011         * Makerules (lib-version): Rename from V.
45012         (install-lib-nosubdir): Change V to lib-version.
45014 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
45016         [BZ #14252]
45017         * powerpc32/power6/wcschr.c: New file.
45018         * powerpc32/power6/wcscpy.c: New file.
45019         * powerpc32/power6/wcsrchr.c: New file.
45020         * powerpc64/power6/wcschr.c: New file.
45021         * powerpc64/power6/wcscpy.c: New file.
45022         * powerpc64/power6/wcsrchr.c: New file.
45024 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45026         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
45027         (two_way_short_needle): Use it.
45028         * string/strstr.c (AVAILABLE1_USES_J): Define.
45029         * string/strcasestr.c: Likewise.
45031         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
45032         array references.
45033         * string/strcasestr.c (TOLOWER): Make side-effect safe.
45035         [BZ #11607]
45036         * NEWS: Add an entry.
45037         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
45038         define their defaults.
45039         (two_way_short_needle): Detect end-of-string on-the-fly.
45040         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
45041         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
45042         * string/bug-strcasestr1.c: New test.
45043         * string/Makefile: Run it.
45045 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45047         [BZ #11607]
45048         * string/str-two-way.h (two_way_short_needle): Optimize matching of
45049         the first character.
45051 2012-08-21  Roland McGrath  <roland@hack.frob.com>
45053         * csu/elf-init.c (__libc_csu_irel): Function removed.
45054         * csu/libc-start.c (apply_irel): New function.
45055         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
45057 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
45059         * sysdeps/unix/sysv/linux/kernel-features.h
45060         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
45061         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
45062         <kernel-features.h>.
45063         [__NR_fadvise64_64]: Make code unconditional.
45064         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
45065         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45066         !__NR_fadvise64_64)]: Likewise.
45067         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45068         !__NR_fadvise64_64))]: Likewise.
45069         [__NR_fadvise64]: Make code unconditional.
45070         [!__NR_fadvise64]: Remove conditional code.
45071         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
45072         <kernel-features.h>.
45073         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45074         unconditional.
45075         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45076         conditional code.
45077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
45078         not include <kernel-features.h>.
45079         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45080         unconditional.
45081         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45082         conditional code.
45083         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
45084         include <kernel-features.h>.
45085         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45086         unconditional.
45087         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45088         conditional code.
45090 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
45092         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
45093         slight instruction rearrangements per scrollpipe analysis.
45094         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
45096 2012-08-20  Roland McGrath  <roland@hack.frob.com>
45098         * manual/syslog.texi (syslog; vsyslog, closelog):
45099         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
45100         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
45102         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
45103         DSOCAPS to match condition on defining it.
45105 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
45107         * sysdeps/unix/sysv/linux/kernel-features.h
45108         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
45109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
45110         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45111         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
45113         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45114         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
45116         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45117         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45119         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
45120         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
45122         * sysdeps/unix/sysv/linux/kernel-features.h
45123         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
45124         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
45125         unconditional.
45126         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45127         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
45128         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45129         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45130         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
45131         Make code unconditional.
45132         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45133         (__mmap64) [!__NR_mmap2]: Likewise.
45134         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
45135         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45136         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45137         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
45138         [__NR_mmap2]: Make code unconditional.
45139         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45140         (__mmap64) [!__NR_mmap2]: Likewise.
45142 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45144         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
45146 2012-08-18  Andreas Jaeger  <aj@suse.de>
45148         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
45150 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45152         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
45153         * include/unistd.h (__have_sock_cloexec): Likewise.
45154         (__have_pipe2): Likewise.
45155         (__have_dup3): Likewise.
45157 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45159         [BZ #9685]
45160         * include/unistd.h (__have_pipe2): Change define into an extern int.
45161         (__have_dup3): Likewise.
45162         * socket/have_sock_cloexec.c: Include fcntl.h.
45163         (__have_pipe2): New variable.
45164         (__have_dup3): Likewise.
45166 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
45168         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
45170 2012-08-17  Marek Polacek  <polacek@redhat.com>
45172         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
45173         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
45175 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45177         * configure.in: Add AC_SUBST for sysheaders.
45178         * configure: Regenerated.
45179         * config.make.in (sysheaders): New substituted variable.
45181         * sysdeps/unix/mkfifo.c: Moved ...
45182         * sysdeps/posix/mkfifo.c: ... here.
45183         * sysdeps/unix/mkfifoat.c: Moved ...
45184         * sysdeps/posix/mkfifoat.c: ... here.
45186         * sysdeps/unix/utime.c: Moved ...
45187         * sysdeps/posix/utime.c: ... here.
45189         * sysdeps/unix/time.c: Moved ...
45190         * sysdeps/posix/time.c: ... here.
45191         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
45192         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
45194         * sysdeps/unix/nice.c: Moved ...
45195         * sysdeps/posix/nice.c: ... here.
45197         * sysdeps/unix/alarm.c: Moved ...
45198         * sysdeps/posix/alarm.c: ... here.
45200         * intl/Makefile ($(codeset_mo)): Depend on the input file.
45202 2012-08-17  Jeff Law <law@redhat.com>
45204         * intl/Makefile (codeset_mo): New variable.
45205         ($(codeset_mo)): New target.
45206         (tst-codeset.out): Depend on that.  Remove explicit rule.
45207         (tst-gettext3.out, tst-gettext5.out): Likewise.
45208         (LOCPATH-ENV, tst-codeset-ENV): New variables.
45209         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
45210         * intl/tst-codeset.sh: Remove.
45211         * intl/tst-gettext3.sh: Likewise.
45212         * intl/tst-gettext5.sh: Likewise.
45214 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45216         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
45217         * sysdeps/unix/syscalls.list: ... here.
45219         * sysdeps/posix/getaddrinfo.c
45220         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
45221         (gaiconf_init, gaiconf_reload): Use them.
45222         [!_STATBUF_ST_NSEC]
45223         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
45224         Define using time_t rather than struct timespec.
45226         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
45227         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
45228         Macros removed.
45229         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
45230         [!NO_THREADS].
45231         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
45232         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
45233         Likewise.
45235         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
45236         __libc_cleanup_push argument.
45238         * bits/param.h: New file.
45239         * misc/sys/param.h: New file.
45240         * include/sys/param.h: New file.
45241         * misc/Makefile (headers): Add bits/param.h.
45242         * sysdeps/generic/sys/param.h: File removed.
45243         * sysdeps/unix/sysv/linux/bits/param.h: New file.
45244         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
45245         * sysdeps/mach/hurd/bits/param.h: New file.
45246         * sysdeps/mach/hurd/sys/param.h: File removed.
45248         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
45249         last change.
45251         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
45252         [_IO_MTSAFE_IO].
45253         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
45254         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
45255         New macros.
45257         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
45258         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
45259         rather than -D_IO_MTSAFE_IO conditionally.
45260         * stdio-common/Makefile (CPPFLAGS): Likewise.
45261         * wcsmbs/Makefile (CPPFLAGS): Likewise.
45262         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
45263         Use $(libio-mtsafe).
45264         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
45265         of -D_IO_MTSAFE_IO.
45266         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
45267         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
45268         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
45269         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
45270         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
45271         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
45272         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
45273         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
45274         (CFLAGS-fread_u_chk.c): Likewise.
45275         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
45276         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
45277         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
45278         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
45279         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
45280         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
45281         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
45282         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
45283         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
45285         * libio/Makefile: Test [$(libc-reentrant) = yes]
45286         instead of [$(filter %REENTRANT, $(defines)) nonempty].
45288         * Makeconfig
45289         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
45290         * sysdeps/pthread/configure: File removed.
45291         * sysdeps/pthread/Makeconfig: New file.
45292         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
45293         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
45295 2012-08-16  Gary Benson  <gbenson@redhat.com>
45297         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
45298         unmapping the first object in a namespace.
45300 2012-08-16  Roland McGrath  <roland@hack.frob.com>
45302         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
45303         (__internal_setnetgrent): ... this.  Add internal_function to
45304         definition.  Add libc_hidden_def.
45305         (setnetgrent): Update caller.
45306         (internal_endnetgrent): Renamed to ...
45307         (__internal_endnetgrent): ... this.  Add internal_function to
45308         definition.  Add libc_hidden_def.
45309         (endnetgrent): Update caller.
45310         (internal_getnetgrent_r): Renamed to ...
45311         (__internal_getnetgrent_r): ... this.  Add internal_function to
45312         definition.  Add libc_hidden_def.
45313         (__getnetgrent_r): Update caller.
45314         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
45316 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
45318         * stdlib/longlong.h: Update from GCC.
45320 2012-08-16  Roland McGrath  <roland@hack.frob.com>
45322         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
45323         on _QL, which is set by umul_ppmm but never used.
45324         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
45325         variables, which are set by GMP macros but never used.
45326         * stdio-common/_itowa.c (_itowa): Likewise.
45327         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
45328         * stdlib/mod_1.c (mpn_mod_1): Likewise.
45330 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
45332         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
45333         struct La_sh_regs is not constant.
45334         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
45335         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
45336         and struct La_sparc64_regs are not constant.
45338 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
45340         * sysdeps/unix/sysv/linux/kernel-features.h
45341         (__ASSUME_POSIX_TIMERS): Remove.
45342         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45343         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45344         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
45345         Make code unconditional.
45346         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45347         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
45348         Make code unconditional.
45349         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45350         * sysdeps/unix/sysv/linux/clock_nanosleep.c
45351         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
45352         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45353         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
45354         Make code unconditional.
45355         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45356         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
45357         (__libc_missing_posix_timers): Remove.
45359 2012-08-15  Roland McGrath  <roland@hack.frob.com>
45361         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
45362         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
45364         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
45366         * elf/dl-sym.c: Include <stdlib.h>.
45368         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
45369         constants, which avoids warnings in 32-bit builds.
45371         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
45372         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
45374         * misc/lseek.c: File moved to ...
45375         * io/lseek.c: ... here.
45377         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
45379         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
45380         shifting LEN more than 31 bits at once.
45382 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45384         [BZ #14195]
45385         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
45386         segmentation fault for a case of two empty input strings.
45387         * string/test-strncasecmp.c (check1): Renamed to...
45388         (bz12205): ...this.
45389         (bz14195): Add new testcase for two empty input strings and N > 0.
45390         (test_main): Call new testcase, adapt for renamed function.
45392 2012-08-15  Andreas Jaeger  <aj@suse.de>
45394         [BZ #14090]
45395         * crypt/md5test2.c: New test, based on test supplied by Serge
45396         Belyshev <belyshev@depni.sinp.msu.ru>.
45397         * crypt/Makefile (xtests): Add md5test-giant..
45398         * crypt/Makefile ($(objpfx)md5test-giant): Add.
45400 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
45402         [BZ #14090]
45403         * crypt/md5.c (md5_process_block): Don't assume the buffer
45404         length is less than 2**32.
45405         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
45406         length is less than 2**64.
45408 2012-08-15  Roland McGrath  <roland@hack.frob.com>
45410         * string/str-two-way.h: Include <sys/param.h>.
45411         (MAX): Macro removed.
45413         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
45414         Move #define and #undef of memmove to just before and after
45415         including <string.h>.
45417         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
45418         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
45419         and after including <string.h>.  Move declarations of
45420         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
45421         to before #include "string/memmove.c".
45423         * include/dirent.h: Declare __getdirentries.
45425         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
45426         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
45428 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
45430         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
45431         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
45432         * sysdeps/i386/configure: Regenerated.
45433         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
45434         STABS_CURRENT_FILE, and STABS_FUN.
45435         (END): Remove call to STABS_FUN_END.
45436         (STABS_CURRENT_FILE1): Delete.
45437         (STABS_CURRENT_FILE): Likewise.
45438         (STABS_FUN): Likewise.
45439         (STABS_FUN_END): Likewise.
45440         (STABS_FUN2): Likewise.
45441         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
45442         * sysdeps/x86_64/configure: Regenerated.
45444 2012-08-14  Roland McGrath  <roland@hack.frob.com>
45446         * elf/dl-open.c: Include <atomic.h>.
45447         * elf/dl-lookup.c: Likewise.
45449 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
45451         * sysdeps/unix/sysv/linux/kernel-features.h
45452         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
45453         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
45454         unconditionally.
45455         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
45456         unconditionally.
45457         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
45458         condition on __ASSUME_CLONE_THREAD_FLAGS.
45460 2012-08-14  Andreas Jaeger  <aj@suse.de>
45462         * sysdeps/i386/fpu/libm-test-ulps: Update.
45464 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
45466         * include/atomic.h (atomic_exchange_and_add): Split into ...
45467         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
45468         New atomic macros.
45470 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
45472         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45474 2012-08-13  Jeff Law <law@redhat.com>
45476         * manual/stdio.texi (snprintf): Clarify handling of the trailing
45477         null byte in the output string.
45479 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
45481         * sysdeps/unix/sysv/linux/kernel-features.h
45482         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
45483         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
45484         (__ASSUME_ARG_MAX_STACK_BASED): Define.
45485         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
45486         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
45487         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
45488         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
45490 2012-08-09  Jeff Law <law@redhat.com>
45492         [BZ #13939]
45493         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
45494         When avoid_arena is set, don't retry in the that arena.  Pick the
45495         next one, whatever it might be.
45496         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
45497         (arena_lock): Pass in new parameter to arena_get2.
45498         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
45499         arena_get2.
45500         (__libc_malloc): Unify retrying after main arena failure with
45501         __libc_memalign version.
45502         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
45504 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
45506         [BZ #14166]
45507         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
45508         to __redirect_strstr.
45509         (__strstr_sse42): Use typeof __redirect_strstr.
45510         (__strstr_ia32): Likewise.
45511         (__libc_strstr): New prototype.
45512         (strstr): Renamed to ...
45513         (__libc_strstr): This.
45514         (strstr): New strong alias of __libc_strstr.
45515         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
45516         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
45517         __redirect_time.
45518         Include <time.h>.
45519         (__libc_time): New prototype.
45520         (time_ifunc): Replace time with __libc_time.
45521         (time): New strong alias and hidden definition of __libc_time.
45522         (__GI_time): Remove strong alias.
45523         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
45524         Include <stddef.h>.
45525         (memmove): Redefined to __redirect_memmove.
45526         (__memmove_sse2): Use typeof __redirect_memmove.
45527         (__memmove_ssse3): Likewise.
45528         (__memmove_ssse3_back): Likewise.
45529         (__libc_memmove): New prototype.
45530         (memmove): Renamed to ...
45531         (__libc_memmove): This.
45532         (memmove): New strong alias of __libc_memmove.
45534 2012-08-08  Mark Salter  <msalter@redhat.com>
45536         * elf/elf.h
45537         (R_MN10300_TLS_GD): Define.
45538         (R_MN10300_TLS_LD): Likewise.
45539         (R_MN10300_TLS_LDO): Likewise.
45540         (R_MN10300_TLS_GOTIE): Likewise.
45541         (R_MN10300_TLS_IE): Likewise.
45542         (R_MN10300_TLS_LE): Likewise.
45543         (R_MN10300_TLS_DTPMOD): Likewise.
45544         (R_MN10300_TLS_DTPOFF): Likewise.
45545         (R_MN10300_TLS_TPOFF): Likewise.
45546         (R_MN10300_SYM_DIFF): Likewise.
45547         (R_MN10300_ALIGN): Likewise.
45548         (R_MN10300_NUM): Update.
45550 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
45552         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
45553         Remove.
45555 2012-08-08  Roland McGrath  <roland@hack.frob.com>
45557         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
45559         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
45560         sysdeps/unix -> sysdeps/posix move.
45561         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
45563 2012-08-07      Allan McRae     <allan@archlinux.org>
45565         [BZ #14303]
45566         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
45567         (SUNOS_CPP): Likewise.
45568         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
45569         not found.
45570         (open_input): Call CPP using execvp.
45572 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
45574         * sysdeps/unix/sysv/linux/kernel-features.h
45575         (__ASSUME_PROT_GROWSUPDOWN): Remove.
45576         (__ASSUME_NO_CLONE_DETACHED): Likewise.
45577         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45578         (__ASSUME_WAITID_SYSCALL): Likewise.
45579         * sysdeps/unix/sysv/linux/dl-execstack.c
45580         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
45581         code unconditional.
45582         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
45583         conditional code.
45584         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
45585         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
45586         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
45587         code.
45588         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
45589         unconditional.
45590         [__ASSUME_WAITID_SYSCALL]: Likewise.
45591         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
45593 2012-08-07  Roland McGrath  <roland@hack.frob.com>
45595         * sysdeps/unix/closedir.c: Renamed to ...
45596         * sysdeps/posix/closedir.c: ... here.
45597         * sysdeps/unix/dirfd.c: Renamed to ...
45598         * sysdeps/posix/dirfd.c: ... here.
45599         * sysdeps/unix/dirstream.h: Renamed to ...
45600         * sysdeps/posix/dirstream.h: ... here.
45601         * sysdeps/unix/fdopendir.c: Renamed to ...
45602         * sysdeps/posix/fdopendir.c: ... here.
45603         * sysdeps/unix/opendir.c: Renamed to ...
45604         * sysdeps/posix/opendir.c: ... here.
45605         * sysdeps/unix/readdir.c: Renamed to ...
45606         * sysdeps/posix/readdir.c: ... here.
45607         * sysdeps/unix/readdir_r.c: Renamed to ...
45608         * sysdeps/posix/readdir_r.c: ... here.
45609         * sysdeps/unix/rewinddir.c: Renamed to ...
45610         * sysdeps/posix/rewinddir.c: ... here.
45611         * sysdeps/unix/seekdir.c: Renamed to ...
45612         * sysdeps/posix/seekdir.c: ... here.
45613         * sysdeps/unix/telldir.c: Renamed to ...
45614         * sysdeps/posix/telldir.c: ... here.
45615         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
45616         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
45617         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
45618         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
45620         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
45621         * bits/fcntl.h: ... here.
45623         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
45624         not 0.
45625         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
45626         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
45627         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
45628         (struct flock): Move l_start, l_len to the beginning.
45629         Use __pid_t for l_pid.
45630         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
45631         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
45632         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
45633         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
45634         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
45635         [__USE_LARGEFILE64] (struct flock64): New type.
45636         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
45638         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
45639         * bits/dirent.h: ... here.
45641         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
45642         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
45644 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
45646         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45647         Change from 2.6.0 to 2.6.16.
45648         * sysdeps/unix/sysv/linux/configure: Regenerated.
45649         * sysdeps/unix/sysv/linux/kernel-features.h
45650         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
45651         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
45652         version.
45653         (__ASSUME_UTIMES): Likewise.
45654         (__ASSUME_CLONE_STOPPED): Remove.
45655         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
45656         architectures, not kernel version.
45657         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
45658         (__ASSUME_NO_CLONE_DETACHED): Likewise.
45659         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45660         (__ASSUME_WAITID_SYSCALL): Likewise.
45661         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
45662         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
45663         * README: State 2.6.16 as minimum Linux kernel version.  Do not
45664         refer to older versions.
45666 2012-08-06  Roland McGrath  <roland@hack.frob.com>
45668         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
45669         Define alphasort64 as an alias.
45670         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
45671         Define versionsort64 as an alias.
45672         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
45673         Define scandir64 as an alias.
45674         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
45675         Define scandirat64 as an alias.
45676         * dirent/alphasort64.c (alphasort64):
45677         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
45678         * dirent/versionsort64.c: Likewise.
45679         * dirent/scandir64.c: Likewise.
45680         * dirent/scandirat64.c: Likewise.
45681         * sysdeps/wordsize-64/alphasort.c: File removed.
45682         * sysdeps/wordsize-64/alphasort64.c: File removed.
45683         * sysdeps/wordsize-64/scandir.c: File removed.
45684         * sysdeps/wordsize-64/scandir64.c: File removed.
45685         * sysdeps/wordsize-64/scandirat.c: File removed.
45686         * sysdeps/wordsize-64/scandirat64.c: File removed.
45687         * sysdeps/wordsize-64/versionsort.c: File removed.
45688         * sysdeps/wordsize-64/versionsort64.c: File removed.
45689         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
45690         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
45691         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
45692         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
45693         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
45694         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
45695         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
45696         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
45698         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
45699         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45700         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
45701         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45702         [defined __arch64__ || defined __sparcv9]
45703         (__INO_T_MATCHES_INO64_T): New macro.
45704         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45705         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
45706         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
45707         * sysdeps/unix/sysv/linux/bits/dirent.h
45708         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
45709         (_DIRENT_MATCHES_DIRENT64): New macro.
45711         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
45712         Define lockf64 as an alias.
45713         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
45714         Define fseeko64 as an alias.
45715         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
45716         Define ftello64 as an alias.
45717         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
45718         Define _IO_fgetpos64 and fgetpos64 as aliases.
45719         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
45720         Define _IO_fsetpos64 and fsetpos64 as aliases.
45721         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
45722         Conditionalize body on this.
45723         * libio/fseeko64.c: Likewise.
45724         * libio/ftello64.c: Likewise.
45725         * libio/iofgetpos64.c: Likewise.
45726         * libio/iofsetpos64.c: Likewise.
45727         * sysdeps/wordsize-64/lockf.c: File removed.
45728         * sysdeps/wordsize-64/lockf64.c: File removed.
45729         * sysdeps/wordsize-64/fseeko.c: File removed.
45730         * sysdeps/wordsize-64/fseeko64.c: File removed.
45731         * sysdeps/wordsize-64/ftello.c: File removed.
45732         * sysdeps/wordsize-64/ftello64.c: File removed.
45733         * sysdeps/wordsize-64/iofgetpos.c: File removed.
45734         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
45735         * sysdeps/wordsize-64/iofsetpos.c: File removed.
45736         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
45737         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
45738         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
45739         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
45740         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
45741         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
45742         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
45743         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
45744         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
45745         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
45746         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
45748         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45749         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45750         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
45751         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45752         [defined __arch64__ || defined __sparcv9]
45753         (__OFF_T_MATCHES_OFF64_T): New macro.
45754         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45755         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45756         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45757         (__OFF_T_MATCHES_OFF64_T): New macro.
45759 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
45761         * stdlib/secure-getenv.c (__secure_getenv): Replace
45762         GLIBC_2_16 with GLIBC_2_17.
45764 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
45766         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
45767         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
45769 2012-08-03  David S. Miller  <davem@davemloft.net>
45771         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45773 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
45775         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
45776         Remove.
45777         (__ASSUME_CORRECT_SI_PID): Likewise.
45778         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
45779         (__ASSUME_TMPFS_NAME): Likewise.
45780         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
45781         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
45782         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
45783         (HAVE_AUX_SECURE): Make definition unconditional.
45784         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
45785         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
45787 2012-08-03  Roland McGrath  <roland@hack.frob.com>
45789         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
45790         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
45791         * sysdeps/mach/hurd/eloop-threshold.h: New file.
45792         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
45793         __eloop_threshold instead of SYMLOOP_MAX.
45795         * sysdeps/generic/eloop-threshold.h: New file.
45796         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
45797         of MAXSYMLINKS.
45798         * elf/chroot_canon.c (chroot_canon): Likewise.
45800 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
45802         [BZ #13717]
45803         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45804         Change to 2.6.0 everywhere.
45805         * sysdeps/unix/sysv/linux/configure: Regenerated.
45806         * sysdeps/unix/sysv/linux/kernel-features.h
45807         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
45808         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
45809         kernel versions.
45810         (__ASSUME_POSIX_TIMERS): Define unconditionally.
45811         (__ASSUME_FUTEX_REQUEUE): Remove.
45812         (__ASSUME_STATFS64): Define unconditionally.
45813         (__ASSUME_AT_SECURE): Likewise.
45814         (__ASSUME_CORRECT_SI_PID): Likewise.
45815         (__ASSUME_TGKILL): Define without depending on kernel version for
45816         i386.
45817         (__ASSUME_UTIMES): Likewise.
45818         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
45819         kernel version.
45820         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
45821         (__ASSUME_TMPFS_NAME): Likewise.
45822         * README: Update reference to Linux kernel versions.
45824 2012-08-02  Marek Polacek  <polacek@redhat.com>
45826         [BZ# 14150]
45827         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
45828         libc_cv_asm_type_prefix with %.
45829         * configure: Regenerated.
45830         * include/libc-symbols.h: Remove comment about
45831         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
45832         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
45833         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
45834         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
45835         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
45836         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
45837         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
45838         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
45839         * elf/tst-unique2mod1.c: Likewise.
45840         * elf/tst-unique1mod2.c: Likewise.
45841         * elf/tst-unique1mod1.c: Likewise.
45842         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
45843         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
45844         Replace ASM_TYPE_DIRECTIVE with .type.
45845         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45846         * sysdeps/i386/sysdep.h: Likewise.
45847         * sysdeps/x86_64/sysdep.h: Likewise.
45848         * sysdeps/sh/sysdep.h: Likewise.
45849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45850         Do not define ASM_TYPE_DIRECTIVE.
45851         * sysdeps/powerpc/sysdep.h: Likewise.
45852         * sysdeps/powerpc/powerpc32/sysdep.h:
45853         Replace ASM_TYPE_DIRECTIVE with .type.
45854         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45855         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45856         * sysdeps/i386/fpu/e_powf.S: Likewise.
45857         * sysdeps/i386/fpu/e_expl.S: Likewise.
45858         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45859         * sysdeps/i386/fpu/e_acosh.S: Likewise.
45860         * sysdeps/i386/fpu/e_pow.S: Likewise.
45861         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
45862         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45863         * sysdeps/i386/fpu/s_expm1.S: Likewise.
45864         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
45865         * sysdeps/i386/fpu/e_log2.S: Likewise.
45866         * sysdeps/i386/fpu/e_log2l.S: Likewise.
45867         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45868         * sysdeps/i386/fpu/e_powl.S: Likewise.
45869         * sysdeps/i386/fpu/e_log10f.S: Likewise.
45870         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
45871         * sysdeps/i386/fpu/e_logl.S: Likewise.
45872         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
45873         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
45874         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
45875         * sysdeps/i386/fpu/e_log2f.S: Likewise.
45876         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45877         * sysdeps/i386/fpu/e_log.S: Likewise.
45878         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45879         * sysdeps/i386/fpu/e_logf.S: Likewise.
45880         * sysdeps/i386/fpu/e_log10l.S: Likewise.
45881         * sysdeps/i386/fpu/e_atanh.S: Likewise.
45882         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
45883         * sysdeps/i386/fpu/e_log10.S: Likewise.
45884         * sysdeps/i386/fpu/s_frexp.S: Likewise.
45885         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45886         * sysdeps/i386/fpu/s_asinh.S: Likewise.
45887         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
45888         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45889         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
45890         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
45891         * sysdeps/i386/i686/strtok.S: Likewise.
45892         * sysdeps/i386/i386-mcount.S: Likewise.
45893         * sysdeps/i386/strtok.S: Likewise.
45894         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
45895         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45896         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45897         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45898         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45899         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45900         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
45901         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
45902         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45903         * sysdeps/x86_64/_mcount.S: Likewise.
45904         * sysdeps/x86_64/strtok.S: Likewise.
45905         * sysdeps/sh/_mcount.S: Likewise.
45907 2012-08-01  Roland McGrath  <roland@hack.frob.com>
45909         * libio/iofopen.c: Include <fcntl.h>.
45910         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
45911         (_IO_fopen64, fopen64): Define as aliases.
45912         * libio/iofopen64.c: Include <fcntl.h>.
45913         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
45914         Conditionalize body on this.
45915         * sysdeps/wordsize-64/iofopen.c: File removed.
45916         * sysdeps/wordsize-64/iofopen64.c: File removed.
45918 2012-08-01  Marek Polacek  <polacek@redhat.com>
45920         * libc/Makeconfig: Use elf in place of binfmt-subdir.
45921         Use dlfcn directly instead of a variable.
45922         (binfmt-subdir): Do not define.
45923         (dlfcn): Likewise.
45925 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
45927         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
45928         Remove all definitions.
45929         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
45930         <kernel-features.h>.
45931         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
45932         (miss_F_GETOWN_EX): Remove all definitions.
45933         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
45934         macro definition.
45935         [!__ASSUME_FCNTL64]: Remove conditional code.
45936         [__ASSUME_FCNTL64]: Make code unconditional.
45937         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
45938         <kernel-features.h>.
45939         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
45940         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
45941         (lockf64) [__NR_fcntl64]: Make code unconditional.
45942         (lockf64) [__ASSUME_FCNTL64]: Likewise.
45944         * sysdeps/unix/sysv/linux/kernel-features.h
45945         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
45946         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
45947         Make code unconditional.
45948         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45949         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
45951         [__NR_vfork]: Make code unconditional.
45952         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45953         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
45955         [__NR_vfork]: Make code unconditional.
45956         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45957         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45959 2012-08-01  Roland McGrath  <roland@hack.frob.com>
45961         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
45962         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
45964         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45965         Define mkstemp64 as an alias.
45966         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45967         Define mkstemps64 as an alias.
45968         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45969         Define mkostemp64 as an alias.
45970         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45971         Define mkostemps64 as an alias.
45972         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
45973         Conditionalize body on this.
45974         * misc/mkostemp64.c: Likewise.
45975         * misc/mkostemps64.c: Likewise.
45976         * misc/mkstemps64.c: Likewise.
45977         * sysdeps/wordsize-64/mkstemp64.c: File removed.
45978         * sysdeps/wordsize-64/mkostemp64.c: File removed.
45979         * sysdeps/wordsize-64/mkostemp.c: File removed.
45980         * sysdeps/wordsize-64/mkstemp.c: File removed.
45981         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
45982         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
45983         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
45984         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
45986         [BZ #14138]
45987         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
45988         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
45989         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
45990         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
45992         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
45993         compat_symbol macros from <shlib-compat.h> rather than the underlying
45994         default_symbol_version and symbol_version macros, so that DEFAULT
45995         lines in shlib-versions are respected.
45996         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
45998 2012-08-01  Florian Weimer  <fweimer@redhat.com>
46000         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
46001         Declare with warn_unused_result.
46002         (setgid, setregid, setegid, setresgid): Likewise.
46003         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
46004         Likewise.
46005         * WUR-REPORT: Remove set*id functions.
46007 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
46009         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
46011 2012-07-31  Roland McGrath  <roland@hack.frob.com>
46013         [BZ #10191]
46014         * include/sys/socket.h (__libc_accept, __libc_accept4):
46015         Add attribute_hidden.
46016         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
46018         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
46019         use of PTR_MANGLE.
46020         * inet/getnetgrent_r.c (setup): Likewise.
46022         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
46024 2012-07-31  David S. Miller  <davem@davemloft.net>
46026         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46028 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
46030         [BZ #13629]
46031         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
46032         value between 1.0 and 2.0 and smaller part has absolute value less
46033         than 1.0.
46034         * math/s_clog10.c (__clog10): Likewise.
46035         * math/s_clog10f.c (__clog10f): Likewise.
46036         * math/s_clog10l.c (__clog10l): Likewise.
46037         * math/s_clogf.c (__clogf): Likewise.
46038         * math/s_clogl.c (__clogl): Likewise.
46039         * math/libm-test.inc (clog_test): Add more tests.
46040         (clog10_test): Likewise.
46041         * sysdeps/i386/fpu/libm-test-ulps: Update.
46042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46044 2012-07-31  Florian Weimer  <fweimer@redhat.com>
46046         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
46047         Exit with zero in case no suitable GID is found, and write a
46048         message to standard error.
46050 2012-07-30  Roland McGrath  <roland@hack.frob.com>
46052         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
46053         rather than to 1.
46054         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
46055         (MAXPATHLEN): Removed.
46056         (NOGROUP, NODEV): New macros.
46057         (setbit, clrbit, isset, isclr): New macros.
46058         (howmany, roundup, powerof2): New macros.
46059         (DEV_BSIZE): New macro.
46061         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
46062         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
46064         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
46065         definition on [!__NO_LONG_DOUBLE_MATH].
46067         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
46068         PTR_MANGLE and PTR_DEMANGLE.
46070         * socket/accept4.c (accept4): Rename to __libc_accept4.
46071         Define accept4 as a weak alias.
46073         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
46074         on [_DIRENT_HAVE_D_TYPE].
46075         * io/ftw.c (ftw_dir): Likewise.
46077         * io/xmknod.c (__xmknod): Don't check PATH for being null.
46079         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
46081         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
46082         Use the BSD numbers rather than the arbitrary ones we had.
46083         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
46084         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
46085         (SIGXCPU, SIGXFSZ): New macros.
46086         (_NSIG): Now 32.
46088         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
46089         initializer on [_LIBC_REENTRANT].
46091         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
46092         definitions inside [_POSIX_MAPPED_FILES].
46094         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
46096         * dirent/opendir.c: Include <fcntl.h>.
46098         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
46099         (__libc_getspecific): Likewise.
46100         (__libc_key_create): Likewise.
46102         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
46103         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
46104         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
46105         (tmpfile64): Define as alias.
46106         * sysdeps/wordsize-64/tmpfile.c: File removed.
46107         * sysdeps/wordsize-64/tmpfile64.c: File removed.
46108         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
46109         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
46111         * stdio-common/vfscanf.c: Include <stdbool.h>.
46112         * nss/makedb.c: Likewise.
46113         * stdio-common/_i18n_number.h: Likewise.
46114         * argp/argp-help.c: Likewise.
46115         * posix/wordexp.c: Likewise.
46116         * sysdeps/posix/spawni.c: Likewise.
46117         * nss/nss_files/files-initgroups.c: Likewise.
46118         * stdio-common/reg-modifier.c: Include <stdlib.h>.
46119         * nss/nss_files/files-initgroups.c: Likewise.
46120         * nss/nss_db/db-netgrp.c: Likewise.
46121         * nss/nss_db/db-initgroups.c: Likewise.
46122         * io/fchmodat.c: Include <sys/stat.h>.
46124         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
46125         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
46127         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
46128         [HAVE_MMAP].
46130         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
46131         Add multiple inclusion protection.
46133 2012-07-27  David S. Miller  <davem@davemloft.net>
46135         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46137 2012-07-27  Gary Benson  <gbenson@redhat.com>
46139         [BZ #14298]
46140         * elf/rtld.c: Include <stap-probe.h>.
46141         (dl_main): Added static probes "init_start" and "init_complete".
46142         * elf/dl-load.c: Include <stap-probe.h>.
46143         (lose): Take new parameter "nsid".
46144         Added static probe "map_failed".
46145         (_dl_map_object_from_fd): Pass namespace id to lose.
46146         Added static probe "map_start".
46147         (open_verify): Pass namespace id to lose.
46148         * elf/dl-open.c: Include <stap-probe.h>.
46149         (dl_open_worker) Added static probes "map_complete", "reloc_start"
46150         and "reloc_complete".
46151         * elf/dl-close.c: Include <stap-probe.h>.
46152         (_dl_close_worker): Added static probes "unmap_start" and
46153         "unmap_complete".
46154         * elf/rtld-debugger-interface.txt: New file documenting the above.
46156 2012-07-26  Roland McGrath  <roland@hack.frob.com>
46158         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
46159         rather than a string variable.
46160         * sunrpc/rpc_main.c (h_output): Likewise.
46161         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
46163 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
46165         * inet/check_native.c: New file.
46167 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
46169         [BZ #13629]
46170         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
46171         if larger part has absolute value 1.0.
46172         * math/s_clog10.c (__clog10): Likewise.
46173         * math/s_clog10f.c (__clog10f): Likewise.
46174         * math/s_clog10l.c (__clog10l): Likewise.
46175         * math/s_clogf.c (__clogf): Likewise.
46176         * math/s_clogl.c (__clogl): Likewise.
46177         * math/libm-test.inc (clog_test): Add more tests.
46178         (clog10_test): Likewise.
46179         * sysdeps/i386/fpu/libm-test-ulps: Update.
46180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46182         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
46183         (pltexit): Likewise.
46184         (La_regs): Likewise.
46185         (La_retval): Likewise.
46186         (int_retval): Likewise.
46187         Update #error for removed macros to refer only to definitions in
46188         tst-audit.h.
46189         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
46190         macro.
46191         (pltexit): Likewise.
46192         (La_regs): Likewise.
46193         (La_retval): Likewise.
46194         (int_retval): Likewise.
46195         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
46196         macro.
46197         (pltexit): Likewise.
46198         (La_regs): Likewise.
46199         (La_retval): Likewise.
46200         (int_retval): Likewise.
46201         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
46202         macro.
46203         (pltexit): Likewise.
46204         (La_regs): Likewise.
46205         (La_retval): Likewise.
46206         (int_retval): Likewise.
46207         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
46208         macro.
46209         (pltexit): Likewise.
46210         (La_regs): Likewise.
46211         (La_retval): Likewise.
46212         (int_retval): Likewise.
46213         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
46214         macro.
46215         (pltexit): Likewise.
46216         (La_regs): Likewise.
46217         (La_retval): Likewise.
46218         (int_retval): Likewise.
46219         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
46220         macro.
46221         (pltexit): Likewise.
46222         (La_regs): Likewise.
46223         (La_retval): Likewise.
46224         (int_retval): Likewise.
46225         * sysdeps/generic/tst-audit.h: Update comment to refer only to
46226         macro definitions in tst-audit.h.
46227         * sysdeps/i386/tst-audit.h: New file.
46228         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
46229         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
46230         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
46231         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
46232         * sysdeps/sh/tst-audit.h: Likewise.
46233         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
46234         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
46235         * sysdeps/x86_64/tst-audit.h: Likewise.
46237 2012-07-26  Andreas Jaeger  <aj@suse.de>
46239         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
46240         ptrace.
46242         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
46243         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
46244         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
46245         PTRACE_O_MASK.
46246         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
46247         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
46248         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
46250         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
46251         value.
46253         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
46254         _sigsys.
46255         (si_call_addr, si_syscall, si_arch): Define new macro.
46256         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
46257         _sigsys.
46258         (si_call_addr, si_syscall, si_arch): Define new marcro.
46259         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
46260         _sigsys.
46261         (si_call_addr, si_syscall, si_arch): Define new macro.
46262         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
46263         _sigsys.
46264         (si_call_addr, si_syscall, si_arch): Define new macro.
46266 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
46268         [BZ #13717]
46269         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46270         Change to 2.4.21 where previously 2.4.1.
46271         * sysdeps/unix/sysv/linux/configure: Regenerated.
46272         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
46273         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
46274         Linux kernel version.
46275         (__ASSUME_STD_AUXV): Remove.
46276         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
46277         kernel version.
46278         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
46279         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
46280         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
46281         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
46282         (__ASSUME_NETLINK_SUPPORT): Likewise.
46283         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
46284         (__no_netlink_support): Remove conditional definition.
46285         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
46286         Remove.
46287         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46288         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
46289         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
46290         (if_nameindex_ioctl): Remove.
46291         (if_nameindex_netlink): Do not handle __no_netlink_support.
46292         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46293         code.
46294         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
46295         Remove conditional code.
46296         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46297         code.
46298         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
46299         unconditional.
46300         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46301         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
46302         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
46303         Remove.
46304         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
46305         [!__ASSUME_STD_AUXV]: Remove conditional code.
46306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
46307         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
46308         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
46309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
46310         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
46311         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46312         code.
46313         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46315         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
46316         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46317         conditional code.
46318         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
46320         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46321         code.
46322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46323         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46324         conditional code.
46325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
46326         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46327         code unconditional.
46328         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46329         conditional code.
46330         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46331         unconditional.
46332         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46333         conditional code.
46334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46335         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46336         unconditional.
46337         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46338         conditional code.
46339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
46340         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46341         code unconditional.
46342         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46343         conditional code.
46344         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46345         unconditional.
46346         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46347         conditional code.
46348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
46349         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46350         code unconditional.
46351         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46352         conditional code.
46353         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46354         unconditional.
46355         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46356         conditional code.
46358 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
46360         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
46361         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
46362         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
46363         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
46364         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
46365         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
46366         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
46367         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
46368         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
46369         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
46370         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
46371         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
46372         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
46373         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
46374         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
46375         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
46376         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
46377         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
46378         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
46379         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
46380         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
46381         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
46382         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
46384 2012-07-25  Florian Weimer  <fweimer@redhat.com>
46386         * Versions.def: Add GLIBC_2.17.
46387         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
46388         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
46389         Introduce __libc_secure_getenv.
46390         * stdlib/Versions (2.17): Add secure_getenv
46391         (GLIBC_PRIVATE): Add __libc_secure_getenv.
46392         * stdlib/secure-getenv.c: Rename __secure_getenv to
46393         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
46394         symbol __secure_getenv for GLIBC_2.0.
46395         * stdlib/tst-secure-getenv.c: New.
46396         * stdlib/Makefile (tests): Add testcase.
46397         * manual/startup.texi (Environment Access): Document
46398         secure_getenv.
46399         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
46400         __libc_secure_getenv.
46401         * inet/ruserpass.c (ruserpass): Likewise.
46402         * malloc/mtrace.c (mtrace): Likewise.
46403         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
46404         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
46405         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
46406         * sysdeps/posix/tempname.c: Likewise.  Evaluate
46407         HAVE_SECURE_GETENV.
46408         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
46409         __secure_getenv to __libc_secure_getenv.
46410         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
46411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46412         Likewise.
46413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46414         Likewise.
46415         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
46416         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
46417         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
46418         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
46419         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
46420         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
46421         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
46423 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
46425         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
46426         (struct La_i86_retval): Likewise.
46427         (struct La_x86_64_regs): Likewise.
46428         (struct La_x86_64_retval): Likewise.
46429         (struct La_x32_regs): Likewise.
46430         (struct La_x32_retval): Likewise.
46431         (struct La_ppc32_regs): Likewise.
46432         (struct La_ppc32_retval): Likewise.
46433         (struct La_ppc64_regs): Likewise.
46434         (struct La_ppc64_retval): Likewise.
46435         (struct La_sh_regs): Likewise.
46436         (struct La_sh_retval): Likewise.
46437         (struct La_s390_32_regs): Likewise.
46438         (struct La_s390_32_retval): Likewise.
46439         (struct La_s390_64_regs): Likewise.
46440         (struct La_s390_64_retval): Likewise.
46441         (struct La_sparc32_regs): Likewise.
46442         (struct La_sparc32_retval): Likewise.
46443         (struct La_sparc64_regs): Likewise.
46444         (struct La_sparc64_retval): Likewise.
46445         (struct audit_ifaces): Remove architecture-specific pltenter and
46446         pltexit members.
46447         * sysdeps/i386/ldsodefs.h: New file.
46448         * sysdeps/powerpc/ldsodefs.h: Likewise.
46449         * sysdeps/s390/ldsodefs.h: Likewise.
46450         * sysdeps/sh/ldsodefs.h: Likewise.
46451         * sysdeps/sparc/ldsodefs.h: Likewise.
46452         * sysdeps/x86_64/ldsodefs.h: Likewise.
46454 2012-07-25  Marek Polacek  <polacek@redhat.com>
46456         [BZ #6808]
46457         * math/libm-test.inc (yn_test): Add another test.
46458         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
46459         to ERANGE when the result is +-Inf.
46460         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
46461         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
46462         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
46463         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
46465 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
46467         * conform/data/time.h-data (NULL): Use macro-constant.  Require
46468         equal to 0.
46469         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
46470         clock_t.
46471         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
46473 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
46475         * configure.in <sysdeps resolving>: Correct printing
46476         Implies_before.
46477         * configure: Regenerate.
46479 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
46481         * math/w_ilogb.c: Include <limits.h>.
46482         * math/w_ilogbl.c: Likewise.
46484 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
46486         * manual/lang.texi (__va_copy): Document primarily as ISO C99
46487         va_copy.  Document allowing for unavailable va_copy only as
46488         pre-C99 compatibility.
46489         * manual/string.texi (Copying and Concatenation): Use va_copy
46490         instead of __va_copy in concat example.
46492 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
46494         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
46495         (__sendto): Use create_address_port.  Initialize APORT and deallocate
46496         it if not null.
46498         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
46499         with O_NOLINK passed to __file_name_lookup.
46501         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
46502         with O_NOLINK passed to __file_name_lookup.
46504         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
46505         negative N or less than NGIDS.
46507         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
46508         type to string_t.  Set ERANGE as errno and return it if NAME is not big
46509         enough.  Use memcpy instead of strncpy.
46511 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
46513         * elf/Makefile (check-data): Remove.
46514         (localplt.data): New vpath directive.
46515         ($(objpfx)check-localplt.out): Use localplt.data from vpath
46516         instead of $(check-data).
46517         * scripts/data/localplt-generic.data: Move to ...
46518         * sysdeps/generic/localplt.data: ... here.
46519         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
46520         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
46521         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
46522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
46523         ... here.
46524         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
46525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
46526         ... here.
46527         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
46528         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
46529         ... here.
46530         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
46531         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
46532         ... here.
46533         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
46534         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
46535         ... here.
46536         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
46537         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
46538         ... here.
46540 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46542         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
46543         PPC32 and PPC64 files.
46544         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
46545         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
46547 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46549         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
46550         __makecontext_ret to ...
46551         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
46552         ... here and call exit if uc_link is NULL.  New file.
46553         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
46554         __makecontext_ret.S.
46555         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
46556         __makecontext_ret to ...
46557         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
46558         ... here and call exit if uc_link is NULL.  New file.
46559         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
46560         __makecontext_ret.S.
46562 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46564         * elf/elf.h (R_390_IRELATIVE): New definition.
46565         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
46566         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
46567         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
46568         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
46569         (elf_machine_lazy_rel): Likewise.
46570         * sysdeps/s390/dl-irel.h: New file.
46571         * sysdeps/s390/s390-64/memcpy.S: New asm code.
46572         * sysdeps/s390/s390-64/memset.S: New asm code.
46573         * sysdeps/s390/s390-64/memcmp.S: New asm code.
46574         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
46575         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
46576         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
46577         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
46578         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
46579         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
46580         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
46581         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
46582         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
46583         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
46584         * sysdeps/s390/s390-32/memcpy.S: New asm code.
46585         * sysdeps/s390/s390-32/memset.S: New asm code.
46586         * sysdeps/s390/s390-32/memcmp.S: New asm code.
46588 2012-07-17  Marek Polacek  <polacek@redhat.com>
46590         [BZ #14349]
46591         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
46592         * sysdeps/s390/s390-64/configure.in: Likewise.
46593         * sysdeps/sparc/configure.in: Likewise.
46594         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
46595         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
46596         * sysdeps/i386/configure.in: Likewise.
46597         * sysdeps/x86_64/configure.in: Likewise.
46598         * sysdeps/sh/configure.in: Likewise.
46599         * sysdeps/s390/s390-32/configure: Regenerated.
46600         * sysdeps/s390/s390-64/configure: Likewise.
46601         * sysdeps/x86_64/configure: Likewise.
46602         * sysdeps/sh/configure: Likewise.
46603         * sysdeps/powerpc/powerpc64/configure: Likewise.
46604         * sysdeps/powerpc/powerpc32/configure: Likewise.
46605         * sysdeps/sparc/configure: Likwise.
46606         * sysdeps/i386/configure: Likewise.
46608         * elf/dl-open.c: Comment fixes.
46610 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
46612         * Makefile [CXX] (check-data): Remove.
46613         [CXX] (c++-types.data): New vpath directive.
46614         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
46615         vpath.  Do not allow for C++ type data being missing.
46616         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
46617         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
46618         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
46619         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
46620         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
46621         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
46622         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
46623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
46624         ... here.
46625         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
46626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
46627         ... here.
46628         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
46629         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
46630         ... here.
46631         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
46632         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
46633         ... here.
46634         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
46635         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
46636         ... here.
46637         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
46638         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
46639         ... here.
46640         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
46641         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
46642         ... here.
46643         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
46644         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
46646         * elf/tls-macros.h (TLS_LE): Move architecture-specific
46647         definitions to architecture-specific files.
46648         (TLS_IE): Likewise.
46649         (TLS_LD): Likewise.
46650         (TLS_GD): Likewise.
46651         * sysdeps/i386/tls-macros.h: New file.
46652         * sysdeps/powerpc/tls-macros.h: Likewise.
46653         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
46654         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
46655         * sysdeps/sh/tls-macros.h: Likewise.
46656         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
46657         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
46658         * sysdeps/x86_64/tls-macros.h: Likewise.
46660 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
46662         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
46663         zero value for regular exit case.
46665         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
46666         (__start_context): Preserve zero value for regular exit case.
46668 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
46669             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46671         * manual/setjmp.texi (setcontext): Clarify normal process
46672         termination when uc_link is the null pointer.
46673         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
46674         exit call.
46676 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
46678         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
46679         preprocessor.  Test for each exception mask separately.
46681 2012-07-16  Andreas Jaeger  <aj@suse.de>
46683         * po/ru.po: Update from translation team.
46685 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
46687         * conform/data/string.h-data (NULL): Use macro-constant.  Require
46688         equal to 0.
46689         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46690         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46691         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
46692         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
46693         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46695 2012-07-13  Andreas Jaeger  <aj@suse.de>
46697         * po/fr.po: Update from translation team.
46699 2012-07-12  Marek Polacek  <polacek@redhat.com>
46701         [BZ #14173]
46702         * math/libm-test.inc (yn_test): Add test for BZ #14173.
46703         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
46704         loop condition.
46706 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
46708         [BZ #13717]
46709         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46710         Change to 2.4.1 where previously 2.4.0.
46711         * sysdeps/unix/sysv/linux/configure: Regenerated.
46712         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
46713         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
46714         version.
46715         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
46716         (__ASSUME_AT_CLKTCK): Remove.
46717         (__ASSUME_AT_PAGESIZE): Likewise.
46718         (__ASSUME_AT_XID): Likewise.
46719         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
46720         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
46721         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
46722         unconditionally.
46723         (HAVE_AUX_PAGESIZE): Likewise.
46724         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
46725         [__ASSUME_AT_CLKTCK]: Make code unconditional.
46726         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
46728 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
46730         [BZ #14307]
46731         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
46732         the temporary buffer used to invoke __gethostbyname2_r,
46733         __gethostbyaddr_r and gethostbyname4_r to make room for struct
46734         host_data / struct gaih_addrtuple.
46735         * resolv/nss_dns/dns-host.c (global scope): Move definition of
46736         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
46737         header file nss/nsswitch.h.
46738         * nss/nsswitch.h (global scope): Add definition of implementation
46739         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
46740         resolv/nss_dns/dns-host.c).
46742 2012-07-11  Andreas Jaeger  <aj@suse.de>
46744         * po/fr.po: Update from translation team.
46746         * po/sv.po: Update from translation team
46747         * po/fr.po: Another update from translation team.
46749 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46751         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
46752         for subnormals or multiply small sinh result by itself.
46753         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46754         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46756 2012-07-11  David S. Miller  <davem@davemloft.net>
46758         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46760 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
46762         [BZ #14347]
46763         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
46764         (INTERNAL_MARK): Shift it here.
46766 2012-07-10  Marek Polacek  <polacek@redhat.com>
46768         [BZ #14151]
46769         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
46770         libc_cv_asm_global_directive with .globl.
46771         * configure: Regenerated.
46772         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
46773         with .globl.
46774         * sysdeps/i386/configure: Regenerated.
46775         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
46776         with .globl.
46777         * sysdeps/x86_64/configure: Regenerated.
46778         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
46779         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
46780         * elf/tst-unique2mod2.c: Likewise.
46781         * elf/tst-unique2mod1.c: Likewise.
46782         * elf/tst-unique1mod2.c: Likewise.
46783         * elf/tst-unique1mod1.c: Likewise.
46784         * sysdeps/s390/s390-32/sysdep.h: Likewise.
46785         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
46786         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46787         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46788         * sysdeps/mach/sysdep.h: Likewise.
46789         * sysdeps/i386/sysdep.h: Likewise.
46790         * sysdeps/i386/i386-mcount.S: Likewise.
46791         * sysdeps/x86_64/_mcount.S: Likewise.
46792         * sysdeps/x86_64/sysdep.h: Likewise.
46793         * sysdeps/sh/_mcount.S: Likewise.
46794         * sysdeps/sh/sysdep.h: Likewise.
46795         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
46796         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
46797         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
46798         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46799         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
46800         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
46801         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
46802         * locale/localeinfo.h: Likewise.
46803         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
46804         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
46806 2012-07-09  Roland McGrath  <roland@hack.frob.com>
46808         [BZ #14336]
46809         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
46810         system".
46811         * manual/message.texi (The Uniforum approach): Likewise.
46812         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
46813         (glibc iconv Implementation): Likewise.
46815 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
46817         [BZ #14337]
46818         * math/s_clog.c (__clog): Avoid scaling a value down where that
46819         could result in underflow.
46820         * math/s_clog10.c (__clog10): Likewise.
46821         * math/s_clog10f.c (__clog10f): Likewise.
46822         * math/s_clog10l.c (__clog10l): Likewise.
46823         * math/s_clogf.c (__clogf): Likewise.
46824         * math/s_clogl.c (__clogl): Likewise.
46825         * math/libm-test.inc (clog_test): Add more tests.
46826         (clog10_test): Likewise.
46827         * sysdeps/i386/fpu/libm-test-ulps: Update.
46828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46830 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
46832         [BZ #14283]
46833         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
46834         by 7 not 8 to examine high bit of fractional part.
46836         [BZ #14042]
46837         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
46838         for call to __mcount_internal.
46839         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
46840         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
46841         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
46843 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
46845         [BZ #14154]
46846         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
46847         approximation for values within 0x1p-13f of an odd multiple of
46848         pi/4.
46849         * math/libm-test.inc (tan_test): Do not allow spurious underflow
46850         exception.  Add more tests.
46851         * sysdeps/i386/fpu/libm-test-ulps: Update.
46853         [BZ #6778]
46854         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
46855         inputs and return -1 for them.  Do not check for +Inf in case not
46856         reachable for +Inf.
46857         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
46858         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
46859         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
46860         and return -1 for them.  Do not check for +Inf in case not
46861         reachable for +Inf.
46862         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
46863         define.
46864         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
46865         and return -1 for them.  Do not check for +Inf in case not
46866         reachable for +Inf.
46867         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
46868         spurious underflow.
46869         * sysdeps/i386/fpu/libm-test-ulps: Update.
46870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46872 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
46874         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
46876 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
46878         [BZ #14157]
46879         [BZ #14331]
46880         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
46881         could result in spurious underflow.  Scale down values above
46882         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
46883         * math/s_csqrtf.c (__csqrtf): Likewise.
46884         * math/s_csqrtl.c (__csqrtl): Likewise.
46885         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
46886         spurious underflow.
46887         * sysdeps/i386/fpu/libm-test-ulps: Update.
46888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46890 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
46892         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
46893         xopen-msg.sed.
46894         * catgets/xopen-msg.awk: New file.
46895         * catgets/xopen-msg.sed: Removed.
46897         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
46898         po2text.sed.
46899         * intl/po2test.awk: New file.
46900         * intl/po2test.sed: Removed.
46902 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
46904         [BZ #14328]
46905         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
46906         or multiply small sinh result by itself.
46907         * math/s_ctanf.c (__ctanf): Likewise.
46908         * math/s_ctanh.c (__ctanh): Likewise.
46909         * math/s_ctanhf.c (__ctanhf): Likewise.
46910         * math/s_ctanhl.c (__ctanhl): Likewise.
46911         * math/s_ctanl.c (__ctanl): Likewise.
46912         * math/libm-test.inc (ctan_test_tonearest): New function.
46913         (ctan_test_towardzero): Likewise.
46914         (ctan_test_downward): Likewise.
46915         (ctan_test_upward): Likewise.
46916         (ctanh_test_tonearest): Likewise.
46917         (ctanh_test_towardzero): Likewise.
46918         (ctanh_test_downward): Likewise.
46919         (ctanh_test_upward): Likewise.
46920         (main): Call these new functions.
46921         * sysdeps/i386/fpu/libm-test-ulps: Update.
46922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46924 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
46926         * .gitignore: Delete /ports entry.
46928 2012-07-03  Andreas Jaeger  <aj@suse.de>
46930         * po/bg.po: Update from translation team.
46931         * po/cs.po: Likewise.
46932         * po/de.po: Likewise.
46933         * po/hr.po: Likewise.
46934         * po/nl.pl: Likewise.
46935         * po/pl.po: Likewise.
46936         * po/vi.po: Likewise.
46938 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
46940         * Makeconfig [!+link] (+link-before-libc): New variable.
46941         [!+link] (+link-after-libc): Likewise.
46942         [!+link] (+link-tests): Likewise.
46943         [!+link] (+link): Define in terms of $(+link-before-libc) and
46944         $(+link-after-libc).
46945         [!+link-static] (+link-static-before-libc): New variable.
46946         [!+link-static] (+link-static-after-libc): Likewise.
46947         [!+link-static] (+link-static-tests): Likewise.
46948         [!+link-static] (+link-static): Define in terms of
46949         $(+link-static-before-libc) and $(+link-static-after-libc).
46950         [build-shared] (link-libc-before-gnulib): New variable.
46951         [build-shared] (link-libc-tests): Likewise.
46952         [build-shared] (link-libc): Define in terms of
46953         $(link-libc-before-gnulib).
46954         [!build-shared] (link-libc-tests): New variable.
46955         (link-libc-static-tests): New variable.
46956         [!gnulib] (gnulib-arch): New variable.
46957         [!gnulib] (gnulib-tests): Likewise.
46958         [!gnulib] (static-gnulib-arch): Likewise.
46959         [!gnulib] (static-gnulib-tests): Likewise.
46960         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
46961         Define with "=" instead of ":=".
46962         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
46963         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
46964         * Rules (binaries-all-notests): New variable.
46965         (binaries-all-tests): Likewise.
46966         (binaries-static-notests): Likewise.
46967         (binaries-static-tests): Likewise.
46968         (binaries-all): Define using $(binaries-all-notests) and
46969         $(binaries-all-tests).
46970         (binaries-static): Define using $(binaries-static-notests) and
46971         $(binaries-static-tests).
46972         (binaries-shared-tests): New variable.
46973         (binaries-shared-notests): Likewise.
46974         (binaries-shared): Remove variable.
46975         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
46976         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
46977         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
46978         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
46979         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
46980         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
46981         * elf/Makefile (sln-modules): New variable.
46982         (extra-objs): Add $(sln-modules:=.o).
46983         (ldconfig-modules): Add static-stubs.
46984         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
46985         * elf/static-stubs.c: New file.
46987         [BZ #14283]
46988         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
46989         by 7 not 8 to examine high bit of fractional part.  Use volatile
46990         variables when splitting into final array of floats if
46991         __FLT_EVAL_METHOD__ != 0.
46992         * math/libm-test.inc (cos_test): Add another test.
46993         (sin_test): Likewise.
46994         * sysdeps/i386/fpu/libm-test-ulps: Update.
46996         [BZ #14273]
46997         * math/libm-test.inc (cosh_test): Add more tests.
46999         * version.h (RELEASE): Set to "development".
47000         (VERSION): Set to "2.16.90".
47002 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
47004         * NEWS: Update copyright. Remove last-updated date.
47005         Mention math library bug fixes and timezone data changes.
47006         * README: Mention GNU/Hurd, x32, and HPPA support status.
47008 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
47010         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
47012 2012-06-27  Andreas Jaeger  <aj@suse.de>
47014         * manual/contrib.texi (Contributors): Add Samuel Thibault.
47016 2012-06-25  Andreas Jaeger  <aj@suse.de>
47018         * sysdeps/s390/fpu/libm-test-ulps: Update.
47020 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
47021             Thomas Schwinge  <thomas@codesourcery.com>
47023         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
47024         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
47025         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
47026         fanotify_mark.
47028 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
47030         * sysdeps/mach/start.c: Remove file.
47031         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
47032         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
47033         * sysdeps/sh/init-first.c: Likewise.
47035         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
47036         registers for frame unwinding purposes, add CFI directives.
47037         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47038         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
47039         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
47040         Likewise.
47042         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
47043         __fortify_fail returning.
47044         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47046         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
47047         sysdeps/sh/____longjmp_chk.S.
47048         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
47049         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
47050         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
47051         (gen-as-const-headers): Append sigaltstack-offsets.sym.
47053         * sysdeps/sh/abort-instr.h: New file.
47054         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
47055         process in case exit returns.
47057         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
47058         initialize the GOT register before use.
47060         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
47061         calculation of ARGC > 4.
47063         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
47064         meaningful names to some local labels.
47066 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47067             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47069         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
47070         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
47071         (__arch_compare_and_exchange_val_16_acq): Likewise.
47072         (__arch_compare_and_exchange_val_32_acq): Likewise.
47073         (atomic_exchange_and_add): Fix gUSA sequence.
47074         (atomic_add): Likewise.
47075         (atomic_add_negative): Likewise.
47076         (atomic_add_zero): Likewise.
47077         (atomic_bit_test_set): Likewise.
47079 2012-06-22  Andreas Schwab  <schwab@redhat.com>
47081         [BZ #13579]
47082         * include/link.h (struct link_map): Add l_free_initfini.
47083         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
47084         l_initfini.
47085         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
47086         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
47087         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
47088         set.
47090 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
47092         * configure.in: Use AC_LANG_SOURCE.
47093         * configure: Regenerate.
47095 2012-06-22  Roland McGrath  <roland@hack.frob.com>
47097         * configure.in (libc_cv_localstatedir): New substituted variable.
47098         * configure: Regenerated.
47099         * config.make.in (localstatedir): New variable, substituted from
47100         libc_cv_localstatedir.
47101         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
47102         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
47103         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
47104         * sysdeps/gnu/configure: Regenerated.
47106 2012-06-21  Jeff Law  <law@redhat.com>
47108         [BZ #14277]
47109         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
47110         free.  Simplify list management for _LIBC case.
47112 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
47114         [BZ #14273]
47115         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
47116         Clear sign bit of 64-bit integer value before comparing against
47117         overflow value.
47119         * sysdeps/mach/configure: Regenerated.
47121 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
47123         [BZ #14278]
47124         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
47126 2012-06-21  Jeff Law  <law@redhat.com>
47128         [BZ #13882]
47129         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
47130         uint16_t for elements in the "seen" array to avoid char overflows.
47131         * elf/dl-fini.c (_dl_sort_fini): Likewise.
47132         * elf/dl-open.c (dl_open_worker): Likewise.
47134 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
47136         * scripts/list-sources.sh: Scan PORTS for translations.
47137         * po/libc.pot: Regenerated.
47139 2012-06-21  Andreas Jaeger  <aj@suse.de>
47141         [BZ #12194]
47142         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
47143         warning.
47144         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
47145         * bits/byteswap-16.h (__bswap_16): Likewise.
47146         * bits/byteswap.h (__bswap_constant_16): Likewise.
47148 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
47150         [BZ #14117]
47151         * sysdeps/i386/fpu_control.h: Removed.
47152         * sysdeps/x86_64/fpu_control.h: Moved to ...
47153         * sysdeps/x86/fpu_control.h: Here.
47155         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
47156         (_FPU_SETCW): Likewise.
47158 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
47160         [BZ #14117]
47161         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
47162         * sysdeps/x86/fpu/bits/mathinline.h: This.
47163         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
47165         [BZ #14050]
47166         [BZ #14117]
47167         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
47168         functions if __x86_64__ is defined.
47170 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
47172         * string/endian.h: Add !__ASSEMBLER__ condition for including
47173         conversion interfaces.
47175 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
47177         [BZ #14241]
47178         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
47179         of ABS(x) in calculating zero to negative powers other than odd
47180         integers.
47181         * math/libm-test.inc (pow_test): Add more tests.
47183 2012-06-15  Andreas Jaeger  <aj@suse.de>
47185         * manual/contrib.texi (Contributors): Update entry of Liubov
47186         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
47187         Machado Filho.
47189 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
47191         * string/string.h: Add __wur to GNU version of strerror_r.
47193 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
47195         [BZ #14229]
47196         * string/Makefile (tests): Add tst-strtok_r.
47197         * string/tst-strtok_r.c: New file.
47198         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
47199         RAX_LP/RDX_LP on SAVE_PTR.
47201 2012-06-14  Roland McGrath  <roland@hack.frob.com>
47203         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
47205 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
47207         * libm_test.inc (csqrt_test): Allow more spurious underflow
47208         exceptions.
47209         (j0_test): Likewise.
47210         (j1_test): Likewise.
47211         (y0_test): Likewise.
47212         (y1_test): Likewise.
47214 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
47216         * po/Makefile (libc.pot): Use UTF-8 charset.
47218 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
47220         [BZ #14210]
47221         Suppress sign-conversion warning from FD_SET.
47222         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
47223         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
47224         not unsigned long int.
47225         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
47227 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
47229         [BZ #14050]
47230         [BZ #14117]
47231         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
47232         __extern_always_inline instead of __extern_inline.
47233         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
47234         (__signbit): Likewise.
47235         (__signbitl): Support C++ namespace.
47236         (lrintf): New inline function.
47237         (lrint): Likewise.
47238         (llrintf): Likewise.
47239         (llrint): Likewise.
47240         (fmaxf): Likewise.
47241         (fmax): Likewise.
47242         (fminf): Likewise.
47243         (fmin): Likewise.
47244         (rint): Likewise.
47245         (rintf): Likewise.
47246         (ceil): Likewise.
47247         (ceilf): Likewise.
47248         (floor): Likewise.
47249         (floorf): Likewise.
47250         (nearbyint): Likewise.
47251         (nearbyintf): Likewise.
47253 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
47255         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
47256         non-default versions.
47258 2012-06-11  Roland McGrath  <roland@hack.frob.com>
47260         [BZ #14218]
47261         * manual/argp.texi (Argp): Reword argp_parse description slightly.
47263 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
47265         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
47266         (FE_UPWARD, FE_DOWNWARD): Don't define.
47267         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
47268         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47270         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
47271         reading it.
47272         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47273         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47275 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47277         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
47278         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
47279         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
47280         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
47282 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
47284         [BZ #14117]
47285         * sysdeps/i386/fpu/bits/fenv.h: Removed.
47286         * sysdeps/i386/fpu/Implies: New file.
47287         * sysdeps/x86_64/fpu/Implies: Likewise.
47288         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
47289         * sysdeps/x86/fpu/bits/fenv.h: This.
47291         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
47292         __SSE_MATH__.
47294 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47296         [BZ #14134]
47297         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
47298         character 0xffff that matches the last element of the
47299         conversion table.
47301 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47303         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
47304         fmodl commit.
47306 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47308         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
47309         values higher than 25.6283.
47311 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47313         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
47314         subnormal exponent extraction and add some __builtin_expect.
47315         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
47316         Fix for subnormal mantissa calculation.
47318 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
47320         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
47321         cpu2 is -1 and errno is not ENOSYS.
47323 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
47325         [BZ #14117]
47326         * sysdeps/i386/i486/bits/string.h: Renamed to ...
47327         * sysdeps/x86/bits/string.h: This.
47328         * sysdeps/x86_64/bits/string.h: Removed.
47330         * sysdeps/i386/i486/bits/string.h: Define inline functions only
47331         if not compiling for x86-64, but compiling for >= i486.
47333         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
47334         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
47336         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
47337         New macro from Linux kernel 3.4.0.
47338         (FP_XSTATE_MAGIC2): Likewise.
47339         (FP_XSTATE_MAGIC2_SIZE): Likewise.
47340         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
47341         (struct _fpx_sw_bytes): New struct.
47342         (struct _xsave_hdr): Likewise.
47343         (struct _ymmh_state): Likewise.
47344         (struct _xstate): Likewise.
47346         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
47347         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
47348         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
47349         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
47350         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
47351         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
47353         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
47354         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
47355         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
47356         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
47357         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
47358         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
47360 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47362         [BZ #13743]
47363         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
47364         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
47365         (sysdep_headers): Include sys/platform/ppc.h.
47366         * sysdeps/powerpc/test-gettimebase.c: Test for
47367         __ppc_get_timebase() to catch future ISA opcode/insn changes.
47368         * manual/Makefile (appendices): Include platform.texi.
47369         * manual/contrib.texi (Contributors): Update @node pointers.
47370         * manual/maint.texi (Maintenance): Likewise.
47371         (Platform): New node.
47372         * manual/platform.texi: New file.  Document the new features.
47374 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47375             Jakub Jelinek  <jakub@redhat.com>
47377         [BZ #14188]
47378         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
47379         where __builtin_expect is unavailable.
47381 2012-06-03  David S. Miller  <davem@davemloft.net>
47383         * stdlib/longlong.h: Updated from GCC.
47385 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
47387         [BZ #14042]
47388         * sysdeps/powerpc/powerpc32/mcount.c: New file.
47389         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
47390         __mcount_internal.
47391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
47392         (GLIBC_2.16): Likewise.
47394 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47396         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
47398 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
47400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
47401         (default-abi): New variable.
47402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
47403         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
47404         variable.
47405         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
47406         Likewise.
47407         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
47408         Likewise.
47409         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
47410         Likewise.
47412         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
47413         definition.  Document in comment.
47415 2012-06-01  David S. Miller  <davem@davemloft.net>
47417         * stdlib/longlong.h: Updated from GCC.
47419 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47421         [BZ #14117]
47422         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
47423         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
47424         sys/debugreg.h sys/io.h here.
47425         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
47426         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
47427         sys/io.h.
47428         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
47429         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
47430         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
47431         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
47432         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
47433         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
47435         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
47436         Define only if __x86_64__ is defined.
47438 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
47440         [BZ #14048]
47441         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
47442         Use int64_t for variable i.
47443         * math/libm-test.inc (fmod_test): Add more tests.
47445         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
47446         z computation is not scheduled after fetestexcept.
47447         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
47448         Use math_force_eval instead of asm to ensure calculation scheduled
47449         before exception test.
47450         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
47451         Ensure a1 + u.d computation is not scheduled after fetestexcept.
47453 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
47455         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
47456         computation is not scheduled after fetestexcept.
47458 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47460         [BZ #14117]
47461         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
47462         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
47464 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47466         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
47467         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47469 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
47471         [BZ #14117]
47472         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
47473         <bits/wordsize.h>.
47474         (__WCHAR_MIN): Support __WORDSIZE == 64.
47475         (__WCHAR_MAX): Likewise.
47477         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
47478         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
47480         [BZ #14183]
47481         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
47482         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
47484         [BZ #14117]
47485         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
47486         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
47488         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
47489         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
47491         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
47492         Defined to 1 if __x86_64__ isn't defined.
47493         (_STAT_VER_LINUX_OLD): New.
47494         (st_atime): Remove duplicate.
47495         (st_mtime): Likewise.
47496         (st_ctime): Likewise.
47498 2012-05-31  David S. Miller  <davem@davemloft.net>
47500         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
47501         entries.
47503 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
47505         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
47506         gen-libm-test.pl.
47508         [BZ #14132]
47509         * elf/dl-reloc.c: Include <_itoa.h>.
47510         (_dl_reloc_bad_type): Remove use of INTUSE.
47511         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
47512         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
47513         * stdio-common/psiginfo.c (psiginfo): Likewise.
47514         * stdio-common/psignal.c (psignal): Likewise.
47515         * string/strsignal.c (strsignal): Likewise.
47516         * include/signal.h (_sys_siglist): Declare hidden proto.
47517         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
47518         INTVARDEF with libc_hidden_data_def.
47519         * stdio-common/itoa-udigits.c: Likewise.
47520         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
47521         (_itoa_lower_digits_internal): Remove declaration.
47522         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
47523         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
47524         (_sys_sigabbrev_internal): Remove aliases.
47525         (_sys_siglist): Define hidden alias.
47527 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
47529         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47530         bits/sysctl.h.
47532 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
47534         [BZ #14117]
47535         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
47536         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
47538         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
47539         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
47540         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
47541         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
47542         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
47543         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
47545         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
47546         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
47547         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
47549         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
47550         with __addr.
47551         (insw): Likewise.
47552         (insl): Likewise.
47553         (outsb): Likewise.
47554         (outsw): Likewise.
47555         (outsl): Likewise.
47557         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
47558         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
47559         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
47561         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
47562         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
47563         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
47564         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
47565         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
47566         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
47568         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
47569         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
47571         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
47572         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
47574         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
47575         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
47576         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
47578         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
47579         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
47580         to ...
47581         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
47583         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
47584         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
47585         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
47587         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
47588         for x86-64.
47589         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
47591 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
47593         * math/math.h (M_El): Use two more decimal places.
47594         (M_LOG2El): Likewise.
47595         (M_LOG10El): Likewise.
47596         (M_LN2l): Likewise.
47597         (M_LN10l): Likewise.
47598         (M_PIl): Likewise.
47599         (M_PI_2l): Likewise.
47600         (M_PI_4l): Likewise.
47601         (M_1_PIl): Likewise.
47602         (M_2_PIl): Likewise.
47603         (M_2_SQRTPIl): Likewise.
47604         (M_SQRT2l): Likewise.
47605         (M_SQRT1_2l): Likewise.
47607 2012-05-31  David S. Miller  <davem@davemloft.net>
47609         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
47610         values between float registers.
47611         * sysdeps/sparc/sparc64/memset.S: Likewise.
47612         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
47614 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
47616         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
47617         -D_FORTIFY_SOURCE=1.
47618         (CPPFLAGS-tst-longjmp_chk.c): Define.
47619         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
47620         (CPPFLAGS-tst-longjmp_chk2.c): Define.
47621         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
47622         CFLAGS-tst-wchar-h.c.
47624 2012-05-31  Marek Polacek  <polacek@redhat.com>
47626         [BZ #14132]
47627         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
47628         __endmntent_internal): Remove declaration.
47629         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
47630         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
47631         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
47633 2012-05-30  David S. Miller  <davem@davemloft.net>
47635         * sysdeps/sparc/sparc32/soft-fp/q_util.c
47636         (___Q_simulate_exceptions): Use real FP ops rather than writing
47637         into the %fsr.
47638         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
47639         Likewise.
47641 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47643         [BZ #14117]
47644         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
47645         * sysdeps/x86/bits/xtitypes.h: This.
47647         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
47648         * sysdeps/x86/bits/wordsize.h: This.
47650         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
47651         * sysdeps/x86/bits/huge_vall.h: This.
47653         * sysdeps/i386/bits/select.h: Removed.
47654         * sysdeps/x86_64/bits/select.h: Renamed to ...
47655         * sysdeps/x86/bits/select.h: This.
47657         * sysdeps/i386/bits/setjmp.h: Removed.
47658         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
47659         * sysdeps/x86/bits/setjmp.h: This.
47661         * sysdeps/i386/bits/mathdef.h: Removed.
47662         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
47663         * sysdeps/x86/bits/mathdef.h: This.
47665 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
47667         [BZ #14132]
47668         * include/sys/socket.h (__connect_internal)
47669         (__libc_sa_len_internal): Remove declaration.
47670         (__connect, __libc_sa_len): Declare hidden_proto.
47671         (SA_LEN): Remove use of INTUSE.
47672         * socket/connect.c: Add libc_hidden_def.
47673         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
47674         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
47675         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
47676         alias.
47677         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
47678         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
47679         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
47680         of adding _internal alias.
47682 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47684         [BZ #14117]
47685         * sysdeps/i386/bits/link.h: Removed.
47686         * sysdeps/i386/bits/linkmap.h: Likewise.
47687         * sysdeps/x86_64/bits/link.h: Renamed to ...
47688         * sysdeps/x86/bits/link.h: This.
47689         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
47690         * sysdeps/x86/bits/linkmap.h: This.
47692         * sysdeps/i386/bits/endian.h: Removed.
47693         * sysdeps/x86_64/bits/endian.h: Renamed to ...
47694         * sysdeps/x86/bits/endian.h: This.
47696         * sysdeps/i386/bits/byteswap.h: Removed.
47697         * sysdeps/i386/bits/byteswap-16.h: Likewise.
47698         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
47699         * sysdeps/x86/bits/byteswap.h: This.
47700         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
47701         * sysdeps/x86/bits/byteswap-16.h: This.
47702         * sysdeps/i386/Implies: Add x86.
47703         * sysdeps/x86_64/Implies: Likewise.
47705 2012-05-30  David S. Miller  <davem@davemloft.net>
47707         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
47708         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
47709         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
47710         (FP_TRAPPING_EXCEPTIONS): Define.
47711         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
47712         (FP_TRAPPING_EXCEPTIONS): Define.
47713         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
47714         subnormals only when inexact has been signalled or underflow
47715         exceptions are enabled.
47716         (_FP_PACK_CANONICAL): Likewise.
47718 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47720         [BZ #14183]
47721         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
47722         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
47724 2012-05-30  Richard Henderson  <rth@twiddle.net>
47726         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
47727         with #ifndef NOT_IN_libc.
47729         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
47730         marked to avoid plt entry.
47732 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47734         [BZ #14112]
47735         * Makeconfig (default-abi): New macro.
47736         (abi-includes): Likewise.
47737         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
47738         $(abi-$(default-abi)-lib-soname) for soname if defined.
47739         ($(common-objpfx)gnu/lib-names.stmp): Generate from
47740         abi-variants.
47741         * Makefile (installed-stubs): Likewise.
47742         * include/stubs-biarch.h: Removed.
47743         * scripts/lib-names.awk: Only handle one library at a time.
47744         * scripts/soversions.awk: Remove WORDSIZE support.
47745         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
47746         entries.
47747         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
47748         Removed.
47749         (syscall-list-default-condition): Likewise.
47750         (syscall-list-default-condition): Likewise.
47751         (syscall-list-includes): Likewise.
47752         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
47753         syscall-list-* with abi-*.  Handle undefined abi-variants.
47754         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
47755         * sysdeps/unix/sysv/linux/i386/Implies: New file.
47756         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
47757         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
47758         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
47759         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
47760         Removed.
47761         (syscall-list-32-options): Likewise.
47762         (syscall-list-32-condition): Likewise.
47763         (syscall-list-64-options): Likewise.
47764         (syscall-list-64-condition): Likewise.
47765         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
47766         macro.
47767         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
47768         Renamed to ...
47769         (abi-*): This.
47770         (abi-64-ld-soname): New macro.
47771         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
47772         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
47773         Renamed to ...
47774         (abi-*): This.
47775         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
47776         * sysdeps/x86_64/x32/shlib-versions: Likewise.
47778 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
47780         * sysdeps/unix/sysv/linux/kernel-features.h
47781         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
47782         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
47783         include <kernel-features.h>.
47784         [!__NR_ftruncate64]: Remove conditional code.
47785         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47786         [__NR_ftruncate64]: Make code unconditional.
47787         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47788         * sysdeps/unix/sysv/linux/truncate64.c: Do not
47789         include <kernel-features.h>.
47790         [!__NR_ftruncate64]: Remove conditional code.
47791         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47792         [__NR_ftruncate64]: Make code unconditional.
47793         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
47795         include <kernel-features.h>.
47796         [!__NR_ftruncate64]: Remove conditional code.
47797         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47798         [__NR_ftruncate64]: Make code unconditional.
47799         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
47801         include <kernel-features.h>.
47802         [!__NR_ftruncate64]: Remove conditional code.
47803         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47804         [__NR_ftruncate64]: Make code unconditional.
47805         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47807         * configure.in (libc_cv_fpie): Weaken to a compile test using
47808         LIBC_TRY_CC_OPTION.
47809         * configure: Regenerated.
47811 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47813         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
47814         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
47815         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
47816         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47817         Refreshed.
47818         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
47819         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
47820         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
47821         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
47822         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
47823         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47824         Refreshed.
47826 2012-05-27  David S. Miller  <davem@davemloft.net>
47828         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
47829         (___Q_zero): New.
47830         (__Q_simulate_exceptions): Return void.  Change to simulate
47831         exceptions by writing into the %fsr.
47832         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
47833         (__Qp_handle_exceptions): Likewise.
47834         (numbers): Delete.
47835         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
47836         __Qp_handle_exceptions.
47837         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
47838         __Qp_handle_exceptions.
47839         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
47840         as unused and give dummy FP_RND_NEAREST initializer.
47841         (FP_INHIBIT_RESULTS): Define.
47842         (___Q_simulate_exceptions): Update declaration.
47843         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
47844         formatting.
47845         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
47846         as unused and give dummy FP_RND_NEAREST initializer.
47847         (__Qp_handle_exceptions): Update declaration.
47848         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
47849         formatting.
47851 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
47853         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
47854         the temporary FPU control word.
47855         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
47856         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
47857         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
47858         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47859         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
47860         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
47861         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
47862         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47863         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
47864         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
47865         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47867 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47869         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
47870         fields.
47872 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
47874         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
47875         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
47876         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
47877         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
47878         Likewise.
47879         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
47880         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
47881         Likewise.
47883 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
47885         * po/h.po: Update from translation team.
47887 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
47889         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
47891         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
47892         handling of denormals.
47893         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
47894         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
47895         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
47896         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
47897         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47898         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
47899         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
47900         Likewise.
47902 2012-05-26  Marek Polacek  <polacek@redhat.com>
47904         [BZ #14152]
47905         * math/libm-test.inc (fma_test): Don't always expect underflow
47906         exception.
47908 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47910         [BZ #12416]
47911         * elf/tst-execstack.c: Include stackinfo.h.
47912         (do_test): Adjust test case to ensure that pthread_getattr_np
47913         behaviour remains the same after marking stack executable.
47915 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
47917         * sysdeps/unix/sysv/linux/kernel-features.h
47918         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
47919         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
47920         kernel-features.h.
47921         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
47922         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
47923         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
47924         kernel-features.h.
47925         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
47926         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
47928 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
47930         * configure.in: Define the default includes to being none.
47931         * configure: Regenerated.
47933 2012-05-25  Roland McGrath  <roland@hack.frob.com>
47935         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
47936         * sysdeps/x86_64/setjmp.S: Likewise.
47937         * sysdeps/i386/bsd-setjmp.S: Likewise.
47938         * sysdeps/i386/bsd-_setjmp.S: Likewise.
47939         * sysdeps/i386/setjmp.S: Likewise.
47940         * sysdeps/i386/__longjmp.S: Likewise.
47941         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
47942         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
47944         * include/stap-probe.h: New file.
47945         * configure.in: Handle --enable-systemtap.
47946         * configure: Regenerated.
47947         * config.h.in (USE_STAP_PROBE): New #undef.
47948         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
47949         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
47950         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
47952 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
47954         [BZ #13717]
47955         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
47956         to 2.4.0 where earlier.
47957         * sysdeps/unix/sysv/linux/configure: Regenerated.
47958         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
47959         <kernel-features.h>.
47960         [__ASSUME_32BITUIDS]: Make code unconditional.
47961         [!__ASSUME_32BITUIDS]: Remove conditional code.
47962         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
47963         <kernel-features.h>.
47964         [__ASSUME_32BITUIDS]: Make code unconditional.
47965         [!__ASSUME_32BITUIDS]: Remove conditional code.
47966         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
47967         [__ASSUME_32BITUIDS]: Make code unconditional.
47968         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
47969         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
47970         <kernel-features.h>.
47971         [__ASSUME_32BITUIDS]: Make code unconditional.
47972         [!__ASSUME_32BITUIDS]: Remove conditional code.
47973         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
47974         <kernel-features.h>.
47975         [__ASSUME_32BITUIDS]: Make code unconditional.
47976         [!__ASSUME_32BITUIDS]: Remove conditional code.
47977         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
47978         <kernel-features.h>.
47979         [__ASSUME_32BITUIDS]: Make code unconditional.
47980         [!__ASSUME_32BITUIDS]: Remove conditional code.
47981         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
47982         <kernel-features.h>.
47983         [__ASSUME_32BITUIDS]: Make code unconditional.
47984         [!__ASSUME_32BITUIDS]: Remove conditional code.
47985         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
47986         <kernel-features.h>.
47987         [__ASSUME_32BITUIDS]: Make code unconditional.
47988         [!__ASSUME_32BITUIDS]: Remove conditional code.
47989         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
47990         <kernel-features.h>.
47991         [__ASSUME_32BITUIDS]: Make code unconditional.
47992         [!__ASSUME_32BITUIDS]: Remove conditional code.
47993         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
47994         <kernel-features.h>.
47995         [__ASSUME_32BITUIDS]: Make code unconditional.
47996         [!__ASSUME_32BITUIDS]: Remove conditional code.
47997         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
47998         <kernel-features.h>.
47999         [__ASSUME_32BITUIDS]: Make code unconditional.
48000         [!__ASSUME_32BITUIDS]: Remove conditional code.
48001         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
48002         <kernel-features.h>.
48003         [__ASSUME_32BITUIDS]: Make code unconditional.
48004         [!__ASSUME_32BITUIDS]: Remove conditional code.
48005         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
48006         <kernel-features.h>.
48007         [__ASSUME_32BITUIDS]: Make code unconditional.
48008         [!__ASSUME_32BITUIDS]: Remove conditional code.
48009         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
48010         <kernel-features.h>.
48011         [__NR_setresgid] (__setresgid): Do not declare.
48012         [__ASSUME_32BITUIDS]: Make code unconditional.
48013         [!__ASSUME_32BITUIDS]: Remove conditional code.
48014         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
48015         <kernel-features.h>.
48016         [__NR_setresuid] (__setresuid): Do not declare.
48017         [__ASSUME_32BITUIDS]: Make code unconditional.
48018         [!__ASSUME_32BITUIDS]: Remove conditional code.
48019         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.c: Do not include
48048         <kernel-features.h>.
48049         [__ASSUME_32BITUIDS]: Make code unconditional.
48050         [!__ASSUME_32BITUIDS]: Remove conditional code.
48051         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
48052         <kernel-features.h>.
48053         [__ASSUME_32BITUIDS]: Make code unconditional.
48054         [!__ASSUME_32BITUIDS]: Remove conditional code.
48055         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
48056         <kernel-features.h>.
48057         [__ASSUME_32BITUIDS]: Make code unconditional.
48058         [!__ASSUME_32BITUIDS]: Remove conditional code.
48059         * sysdeps/unix/sysv/linux/kernel-features.h
48060         (__ASSUME_SETRESUID_SYSCALL): Remove.
48061         (__ASSUME_SETRESGID_SYSCALL): Likewise.
48062         (__ASSUME_32BITUIDS): Likewise.
48063         (__ASSUME_LDT_WORKS): Likewise.
48064         (__ASSUME_O_DIRECTORY): Likewise.
48065         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
48066         architecture but not kernel version.
48067         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
48068         (__ASSUME_MMAP2_SYSCALL): Likewise.
48069         (__ASSUME_STAT64_SYSCALL): Likewise.
48070         (__ASSUME_IPC64): Likewise.
48071         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
48072         <kernel-features.h>.
48073         [__ASSUME_32BITUIDS]: Make code unconditional.
48074         [!__ASSUME_32BITUIDS]: Remove conditional code.
48075         * sysdeps/unix/sysv/linux/opendir.c: Do not include
48076         <kernel-features.h>.
48077         [__ASSUME_O_DIRECTORY]: Make code unconditional.
48078         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
48079         132096]: Remove conditional code.
48080         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
48081         * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
48090         <kernel-features.h>.
48091         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
48092         unconditional.
48093         (__setresgid): Do not declare.
48094         [__ASSUME_32BITUIDS]: Make code unconditional.
48095         [!__ASSUME_32BITUIDS]: Remove conditional code.
48096         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
48097         <kernel-features.h>.
48098         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
48099         unconditional.
48100         (__setresuid): Do not declare.
48101         [__ASSUME_32BITUIDS]: Make code unconditional.
48102         [!__ASSUME_32BITUIDS]: Remove conditional code.
48103         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
48104         <kernel-features.h>.
48105         [__ASSUME_32BITUIDS]: Make code unconditional.
48106         [!__ASSUME_32BITUIDS]: Remove conditional code.
48107         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
48108         <kernel-features.h>.
48109         [__ASSUME_32BITUIDS]: Make code unconditional.
48110         [!__ASSUME_32BITUIDS]: Remove conditional code.
48112 2012-05-25  Richard Henderson  <rth@twiddle.net>
48114         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
48115         dl_hwcap to ifunc resolver.
48116         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
48117         elf_ifunc_invoke.
48118         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
48119         dl_hwcap to ifunc resolver.
48120         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
48122 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48124         [BZ #14153]
48125         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
48126         for |x| <= 2**-26, not 2**-57.
48127         * math/libm-test.inc (acos_test): Do not allow spurious underflow
48128         exception.
48130 2012-05-24  Jeff Law  <law@redhat.com>
48132         * stdio-common/Makefile (tests): Add bug25.
48133         * stdio-common/bug25.c: New test.
48135 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
48137         [BZ #13576]
48138         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
48139         multiple of MALLOC_ALIGNMENT in size.
48140         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
48142 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48144         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
48145         Require >= 256.
48146         (FILENAME_MAX): Use macro-int-constant.
48147         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
48148         (_IOFBF): Use macro-int-constant.
48149         (_IOLBF): Likewise.
48150         (_IONBF): Likewise.
48151         (SEEK_CUR): Likewise.
48152         (SEEK_END): Likewise.
48153         (SEEK_SET): Likewise.
48154         (TMP_MAX): Likewise.
48155         (EOF): Use macro-int-constant.  Require < 0.
48156         (NULL): Use macro-constant.  Require == 0.
48157         (stdin): Require type to be FILE *.
48158         (stdout): Likewise.
48159         (stderr): Likewise.
48160         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
48161         macro-int-constant.
48162         (EXIT_SUCCESS): Likewise.
48163         (NULL): Use macro-constant.  Require == 0.
48164         (RAND_MAX): Use macro-int-constant.
48165         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
48166         [C99-based standards] (strtof): Require function.
48167         [C99-based standards] (strtold): Likewise.
48168         [C99-based standards] (strtoll): Likewise.
48169         [C99-based standards] (strtoull): Likewise.
48170         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48171         [ISO || ISO99 || ISO11] (limits.h): Likewise.
48172         [ISO || ISO99 || ISO11] (math.h): Likewise.
48173         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
48174         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48175         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48177 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
48179         [BZ #14132]
48180         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
48181         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
48182         * intl/dgettext.c (DCGETTEXT): Likewise.
48183         * intl/gettext.c (DCGETTEXT): Likewise.
48184         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
48185         * posix/regex_internal.h (gettext): Likewise.
48186         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
48187         Remove declaration.
48188         * include/argz.h (__argz_count_internal)
48189         (__argz_stringify_internal): Remove declaration.
48190         (__argz_count, __argz_stringify): Declare hidden proto.
48191         * intl/dcgettext.c: Remove use of INTDEF.
48192         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
48193         * string/argz-stringify.c: Likewise.
48194         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48195         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48196         Declare hidden proto.
48197         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48198         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48199         Declare hidden proto.
48200         * include/stdio.h (__asprintf_internal): Don't declare.
48201         (__asprintf): Don't define as macro.  Declare hidden proto.
48202         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
48203         (__fsetlocking): Declare hidden proto.
48204         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
48205         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
48206         hidden proto.
48207         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
48208         (_IO_setlinebuf): Remove use of INTUSE.
48209         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
48210         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
48211         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
48212         Remove declaration.
48213         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
48214         (_IO_do_flush): Remove use of INTUSE.
48215         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
48216         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
48217         (_IO_adjust_column, _IO_least_wmarker)
48218         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
48219         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
48220         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
48221         (_IO_default_doallocate, _IO_wdefault_doallocate)
48222         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
48223         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
48224         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
48225         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
48226         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
48227         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
48228         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
48229         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
48230         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
48231         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
48232         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
48233         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
48234         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
48235         proto.
48236         (_IO_flush_all_internal, _IO_adjust_column_internal)
48237         (_IO_default_uflow_internal, _IO_default_finish_internal)
48238         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
48239         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
48240         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
48241         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
48242         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
48243         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
48244         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
48245         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
48246         (_IO_file_close_internal, _IO_file_close_it_internal)
48247         (_IO_file_underflow_internal, _IO_file_overflow_internal)
48248         (_IO_file_init_internal, _IO_file_attach_internal)
48249         (_IO_file_fopen_internal, _IO_file_read_internal)
48250         (_IO_file_sync_internal, _IO_file_seek_internal)
48251         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
48252         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
48253         (_IO_str_underflow_internal, _IO_str_overflow_internal)
48254         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
48255         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
48256         (_IO_list_all_internal, _IO_link_in_internal)
48257         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
48258         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
48259         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
48260         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
48261         (_IO_do_write_internal, _IO_padn_internal)
48262         (_IO_getline_info_internal, _IO_getline_internal)
48263         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
48264         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
48265         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
48266         (_IO_vfscanf_internal, _IO_vfprintf_internal)
48267         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
48268         (_IO_init_internal, _IO_un_link_internal): Don't declare.
48269         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
48270         with libc_hidden_ver, remove use of INTUSE.
48271         * libio/genops.c: Likewise.
48272         * libio/freopen.c: Likewise.
48273         * libio/freopen64.c: Likewise.
48274         * libio/iofclose.c: Likewise.
48275         * libio/iofdopen.c: Likewise.
48276         * libio/iofflush.c: Likewise.
48277         * libio/iofflush_u.c: Likewise.
48278         * libio/iofgets.c: Likewise.
48279         * libio/iofgets_u.c: Likewise.
48280         * libio/iofopen.c: Likewise.
48281         * libio/iofopncook.c: Likewise.
48282         * libio/iofread.c: Likewise.
48283         * libio/iofread_u.c: Likewise.
48284         * libio/ioftell.c: Likewise.
48285         * libio/iofwrite.c: Likewise.
48286         * libio/iogetline.c: Likewise.
48287         * libio/iogets.c: Likewise.
48288         * libio/iogetwline.c: Likewise.
48289         * libio/iopadn.c: Likewise.
48290         * libio/iopopen.c: Likewise.
48291         * libio/ioseekoff.c: Likewise.
48292         * libio/ioseekpos.c: Likewise.
48293         * libio/iosetbuffer.c: Likewise.
48294         * libio/iosetvbuf.c: Likewise.
48295         * libio/ioungetc.c: Likewise.
48296         * libio/ioungetwc.c: Likewise.
48297         * libio/iovdprintf.c: Likewise.
48298         * libio/iovsprintf.c: Likewise.
48299         * libio/iovsscanf.c: Likewise.
48300         * libio/memstream.c: Likewise.
48301         * libio/obprintf.c: Likewise.
48302         * libio/oldfileops.c: Likewise.
48303         * libio/oldiofclose.c: Likewise.
48304         * libio/oldiofdopen.c: Likewise.
48305         * libio/oldiofopen.c: Likewise.
48306         * libio/oldiopopen.c: Likewise.
48307         * libio/oldstdfiles.c: Likewise.
48308         * libio/putc.c: Likewise.
48309         * libio/setbuf.c: Likewise.
48310         * libio/setlinebuf.c: Likewise.
48311         * libio/stdfiles.c: Likewise.
48312         * libio/strops.c: Likewise.
48313         * libio/vasprintf.c: Likewise.
48314         * libio/vscanf.c: Likewise.
48315         * libio/vsnprintf.c: Likewise.
48316         * libio/vswprintf.c: Likewise.
48317         * libio/wfiledoalloc.c: Likewise.
48318         * libio/wfileops.c: Likewise.
48319         * libio/wgenops.c: Likewise.
48320         * libio/wmemstream.c: Likewise.
48321         * libio/wstrops.c: Likewise.
48322         * libio/__fpurge.c: Likewise.
48323         * libio/__fsetlocking.c: Likewise.
48324         * assert/assert.c: Likewise.
48325         * debug/fgets_chk.c: Likewise.
48326         * debug/fgets_u_chk.c: Likewise.
48327         * debug/fread_chk.c: Likewise.
48328         * debug/fread_u_chk.c: Likewise.
48329         * debug/gets_chk.c: Likewise.
48330         * debug/obprintf_chk.c: Likewise.
48331         * debug/vasprintf_chk.c: Likewise.
48332         * debug/vdprintf_chk.c: Likewise.
48333         * debug/vsnprintf_chk.c: Likewise.
48334         * debug/vsprintf_chk.c: Likewise.
48335         * malloc/mtrace.c: Likewise.
48336         * misc/error.c: Likewise.
48337         * misc/syslog.c: Likewise.
48338         * stdio-common/asprintf.c: Likewise.
48339         * stdio-common/fxprintf.c: Likewise.
48340         * stdio-common/getw.c: Likewise.
48341         * stdio-common/isoc99_fscanf.c: Likewise.
48342         * stdio-common/isoc99_scanf.c: Likewise.
48343         * stdio-common/isoc99_vfscanf.c: Likewise.
48344         * stdio-common/isoc99_vscanf.c: Likewise.
48345         * stdio-common/isoc99_vsscanf.c: Likewise.
48346         * stdio-common/printf-prs.c: Likewise.
48347         * stdio-common/printf_fp.c: Likewise.
48348         * stdio-common/printf_fphex.c: Likewise.
48349         * stdio-common/printf_size.c: Likewise.
48350         * stdio-common/putw.c: Likewise.
48351         * stdio-common/scanf.c: Likewise.
48352         * stdio-common/sprintf.c: Likewise.
48353         * stdio-common/tmpfile.c: Likewise.
48354         * stdio-common/vfprintf.c: Likewise.
48355         * stdio-common/vfscanf.c: Likewise.
48356         * stdlib/strfmon_l.c: Likewise.
48357         * sunrpc/openchild.c: Likewise.
48358         * sunrpc/xdr_stdio.c: Likewise.
48359         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
48360         * sysdeps/mach/hurd/tmpfile.c: Likewise.
48362 2012-05-24  Roland McGrath  <roland@hack.frob.com>
48364         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
48366         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
48367         in the third column, to generate for the shared library an IFUNC
48368         that uses _dl_vdso_vsym.
48369         * Makerules (COMPILE.c, compile-stdin.c): New variables.
48370         * Makeconfig (object-suffixes-noshared): New variable.
48372         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
48373         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
48374         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
48375         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
48377         [BZ #14132]
48378         * include/sys/time.h (__gettimeofday): Remove macro.
48379         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
48380         * time/gettimeofday.c (__gettimeofday): Remove #undef.
48381         Remove INTDEF.
48382         (__gettimeofday): Add libc_hidden_def.
48383         (gettimeofday): Add libc_hidden_weak.
48384         * sysdeps/mach/gettimeofday.c: Likewise.
48385         * sysdeps/posix/gettimeofday.c: Likewise.
48386         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
48387         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
48388         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
48389         (__gettimeofday_internal): Remove strong_alias.
48390         (__gettimeofday): Add libc_hidden_def.
48391         (gettimeofday): Add libc_hidden_weak.
48392         * sysdeps/unix/syscalls.list (gettimeofday):
48393         Remove __gettimeofday_internal alias.
48395 2012-05-24  Daniel Jacobowitz  <drow@false.org>
48396             H.J. Lu  <hongjiu.lu@intel.com>
48398         [BZ #12495]
48399         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
48400         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
48401         (largebin_index_32_big): New.
48402         (largebin_index): Use it for 16-byte alignment.
48403         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
48404         correction with front_misalign.
48406 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
48408         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
48409         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
48410         Likewise.
48411         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
48412         Likewise.
48413         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
48414         Likewise.
48415         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
48416         Likewise.
48417         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
48418         Likewise.
48419         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
48420         Likewise.
48421         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
48422         Likewise.
48423         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
48424         Likewise.
48425         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
48426         Likewise.
48427         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
48428         Likewise.
48429         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
48430         Likewise.
48431         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
48432         Likewise.
48434         * scripts/data/c++-types-x32-linux-gnu.data: New file.
48435         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
48437 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48439         [BZ #10846]
48440         [BZ #14036]
48441         * math/libm-test.inc (exp_test): Add test from bug 14036.
48442         (pow_test): Add test from bug 10846.
48444         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
48445         and other flags.
48446         (special_function): Do not include flags in test name.
48447         (parse_args): Likewise.
48448         * sysdeps/i386/fpu/libm-test-ulps: Update.
48449         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48450         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48451         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48454         * math/gen-libm-test.pl (%beautify): Add entries for underflow
48455         exceptions.
48456         * math/libm-test.inc ("Philosophy"): Update comment about
48457         exception testing.
48458         (UNDERFLOW_EXCEPTION): New macro.
48459         (UNDERFLOW_EXCEPTION_OK): Likewise.
48460         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
48461         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
48462         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
48463         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
48464         (INVALID_EXCEPTION_OK): Update value.
48465         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48466         (OVERFLOW_EXCEPTION_OK): Likewise.
48467         (IGNORE_ZERO_INF_SIGN): Likewise.
48468         (test_exceptions): Handle underflow exceptions.
48469         (acos_test): Update for underflow exception expectations.
48470         (cexp_test): Likewise.
48471         (clog_test): Likewise.
48472         (clog10_test): Likewise.
48473         (csqrt_test): Likewise.
48474         (ctan_test): Likewise.
48475         (ctanh_test): Likewise.
48476         (exp_test): Likewise.
48477         (exp10_test): Likewise.
48478         (exp2_test): Likewise.
48479         (expm1_test): Likewise.
48480         (fma_test): Likewise.
48481         (j0_test): Likewise.
48482         (jn_test): Likewise.
48483         (nexttoward_test): Likewise.
48484         (pow_test): Likewise.
48485         (scalbn_test): Likewise.
48486         (scalbln_test): Likewise.
48487         (tan_test): Likewise.
48488         (y1_test): Likewise.
48489         * sysdeps/i386/fpu/libm-test-ulps: Update.
48490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48492 2012-05-23  David S. Miller  <davem@davemloft.net>
48494         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48495         (__libc_sigaction): Remove unused local variables.
48497 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48499         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
48501 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
48503         mktime: avoid signed integer overflow
48504         * time/mktime.c (__mktime_internal): Do not mishandle the case
48505         where diff == INT_MIN.
48507         mktime: simplify computation of average
48508         * time/mktime.c (ranged_convert): Use new time_t_avg function
48509         instead of rolling our own (probably-slower) code.
48511         mktime: do not assume signed right shift propagates sign bit
48512         * time/mktime.c (isdst_differ): New static function.
48513         (__mktime_internal): No need to normalize tm_isdst now.
48514         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
48515         tm_isdst values.
48517         mktime: merge another wrapv change from gnulib
48518         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
48519         from some compilers.
48521         mktime: remove incorrect attempt at unusual arithmetics
48522         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
48523         The code didn't really work on such machines anyway.
48524         (TYPE_MINIMUM): Assume two's complement.
48525         (twos_complement_arithmetic): Verify that long_int and time_t
48526         are two's complement (or unsigned, in the latter case).
48528         mktime: check signed shifts on long_int and time_t, too
48529         * time/mktime.c (SHR): Check that shifts work as desired
48530         on the types long_int and time_t too, as SHR is used on
48531         such types.
48533         mktime: do not assume 'long' is wide enough
48534         * time/mktime.c (verify): Move decl up.
48535         (long_int): New type.
48536         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
48537         to remove assumption in the code that 'long' is wide enough to
48538         store year values.  This assumption is not true on x32 and on
48539         some non-glibc platforms.
48541         mktime: merge wrapv change from gnulib
48542         * time/mktime.c (WRAPV): New macro.
48543         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
48544         (guess_time_tm, __mktime_internal): Do not assume that signed
48545         integer overflow wraps around; modern compilers generate code
48546         where this assumption is no longer valid.
48548 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48550         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
48551         Replace "jmp L(pseudo_end)" with "ret".
48552         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
48553         Likewise.
48555 2012-05-23  Andreas Jaeger  <aj@suse.de>
48557         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
48558         * sysdeps/unix/sysv/linux/poll.c: Remove file.
48560 2012-05-23  Andreas Jaeger  <aj@suse.de>
48561             Maximilian Attems  <max@stro.at>
48563         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
48564         New macros.
48566 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48568         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
48569         code so that pseudo_end is just ret and the stack pointer is
48570         correct also for static library in error case.
48572 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
48574         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
48575         move to syscalls.list.
48576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
48577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
48578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
48579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
48581         * manual/install.texi (Running make install): Do not mention Linux
48582         kernel version for which pt_chown is not needed.
48583         (Linux): Do not mention problems with nscd with 2.0 kernels.
48584         * INSTALL: Regenerated.
48586 2012-05-23  Andreas Jaeger  <aj@suse.de>
48588         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
48589         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
48590         macro.
48591         * sysdeps/unix/sysv/linux/s390/bits/mman.h
48592         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48593         * sysdeps/unix/sysv/linux/sh/bits/mman.h
48594         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48595         * sysdeps/unix/sysv/linux/i386/bits/mman.h
48596         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48597         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
48598         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48599         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
48600         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48601         * sysdeps/unix/sysv/linux/bits/in.h
48602         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
48604 2012-05-22  Roland McGrath  <roland@hack.frob.com>
48606         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
48607         (PREPARE_VERSION): Just use assert instead, it will be elided
48608         under [NDEBUG] anyway.
48610 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48612         * sysdeps/unix/sysv/linux/Makefile: Include
48613         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
48614         (sysdep_routines): Remove sysctl.
48615         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
48616         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
48617         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
48618         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
48619         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
48621 2012-05-22  Andreas Jaeger  <aj@suse.de>
48623         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
48624         that pseudo_end is just ret and the stack pointer is correct also
48625         for static library in error case.
48627 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
48629         [BZ #14122]
48630         * nss/nsswitch.c (defconfig_entries): New variable.
48631         (__nss_database_lookup): Don't leak defconfig entries.
48632         (nss_parse_service_list): Don't leak on error paths.
48633         (free_database_entries): New function.
48634         (free_defconfig): New function.
48635         (free_mem): Move common code to free_database_entries.
48637 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48639         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
48640         Add arch_prctl.
48641         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
48643         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
48644         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
48645         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
48646         New macro.
48647         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
48648         (INTERNAL_SYSCALL_TYPES): Likewise.
48649         (LOAD_ARGS_TYPES_[1-6]): Likewise.
48650         (LOAD_REGS_TYPES_[1-6]): Likewise.
48651         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
48652         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
48654 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48656         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
48657         copysignl for GLIBC_2_0.
48658         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
48659         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
48660         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
48661         logbl for GLIBC_2_0.
48662         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
48663         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
48665 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48667         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
48668         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48670         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
48671         Use "neg %eax".
48673         * time/mktime.c: Update copyright years.
48675 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
48677         mktime: merge comment-quoting-style change from gnulib
48678         * time/mktime.c: Quote 'like this' in comments.
48679         The GNU coding standards suggest that we no longer quote `like this',
48680         as "`" and "'" are typically rendered asymmetrically nowadays.
48681         The typical gnulib style is to quote 'like this' when quoting
48682         code, and "like this" when quoting English.
48684         * time/mktime.c (compile-command): Add "-I.".
48686         mktime: merge mktime-internal.h change from gnulib
48687         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
48689         mktime: merge time_r change from gnulib
48690         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
48692         mktime: merge DEBUG change from gnulib
48693         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
48694         case system <time.h> has a #define.
48696         mktime: merge <sys/types.h> change from gnulib
48697         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
48698         since <time.t> is now guaranteed to define time_t.
48700         mktime: merge HAVE_CONFIG_H change from gnulib
48701         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
48703 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48705         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48706         Use "neg %eax".
48708         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
48709         __rlim_t cast.
48710         (struct rusage): Use anonymous union to pad each field to
48711         __syscall_slong_t.
48713 2012-05-21  David S. Miller  <davem@davemloft.net>
48715         * Makefules (o-iterator): Remove .s cases.
48716         (compile-command.s): Delete.
48717         (COMPILE.s): Delete.
48718         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
48720 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
48722         * configure.in (libc_cv_predef_stack_protector): Only consider
48723         "foobar" and "__stack_chk_fail" lines in libc_undefs.
48724         * configure: Regenerated.
48726 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48728         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48729         New macro.  Use R*LP on int and pointer.
48730         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
48731         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
48732         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
48733         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
48735         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
48736         [__WORDSIZE_TIME64_COMPAT32] instead of
48737         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
48738         (struct utmp): Likewise.
48739         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
48740         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
48741         Renamed to ...
48742         (__WORDSIZE_TIME64_COMPAT32): This.
48743         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
48744         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
48745         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
48746         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
48747         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
48748         (__WORDSIZE_TIME64_COMPAT32): New macro.
48750 2012-05-21  Andreas Jaeger  <aj@suse.de>
48752         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
48753         only if [SHARED]. Add prototype for __wcschr_ia32.
48755 2012-05-21  Roland McGrath  <roland@hack.frob.com>
48757         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
48758         of %rbp unmolested in the jmp_buf while mangling the low bits.
48759         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
48760         unmolested high bits of %rbp while demangling the low bits.
48761         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48763 2012-05-21  Andreas Jaeger  <aj@suse.de>
48765         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
48766         * sunrpc/svc_simple.c: Use it for registerrpc.
48767         * sunrpc/xcrypt.c: Use it for passwd2des.
48769         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
48771 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48773         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
48774         Don't define if [__SYSCALL_WORDSIZE != 32].
48775         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
48776         New macro.
48778 2012-05-21  Bruno Haible  <bruno@clisp.org>
48779             Andreas Jaeger  <aj@suse.de>
48781         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
48782         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
48783         inptr and inend for must_buffer_ch.
48784         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
48785         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
48786         * stdio-common/Makefile (tests): Remove bug15.
48787         (bug15-ENV): Remove macro.
48788         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
48789         anymore.
48791 2012-05-19  Andreas Jaeger  <aj@suse.de>
48792             Roland McGrath  <roland@hack.frob.com>
48794         * manual/contrib.texi: Completely rewritten. It contains now an
48795         alphabetical list of contributors and their contributions.
48797 2012-05-21  Richard Henderson  <rth@twiddle.net>
48799         * misc/getauxval.c (__getauxval): Use unsigned long int.
48800         * misc/sys/auxv.h: Include <sys/cdefs.h>.
48801         (getauxval): Use unsigned long int.
48803 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48805         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
48807 2012-05-21  Roland McGrath  <roland@hack.frob.com>
48809         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
48810         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
48811         __alignof__ (long double).
48813 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48815         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48817 2012-05-20  Richard Henderson  <rth@twiddle.net>
48819         * misc/getauxval.c: New file.
48820         * misc/sys/auxv.h: New file.
48821         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
48822         (routines): Add getauxval.
48823         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
48824         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
48825         * elf/dl-sysdep.c (_dl_auxv): Remove.
48826         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
48827         * elf/dl-support.c (_dl_auxv): New variable.
48828         (_dl_aux_init): Initialize it.
48829         * manual/startup.texi (Auxiliary Vector): New node.
48830         * sysdeps/generic/bits/hwcap.h: New file.
48831         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
48832         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
48833         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
48834         * sysdeps/sparc/sysdep.h: ... here.  Include it.
48835         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
48836         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
48837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48838         Update.
48839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
48840         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
48841         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
48842         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
48843         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
48844         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
48845         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
48846         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
48848 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48850         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48852 2012-05-19  David S. Miller  <davem@davemloft.net>
48854         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48856 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
48858         [BZ #14123]
48859         * math/s_ccosh.c: Include <float.h>
48860         (__ccosh): Avoid internal overflow calculating sinh and cosh
48861         values before multiplying by sin and cos values.
48862         * math/s_ccoshf.c: Likewise.
48863         * math/s_ccoshl.c: Likewise.
48864         * math/s_csin.c: Likewise.
48865         * math/s_csinf.c: Likewise.
48866         * math/s_csinl.c: Likewise.
48867         * math/s_csinh.c: Likewise.
48868         * math/s_csinhf.c: Likewise.
48869         * math/s_csinhl.c: Likewise.
48870         * math/libm-test.inc (ccos_test): Add more tests.
48871         (ccosh_test): Likewise.
48872         (csin_test): Likewise.
48873         (csinh_test): Likewise.
48874         * sysdeps/i386/fpu/libm-test-ulps: Update.
48875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48877 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
48879         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
48880         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
48882         * sysdeps/x86_64/x32/_itoa.h: Add comment.
48884 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
48886         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
48887         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
48888         * sysdeps/powerpc/soft-fp/Versions: Likewise.
48889         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
48890         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
48891         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
48892         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
48893         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
48894         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
48895         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
48896         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
48897         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
48898         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
48899         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
48900         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
48901         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
48902         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
48903         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
48904         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
48905         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
48906         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
48907         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
48908         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
48909         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
48910         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
48911         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
48912         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
48913         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
48914         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
48915         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
48916         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
48918 2012-05-18  Andreas Jaeger  <aj@suse.de>
48920         * csu/.gitignore: Delete.
48922 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
48924         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
48925         (timex): Use __syscall_slong_t.
48927 2012-05-18  Andreas Jaeger  <aj@suse.de>
48928             Carlos O'Donell  <carlos_odonell@mentor.com>
48930         * manual/install.texi (Configuring and compiling): Update
48931         description about files modified in the source directory.
48932         * INSTALL: Regenerated.
48934 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
48936         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
48937         value.  Use "or" to set return value to -1.
48938         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
48939         negate return value.
48941 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48943         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
48944         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
48945         failure if the compiler has Graphite support disabled.
48946         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
48947         Likewise.
48948         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
48949         (CFLAGS-memmove.c): Likewise.
48950         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
48951         Likewise.
48953 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
48955         * sysdeps/x86_64/x32/_itoa.h: New file.
48957         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
48958         getdents system call only if kernel and user dirents have the
48959         same d_ino and d_off.
48961         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
48962         LLONG_MAX != LONG_MAX.
48963         (_itoa_word): Use _ITOA_WORD_TYPE on value.
48964         (_fitoa_word): Likewise.
48966         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
48967         years.
48968         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
48969         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
48970         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
48972         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
48973         include <bits/wordsize.h>.  Check __x86_64__ instead of
48974         __WORDSIZE.
48975         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
48976         if __x86_64__ is defined.  Use anonymous union on fpstate.
48978         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
48979         anonymous union.
48981 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
48983         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
48984         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
48985         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
48986         Refer to _rtld_local_ro instead of _rtld_global_ro.
48987         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
48988         Likewise.
48989         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
48990         Likewise.
48991         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
48992         Likewise.
48993         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
48994         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
48995         of _rtld_global, and rtld_progname instead of _dl_argv[0].
48997         * sysdeps/powerpc/powerpc32/dl-machine.c
48998         (__elf_machine_runtime_setup) [PROF]: Don't reference
48999         _dl_prof_resolve.
49001 2012-05-18  Andreas Jaeger  <aj@suse.de>
49003         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
49004         function only available for GCCs before 3.4 since GCC 3.4
49005         introduced a builtin.
49006         (lrint): Likewise.
49007         (llrintf): Likewise.
49008         (llrint): Likewise.
49009         (fmaxf): Likewise.
49010         (fmax): Likewise.
49011         (fminf): Likewise.
49012         (fmin): Likewise.
49013         (rint): Likewise.
49014         (rintf): Likewise.
49015         (nearbyint): Likewise.
49016         (nearbyintf): Likewise.
49017         (ceil): Likewise.
49018         (ceilf): Likewise.
49019         (floor): Likewise.
49020         (floorf): Likewise.
49022 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49024         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
49025         on both fields and cast pointer to __syscall_ulong_t.
49027         * bits/types.h (__fsword_t): New type.
49028         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
49029         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
49030         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49031         (__FSWORD_T_TYPE): Likewise.
49032         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49033         (__FSWORD_T_TYPE): Likewise.
49034         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49035         (__FSWORD_T_TYPE): Likewise.
49036         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
49037         (__FSWORD_T_TYPE): Likewise.
49038         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
49039         __SWORD_TYPE with __fsword_t.
49040         (statfs64): Likewise.
49042 2012-05-17  David S. Miller  <davem@davemloft.net>
49044         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
49046 2012-05-17  Andreas Jaeger  <aj@suse.de>
49048         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
49049         warning.
49051 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49053         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
49055 2012-05-17  Andreas Jaeger  <aj@suse.de>
49057         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
49058         when it is used.
49060 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49062         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
49064 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49066         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
49067         * sysdeps/x86_64/tst-mallocalign1.c: New file.
49069 2012-05-17  Andreas Jaeger  <aj@suse.de>
49070             Carlos O'Donell  <carlos_odonell@mentor.com>
49072         [BZ #14059]
49073         * sysdeps/x86_64/multiarch/init-arch.h
49074         (bit_YMM_Usable): Rename to...
49075         (bit_AVX_Usable): ... this.
49076         (bit_FMA4_Usable): New macro.
49077         (bit_XMM_state): New macro.
49078         (bit_YMM_state): New macro.
49079         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
49080         [__ASSEMBLER__] (index_AVX_Usable): ... this.
49081         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
49082         (CPUID_OSXSAVE): New macro.
49083         (CPUID_AVX): New macro.
49084         (CPUID_FMA4): New macro.
49085         (index_YMM_Usable): Rename to...
49086         (index_AVX_Usable): ... this.
49087         (HAS_AVX): Use HAS_ARCH_FEATURE.
49088         (HAS_FMA4): Likewise.
49089         (HAS_YMM_USABLE): Remove.
49090         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49091         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
49092         are present.
49093         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
49094         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
49095         * sysdeps/x86_64/multiarch/Makefile: Likewise.
49096         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
49097         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
49099 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49101         * math/libm-test.c: Support platforms without multiple rounding modes.
49102         * math/bug-nextafter.c: Support platforms without FP exceptions.
49103         * math/bug-nexttoward.c: Likewise.
49104         * math/test-fenv.c: Likewise.
49105         * math/test-misc.c: Likewise.
49106         * stdlib/bug-getcontext.c: Likewise.
49108 2012-05-17  Andreas Jaeger  <aj@suse.de>
49110         * manual/examples/search.c (critter_cmp): Change signature to
49111         avoid warnings.
49112         * manual/string.texi (Collation Functions): Likewise.
49114 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49116         * bits/types.h: Fold copyright years.
49117         * bits/typesizes.h: Likewise.
49118         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
49119         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
49120         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
49121         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
49122         * time/time.h: Likewise.
49124 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
49126         [BZ #208]
49127         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
49128         in instead of returning them.  Return void.
49129         (__libc_mallinfo): Accumulate over all arenas.
49130         (__malloc_stats): Adjust for change in int_mallinfo interface.
49132 2012-05-16  Roland McGrath  <roland@hack.frob.com>
49134         [BZ #10375]
49135         * configure.in (NM): Add AC_CHECK_TOOL for it.
49136         (libc_extra_cflags): New substituted variable.
49137         Check for -fstack-protector being used implicitly.
49138         * configure: Regenerated.
49139         * config.make.in (config-extra-cflags): New variable,
49140         gets @libc_extra_cflags@.
49141         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
49143         [BZ #10375]
49144         * configure.in: Check for _FORTIFY_SOURCE being predefined.
49145         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
49146         * configure: Regenerated.
49147         * config.make.in (CPPUNDEFS): New substituted variable.
49148         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
49149         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
49150         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
49152 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49154         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
49155         (mq_attr): Use __syscall_slong_t.
49157 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49159         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
49160         Check __x86_64__ instead of __WORDSIZE.
49161         (_STAT_VER_LINUX): Likewise.
49162         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
49163         __syscall_ulong_t and __syscall_slong_t.
49164         (stat64): Likewise.
49166 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49168         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
49170 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49172         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
49174 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49176         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
49177         __syscall_ulong_t.
49179         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
49180         include <bits/wordsize.h>.  Check __x86_64__ instead of
49181         __WORDSIZE.
49182         (greg_t): Use "__extension__ long long int" if __x86_64__ is
49183         defined.
49184         (mcontext_t): Replace "unsigned long" with "unsigned long long".
49186         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
49187         include <bits/wordsize.h>.  Check __x86_64__ instead of
49188         __WORDSIZE.
49189         (user_regs_struct): Use "__extension__ unsigned long long"
49190         instead of "unsigned long" if __x86_64__ is defined.
49191         (user): Likewise.  Pad after pointer field if __ILP32__ is
49192         defined.
49194 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
49196         * configure.in (makeinfo): Require version 4.5 or later.  Allow
49197         versions 5 to 9.
49198         * configure: Regenerated.
49199         * manual/install.texi (texinfo): Increase version requirement to
49200         4.5 or later.
49201         * INSTALL: Regenerated.
49203         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
49205 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49207         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
49209         * sysdeps/x86_64/x32/ffs.c: New file.
49211         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
49212         __syscall_ulong_t.
49213         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
49214         defined.  Use __syscall_ulong_t.
49215         (shminfo): Use __syscall_ulong_t.
49216         (shm_info): Likewise.
49218         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
49219         __syscall_ulong_t.
49221         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
49222         <bits/wordsize.h>.
49223         (msgqnum_t): Use __syscall_ulong_t.
49224         (msglen_t): Likewise.
49225         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
49226         __syscall_ulong_t.
49228         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
49229         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49231         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
49233         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
49234         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
49236         * sysvipc/sys/msg.h (msgbuf): Replace long int with
49237         __syscall_slong_t.
49239         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
49240         include <bits/wordsize.h>.  Check __x86_64__ instead of
49241         __WORDSIZE.
49243         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
49244         "unsigned long long int" if __x86_64__ is defined.
49245         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
49247         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
49248         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49249         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
49251         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
49252         <stdint.h>.
49253         (GET_PC): Cast to uintptr_t first.
49254         (GET_FRAME): Likewise.
49255         (GET_STACK): Likewise.
49257         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
49258         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
49259         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
49260         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
49261         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
49262         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
49263         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
49264         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
49265         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
49266         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
49267         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
49268         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
49269         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
49270         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
49271         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
49272         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
49273         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
49274         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
49275         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
49276         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
49277         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
49278         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
49279         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
49280         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
49281         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
49282         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
49283         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
49284         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
49285         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
49287 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
49289         * Makerules (+depfiles): Also collect depfiles from .oS in
49290         $(extra-objs).
49291         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
49292         .oS, $(libnldbl-routines)).
49294         * Makerules (native-compile-mkdep-flags): Define.
49295         * sunrpc/Makefile (extra-objs): Add $(addprefix
49296         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
49297         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
49298         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
49299         calling $(make-target-directory).
49301 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49303         * bits/types.h (__snseconds_t): Removed.
49304         * time/time.h (struct timespec): Replace __snseconds_t with
49305         __syscall_slong_t.
49306         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
49307         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
49308         Likewise.
49309         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49310         (__SNSECONDS_T_TYPE): Likewise.
49311         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49312         (__SNSECONDS_T_TYPE): Likewise.
49313         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49314         (__SNSECONDS_T_TYPE): Likewise.
49316 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49318         * sysdeps/mach/hurd/bits/typesizes.h
49319         (__SYSCALL_SLONG_TYPE): New macro.
49320         (__SYSCALL_ULONG_TYPE): Likewise.
49322 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49324         * bits/types.h (__syscall_slong_t): New type.
49325         (__syscall_ulong_t): Likewise.
49327         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
49328         (__SYSCALL_ULONG_TYPE): Likewise.
49329         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49330         (__SYSCALL_SLONG_TYPE): Likewise.
49331         (__SYSCALL_ULONG_TYPE): Likewise.
49332         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49333         (__SYSCALL_SLONG_TYPE): Likewise.
49334         (__SYSCALL_ULONG_TYPE): Likewise.
49335         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49336         (__SYSCALL_SLONG_TYPE): Likewise.
49337         (__SYSCALL_ULONG_TYPE): Likewise.
49339 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49341         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
49342         Add sigaltstack-offsets.sym.
49343         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
49344         <sigaltstack-offsets.h>.
49345         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
49346         longjmp_msg pointer.
49347         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
49348         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
49349         signal stack.
49350         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
49352 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
49354         * elf/stackguard-macros.h: Remove file.
49355         * sysdeps/generic/stackguard-macros.h: New file.
49356         * sysdeps/i386/stackguard-macros.h: Likewise.
49357         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
49358         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
49359         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
49360         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
49361         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
49362         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
49363         * sysdeps/x86_64/stackguard-macros.h: Likewise.
49364         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
49365         <elf/stackguard-macros.h>.
49367         [BZ #14109]
49368         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
49369         __aligned__ in attribute.
49370         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
49371         (gregset_t): Likewise.
49373 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49375         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
49376         * sysdeps/x86_64/64/Implies-after: Here.  New file.
49377         * sysdeps/x86_64/x32/Implies-after: New file.
49379 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49381         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
49382         and access return value for _dl_profile_fixup.  Use R10_LP to
49383         load frame size.
49385 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49387         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
49389 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49391         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
49392         * sysdeps/x86_64/x32/sysdep.h: New file.
49394 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49396         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
49397         * sysdeps/x86_64/setjmp.S: Likewise.
49399 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49401         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
49402         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
49403         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
49404         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
49405         remove unused global constant.
49407 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
49409         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
49410         include of <not-cancel.h>.
49412 2012-05-15  Roland McGrath  <roland@hack.frob.com>
49414         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
49416 2012-05-15  Jeff Law  <law@redhat.com>
49417             Andreas Jaeger  <aj@suse.de>
49419         [BZ #13594]
49420         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
49421         out from...
49422         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
49423         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
49424         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
49425         code changing __hst_map_handle.map.
49427 2012-05-15  Roland McGrath  <roland@hack.frob.com>
49429         * configure.in (sysnames): Look for Implies-before and Implies-after
49430         files.
49431         * configure: Regenerated.
49433 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49435         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
49436         8-byte data alignment with LP_SIZE alignment.
49438 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49440         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
49441         into R10_LP.
49443 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49445         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
49447 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49449         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
49450         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
49451         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
49452         Likewise.
49453         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
49455 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49457         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
49458         (stackinfo_sub_sp): Likewise.
49460 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49462         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
49463         RAX_LP.
49465 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49467         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
49468         into R*_LP.
49470 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49472         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
49473         sizes into R*_LP.
49475 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49477         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
49479 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49481         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
49482         into R11_LP and load __x86_64_shared_cache_size_half into
49483         R8_LP.
49485 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49487         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
49488         R8_LP.
49490 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49492         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
49493         logb for POWER7.
49494         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
49495         logbf for POWER7.
49496         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
49497         logbl for POWER7.
49498         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
49499         powerpc32/power7/fpu/s_logb.c via #include.
49500         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
49501         powerpc32/power7/fpu/s_logbf.c via #include.
49502         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
49503         powerpc32/power7/fpu/s_logbl.c via #include.
49505 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
49507         * README.libm: Remove file.
49509 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49511         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
49512         count for x32.  Use R*_LP and omit operand-size suffix.
49514 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49516         * shlib-versions: Move x86_64-.*-linux.* entries to ...
49517         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
49518         * sysdeps/x86_64/x32/shlib-versions: New file.
49520 2012-05-14  Roland McGrath  <roland@hack.frob.com>
49522         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
49523         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
49524         Use _dl_fatal_printf instead.
49526 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
49528         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
49529         set if not set by the user.  Do not allow for being unset.
49530         * sysdeps/unix/sysv/linux/configure: Regenerated.
49532 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49534         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
49535         the `q' suffix from lea and replace .quad with ASM_ADDR.
49537 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49539         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
49540         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
49541         instead of $17.
49542         (PTR_DEMANGLE): Likewise.
49544 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49546         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
49547         (LP_OP): Likewise.
49548         (ASM_ADDR): Likewise.
49549         (RAX_LP): Likewise.
49550         (RBP_LP): Likewise.
49551         (RBX_LP): Likewise.
49552         (RCX_LP): Likewise.
49553         (RDI_LP): Likewise.
49554         (RSI_LP): Likewise.
49555         (RSP_LP): Likewise.
49556         (R8_LP): Likewise.
49557         (R9_LP): Likewise.
49558         (R10_LP): Likewise.
49559         (R10_LP): Likewise.
49560         (R11_LP): Likewise.
49561         (R12_LP): Likewise.
49562         (R13_LP): Likewise.
49563         (R14_LP): Likewise.
49564         (R15_LP): Likewise.
49566 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49568         * sysdeps/x86_64/x32/dl-machine.h: New file.
49570 2012-05-14  Andreas Jaeger  <aj@suse.de>
49572         * manual/Makefile (subdir): Remove export of subdir.
49573         (all): Remove target.
49574         (.PHONY): Remove all from list.
49575         (mkinstalldirs): Remove.
49576         (.PHONY): Remove installdirs from list.
49577         ($(inst_infodir)/libc.info): Use make-target-directory.
49578         (installdirs): Remove.
49579         (subdir_%): Remove.
49580         (glibc-targets): Remove.
49581         (lib): Remove.
49582         (stubs): Remove.
49583         ($(objpfx)stubs ../po/manual.pot): Remove.
49584         ($(objpfx)stamp%): Remove.
49585         (make-target-directory): Remove.
49586         (subdir_install): Remove.
49587         (routines): Remove.
49588         (aux): Remove.
49589         (sources): Remove.
49590         (objects): Remove.
49591         (headers): Remove.
49593         [BZ #13750]
49594         * manual/.gitignore: Remove, it's not needed anymore.
49595         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
49596         all files in it.
49597         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
49598         directory.
49599         (texis): Renamed to $(objpfx)texis.
49600         (texis-path): New, contains path to generated files.
49601         (chapters.%): Use texis-path for complete path, add extra argument
49602         libc-texinfo.sh.
49603         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
49604         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
49605         (summary,texi, stamp-summary): Use complete path of
49606         files. Generate files in build dir.
49607         (dir-add.texi): Build in build dir.
49608         (libm-err.texi,stamp-libm-err): Likewise.
49609         (version.texi, stamp-version): Likewise.
49610         (.%c.texi): Likewise.
49611         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
49612         (mostlyclean): Remove target.
49613         (realclean): Remove target.
49614         (generated): Add new variable with contents from mostlyclean and
49615         realclean, remove entries duplicated in common-mostlyclean, add
49616         stamp-libm-err and stamp-version.
49617         (generated-dirs): Add libc directory.
49618         ($(inst_infodir)/libc.info): Install files from build dir.
49620         * manual/install.texi (Configuring and compiling): Adjust since
49621         the info files are not part of the tar ball anymore.
49623 2012-05-14  Andreas Jaeger  <aj@suse.de>
49625         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
49626         variable.
49628 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
49630         [BZ #13717]
49631         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
49632         to 2.2.0 where earlier.
49633         * sysdeps/unix/sysv/linux/configure: Regenerated.
49634         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
49635         Remove conditional code.
49636         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
49637         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
49638         Remove conditional code.
49639         [!__NR_lchown]: Likewise.
49640         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49641         [__NR_lchown]: Likewise.
49642         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
49643         comment referencing __ASSUME_LCHOWN_SYSCALL.
49644         * sysdeps/unix/sysv/linux/i386/sigaction.c
49645         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49646         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49647         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
49648         Remove conditional code.
49649         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
49650         (__protocol_available): Remove #if 0 code.
49651         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
49652         conditional code.
49653         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
49654         * sysdeps/unix/sysv/linux/kernel-features.h
49655         (__ASSUME_GETCWD_SYSCALL): Don't define.
49656         (__ASSUME_REALTIME_SIGNALS): Likewise.
49657         (__ASSUME_PREAD_SYSCALL): Likewise.
49658         (__ASSUME_PWRITE_SYSCALL): Likewise.
49659         (__ASSUME_POLL_SYSCALL): Likewise.
49660         (__ASSUME_LCHOWN_SYSCALL): Likewise.
49661         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
49662         non-SPARC.
49663         (__ASSUME_SIOCGIFNAME): Don't define.
49664         (__ASSUME_MSG_NOSIGNAL): Likewise.
49665         (__ASSUME_SENDFILE): Define unconditionally.
49666         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
49667         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
49668         conditional code.
49669         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
49670         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
49671         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49672         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49673         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
49674         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49675         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
49677         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49678         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
49680         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49681         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
49683         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49684         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
49686         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49687         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
49689         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49690         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
49692         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49693         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
49695         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49696         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
49698         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49699         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49700         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
49701         Remove conditional code.
49702         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49703         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49704         Remove conditional code.
49705         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49706         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
49707         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
49708         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49709         Remove conditional code.
49710         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49711         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
49712         Remove conditional code.
49713         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49714         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
49715         Remove conditional code.
49716         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49717         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49718         Remove conditional code.
49719         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49720         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49721         Remove conditional code.
49722         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49723         * sysdeps/unix/sysv/linux/sh/pwrite64.c
49724         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49725         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49726         * sysdeps/unix/sysv/linux/sigaction.c
49727         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49728         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49729         * sysdeps/unix/sysv/linux/sigpending.c
49730         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49731         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49732         * sysdeps/unix/sysv/linux/sigprocmask.c
49733         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49734         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49735         * sysdeps/unix/sysv/linux/sigsuspend.c
49736         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49737         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49738         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
49739         (__libc_missing_rt_sigs): Remove.
49740         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
49741         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
49742         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
49743         Remove conditional code.
49744         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
49745         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
49746         return 1.
49747         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
49748         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
49749         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
49750         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
49752 2012-05-14  Andreas Jaeger  <aj@suse.de>
49754         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
49755         it's not used in glibc.
49756         (__coshm1): Likewise.
49757         (__acosh1p): Likewise.
49758         (__sgn): Likewise.
49760         * manual/string.texi (Copying and Concatenation): Add missing
49761         variable in concat example.
49762         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
49764 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49766         [BZ #14103]
49767         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
49768         __builtin_clzl with __builtin_clzll.
49770 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49772         [BZ #14104]
49773         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
49774         libc_freeres_ptr.
49776 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49778         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
49779         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
49780         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
49781         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
49783 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
49785         * NEWS: Update ia64 info.
49787 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
49789         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
49790         used as bcopy.
49792 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
49794         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
49795         * sysdeps/unix/syscalls.list (dup3): Likewise.
49796         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
49797         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
49799 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
49801         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
49802         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
49804 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
49806         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
49807         thread pointer.
49808         (TLS_IE): Use mov/add instead of movq/addq to load thread
49809         pointer.
49810         (TLS_GD_PREFIX): New.
49811         (TLS_GD): Use it.
49813 2012-05-11  David S. Miller  <davem@davemloft.net>
49815         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
49816         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
49817         (_FPU_SETCW): Likewise.
49819 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49821         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
49822         is 32-byte aligned.
49824 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
49826         [BZ #11837]
49827         * iconvdata/gb18030.c: Update tables.
49828         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
49829         characters specially.
49830         (BODY for TO_LOOP): Add encoding of missing ranges.
49832 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
49834         [BZ #13673]
49835         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
49836         * sysdeps/mach/hurd/dup3.c: Likewise.
49837         * sysdeps/mach/hurd/readlinkat.c: Likewise.
49838         * sysdeps/powerpc/memmove.c:: Likewise.
49840 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49842         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
49843         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
49845 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49847         * elf/elf.h (R_X86_64_RELATIVE64): New.
49848         (R_X86_64_NUM): Updated.
49849         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
49850         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
49851         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
49852         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
49853         tst-quad1pie tst-quad2pie
49854         (modules-names): Add tst-quadmod1 tst-quadmod2.
49855         ($(objpfx)tst-quad1): New dependency.
49856         ($(objpfx)tst-quad2): Likewise.
49857         ($(objpfx)tst-quad1pie): Likewise.
49858         ($(objpfx)tst-quad2pie): Likewise.
49859         * sysdeps/x86_64/tst-quad1.c: New file.
49860         * sysdeps/x86_64/tst-quad1pie.c: New file.
49861         * sysdeps/x86_64/tst-quad2.c: Likewise.
49862         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
49863         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
49864         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
49865         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
49866         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
49868 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49870         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
49871         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
49872         * streams/stropts.h (t_scalar_t): Define type.
49874         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
49875         (_PATH_PRESERVE): Set to "/var/lib".
49876         (_PATH_RWHODIR): Set to "/var/spool/rwho".
49878         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
49879         instead of int.
49881         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
49882         if __dir_mkfile succeeded.
49884         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
49885         checking for _hurd_dtablesize.  Unlock it right after having
49886         finished _hurd_dtable allocation.
49888 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49890         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
49891         * sysdeps/mach/hurd/configure: Regenerated.
49892         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
49893         special-casing to...
49894         * sysdeps/gnu/configure.in: ... this new file.
49895         * sysdeps/unix/sysv/linux/configure: Regenerated.
49896         * sysdeps/gnu/configure: New generated file.
49898         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
49899         for Linux: use nsec instead of usec, as well as:
49900         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
49901         members of type struct timespec.
49902         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
49903         New macros.
49904         (struct stat64): Likewise.
49905         (_STATBUF_ST_NSEC): New macro.
49906         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
49908         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
49909         __strtoul_internal rather than strtoul.
49911 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49913         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
49914         and reject them.
49916 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49918         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
49919         which preserves existing values.
49920         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
49922 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49924         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
49925         TIMEOUT values.  Return EINVAL for NFDS values either negative or
49926         greater than FD_SETSIZE.
49928 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49930         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
49931         allocated, call __vm_protect to finish enabling the existing space, and
49932         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
49933         allocate the remainder.
49935 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49937         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
49938         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
49940 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49942         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
49943         sysdeps/mach/hurd/readlink.c.
49945         * posix/tst-sysconf.c (posix_options): Only use
49946         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
49947         _POSIX_SYNCHRONIZED_IO when they are defined
49948         * sysdeps/mach/hurd/bits/posix_opt.h:
49949         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
49950         (_XOPEN_REALTIME): Undefine macro.
49951         (_XOPEN_REALTIME_THREADS): Undefine macro.
49952         (_XOPEN_SHM): Undefine macro.
49953         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
49954         macro to -1.
49955         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
49956         macro to -1.
49957         (_POSIX_ASYNC_IO): Undefine macro.
49958         (_POSIX_PRIORITIZED_IO): Undefine macro.
49959         (_POSIX_SPIN_LOCKS): Define macro to -1.
49961         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
49962         SA_NODEFER, SA_RESETHAND.
49963         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
49964         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
49965         F_DUPFD_CLOEXEC.
49967 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49969         * elf/Makefile (pldd-modules): Define unconditionally.
49971 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49973         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
49975 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49977         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
49978         Return ENOENT when name is empty.
49979         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
49981 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49983         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
49985         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
49987 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49989         Fix mlock in all cases except non-readable pages.
49990         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
49991         instead of VM_PROT_ALL as parameter to __vm_wire function.
49993         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
49994         (__mkdir): When path is `/', just fail with EEXIST.
49995         * sysdeps/mach/hurd/mkdirat.c: Likewise.
49997 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49999         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
50000         <sys/uio.h> (for writev).
50001         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
50002         and <sys/param.h> (for MIN).
50004 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50006         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
50007         REQUESTED_TIME.  Properly set the remaining time and return EINTR
50008         if interrupted.
50010 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50012         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
50013         Depend on against $(link-rpcuserlibs).
50015 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50017         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
50018         (__libc_stack_end): Do not use attribute_relro.
50019         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
50020         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
50021         to libthread-provided value.
50022         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
50023         attribute_relro.
50025 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50027         [BZ #3748]
50028         * bits/libc-lock.h (__libc_once_get): New macro.
50029         * sysdeps/mach/bits/libc-lock.h: Likewise.
50030         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
50031         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
50032         instead of using implementation details.
50034         * libio/fileops.c: Unconditionally include <kernel-features.h>.
50035         * libio/freopen.c: Likewise.
50036         * libio/freopen64.c: Likewise.
50037         * misc/syslog.c: Likewise.
50038         * nscd/connections.c: Likewise.
50039         * nscd/netgroupcache.c: Likewise.
50040         * sysdeps/posix/getcwd.c: Likewise.
50042 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50044         * math/w_ilogbf.c: Add #include <limits.h>.
50046 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50048         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
50049         path instead of returning without unlocking.
50051         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
50052         immediate-write ioctls.
50053         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
50055 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50057         * sysdeps/mach/hurd/i386/init-first.c (init): Use
50058         __builtin_frame_address instead of making assumptions about the
50059         location of the return address relative to DATA.  Force early load of
50060         the return address.
50061         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
50062         __builtin_frame_address.
50064         dup3 for GNU Hurd.
50065         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
50066         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
50067         implement dup3 and do some further code clean-ups.
50068         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
50069         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
50071 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50073         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
50075         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
50076         HURD_CRITICAL_END around holding _hurd_dtable_lock.
50077         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
50078         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
50079         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
50080         d->port.lock.
50082         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
50083         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
50084         when handler == SIG_ERR, not when handler != SIG_ERR.
50086 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50088         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
50089         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
50090         definitions.
50092         accept4 for GNU Hurd.
50093         * include/sys/socket.h (__libc_accept4): New prototype.
50094         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
50095         to implement __libc_accept4.
50096         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
50097         __libc_accept4.
50098         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
50100         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
50101         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
50102         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
50103         signal-defines.sym.
50105 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50107         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
50109 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50111         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
50112         assertion on O_CLOEXEC flag.
50113         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
50114         * hurd/intern-fd.c: Likewise.
50115         * hurd/port2fd.c: Likewise.
50117 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50119         [BZ #3906]
50120         * bits/in.h (IPV6_PKTINFO): Define new macro.
50121         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
50123 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50125         [BZ #13954]
50126         [BZ #13955]
50127         [BZ #13956]
50128         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
50129         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50130         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
50131         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
50132         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50133         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
50134         * math/libm-test.inc (logb_test) : Additional logb tests.
50136 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
50137             Andreas Jaeger  <aj@suse.de>
50139         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
50140         * configure: Regenerated.
50141         * config.h.in (LINK_OBSOLETE_RPC): New macro.
50142         * config.make.in (link-obsolete-rpc): New substituted variable.
50143         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
50144         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
50145         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50146         (shared-only-routines): Don't set it under [link-obsolete-rpc],
50147         so that libc.a contains the symbols.
50148         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50149         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
50150         * sunrpc/auth_none.c: Likewise.
50151         * sunrpc/auth_unix.c: Likewise.
50152         * sunrpc/authdes_prot.c: Likewise.
50153         * sunrpc/authuxprot.c: Likewise.
50154         * sunrpc/clnt_gen.c: Likewise.
50155         * sunrpc/clnt_perr.c: Likewise.
50156         * sunrpc/clnt_raw.c: Likewise.
50157         * sunrpc/clnt_simp.c: Likewise.
50158         * sunrpc/clnt_tcp.c: Likewise.
50159         * sunrpc/clnt_udp.c: Likewise.
50160         * sunrpc/clnt_unix.c: Likewise.
50161         * sunrpc/des_crypt.c: Likewise.
50162         * sunrpc/des_soft.c: Likewise.
50163         * sunrpc/get_myaddr.c: Likewise.
50164         * sunrpc/key_call.c: Likewise.
50165         * sunrpc/key_prot.c: Likewise.
50166         * sunrpc/netname.c: Likewise.
50167         * sunrpc/pm_getmaps.c: Likewise.
50168         * sunrpc/pm_getport.c: Likewise.
50169         * sunrpc/pmap_clnt.c: Likewise.
50170         * sunrpc/pmap_prot.c: Likewise.
50171         * sunrpc/pmap_prot2.c: Likewise.
50172         * sunrpc/pmap_rmt.c: Likewise.
50173         * sunrpc/publickey.c: Likewise.
50174         * sunrpc/rpc_cmsg.c: Likewise.
50175         * sunrpc/rpc_common.c: Likewise.
50176         * sunrpc/rpc_dtable.c: Likewise.
50177         * sunrpc/rpc_prot.c: Likewise.
50178         * sunrpc/rpc_thread.c: Likewise.
50179         * sunrpc/rtime.c: Likewise.
50180         * sunrpc/svc.c: Likewise.
50181         * sunrpc/svc_auth.c: Likewise.
50182         * sunrpc/svc_raw.c: Likewise.
50183         * sunrpc/svc_run.c: Likewise.
50184         * sunrpc/svc_tcp.c: Likewise.
50185         * sunrpc/svc_udp.c: Likewise.
50186         * sunrpc/svc_unix.c: Likewise.
50187         * sunrpc/svcauth_des.c: Likewise.
50188         * sunrpc/xcrypt.c: Likewise.
50189         * sunrpc/xdr.c: Likewise.
50190         * sunrpc/xdr_array.c: Likewise.
50191         * sunrpc/xdr_float.c: Likewise.
50192         * sunrpc/xdr_intXX_t.c: Likewise.
50193         * sunrpc/xdr_mem.c: Likewise.
50194         * sunrpc/xdr_rec.c: Likewise.
50195         * sunrpc/xdr_ref.c: Likewise.
50196         * sunrpc/xdr_sizeof.c: Likewise.
50197         * sunrpc/xdr_stdio.c: Likewise.
50199 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50201         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
50202         change.  Update copyright years.
50204 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50206         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
50208 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
50209             Joseph Myers  <joseph@codesourcery.com>
50210             Paul Pluzhnikov  <ppluzhnikov@google.com>
50212         [BZ #14012]
50213         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
50214         requiring rpcgen.
50215         [cross-compiling] (extra-libs): Likewise.
50216         [cross-compiling] (extra-libs-others): Likewise.
50217         [cross-compiling] (librpcsvc-routines): Likewise.
50218         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
50219         [cross-compiling] (omit-deps): Likewise.
50220         (sunrpc-CPPFLAGS): New variable.
50221         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
50222         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
50223         (cross-rpcgen-objs): New variable.
50224         (extra-objs): Append $(cross-rpcgen-objs).
50225         ($(cross-rpcgen-objs)): New rule.
50226         ($(objpfx)cross-rpcgen): Likewise.
50227         (rpcgen-cmd): Define to use $(built-program-file).  Expand
50228         comment.
50229         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
50230         ($(objpfx)x%.stmp): Likewise.
50231         * sunrpc/proto.h [IS_IN_build] (_): Define.
50232         [IS_IN_build] (_libc_intl_domainname): Likewise.
50234 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50236         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
50237         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
50238         and R_X86_64_TPOFF64.
50240 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50242         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
50243         sysdeps/unix/sysv/syscalls.list.
50244         (stime): Likewise.
50245         (utime): Likewise.
50246         * sysdeps/unix/sysv/syscalls.list: Remove file.
50248 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
50250         [BZ #3440]
50251         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
50252         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
50253         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
50254         (__LC_IDENTIFICATION): Make these macros useful in #if
50255         expressions, as required by C99.
50257 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
50259         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
50260         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
50261         after this.
50263 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
50265         * stdlib/longlong.h: Updated from GCC.
50267 2012-05-09  Andreas Jaeger  <aj@suse.de>
50269         * nscd/nscd.c (run_modes): Make named enum, reorder so that
50270         default is first entry.
50271         (run_mode): Set type.
50272         (main): Remove informal message about syslog.
50273         (options): Fix typo.
50275         [BZ #14053]
50276         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
50277         to asm.
50278         (lrint): Likewise.
50279         (llrintf): Likewise.
50280         (llrint): Likewise.
50281         (rint): Likewise.
50282         (rintf): Likewise.
50283         (nearbyint): Likewise.
50284         (nearbyintf): Likewise.
50286 2012-05-09  Andreas Jaeger  <aj@suse.de>
50287             Pedro Alves  <palves@redhat.com>
50289         * nscd/nscd.c (run_mode): Use enum.
50290         (main): Cleanup coding style issue.
50292 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
50293             Andreas Jaeger  <aj@suse.de>
50295         * nscd/nscd.c (go_background): Replaced with...
50296         (run_mode): ... this.
50297         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
50298         (options): Add -F --foreground.
50299         (main): Implement it.
50300         (parse_opt): Parse it.
50302 2012-05-09  Andreas Jaeger  <aj@suse.de>
50304         [BZ #14083]
50305         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
50306         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
50307         -Wconversion warning.
50308         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
50309         Likewise.
50311 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
50313         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
50314         == 0.
50315         (LC_ALL): Use macro-int-constant.
50316         (LC_COLLATE): Likewise.
50317         (LC_CTYPE): Likewise.
50318         (LC_MESSAGES): Likewise.
50319         (LC_MONETARY): Likewise.
50320         (LC_NUMERIC): Likewise.
50321         (LC_TIME): Likewise.
50322         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
50323         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
50324         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50325         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
50326         Specify type.
50327         [C99-based standards] (float_t): Expect type.
50328         [C99-based standards] (double_t): Expect type.
50329         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
50330         type.
50331         [C99-based standards] (HUGE_VALL): Likewise.
50332         [C99-based standards] (INFINITY): Likewise.
50333         [C99-based standards] (NAN): Likewise.
50334         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
50335         [C99-based standards] (FP_NAN): Likewise.
50336         [C99-based standards] (FP_NORMAL): Likewise.
50337         [C99-based standards] (FP_SUBNORMAL): Likewise.
50338         [C99-based standards] (FP_ZERO): Likewise.
50339         [C99-based standards] (FP_FAST_FMA): Use
50340         optional-macro-int-constant.  Specify type.  Require == 1.
50341         [C99-based standards] (FP_FAST_FMAF): Likewise.
50342         [C99-based standards] (FP_FAST_FMAL): Likewise.
50343         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
50344         [C99-based standards] (FP_ILOGBNAN): Likewise.
50345         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
50346         Specify type.
50347         [C99-based standards] (MATH_ERREXCEPT): Likewise.
50348         [C99-based standards] (math_errhandling): Specify type.
50349         [ISO99 || ISO11] (signgam): Do not allow.
50350         [non-C99-based standards] (copysignf): Do not allow.
50351         [non-C99-based standards] (exp2f): Likewise.
50352         [non-C99-based standards] (log2f): Likewise.
50353         [non-C99-based standards] (modff): Allow.
50354         [non-C99-based standards] (erff): Do not allow.
50355         [non-C99-based standards] (erfcf): Likewise.
50356         [non-C99-based standards] (gammaf): Likewise.
50357         [non-C99-based standards] (hypotf): Likewise.
50358         [non-C99-based standards] (j0f): Likewise.
50359         [non-C99-based standards] (j1f): Likewise.
50360         [non-C99-based standards] (jnf): Likewise.
50361         [non-C99-based standards] (lgammaf): Likewise.
50362         [non-C99-based standards] (tgammaf): Likewise.
50363         [non-C99-based standards] (y0f): Likewise.
50364         [non-C99-based standards] (y1f): Likewise.
50365         [non-C99-based standards] (ynf): Likewise.
50366         [non-C99-based standards] (isnanf): Likewise.
50367         [non-C99-based standards] (acoshf): Likewise.
50368         [non-C99-based standards] (asinhf): Likewise.
50369         [non-C99-based standards] (atanhf): Likewise.
50370         [non-C99-based standards] (cbrtf): Likewise.
50371         [non-C99-based standards] (expm1f): Likewise.
50372         [non-C99-based standards] (ilogbf): Likewise.
50373         [non-C99-based standards] (log1pf): Likewise.
50374         [non-C99-based standards] (logbf): Likewise.
50375         [non-C99-based standards] (nextafterf): Likewise.
50376         [non-C99-based standards] (remainderf): Likewise.
50377         [non-C99-based standards] (rintf): Likewise.
50378         [non-C99-based standards] (scalbf): Likewise.
50379         [non-C99-based standards] (copysignl): Likewise.
50380         [non-C99-based standards] (exp2l): Likewise.
50381         [non-C99-based standards] (log2l): Likewise.
50382         [non-C99-based standards] (modfl): Allow.
50383         [non-C99-based standards] (erfl): Do not allow.
50384         [non-C99-based standards] (erfcl): Likewise.
50385         [non-C99-based standards] (gammal): Likewise.
50386         [non-C99-based standards] (hypotl): Likewise.
50387         [non-C99-based standards] (j0l): Likewise.
50388         [non-C99-based standards] (j1l): Likewise.
50389         [non-C99-based standards] (jnl): Likewise.
50390         [non-C99-based standards] (lgammal): Likewise.
50391         [non-C99-based standards] (tgammal): Likewise.
50392         [non-C99-based standards] (y0l): Likewise.
50393         [non-C99-based standards] (y1l): Likewise.
50394         [non-C99-based standards] (ynl): Likewise.
50395         [non-C99-based standards] (isnanl): Likewise.
50396         [non-C99-based standards] (acoshl): Likewise.
50397         [non-C99-based standards] (asinhl): Likewise.
50398         [non-C99-based standards] (atanhl): Likewise.
50399         [non-C99-based standards] (cbrtl): Likewise.
50400         [non-C99-based standards] (expm1l): Likewise.
50401         [non-C99-based standards] (ilogbl): Likewise.
50402         [non-C99-based standards] (log1pl): Likewise.
50403         [non-C99-based standards] (logbl): Likewise.
50404         [non-C99-based standards] (nextafterl): Likewise.
50405         [non-C99-based standards] (remainderl): Likewise.
50406         [non-C99-based standards] (rintl): Likewise.
50407         [non-C99-based standards] (scalbl): Likewise.
50408         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50409         [non-C99-based standards] (FP_*): Do not allow.
50410         [C99-based standards] (FP_*): Change to
50411         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
50412         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50413         allow.
50414         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
50415         (SIG_ERR): Likewise.
50416         [X/Open-based standards] (SIG_HOLD): Likewise.
50417         (SIG_IGN): Likewise.
50418         (SIGABRT): Use macro-int-constant.  Specify type.  Require
50419         positive value.
50420         (SIGFPE): Likewise.
50421         (SIGILL): Likewise.
50422         (SIGINT): Likewise.
50423         (SIGSEGV): Likewise.
50424         (SIGTER): Likewise.
50425         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
50426         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
50427         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
50428         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
50429         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
50430         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
50431         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
50432         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
50433         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
50434         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
50435         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
50436         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
50437         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
50438         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
50439         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
50440         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
50441         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
50442         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
50443         [X/Open-based standards] (SIGTRAP): Likewise.
50444         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
50445         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
50446         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
50447         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
50448         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50449         allow.
50451 2012-05-08  Ian Wienand  <ianw@vmware.com>
50453         [BZ #14080]
50454         * time/tzset.c (__tzset_parse_tz): Update default rules for
50455         daylight time changes in the Energy Policy Act of 2005.
50457 2012-05-09  Andreas Jaeger  <aj@suse.de>
50459         [BZ #13983]
50460         * elf/ldconfig.c (parse_conf): Change string to make clear that
50461         ldconfig only issued a warning if ld.so.conf does not exist.
50463 2012-05-08  David S. Miller  <davem@davemloft.net>
50465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
50466         movxtod instead of popping the value on the stack.
50468         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50470 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
50472         * config.h.in: Add HAVE_ARM_PCS_VFP.
50474 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
50476         [BZ #13979]
50477         * include/features.h: Warn if user requests __FORTIFY_SOURCE
50478         checking but the checks are disabled for any reason.
50480 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
50482         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
50483         and ELF64_R_TYPE with ELFW(R_TYPE).
50485 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
50487         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
50488         (ulimit): Likewise.
50490         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
50491         (settimeofday): Likewise.
50493 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
50495         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
50496         a struct th_u2 inside the union, and move tu_block/tu_code into
50497         a new th_u3 union of tu_block/tu_code inside of that.  Move
50498         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
50499         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
50500         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
50501         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
50502         (th_stuff): Change to th_u1.tu_stuff.
50503         (th_data): Define.
50504         (th_msg): Change to th_u1.th_u2.tu_data.
50506 2012-05-07  David S. Miller  <davem@davemloft.net>
50508         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50510         [BZ #14074]
50511         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
50512         (SETUP_PIC_REG): Use it.
50513         (SETUP_PIC_REG_LEAF): Use it.
50515 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
50517         [BZ #13885]
50518         [BZ #13923]
50519         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50520         USE_AS_EXPM1L.
50521         (EXPL_FINITE): Likewise.
50522         (FLDLOG): Likewise.
50523         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
50524         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
50525         e_expl.S.
50526         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50527         USE_AS_EXPM1L.
50528         (EXPL_FINITE): Likewise.
50529         (FLDLOG): Likewise.
50530         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
50531         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
50532         e_expl.S.
50533         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
50534         test of -max_value argument for long double.
50535         * sysdeps/i386/fpu/libm-test-ulps: Update.
50536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50538 2012-05-06  David S. Miller  <davem@davemloft.net>
50540         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
50541         quad soft-float symbols whose references which are compiler
50542         generated.
50543         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50545 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
50547         [BZ #13884]
50548         [BZ #13914]
50549         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50550         USE_AS_EXP10L.
50551         (EXPL_FINITE): Likewise.
50552         (FLDLOG): Likewise.
50553         (c0): Likewise.
50554         (c1): Likewise.
50555         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
50556         Adjust comments for base varying.
50557         (__expl_finite): Change alias to EXPL_FINITE.
50558         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
50559         e_expl.S.
50560         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
50561         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
50562         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
50563         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
50564         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50565         USE_AS_EXP10L.
50566         (EXPL_FINITE): Likewise.
50567         (FLDLOG): Likewise.
50568         (c0): Likewise.
50569         (c1): Likewise.
50570         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
50571         Adjust comments for base varying.
50572         (__expl_finite): Change alias to EXPL_FINITE.
50573         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
50574         tests for bugs.
50575         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50577         [BZ #14064]
50578         * math/libm-test.inc (check_float_internal): Correct ulp
50579         calculation for subnormal expected results.
50581 2012-05-06  Andreas Jaeger  <aj@suse.de>
50583         * Makeconfig (+math-flags): New, set to -frounding-math.
50584         (+cflags): Add +math-flags so that all of glibc gets compiled with
50585         it.
50587         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
50589 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
50591         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
50592         Disable one test.
50594         [BZ #13787]
50595         [BZ #13922]
50596         [BZ #14036]
50597         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
50598         (__ieee754_expl): Allow for and saturate large arguments.
50599         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
50600         (u_threshold): Likewise.
50601         (__exp): Call __ieee754_exp before checking for overflow and
50602         underflow.
50603         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
50604         (u_threshold): Likewise.
50605         (__expf): Call __ieee754_expf before checking for overflow and
50606         underflow.
50607         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
50608         (u_threshold): Likewise.
50609         (__expl): Call __ieee754_expl before checking for overflow and
50610         underflow.
50611         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
50612         (__ieee754_expl): Allow for and saturate large arguments.
50613         * math/libm-test.inc (exp_test): Add another test.  Do not allow
50614         missing overflow exception on overflow.
50615         (expm1_test): Do not allow missing overflow exception on overflow.
50617         * sysdeps/i386/fpu/e_expl.c: Move to ...
50618         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
50619         rather than using inline asm.
50620         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
50621         * sysdeps/x86_64/fpu/e_expl.S: Copy from
50622         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
50624         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
50625         (nice): Likewise.
50626         (poll): Likewise.
50627         (signal): Likewise.
50628         (time): Likewise.
50629         (times): Likewise.
50631 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50633         * sysdeps/unix/syscalls.list (adjtime): Add entry from
50634         sysdeps/unix/common/syscalls.list.
50635         (fchmod): Likewise.
50636         (fchown): Likewise.
50637         (ftruncate): Likewise.
50638         (getrusage): Likewise.
50639         (gettimeofday): Likewise.
50640         (setpgid): Likewise.
50641         (setregid): Likewise.
50642         (setreuid): Likewise.
50643         (sigaction): Likewise.
50644         (truncate): Likewise.
50645         (vhangup): Likewise.
50646         * sysdeps/unix/common/syscalls.list: Remove file.
50647         * sysdeps/unix/bsd/Implies: Don't include unix/common.
50648         * sysdeps/unix/sysv/linux/Implies: Likewise.
50650 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
50652         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
50653         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
50654         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
50655         Moved to ...
50656         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
50657         Here.
50658         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
50659         to ...
50660         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
50661         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
50662         to ...
50663         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
50664         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
50665         to ...
50666         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
50667         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
50668         to ...
50669         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
50670         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
50671         to ...
50672         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
50673         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
50674         to ...
50675         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
50676         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
50677         to ...
50678         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
50679         Here.
50680         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
50681         to ...
50682         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
50683         Here.
50684         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
50685         to ...
50686         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
50687         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
50688         Moved to ...
50689         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
50690         Here.
50691         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
50692         to ...
50693         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
50695 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50697         * sysdeps/unix/common/bits/dirent.h: Remove file.
50698         * sysdeps/unix/common/bits/fcntl.h: Likewise.
50700         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
50701         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
50702         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
50703         * sysdeps/unix/bsd/isatty.c: Likewise.
50704         * sysdeps/unix/bsd/tcdrain.c: Likewise.
50705         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
50706         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
50708 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50710         [BZ #13563]
50711         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
50712         long double comparison inaccuracies.
50713         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
50714         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50716 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
50718         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
50719         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
50721 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50723         [BZ #14049]
50724         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
50725         nonzero digits before rounding a hex value.
50726         * stdlib/tst-strtod.c (tests): Add another test.
50728 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50730         * sysdeps/s390/fpu/libm-test-ulps: Update.
50732 2012-05-03  Andreas Jaeger  <aj@suse.de>
50734         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
50735         does not get optimized out.
50736         (malloc_opt_barrier): New.
50738 2012-05-03  Andreas Jaeger  <aj@suse.de>
50739             Roland McGrath  <roland@hack.frob.com>
50741         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
50742         intermediate file deletion.
50743         (generated): Add .symlist files.
50745 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
50747         [BZ #13775]
50748         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
50749         Redirect under this condition.
50750         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50751         [__USE_GNU] (__dprintf_chk): Not under this condition.
50752         [__USE_GNU] (__vdprintf_chk): Likewise.
50753         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
50754         under this condition.
50755         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50756         [__USE_XOPEN2K8] (dprintf): Define under this condition.
50757         [__USE_XOPEN2K8] (vdprintf): Likewise.
50758         [__USE_GNU] (__dprintf_chk): Not under this condition.
50759         [__USE_GNU] (__vdprintf_chk): Likewise.
50760         [__USE_GNU] (dprintf): Likewise.
50761         [__USE_GNU] (vdprintf): Likewise.
50763 2012-05-03  Roland McGrath  <roland@hack.frob.com>
50765         * elf/Makefile (common-generated): Set this instead of generated for
50766         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
50767         $(all-built-dso)-derived lists.
50769 2012-05-03  Andreas Jaeger  <aj@suse.de>
50771         * sysdeps/i386/fpu/libm-test-ulps: Update.
50773         * FAQ: Removed.
50774         * FAQ.in: Likewise.
50775         * scripts/gen-FAQ.pl: Likewise.
50776         * manual/install.texi (Installation): Point to online location of
50777         FAQ.
50778         * Makefile (files-for-dist): Remove FAQ.
50779         (FAQ): Remove.
50781 2012-05-02  Allan McRae  <allan@archlinux.org>
50783         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
50784         (LDFLAGS-reldepmod5.so): Likewise.
50785         (LDFLAGS-reldep6mod1.so): Likewise.
50786         (LDFLAGS-reldep6mod4.so): Likewise.
50787         (LDFLAGS-reldep8mod3.so): Likewise.
50788         (LDFLAGS-unload4mod1.so): Likewise.
50789         (LDFLAGS-unload4mod2.so): Likewise.
50790         (LDFLAGS-tst-initorder): Likewise.
50791         (LDFLAGS-tst-initordera2.so): Likewise.
50792         (LDFLAGS-tst-initordera3.so): Likewise.
50793         (LDFLAGS-tst-initordera4.so): Likewise.
50794         (LDFLAGS-tst-initorderb2.so): Likewise.
50795         (LDFLAGS-noload): Likewise.
50796         (LDFLAGS-next): Likewise.
50797         (LDFLAGS-order2mod1.so): Likewise.
50798         (LDFLAGS-order2mod2.so): Likewise.
50799         (LDFLAGS-tst-initorder2): Likewise.
50800         (LDFLAGS-tst-initorder2a.so): Likewise.
50801         (LDFLAGS-tst-initorder2b.so): Likewise.
50802         (LDFLAGS-tst-initorder2c.so): Likewise.
50803         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
50805 2012-05-02  David S. Miller  <davem@davemloft.net>
50807         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50809 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
50811         [BZ #14055]
50812         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
50814 2012-05-02  Andreas Jaeger  <aj@suse.de>
50816         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
50817         since we manipulate rounding mode.
50818         (CPPFLAGS-test-idouble.c): Likewise.
50819         (CPPFLAGS-test-ifloat.c): Likewise.
50820         (CFLAGS-test-ldouble.c): Likewise.
50821         (CFLAGS-test-double.c): Likewise.
50822         (CFLAGS-test-float.c): Likewise.
50823         (CFLAGS-test-misc.c): Likewise.
50824         (CFLAGS-test-test-fenv.c): Likewise.
50826 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50828         [BZ #2550]
50829         [BZ #2570]
50830         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
50831         comparisons to determine direction to adjust input.
50833 2012-05-01  Roland McGrath  <roland@hack.frob.com>
50835         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
50836         output to the target.
50838         * scripts/localplt.awk: New file.
50839         * elf/Makefile ($(objpfx)check-localplt): Target removed.
50840         (check-localplt-CFLAGS): Variable removed.
50841         ($(all-built-dso:=.jmprel)): New static pattern rule.
50842         (generated): Add those targets.
50843         (localplt-built-dso): New variable.
50844         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
50846         * elf/check-localplt.c: File removed.
50848         * scripts/check-execstack.awk: New file.
50849         * elf/Makefile ($(objpfx)check-execstack): Target removed.
50850         (check-execstack-CFLAGS): Variable removed.
50851         ($(objpfx)check-execstack.h): Target removed.
50852         ($(objpfx)execstack-default): New target.
50853         (generated): Add that instead of check-execstack.h.
50854         ($(all-built-dso:=.phdr)): New static pattern rule.
50855         (generated): Add those targets.
50856         * elf/check-execstack.c: File removed.
50858         * scripts/check-textrel.awk: New file.
50859         * elf/Makefile ($(objpfx)check-textrel): Target removed.
50860         (check-textrel-CFLAGS): Variable removed.
50861         (all-built-dso): Use := to define.o
50862         ($(all-built-dso:=.dyn)): New static pattern rule.
50863         (generated): Add those targets.
50864         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
50865         * config.make.in (READELF): New substituted variable.
50866         * elf/check-textrel.c: File removed.
50868 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
50870         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50871         allow.
50872         * conform/data/ctype.h-data [C99-based standards] (isblank):
50873         Expect function.
50874         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
50875         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
50876         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50877         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
50878         Specify type.  Require positive value.
50879         (EILSEQ): Likewise.
50880         (ERANGE): Likewise.
50881         [ISO || POSIX] (EILSEQ): Do not expect.
50882         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
50883         Specify type.  Require positive value.
50884         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
50885         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
50886         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
50887         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
50888         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
50889         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
50890         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
50891         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
50892         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
50893         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
50894         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
50895         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
50896         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
50897         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
50898         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
50899         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
50900         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
50901         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
50902         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
50903         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
50904         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
50905         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
50906         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
50907         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
50908         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
50909         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
50910         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
50911         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
50912         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
50913         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
50914         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
50915         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
50916         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
50917         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
50918         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
50919         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
50920         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
50921         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
50922         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
50923         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
50924         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
50925         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
50926         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
50927         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
50928         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
50929         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
50930         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
50931         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
50932         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
50933         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
50934         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
50935         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
50936         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
50937         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
50938         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
50939         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
50940         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
50941         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
50942         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
50943         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
50944         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
50945         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
50946         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
50947         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
50948         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
50949         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
50950         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
50951         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
50952         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
50953         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
50954         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
50955         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
50956         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
50957         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
50958         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
50959         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
50960         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
50961         Require >= 2.
50962         (FLT_ROUNDS): Expect as macro, not constant.
50963         (FLT_MANT_DIG): Use macro-int-constant.
50964         (DBL_MANT_DIG): Likewise.
50965         (LDBL_MANT_DIG): Likewise.
50966         (FLT_DIG): Likewise.
50967         (DBL_DIG): Likewise.
50968         (LDBL_DIG): Likewise.
50969         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
50970         (DBL_MIN_EXP): Likewise.
50971         (LDBL_MIN_EXP): Likewise.
50972         (FLT_MAX_EXP): Use macro-int-constant.
50973         (DBL_MAX_EXP): Likewise.
50974         (LDBL_MAX_EXP): Likewise.
50975         (FLT_MAX_10_EXP): Likewise.
50976         (DBL_MAX_10_EXP): Likewise.
50977         (LDBL_MAX_10_EXP): Likewise.
50978         (FLT_MAX): Use macro-constant.
50979         (DBL_MAX): Likewise.
50980         (LDBL_MAX): Likewise.
50981         (FLT_EPSILON): Use macro-constant.  Give upper bound.
50982         (DBL_EPSILON): Likewise.
50983         (LDBL_EPSILON): Likewise.
50984         (FLT_MIN): Likewise.
50985         (DBL_MIN): Likewise.
50986         (LDBL_MIN): Likewise.
50987         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
50988         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
50989         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
50990         [ISO11] (FLT_HAS_SUBNORM): Likewise.
50991         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
50992         [ISO11] (DBL_DECIMAL_DIG): Likewise.
50993         [ISO11] (FLT_DECIMAL_DIG): Likewise.
50994         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
50995         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
50996         [ISO11] (FLT_TRUE_MIN): Likewise.
50997         [ISO11] (LDBL_TRUE_MIN): Likewise.
50998         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50999         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
51000         (SCHAR_MIN): Use macro-int-constant.  Specify type.
51001         (SCHAR_MAX): Likewise.
51002         (UCHAR_MAX): Likewise.
51003         (CHAR_MIN): Likewise.
51004         (CHAR_MAX): Likewise.
51005         (MB_LEN_MAX): Use macro-int-constant.
51006         (SHRT_MIN): Use macro-int-constant.  Specify type.
51007         (SHRT_MAX): Likewise.
51008         (USHRT_MAX): Likewise.
51009         (INT_MAX): Likewise.
51010         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
51011         bound negative.
51012         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51013         bound with "U".
51014         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51015         bound with "L".
51016         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
51017         bound negative.  Suffix upper bound with "L".
51018         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51019         bound with "UL".
51020         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
51021         Specify type.
51022         [C99-based standards] (LLONG_MAX): Likewise.
51023         [C99-based standards] (ULLONG_MAX): Likewise.
51024         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
51025         == 0.
51026         [ISO11] (max_align_t): Require type.
51027         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51029         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
51030         from $CFLAGS, without defining away __attribute__ calls.
51031         (checknamespace): Use $CFLAGS_namespace.
51033         * conform/conformtest.pl (@keywords): Only include C99 keywords
51034         for standards based on C99 or C11.
51036         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
51037         Disable tests.
51038         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
51039         UNIX98]: Likewise.
51041         * conform/conformtest.pl: Handle "macro-int-constant" and test for
51042         usability of symbols in #if.
51044         * conform/conformtest.pl: If macro or constant types start
51045         "promoted:", expect the symbol to be of the following type
51046         promoted by the integer promotions.
51048         * conform/conformtest.pl: Parse all "constant" and "macro" lines
51049         in one place.  Also handle "macro-constant".
51051         * conform/conformtest.pl: Only accept expected macro values with
51052         "==".  Parse all "macro" lines in one place.
51053         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
51055         * conform/conformtest.pl: Handle braced types on "constant" lines
51056         instead of handling "typed-constant".
51057         * conform/data/signal.h-data: Use "constant" instead of
51058         "typed-constant".
51060         * conform/conformtest.pl: Handle "optional-" at start of lines in
51061         one place rather than duplicating several cases.  Handle each
51062         format of "macro" line with initial "optional-".
51064         * conform/conformtest.pl: Only accept expected constant or
51065         optional-constant values with "==".  Parse all "constant" lines in
51066         one place.  Parse all "optional-constant" lines in one place.
51067         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
51068         * conform/data/fmtmsg.h-data: Likewise.
51069         * conform/data/netinet/in.h-data: Likewise.
51070         * conform/data/tar.h-data: Likewise.
51071         * conform/data/limits.h-data: Use "==" form on "constant" and
51072         "optional-constant" lines.
51074         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
51075         Use -std=c99 for XOPEN2K.
51076         (@knownproblems): Remove.
51077         (newtoken): Don't check %isknown.
51079         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
51080         Do not expect macro.
51081         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
51082         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
51083         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
51084         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
51085         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
51086         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
51087         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
51088         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
51089         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
51090         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
51091         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
51092         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
51093         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
51094         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
51095         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
51096         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
51097         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
51098         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
51099         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
51100         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
51101         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
51102         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
51103         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
51104         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
51105         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
51106         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
51107         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
51108         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
51109         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
51110         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
51111         [XPG3] (acosh): Likewise.
51112         [XPG3] (asinh): Likewise.
51113         [XPG3] (atanh): Likewise.
51114         [XPG3] (cbrt): Likewise.
51115         [XPG3] (expm1): Likewise.
51116         [XPG3] (ilogb): Likewise.
51117         [XPG3] (log1p): Likewise.
51118         [XPG3] (logb): Likewise.
51119         [XPG3] (nextafter): Likewise.
51120         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
51121         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
51122         [XPG3] (remainder): Likewise.
51123         [XPG3] (rint): Likewise.
51124         [XPG3 || XPG4 || UNIX98] (round): Likewise.
51125         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
51126         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
51127         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
51128         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
51129         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
51130         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
51131         [UNIX98 || XOPEN2K] (scalb): Expect.
51132         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
51133         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
51134         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
51135         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
51136         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
51137         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
51138         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
51139         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
51140         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
51141         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
51142         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
51143         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
51144         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
51145         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
51146         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
51147         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
51148         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
51149         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
51150         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
51151         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
51152         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
51153         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
51154         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
51155         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
51156         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
51157         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
51158         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
51159         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
51160         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
51161         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
51162         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
51163         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
51164         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
51165         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
51166         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
51167         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
51168         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
51169         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
51170         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
51171         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
51172         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
51173         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
51174         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
51175         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
51176         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
51177         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
51178         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
51179         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
51180         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
51181         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
51182         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
51183         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
51184         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
51185         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
51186         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
51187         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
51188         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
51189         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
51190         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
51191         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
51192         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
51193         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
51194         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
51195         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
51196         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
51197         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
51198         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
51199         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
51200         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
51201         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
51202         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
51203         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
51204         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
51205         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
51206         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
51207         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
51208         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
51209         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
51210         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
51211         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
51212         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
51213         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
51214         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
51215         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
51216         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
51217         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
51218         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
51219         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
51220         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
51221         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
51222         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
51223         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
51224         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
51225         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
51226         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
51227         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
51228         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
51229         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
51230         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
51231         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
51232         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
51233         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
51234         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
51235         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
51236         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
51237         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
51238         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
51239         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
51240         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
51241         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
51242         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
51243         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
51244         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
51245         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
51246         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
51247         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
51248         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
51249         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
51250         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
51251         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
51252         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
51253         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
51254         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
51255         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
51256         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
51257         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
51258         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
51259         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
51260         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
51261         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
51262         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
51263         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
51264         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
51265         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
51266         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
51267         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
51268         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
51270         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
51271         _XOPEN_SOURCE_EXTENDED for XPG4.
51273         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
51275         * Makeconfig (localtime): Remove variable.
51276         (inst_localtime-file): Likewise.
51278 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
51281         Update.
51282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51283         Update.
51284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
51285         Update.
51286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
51287         Update.
51288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
51289         Update.
51290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
51291         Update.
51292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51293         Update.
51294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
51295         Update.
51296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51297         Update.
51299 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
51301         [BZ #2550]
51302         [BZ #2570]
51303         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
51304         comparisons to determine direction to adjust input.
51305         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
51306         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
51307         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
51308         Likewise.
51309         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
51310         Likewise.
51311         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
51312         Likewise.
51313         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
51314         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
51315         Likewise.
51316         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
51317         Likewise.
51318         * math/libm-test.inc (nexttoward_test): Add more tests.
51320 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51322         [BZ #14040]
51323         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
51324         in version GLIBC_2.1, not GLIBC_2.0.
51325         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
51326         Likewise.
51328 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
51330         [BZ #13942]
51331         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
51332         (1 - x) * (1 + x).
51333         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
51334         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
51335         * math/libm-test.inc (acos_test): Add more tests.
51336         (asin_test): Likewise.
51337         * sysdeps/i386/fpu/libm-test-ulps: Update.
51338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51340         [BZ #14034]
51341         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
51342         of square root.
51343         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
51344         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
51345         * math/libm-test.inc (acos_test_tonearest): New function.
51346         (acos_test_towardzero): Likewise.
51347         (acos_test_downward): Likewise.
51348         (acos_test_upward): Likewise.
51349         (asin_test_tonearest): Likewise.
51350         (asin_test_towardzero): Likewise.
51351         (asin_test_downward): Likewise.
51352         (asin_test_upward): Likewise.
51353         (main): Call the new functions.
51354         * sysdeps/i386/fpu/libm-test-ulps: Update.
51355         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51357         [BZ #13884]
51358         [BZ #13924]
51359         * math/e_exp10.c: Include <float.h>.
51360         (__ieee754_exp10): Handle underflow here rather than multiplying
51361         large negative argument by M_LN10.
51362         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
51363         of __ieee754_expf.
51364         * math/e_exp10l.c: Include <float.h>.
51365         (__ieee754_exp10l): Handle underflow here rather than multiplying
51366         large negative argument by M_LN10l.
51367         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
51368         spurious overflow exception on underflow.
51370 2012-04-29  Marek Polacek  <polacek@redhat.com>
51372         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
51373         (__fortify_function): New macro.
51374         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
51375         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
51376         __extern_always_inline.
51377         * libio/bits/stdio2.h: Likewise.
51378         * libio/bits/stdio.h: Likewise.
51379         * string/string.h: Likewise.
51380         * string/bits/string3.h: Likewise.
51381         * include/stdio.h: Likewise.
51382         * stdlib/bits/stdlib.h: Likewise.
51383         * stdlib/stdlib.h: Likewise.
51384         * rt/bits/mqueue2.h: Likewise.
51385         * rt/mqueue.h: Likewise.
51386         * posix/bits/unistd.h: Likewise.
51387         * posix/unistd.h: Likewise.
51388         * io/bits/poll2.h: Likewise.
51389         * io/bits/fcntl2.h: Likewise.
51390         * io/fcntl.h: Likewise.
51391         * io/sys/poll.h: Likewise.
51392         * misc/bits/syslog.h: Likewise.
51393         * misc/bits/syslog-ldbl.h: Likewise.
51394         * misc/sys/syslog.h: Likewise.
51395         * socket/bits/socket2.h: Likewise.
51396         * socket/sys/socket.h: Likewise.
51397         * debug/tst-chk1.c: Likewise.
51398         * wcsmbs/bits/wchar2.h: Likewise.
51399         * wcsmbs/bits/wchar-ldbl.h: Likewise.
51400         * wcsmbs/wchar.h: Likewise.
51402 2012-04-29  Andreas Jaeger  <aj@suse.de>
51404         * Makerules (tests): Remove enable-check-abi protection.
51405         (check-abi-warn): Remove.
51406         (check-abi-%): Remove check-abi-warn usage.
51408         * configure.in: Remove check-abi configure option.
51409         * configure: Regenerated.
51410         * config.make.in (enable-check-abi): Remove.
51412 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
51414         [BZ #14033]
51415         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
51416         double functions to double *_finite functions.
51418         [BZ #13941]
51419         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
51420         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
51421         LDBL_MIN_EXP.
51422         * stdio-common/Makefile (tests): Add tst-sprintf3.
51423         * stdio-common/tst-sprintf3.c: New file.
51425         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
51426         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
51428 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
51430         * conform/conformtest.pl: Remove duplicate typed-constant
51431         handling.
51433 2012-04-28  David S. Miller  <davem@davemloft.net>
51435         * Makerules (%.abilist): Add vpath on sysdep_dirs.
51436         (check-abi-%): Remove AWK script prerequisite and explicit
51437         abilist directory.
51438         (check-abi): Rewrite to just diff the symlist with the abilist.
51439         (config-tls, config-abi-config): Delete, no longer used.
51440         (update-abi-%): Remove AWK script and explicit abilist directory.
51441         (update-abi): Rewrite to simply compare and conditionally copy the
51442         symlist and the sysdep abilist file.  Remove update-abi-config
51443         checks.
51444         * abilist/ld.abilist: Remove.
51445         * abilist/libBrokenLocale.abilist: Remove.
51446         * abilist/libanl.abilist: Remove.
51447         * abilist/libcrypt.abilist: Remove.
51448         * abilist/libdl.abilist: Remove.
51449         * abilist/librt.abilist: Remove.
51450         * abilist/libthread_db.abilist: Remove.
51451         * abilist/libutil.abilist: Remove.
51452         * scripts/extract-abilist.awk: Remove.
51453         * scripts/merge-abilist.awk: Remove.
51454         * sysdeps/generic/libcidn.abilist: New file.
51455         * sysdeps/generic/libnss_compat.abilist: New file.
51456         * sysdeps/generic/libnss_db.abilist: New file.
51457         * sysdeps/generic/libnss_dns.abilist: New file.
51458         * sysdeps/generic/libnss_files.abilist: New file.
51459         * sysdeps/generic/libnss_hesiod.abilist: New file.
51460         * sysdeps/generic/libnss_nis.abilist: New file.
51461         * sysdeps/generic/libnss_nisplus.abilist: New file.
51462         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
51463         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
51464         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
51465         file.
51466         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
51467         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
51468         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
51469         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
51470         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
51471         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
51472         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
51473         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
51474         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
51475         file.
51476         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
51477         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
51478         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
51479         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
51480         file.
51481         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
51482         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
51483         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
51484         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
51485         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
51486         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
51487         file.
51488         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
51489         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
51490         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
51491         file.
51492         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
51493         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
51494         New file.
51495         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
51496         New file.
51497         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
51498         New file.
51499         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
51500         New file.
51501         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
51502         New file.
51503         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
51504         New file.
51505         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
51506         New file.
51507         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
51508         New file.
51509         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
51510         New file.
51511         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
51512         New file.
51513         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
51514         New file.
51515         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
51516         New file.
51517         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
51518         New file.
51519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
51520         file.
51521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
51522         New file.
51523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
51524         New file.
51525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
51526         file.
51527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
51528         New file.
51529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
51530         New file.
51531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
51532         file.
51533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
51534         New file.
51535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51536         New file.
51537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
51538         New file.
51539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
51540         New file.
51541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
51542         New file.
51543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
51544         New file.
51545         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
51546         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
51547         file.
51548         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
51549         New file.
51550         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
51551         file.
51552         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
51553         file.
51554         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
51555         file.
51556         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
51557         file.
51558         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
51559         file.
51560         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51561         New file.
51562         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
51563         file.
51564         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
51565         file.
51566         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
51567         New file.
51568         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
51569         file.
51570         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
51571         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
51572         file.
51573         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
51574         New file.
51575         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
51576         file.
51577         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
51578         file.
51579         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
51580         file.
51581         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
51582         file.
51583         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
51584         file.
51585         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51586         New file.
51587         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
51588         file.
51589         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
51590         file.
51591         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
51592         New file.
51593         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
51594         file.
51595         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
51596         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
51597         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
51598         file.
51599         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
51600         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
51601         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
51602         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
51603         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
51604         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
51605         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
51606         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
51607         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
51608         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
51609         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
51610         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
51611         file.
51612         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
51613         New file.
51614         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
51615         file.
51616         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
51617         file.
51618         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
51619         file.
51620         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
51621         file.
51622         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
51623         file.
51624         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
51625         New file.
51626         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
51627         New file.
51628         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
51629         file.
51630         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
51631         New file.
51632         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
51633         file.
51634         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
51635         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
51636         file.
51637         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
51638         New file.
51639         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
51640         file.
51641         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
51642         file.
51643         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
51644         file.
51645         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
51646         file.
51647         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
51648         file.
51649         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
51650         New file.
51651         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
51652         New file.
51653         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
51654         file.
51655         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
51656         New file.
51657         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
51658         file.
51660 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
51662         * conform/conformtest.pl: Fix typo in handling typed-constant from
51663         allow-header.
51665 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
51667         * README: Cut down references to pre-2.6 Linux kernels and
51668         Linuxthreads.  Update lists of configurations in libc and ports
51669         and sort alphabetically.  Say "or newer" with Linux kernel version
51670         requirements.
51672         * config.h.in [IS_IN_build]: Allow compiling without optimization.
51674 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51676         [BZ #887]
51677         * math/libm-test.inc (logb_test_downward): New test to expose
51678         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
51679         rounding mode.
51681 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
51683         [BZ #14027]
51684         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
51685         to be done.
51686         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
51687         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
51689 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
51691         * sysdeps/unix/i386/brk.S: Remove file.
51692         * sysdeps/unix/i386/dl-brk.S: Likewise.
51693         * sysdeps/unix/i386/pipe.S: Likewise.
51694         * sysdeps/unix/i386/sigreturn.S: Likewise.
51695         * sysdeps/unix/i386/syscall.S: Likewise.
51696         * sysdeps/unix/i386/vfork.S: Likewise.
51697         * sysdeps/unix/i386/wait.S: Likewise.
51699         * sysdeps/unix/common/tcsendbrk.c: Move to ...
51700         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
51702         * configure.in (arm*-none*): Do not allow without
51703         --enable-hacker-mode.
51704         (netbsd*): Remove case setting base_os.
51705         (386bsd*): Likewise.
51706         (freebsd*): Likewise.
51707         (bsdi*): Likewise.
51708         (osf*): Likewise.
51709         (sunos*): Likewise.
51710         (ultrix*): Likewise.
51711         (newsos*): Likewise.
51712         (dynix*): Likewise.
51713         (*bsd*): Likewise.
51714         (sysv*): Likewise.
51715         (isc*): Likewise.
51716         (esix*): Likewise.
51717         (sco*): Likewise.
51718         (minix*): Likewise.
51719         (irix4*): Likewise.
51720         (irix6*): Likewise.
51721         (solaris[2-9]*): Likewise.
51722         (none): Likewise.
51723         * configure: Regenerated.
51725 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51727         [BZ #11521]
51728         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
51729         overflow or cancellation in calculating denominator.
51730         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
51731         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
51732         down expression to avoid unexpected rounding in newer GCCs.
51733         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
51735 2012-04-26  David S. Miller  <davem@davemloft.net>
51737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
51738         long-double compat symbols.
51739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
51743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51744         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
51745         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
51746         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
51747         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
51748         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
51749         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
51750         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
51751         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
51753 2012-04-25  David S. Miller  <davem@davemloft.net>
51755         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
51756         HWCAP_* values only after the memory barriers have been defined.
51757         (atomic_full_barrier): Define.
51758         (atomic_read_barrier): Define.
51759         (atomic_write_barrier): Define.
51761 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51763         * shlib-versions: Add libgcc_s version information.
51764         * sysdeps/generic/libgcc_s.h: Remove.
51765         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
51766         libgcc_s.h.
51767         * sysdeps/gnu/unwind-resume.c: Likewise.
51768         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
51770 2012-04-25  David S. Miller  <davem@davemloft.net>
51772         * sysdeps/unix/sparc/brk.S: Delete.
51773         * sysdeps/unix/sparc/dl-brk.S: Delete.
51774         * sysdeps/unix/sparc/pipe.S: Delete.
51775         * sysdeps/unix/sparc/sysdep.S: Delete.
51776         * sysdeps/unix/sparc/sysdep.h: Delete.
51777         * sysdeps/unix/sparc/vfork.S: Delete.
51778         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
51779         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
51780         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
51781         (ret_ERRVAL, r0, r1, MOVE): Define.
51782         (JUMPTARGET): Remove.
51783         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
51784         sysdeps/unix/sparc/sysdep.h
51785         (ENTRY, END): Remove.
51786         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51788 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
51790         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
51791         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
51792         -DIS_IN_build.
51794         * timezone/README: Update upstream location and email address for
51795         tzcode and tzdata.
51796         * timezone/zdump.c: Update from tzcode 2012b.
51797         * timezone/zic.c: Likewise.
51799         * configure.in (libc_cv_as_needed): Remove test.
51800         * configure: Regenerated.
51801         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
51802         conditional definition.
51803         [$(have-as-needed) != yes] (no-as-needed): Likewise.
51804         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
51805         * config.make.in (have-as-needed): Remove variable.
51807 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51808             Paul Pluzhnikov  <ppluzhnikov@google.com>
51810         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
51811         strings correctly.
51813 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
51815         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
51816         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
51817         * sysdeps/sh/strlen.S: Likewise.
51819 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51821         * sysdeps/unix/fork.S: Remove file.
51822         * sysdeps/unix/i386/fork.S: Likewise.
51823         * sysdeps/unix/sparc/fork.S: Likewise.
51825         * sysdeps/unix/system.c: Remove file.
51826         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
51828         * sysdeps/unix/getegid.S: Remove file.
51829         * sysdeps/unix/geteuid.S: Likewise.
51831 2012-04-24  Roland McGrath  <roland@hack.frob.com>
51833         * scripts/check-localplt.awk: New file.
51834         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
51835         of diff.
51836         * scripts/data/localplt-generic.data: Add a comment.
51838         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
51839         NODE when __dir_mkfile failed.
51840         * sysdeps/mach/hurd/symlinkat.c: Likewise.
51841         Reported by Ludovic Courtès <ludo@gnu.org>.
51843 2012-04-24  Andreas Jaeger  <aj@suse.de>
51845         * Makerules (common-clean): Also remove gen-as-const-headers
51846         files.
51848 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51850         * Makerules (native-compile): Do not change working directory for
51851         build.  Use $(OUTPUT_OPTION) in command.
51852         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
51854 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51856         [BZ #13886]
51857         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
51858         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
51859         * math/libm-test.inc (floor_test): Add more tests.
51860         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
51862 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51864         * sysdeps/unix/getdents.c: Remove file.
51865         * sysdeps/unix/sysv/getdents.c: Likewise.
51866         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
51868         * sysdeps/unix/syscalls.list (madvise): Add syscall from
51869         sysdeps/unix/mman/syscalls.list.
51870         (mmap): Likewise.
51871         (mprotect): Likewise.
51872         (msync): Likewise.
51873         (munmap): Likewise.
51874         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
51875         * sysdeps/unix/mman/syscalls.list: Remove.
51876         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
51878         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
51879         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
51880         * configure: Regenerated.
51881         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
51882         $(libgcc_s_suffix).
51883         * config.make.in (libgcc_s_suffix): Remove variable.
51885 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
51887         * sysdeps/unix/sysv/gethostname.c: Move to ...
51888         * sysdeps/posix/gethostname.c: ... here.
51890         * sysdeps/unix/execve.S: Remove file.
51892         * sysdeps/unix/_exit.S: Remove file.
51894 2012-04-23  Andreas Jaeger  <aj@suse.de>
51896         [BZ #13739]
51897         * manual/Makefile: Remove make dist support, there's no
51898         need for a stand-alone documentation tar ball.
51899         (TEXI2DVI): Define always, it's not in Makeconfig.
51900         (dist): Removed.
51901         (tar-it): Removed.
51902         (edition): Removed.
51903         (glibc-doc-$(edition).tar): Removed
51904         (%.Z): Removed.
51905         (%.gz): Removed.
51906         (%.uu): Removed.
51907         (ETAGS): Remove, it's in Makeconfig.
51908         (move-if-change): Remove, it's in Makeconfig.
51910 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
51912         [BZ #13970]
51913         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
51914         (strtod, strtof, strtold, strtol, strtoul, strtoq)
51915         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
51916         (strtod_l, strtof_l, strtold_l): Remove __wur.
51917         It is not necessarily an error to ignore strtol's return value.
51918         One can reliably look at the stored endptr to decide whether
51919         the number had valid syntax.
51921 2012-04-21  Andreas Jaeger  <aj@suse.de>
51923         [BZ #13739]
51924         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
51926 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
51928         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
51929         * sysdeps/unix/sysv/Versions: Remove file.
51931 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
51933         [BZ #13927]
51934         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51936 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
51938         [BZ #7064]
51939         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
51940         version from __vm86.
51942 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
51944         * sysdeps/unix/common/lxstat.c: Remove file.
51945         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
51947         * sysdeps/unix/sysv/Makefile: Remove file.
51949         * sysdeps/unix/sysv/direct.h: Remove file.
51951         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
51952         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
51953         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
51954         * sysdeps/unix/sysv/bits/signum.h: Likewise.
51955         * sysdeps/unix/sysv/bits/stat.h: Likewise.
51956         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
51957         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
51959         * sysdeps/unix/sysv/setrlimit.c: Remove file.
51961         * sysdeps/unix/xmknod.c: Remove file.
51962         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
51964         * sysdeps/unix/sysv/settimeofday.c: Remove file.
51966         * sysdeps/unix/sysv/i386/time.S: Remove file.
51968         * sysdeps/unix/fxstat.c: Remove file.
51969         * sysdeps/unix/xstat.c: Likewise.
51970         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
51972         * sysdeps/unix/sysv/sigaction.c: Remove file.
51974         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
51975         (sysdep_headers): Remove variable.
51976         [termio.h not in sysdep_headers] (generated): Likewise.
51977         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
51978         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
51979         * sysdeps/unix/sysv/tcdrain.c: Likewise.
51980         * sysdeps/unix/sysv/tcflow.c: Likewise.
51981         * sysdeps/unix/sysv/tcflush.c: Likewise.
51982         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
51983         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
51984         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
51985         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
51986         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
51988         * sysdeps/unix/siglist.c: Remove file.
51990         * sysdeps/unix/getppid.S: Remove file.
51992         * sysdeps/unix/mkdir.c: Remove file.
51993         * sysdeps/unix/rmdir.c: Likewise.
51995 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
51997         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
51998         ERR_MAX value.
51999         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
52000         errlist-compat value.
52002 2012-04-18  David S. Miller  <davem@davemloft.net>
52004         * sysdeps/generic/memcopy.h (reg_char): Delete.
52005         * debug/strcat_chk.c: Use char, not reg_char.
52006         * debug/strcpy_chk.c: Likewise.
52007         * debug/strncat_chk.c: Likewise.
52008         * debug/strncpy_chk.c: Likewise.
52009         * string/memchr.c: Likewise.
52010         * string/memrchr.c: Likewise.
52011         * string/rawmemchr.c: Likewise.
52012         * string/strcat.c: Likewise.
52013         * string/strchr.c: Likewise.
52014         * string/strchrnul.c: Likewise.
52015         * string/strcmp.c: Likewise.
52016         * string/strcpy.c: Likewise.
52017         * string/strncat.c: Likewise.
52018         * string/strncmp.c: Likewise.
52019         * string/strncpy.c: Likewise.
52021 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52023         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
52024         __builtin_memcopy is called when src and dest ranges are known to not
52025         overlap.
52027 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52029         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
52030         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
52031         fwd_align_merge macro call.
52032         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
52033         bwd_align_merge macro call.
52034         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52036 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52038         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
52039         bwd_align_merge macros.
52040         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
52041         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
52042         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52044 2012-04-18  David S. Miller  <davem@davemloft.net>
52046         * sysdeps/sparc/sparc64/memcopy.h: Delete.
52048 2012-04-18  Andreas Jaeger  <aj@suse.de>
52050         [BZ# 6794]
52051         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
52052         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
52053         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52055         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
52056         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
52057         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52059         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
52060         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
52061         Adjust for changed ldbl-128 files.
52063         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
52064         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
52065         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52067 2012-04-17  David S. Miller  <davem@davemloft.net>
52069         * sysdeps/sparc/sparc32/memcopy.h: Delete.
52071 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
52073         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
52074         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
52075         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
52076         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
52077         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
52078         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
52080 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52082         [BZ #6794]
52083         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
52084         * math/libm-test.inc: Add ilogb errno and exception tests.
52085         * math/w_ilogb.c: New file: ilogb wrapper.
52086         * math/w_ilogbf.c: New file: ilogbf wrapper.
52087         * math/w_ilogbl.c: New file: ilogbl wrapper.
52088         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
52089         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
52090         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
52091         exception being thrown with 0.0 as argument.
52092         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
52093         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
52094         exception being thrown with 0.0 as argument.
52095         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
52096         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52097         exception being thrown with 0.0 as argument.
52098         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
52099         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52100         exception being thrown with 0.0 as argument.
52101         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
52102         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
52103         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
52104         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
52105         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
52106         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
52107         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
52108         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
52109         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
52111 2012-04-17  Petr Baudis  <pasky@ucw.cz>
52113         * include/sys/uio.h: Change __vector to __iovec to avoid clash
52114         with altivec.
52116 2012-04-16  Marek Polacek  <polacek@redhat.com>
52118         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
52120 2012-04-16  Marek Polacek  <polacek@redhat.com>
52122         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
52123         operands of fdivp instruction.
52125 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52127         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
52128         * elf/tst-auditmod3b.c: Likewise.
52129         * elf/tst-auditmod4b.c: Likewise.
52130         * elf/tst-auditmod5b.c: Likewise.
52131         * elf/tst-auditmod6b.c: Likewise.
52132         * elf/tst-auditmod6c.c: Likewise.
52133         * elf/tst-auditmod7b.c: Likewise.
52134         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
52135         * sysdeps/x86_64/preconfigure.in: Likewise.
52136         * sysdeps/x86_64/preconfigure: Regenerated.
52138 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52140         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
52141         __ILP32__.
52143 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
52145         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52146         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
52148 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
52150         [BZ #13973]
52151         * locale/iso-639.def: Fix gl language name. Spotted by
52152         Yaron Shahrabani.
52154 2012-04-12  Roland McGrath  <roland@hack.frob.com>
52156         [BZ #2074]
52157         * libio/libio.h (__io_write_fn): Update comment.
52159 2012-04-12  Petr Baudis  <pasky@ucw.cz>
52161         [BZ #2074]
52162         * stdio.texi (Hook Functions): The user provided writer function
52163         is not allowed to return -1.
52165 2012-04-11  David S. Miller  <davem@davemloft.net>
52167         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52169 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
52171         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
52172         Add a leading slash to rtkaio.
52174 2012-04-11  Jim Meyering  <meyering@redhat.com>
52176         [BZ #11959]
52177         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
52178         It is not necessarily an error to ignore fwrite's return
52179         value.  One can reliably use ferror to test for errors after
52180         the fact.
52182 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52184         * bits/types.h (__snseconds_t): New type.
52185         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
52187         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
52188         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52189         (__SNSECONDS_T_TYPE): Likewise.
52190         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52191         (__SNSECONDS_T_TYPE): Likewise.
52192         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52193         (__SNSECONDS_T_TYPE): Likewise.
52195 2012-04-10  Andreas Jaeger  <aj@suse.de>
52197         [BZ #2636]
52198         * manual/time.texi (Processor Time): Return type of times is
52199         elapsed real time since an arbitrary point in the past.
52200         (CPU Time): Move CLK_TCK from here...
52201         (Processor Time): ...to here.  Correct description.
52202         * manual/conf.texi (Constants for Sysconf): Correct description of
52203         _SC_CLK_TCK.
52205 2012-04-10  David S. Miller  <davem@davemloft.net>
52207         [BZ #13967]
52208         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
52209         where the is a gap between DT_REL(A) and DT_JMPREL.
52211 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52213         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
52214         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52215         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52217 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52219         * elf/dl-support.c (_dl_inhibit_cache): New variable.
52220         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
52221         (dl_main): Handle --inhibit-cache.
52222         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
52223         _dl_inhibit_cache.
52224         * elf/dl-load.c (_dl_map_object): Use it.
52225         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
52227 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52229         [BZ #13872]
52230         * sysdeps/i386/fpu/e_powl.S (p78): New object.
52231         (__ieee754_powl): Saturate large exponents rather than testing for
52232         overflow of y*log2(x).
52233         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52234         * math/libm-test.inc (pow_test): Do not permit spurious overflow
52235         exceptions.
52237         [BZ #11521]
52238         * math/s_ctan.c: Include <float.h>.
52239         (__ctan): Avoid internal overflow or cancellation in calculating
52240         denominator.
52241         * math/s_ctanf.c: Likewise.
52242         * math/s_ctanl.c: Likewise.
52243         * math/s_ctanh.c: Likewise.
52244         * math/s_ctanhf.c: Likewise.
52245         * math/s_ctanhl.c: Likewise.
52246         * math/libm-test.inc (ctan_test): Add more tests.
52247         (ctanh_test): Likewise.
52248         * sysdeps/i386/fpu/libm-test-ulps: Update.
52249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52251 2012-04-09  Andreas Jaeger  <aj@suse.de>
52253         [BZ #6894]
52254         * manual/filesys.texi (Directory Entries): Mention that d_namlen
52255         is an optional BSD extension.
52257         [BZ #10254]
52258         * manual/stdio.texi (Opening Streams): Document additional fopen
52259         parameters.
52261 2012-04-09  Roland McGrath  <roland@hack.frob.com>
52263         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
52264         %eax without telling the compiler.
52266 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
52268         [BZ # 13963]
52269         * manual/install.texi: Use sourceware.org.
52271 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52273         [BZ #13873]
52274         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
52275         (__ieee754_pow): Generate overflow and underflow using huge*huge
52276         and tiny*tiny rather than just returning constant infinity or zero
52277         for large exponents.
52278         * math/libm-test.inc (pow_test): Require overflow exceptions for
52279         applicable cases of large exponents.
52281         [BZ #706]
52282         * sysdeps/i386/fpu/e_pow.S (p10): New object.
52283         (__ieee754_pow): Use iterative multiplication algorithm only for
52284         integer exponents with absolute value below 1024.  Check for odd
52285         integer exponents when using algorithm for real exponents.
52286         * math/libm-test.inc (pow_test): Add more tests.
52287         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52289 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
52291         [BZ #13705]
52292         * math/libm-test.inc (exp_test): Do not allow overflow exception
52293         on underflow test.
52295 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
52297         [BZ #13705]
52298         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
52299         instead of __kernel_standard_f.
52301 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
52303         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
52304         * sysdeps/x86_64/memset_chk.S: Likewise.
52306 2012-04-08  Andreas Jaeger  <aj@suse.de>
52308         [BZ #10153]
52309         * manual/startup.texi (Environment Access): Describe return value
52310         for putenv and setenv.
52312         [BZ #6895]
52313         * manual/filesys.texi (Directory Entries): Add description for
52314         DT_LNK.
52316         [BZ #6890]
52317         * manual/filesys.texi (Directory Entries): Clarify that it's file
52318         system not operating system in the description of DT_UNKNOWN.
52320         [BZ #6578]
52321         * manual/syslog.texi (closelog): Fix reference, it's openlog.
52323 2012-04-08  Stephen Compall  <s11@member.fsf.org>
52325         [BZ #6649]
52326         * manual/llio.texi (Opening and Closing Files): Add cross
52327         reference to explain mode argument.
52329 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
52331         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
52332         * sysdeps/x86_64/memset_chk.S: Likewise.
52334 2012-04-07  David S. Miller  <davem@davemloft.net>
52336         * elf/elf.h (R_SPARC_WDISP10): Define.
52337         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
52338         R_SPARC_SIZE32.
52339         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
52340         R_SPARC_SIZE64 and R_SPARC_H34.
52342 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
52344         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
52345         conditions and remove no longer applicable assertion.
52347 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
52349         * bits/byteswap.h: Include <features.h>.
52350         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52351         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52353 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
52355         * bits/byteswap.h (__bswap_16): Removed.
52356         Include <bits/byteswap-16.h> to get __bswap_16.
52357         * sysdeps/i386/bits/byteswap.h: Likewise.
52358         * sysdeps/s390/bits/byteswap.h: Likewise.
52359         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52360         * bits/byteswap-16.h: New file.
52361         * sysdeps/i386/bits/byteswap-16.h: Likewise.
52362         * sysdeps/s390/bits/byteswap-16.h: Likewise.
52363         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
52364         * string/Makefile (headers): Add bits/byteswap-16.h.
52366 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52368         [BZ #13895]
52369         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
52370         extra indirection.
52371         * nss/Makefile (tests-static, tests): Add tst-nss-static.
52372         * nss/tst-nss-static.c: New.
52374 2012-04-06  Robert Millan  <rmh@gnu.org>
52376         [BZ #6486]
52377         * manual/llio.texi (File Position Primitive): lseek
52378         refers to WHENCE when it really means OFFSET.
52380 2012-04-06  Andreas Jaeger  <aj@suse.de>
52382         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
52383         strncmp declarations.
52385         * abilist/libc.abilist: Add __poll and __ppoll.
52387 2012-04-05  David S. Miller  <davem@davemloft.net>
52389         * scripts/check-local-headers.sh: Accept a host triplet in the
52390         path matched by the exclude regexp.
52392         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
52393         definition.
52394         * sysdeps/powerpc/powerpc32/dl-machine.h
52395         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
52396         * sysdeps/s390/s390-32/dl-machine.h
52397         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52398         * sysdeps/sparc/sparc32/dl-machine.h
52399         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52400         * sysdeps/sparc/sparc64/dl-machine.h
52401         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52403         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
52404         lazy binding.
52405         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
52406         undefined symbol errors.
52408         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
52409         DT_NEEDED entries.
52411 2012-04-05  Michael Matz  <matz@suse.de>
52413         [BZ #13592]
52414         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
52416 2012-04-05  Andreas Jaeger  <aj@suse.de>
52418         [BZ #13908]
52419         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
52420         comment.
52422 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52424         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
52425         which ROUND is no valid rounding mode.
52427 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52429         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
52430         read again.
52431         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
52433 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52435         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
52436         an exception using FPU order intentionally.
52438 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52440         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
52441         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
52442         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
52443         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
52445 2012-04-05  Simon Josefsson  <simon@josefsson.org>
52447         [BZ #12340]
52448         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
52449         EINVAL when BUFLEN is too smal.
52451 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
52453         [BZ #13553]
52454         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
52455         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
52457 2012-04-03  Andreas Jaeger  <aj@suse.de>
52459         [BZ #13938]
52460         * manual/setjmp.texi (System V contexts): Fix sentence.
52462         [BZ #13926]
52463         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
52464         New macro for this case.
52465         [!__GNUC__] (__bswap_64): New inline function for this case.
52466         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52467         * bits/byteswap.h: Likewise.
52468         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
52469         ull, guard with __GLIBC_HAVE_LONG_LONG.
52471         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
52472         __GLIBC_HAVE_LONG_LONG.
52474         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
52475         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
52477 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
52479         [BZ #13691]
52480         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
52481         inptr and inend, rather than using last_ch.
52483 2012-04-02  David S. Miller  <davem@davemloft.net>
52485         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
52486         * stdio-common/printf-parse.h (read_int): Change return type to
52487         'int', return -1 on INT_MAX overflow.
52488         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
52489         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
52490         overflows INT_MAX.  Check for overflow of in-format-string precision
52491         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
52492         SIZE_MAX not INT_MAX for integer overflow test.
52493         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
52494         skip the construct in the format string but do not record anything.
52495         * stdio-common/bug22.c: Adjust to test both width/prevision
52496         INT_MAX overflow as well as total length INT_MAX overflow.  Check
52497         explicitly for proper errno values.
52499 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
52501         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
52502         CHAR_MAX.
52503         * string/test-strcmp.c [! WIDE]: Likewise.
52504         * time/tst-mktime2.c: Likewise for INT_MAX.
52505         * string/test-string.h: #include <sys/param.h> for MIN.
52507         * csu/init-first.c (__libc_init_first): Call __ctype_init.
52508         * sysdeps/i386/init-first.c (init): Likewise.
52509         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
52510         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
52511         * sysdeps/sh/init-first.c (init): Likewise.
52513 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
52515         * po/ru.po: Update from translation team.
52516         * po/vi.po: Likewise.
52518 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
52520         * resolv/nss_dns/dns-host.c: Merge copyright years.
52522 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52524         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52525         Optimize memcpy with prefetch if
52526         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
52527         src, dst pointers have unequal 16 byte alignments.
52529 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52531         [BZ #13928]
52532         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
52533         from a CNAME entry and return the minimum ttl for the query.
52534         (gaih_getanswer_slice): Likewise.
52536 2012-03-30  Jeff Law  <law@redhat.com>
52538         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
52539         due to long keys.
52540         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
52541         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
52543         * resolv/nss_dns/dns-host.c: Update copyright year.
52545 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
52547         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
52548         requests to save a system call.  Fix check that all bytes are sent.
52550         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
52551         comments for sendmmsg.
52553 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52555         [BZ #13691]
52556         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
52557         with only 1 character between 0x0041 and 0x01b0.
52558         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
52559         * wcsmbs/tst-mbsnrtowcs.c: New file.
52561 2012-03-29  David S. Miller  <davem@davemloft.net>
52563         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
52564         small copies by hand.
52566 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52568         [BZ #13761]
52569         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
52570         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
52571         group memberships.
52573 2012-03-28  David S. Miller  <davem@davemloft.net>
52575         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
52576         that branches into memcpy.
52577         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
52578         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
52579         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
52580         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
52581         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
52582         bits.
52583         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
52584         implementation too.
52585         * sysdeps/sparc/mempcpy.S: New file.
52587         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
52588         the IFUNC routine in the libc case.
52589         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
52591         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
52592         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
52593         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
52594         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
52595         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
52596         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
52597         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
52598         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
52600         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
52601         loop to 256 bytes instead of 64 bytes and fix test signedness.
52603         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
52604         * sysdeps/sparc/sparc32/Makefile: rather than here...
52605         * sysdeps/sparc/sparc64/Makefile: and here.
52607 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
52609         * malloc/mallocbug.c: Avoid warnings about unused variables.
52611 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52613         [BZ #13760]
52614         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
52615         in the right place. Discard and retry query if response is
52616         larger than input buffer size.
52618 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
52620         [BZ #369]
52621         [BZ #2678]
52622         [BZ #3866]
52623         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
52624         x for large integer exponent.
52625         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
52626         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
52627         sign of result as needed afterwards.
52628         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
52629         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
52630         result for underflowing pow the same as for overflow.
52631         (__kernel_standard_l): Handle powl overflow and underflow here
52632         rather than calling __kernel_standard.
52633         * math/libm-test.inc (pow_test): Add more tests.
52635         [BZ #3868]
52636         [BZ #13879]
52637         [BZ #13910]
52638         [BZ #13911]
52639         [BZ #13912]
52640         [BZ #13913]
52641         [BZ #13915]
52642         [BZ #13916]
52643         [BZ #13917]
52644         [BZ #13918]
52645         [BZ #13919]
52646         [BZ #13920]
52647         [BZ #13921]
52648         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
52649         * sysdeps/ieee754/k_standard.c: Include <float.h>.
52650         (__kernel_standard_l): New function.
52651         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
52652         __kernel_standard.
52653         * math/w_acosl.c (__acosl): Likewise.
52654         * math/w_asinl.c (__asinl): Likewise.
52655         * math/w_atan2l.c (__atan2l): Likewise.
52656         * math/w_atanhl.c (__atanhl): Likewise.
52657         * math/w_coshl.c (__coshl): Likewise.
52658         * math/w_exp10l.c (__exp10l): Likewise.
52659         * math/w_exp2l.c (__exp2l): Likewise.
52660         * math/w_fmodl.c (__fmodl): Likewise.
52661         * math/w_hypotl.c (__hypotl): Likewise.
52662         * math/w_j0l.c (__j0l, __y0l): Likewise.
52663         * math/w_j1l.c (__j1l, __y1l): Likewise.
52664         * math/w_jnl.c (__jnl, __ynl): Likewise.
52665         * math/w_lgammal.c (__lgammal): Likewise.
52666         * math/w_log10l.c (__log10l): Likewise.
52667         * math/w_log2l.c (__log2l): Likewise.
52668         * math/w_logl.c (__logl): Likewise.
52669         * math/w_powl.c (__powl): Likewise.
52670         * math/w_remainderl.c (__remainderl): Likewise.
52671         * math/w_scalbl.c (sysv_scalbl): Likewise.
52672         * math/w_sinhl.c (__sinhl): Likewise.
52673         * math/w_sqrtl.c (__sqrtl): Likewise.
52674         * math/w_tgammal.c (__tgammal): Likewise.
52675         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
52676         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
52677         * math/libm-test.inc (acos_test): Add more tests.
52678         (acosh_test): Likewise.
52679         (asin_test): Likewise.
52680         (atanh_test): Likewise.
52681         (exp_test): Likewise.
52682         (exp10_test): Likewise.
52683         (exp2_test): Likewise.
52684         (expm1_test): Likewise.
52685         (lgamma_test): Likewise.
52686         (log_test): Likewise.
52687         (log10_test): Likewise.
52688         (log1p_test): Likewise.
52689         (log2_test): Likewise.
52690         (pow_test): Do not allow some spurious overflow exceptions.
52691         (sqrt_test): Add more tests.
52692         (tgamma_test): Likewise.
52693         (y0_test): Likewise.
52694         (y1_test): Likewise.
52695         (yn_test): Likewise.
52697 2012-03-27  Anton Blanchard  <anton@samba.org>
52699         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
52700         MAP_HUGETLB.
52701         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52702         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52703         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52705 2012-03-27  David S. Miller  <davem@davemloft.net>
52707         * conform/Makefile: Run run-conformtest.sh using $(BASH).
52709         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
52710         have-as-vis3 check.
52712 2012-03-27  Andreas Jaeger  <aj@suse.de>
52714         * sysdeps/x86_64/elf/configure.in: Moved to ...
52715         * sysdeps/x86_64/configure.in: ... here.
52716         * sysdeps/x86_64/elf/start.S: Moved to ...
52717         * sysdeps/x86_64/start.S: ... here.
52718         * sysdeps/x86_64/elf/configure: Delete.
52720         * sysdeps/x86_64/configure.in: Merge contents from
52721         sysdeps/i386/configure.in (without i686 check).
52723         * sysdeps/i386/elf/Versions: Merge into ...
52724         * sysdeps/i386/Versions: ... this.
52725         * sysdeps/i386/elf/Versions: Delete file.
52726         * sysdeps/i386/elf/start.S: Moved to ...
52727         * sysdeps/i386/start.S: ...here.
52728         * sysdeps/i386/elf/configure.in: Merge into...
52729         * sysdeps/i386/configure.in: ...here.
52730         * sysdeps/i386/elf/configure.in: Delete file.
52731         * sysdeps/i386/elf/configure: Delete file.
52733         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
52734         * debug/backtracesyms.c: ... here.
52735         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
52736         * debug/backtracesymsfd.c: ... here.
52737         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
52738         * sysdeps/generic/ifunc-sel.h: ... here.
52740         * sysdeps/unix/i386/start.c: Delete file.
52741         * sysdeps/unix/sparc/start.c: Delete file.
52742         * sysdeps/unix/start.c: Delete file.
52744         * sysdeps/sh/elf/configure.in: Moved to ...
52745         * sysdeps/sh/configure.in: ... here.
52746         * sysdeps/sh/elf/start.S: Moved to ...
52747         * sysdeps/sh/start.S: ... here.
52748         * sysdeps/sh/elf/configure: Delete file.
52750         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
52751         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
52752         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
52753         * sysdeps/powerpc/powerpc64/entry.h: ... here.
52754         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
52755         * sysdeps/powerpc/powerpc64/start.S: here.
52756         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
52757         * sysdeps/powerpc/powerpc64/Makefile: ... this.
52758         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
52759         * sysdeps/powerpc/powerpc64/configure.in: ... this.
52760         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
52762         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
52763         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
52764         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
52765         * sysdeps/powerpc/powerpc32/start.S: ... here.
52766         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
52767         * sysdeps/powerpc/powerpc32/configure.in: ... this.
52768         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
52770         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
52771         * sysdeps/powerpc/ifunc-sel.h: ... here.
52772         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
52773         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
52775         * sysdeps/sparc/elf/configure.in: Moved to ...
52776         * sysdeps/sparc/configure.in: ... here.
52777         * sysdeps/sparc/elf/configure: Delete file.
52778         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
52779         * sysdeps/sparc/sparc32/start.S: ... here.
52780         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
52781         * sysdeps/sparc/sparc64/start.S: ... here.
52782         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
52783         * sysdeps/sparc/sparc32/Makefile: ... this.
52784         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
52785         * sysdeps/sparc/sparc64/Makefile: ... this.
52787         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
52788         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
52789         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
52790         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
52791         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
52792         * sysdeps/s390/s390-32/setjmp.S: ... here.
52793         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
52794         * sysdeps/s390/s390-32/configure.in: ... here.
52795         * sysdeps/s390/s390-32/elf/configure: Delete file.
52796         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
52797         * sysdeps/s390/s390-32/start.S: ... here.
52799         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
52800         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
52801         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
52802         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
52803         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
52804         * sysdeps/s390/s390-64/setjmp.S: ... here.
52805         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
52806         * sysdeps/s390/s390-64/configure.in: ... here
52807         * sysdeps/s390/s390-64/elf/configure: Delete file.
52808         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
52809         * sysdeps/s390/s390-64/start.S: ... here.
52810         * sysdeps/s390/s390-64/elf/configure: Delete.
52812         * configure.in: Remove support for elf directories in sysdeps.
52814         * configure: Regenerated.
52815         * sysdeps/i386/configure: Regenerated.
52816         * sysdeps/powerpc/powerpc32/configure: Regenerated.
52817         * sysdeps/powerpc/powerpc64/configure: Regenerated.
52818         * sysdeps/s390/s390-32/configure: Regenerated.
52819         * sysdeps/s390/s390-64/configure: Regenerated.
52820         * sysdeps/sh/configure: Regenerated.
52821         * sysdeps/sparc/configure: Regenerated.
52822         * sysdeps/x86_64/configure: Regenerated.
52824 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
52826         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52828         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
52829         denormal result into account.
52831 2012-03-25  Roland McGrath  <roland@hack.frob.com>
52833         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
52834         Reported by Allan McRae <allan@archlinux.org>.
52836 2012-03-23  Jeff Law  <law@redhat.com>
52838         * nss/getnssent.c (__nss_getent): Fix typo.
52840 2012-03-23  David S. Miller  <davem@davemloft.net>
52842         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52844 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
52846         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
52847         to pad to uint64_t for each field.
52848         (dl_tls_index): Replace unsigned long with uint64_t.
52850 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
52851         Paul Pluzhnikov  <ppluzhnikov@google.com>
52853         [BZ #6528]
52854         * grp/Makefile (otherlibs): Don't set it.
52855         * inet/Makefile (otherlibs): Likewise.
52856         * login/Makefile (otherlibs): Likewise.
52857         * nscd/Makefile (otherlibs): Likewise.
52858         * posix/Makefile (otherlibs): Likewise.
52859         * pwd/Makefile (otherlibs): Likewise.
52860         * rt/Makefile (otherlibs): Likewise.
52861         * sunrpc/Makefile (otherlibs): Likewise.
52862         * nss/Makefile (otherlibs): Likewise.
52863         Add libnss_files to routines and static-only-routines.
52864         ($(objpfx)getent): Remove rule.
52865         * resolv/Makefile: Add libnss_dns and libresolv to routines and
52866         static-only-routines.
52868 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
52870         [BZ #13892]
52871         * math/s_cexp.c: Include <float.h>.
52872         (__cexp): Handle exp result overflowing not necessarily
52873         overflowing both real and imaginary parts of result.
52874         * math/s_cexpf.c: Likewise.
52875         * math/s_cexpl.c: Likewise.
52876         * math/libm-test.inc (cexp_test): Add more tests.
52877         * sysdeps/i386/fpu/libm-test-ulps: Update.
52878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52880 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52882         * include/link.h (ELFW): New macro.
52883         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
52884         Replace ELF64_R_TYPE with ELFW(R_TYPE).
52886 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52888         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
52889         with uint64_t.
52891 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52893         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
52894         declaration.
52895         (struct La_x32_retval): Likewise.
52897 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52899         * sysdeps/x86_64/preconfigure.in: New file.
52900         * sysdeps/x86_64/preconfigure: New generated file.
52902 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
52904         [BZ #13824]
52905         * math/e_exp2l.c: Include <float.h>.
52906         (__ieee754_exp2l): Handle overflow and underflow cases
52907         separately.  Only pass fractional part of argument to
52908         __ieee754_expl.
52909         * math/libm-test.inc (exp2_test): Add more tests.
52911         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
52912         negating x to take absolute value.
52913         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
52914         Likewise.
52915         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
52916         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
52917         Likewise.
52918         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
52919         computing low part if x was negated.
52920         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
52922 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
52924         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
52925         la_x32_gnu_pltexit.
52926         (pltexit): Cast int_retval to ptrdiff_t.
52927         * elf/tst-auditmod3b.c: Likewise.
52928         * elf/tst-auditmod4b.c: Likewise.
52929         * elf/tst-auditmod5b.c: Likewise.
52930         * elf/tst-auditmod6b.c: Likewise.
52931         * elf/tst-auditmod6c.c: Likewise.
52932         * elf/tst-auditmod7b.c: Likewise.
52934         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
52935         and x32_gnu_pltexit.
52937         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
52938         __ELF_NATIVE_CLASS.
52939         (La_x32_regs): New macro.
52940         (La_x32_retval): Likewise.
52941         (la_x32_gnu_pltenter): New function prototype.
52942         (la_x32_gnu_pltexit): Likewise.
52944 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
52946         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
52947         exponent.
52949         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52951         * configure.in (libc_cv_cc_nofma): Check for option to disable
52952         generation of FMA instructions.
52953         * configure: Regenerate.
52954         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
52955         * sysdeps/ieee754/dbl-64/Makefile: New file.
52956         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
52957         Remove brandred-fma4.
52958         (CFLAGS-brandred-fma4.c): Remove.
52959         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
52960         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
52961         define.
52962         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
52963         define.
52965 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
52967         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
52968         LLONG_MAX != LONG_MAX.
52969         (_itoa_word): Use _ITOA_WORD_TYPE on value.
52970         (_fitoa_word): Likewise.
52971         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
52972         LLONG_MAX != LONG_MAX.
52973         * stdio-common/_itowa.h: Include <_itoa.h>.
52974         (_itowa_word): Use _ITOA_WORD_TYPE on value.
52975         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
52976         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
52977         only if not defined.
52978         (_ITOA_WORD_TYPE): Likewise.
52979         (_itoa_word): Use _ITOA_WORD_TYPE on value.
52980         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
52982 2012-03-21  David S. Miller  <davem@davemloft.net>
52984         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52986 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
52988         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
52989         of x86_64 when setting libc_cv_slibdir, libdir and
52990         libc_cv_localedir.
52991         * sysdeps/unix/sysv/linux/configure: Regenerated.
52993 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
52995         * manual/lang.texi (Old Varargs): Remove section.
52996         (How Variadic): Update menu.
52997         (va_start): Do not mention varargs.h.
52999 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53000             Joseph Myers  <joseph@codesourcery.com>
53002         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
53003         link test.
53004         * configure: Regenerated.
53006 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53008         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
53009         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
53010         conformtest.pl
53012 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53014         * NOTES: Remove.
53015         * Makefile (files-for-dist): Remove NOTES.
53016         (NOTES): Remove rule.
53017         * README: Don't refer to NOTES.
53018         * manual/creature.texi: Don't include macros.texi.
53019         * manual/intro.texi (creature.texi): Remove comment referring to
53020         NOTES.
53022         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
53023         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
53024         * configure: Regenerated.
53025         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
53026         LIBC_TRY_CC_OPTION.
53027         (libc_cv_as_i686): Likewise.
53028         (libc_cv_cc_avx): Likewise.
53029         (libc_cv_cc_sse2avx): Likewise.
53030         (libc_cv_cc_fma4): Likewise.
53031         (libc_cv_cc_novzeroupper): Likewise.
53032         * sysdeps/i386/configure: Regenerated.
53034         [BZ #13883]
53035         * sysdeps/i386/fpu/s_cexp.S: Remove.
53036         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53037         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53038         * math/libm-test.inc (cexp_test): Add more tests.
53039         * sysdeps/i386/fpu/libm-test-ulps: Update.
53040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53042 2012-03-21  Allan McRae  <allan@archlinux.org>
53044         * timezone/Makefile: Do not install iso3166.tab and zone.tab
53046 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53048         [BZ #13871]
53049         * math/w_exp2.c: Do not include <float.h>.
53050         (o_threshold, u_threshold): Remove.
53051         (__exp2): Calculate result before checking finiteness and calling
53052         __kernel_standard.
53053         * math/w_exp2f.c: Likewise.
53054         * math/w_exp2l.c: Likewise.
53055         * math/libm-test.inc (exp2_test): Require overflow exception for
53056         1e6 input.
53058         [BZ #3866]
53059         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
53060         range of signed 64-bit integers before using fistpll.  Remove
53061         checks for whether integers fit in mantissa bits.
53062         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
53063         the range of signed 32-bit integers before using fistpl.  Remove
53064         checks for whether integers fit in mantissa bits.
53065         * sysdeps/i386/fpu/e_powl.S (p64): New object.
53066         (__ieee754_powl): Test for y outside the range of signed 64-bit
53067         integers before using fistpll.  Reduce 64-bit values to 63-bit
53068         ones as needed.
53069         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
53070         divide-by-zero is raised for zero to large negative powers.
53071         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
53072         (__ieee754_powl): Test for y outside the range of signed 64-bit
53073         integers before using fistpll.  Reduce 64-bit values to 63-bit
53074         ones as needed.
53075         * math/libm-test.inc (pow_test): Add more tests.
53077 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53079         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
53080         <stdio-common/_itoa.h>.
53081         * debug/segfault.c: Likewise.
53082         * elf/dl-cache.c: Likewise.
53083         * elf/dl-minimal.c: Likewise.
53084         * elf/dl-misc.c: Likewise.
53085         * elf/dl-sysdep.c: Likewise.
53086         * elf/dl-version.c: Likewise.
53087         * elf/rtld.c: Likewise.
53088         * hurd/hurdsock.c: Likewise.
53089         * hurd/lookup-retry.c: Likewise.
53090         * malloc/malloc.c: Likewise.
53091         * malloc/mtrace.c: Likewise.
53092         * nscd/nscd_getgr_r.c: Likewise.
53093         * nscd/nscd_getpw_r.c: Likewise.
53094         * nscd/nscd_getserv_r.c: Likewise.
53095         * posix/getopt_init.c: Likewise.
53096         * posix/wordexp.c: Likewise.
53097         * stdio-common/_itoa.c: Likewise.
53098         * stdio-common/printf_fphex.c: Likewise.
53099         * stdio-common/vfprintf.c: Likewise.
53100         * string/_strerror.c: Likewise.
53101         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
53102         * sysdeps/i386/i686/hp-timing.h: Likewise.
53103         * sysdeps/mach/_strerror.c: Likewise.
53104         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
53105         * sysdeps/mach/hurd/sethostid.c: Likewise.
53106         * sysdeps/mach/hurd/xmknodat.c: Likewise.
53107         * sysdeps/mach/xpg-strerror.c: Likewise.
53108         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53109         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53110         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
53111         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
53112         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
53113         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
53114         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
53115         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
53116         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
53117         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
53118         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
53119         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
53120         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
53121         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
53122         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
53123         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
53124         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
53125         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
53126         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
53127         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
53128         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
53130         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
53132         * stdio-common/_itoa.h: Moved to ...
53133         * sysdeps/generic/_itoa.h: Here.
53135         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
53137         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
53138         instead of "_itoa.h" and "_itowa.h".
53139         * stdio-common/vfprintf.: Likewise.
53141 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53143         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
53144         <bits/wordsize.h>.
53145         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
53146         (__signbit): Likwise.
53147         (llrintf): Likwise.
53148         (llrint): Likwise.
53150 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53152         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
53153         __WORDSIZE != 64.
53155 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
53157         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
53158         OVERFLOW_EXCEPTION_OK.
53159         * math/libm-test.inc ("Philosophy"): Update comment about
53160         exception testing.
53161         (OVERFLOW_EXCEPTION): Define.
53162         (OVERFLOW_EXCEPTION_OK): Likewise.
53163         (INVALID_EXCEPTION_OK): Renumber.
53164         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
53165         (IGNORE_ZERO_INF_SIGN): Likewise.
53166         (test_exceptions): Handle FE_OVERFLOW.
53167         (exp10_test): Expect overflow exceptions.
53168         (exp2_test): Likewise.
53169         (expm1_test): Likewise.
53170         (nextafter_test): Likewise.
53171         (pow_test): Likewise.
53172         (scalbn_test): Likewise.
53173         (scalbln_test): Likewise.
53175 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53177         * sysdeps/x86_64/bits/atomic.h
53178         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
53179         64bit integer.
53180         (atomic_exchange_acq): Likewise.
53181         (__arch_exchange_and_add_body): Likewise.
53182         (__arch_add_body): Likewise.
53183         (atomic_add_negative): Likewise.
53184         (atomic_add_zero): Likewise.
53186 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53188         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
53189         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
53191 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53193         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
53194         Check __x86_64__ instead of __WORDSIZE.
53196 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53198         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
53200 2012-03-19  David S. Miller  <davem@davemloft.net>
53202         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53204         * sysdeps/sparc/fpu/fenv_private.h: New file.
53205         * sysdeps/sparc/fpu/math_private.h: Use it.
53206         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
53207         Remove.
53208         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
53209         (libc_feholdexcept_setroundl): Remove.
53210         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
53211         Remove.
53212         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
53213         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
53215 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53217         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
53218         int64_t instead of long int.
53219         (INSERT_WORDS64): Likwise.
53221 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53223         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
53224         _Unwind_GetCFA return to _Unwind_Ptr first.
53226 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
53228         [BZ #13629]
53229         * math/s_clog.c: Include <float.h>.
53230         (__clog): Scale large or subnormal inputs.
53231         * math/s_clogf.c: Likewise.
53232         * math/s_clogl.c: Likewise.
53233         * math/s_clog10.c: Include <float.h>.
53234         (M_LOG10_2): Define.
53235         (__clog10): Scale large or subnormal inputs.
53236         * math/s_clog10f.c: Likewise.
53237         * math/s_clog10l.c: Likewise.
53238         * math/libm-test.inc (clog_test): Add more tests.
53239         (clog10_test): Likewise.
53240         * sysdeps/i386/fpu/libm-test-ulps: Update.
53241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53243         [BZ #11451]
53244         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
53245         x and y.
53246         * math/libm-test.inc (atan2_test): Add another test.
53248         * Makerules (common-objdir-compile): Remove.
53249         * sysdeps/unix/Makefile (config-generated): Do not add
53250         $(unix-generated) to variable.
53251         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
53252         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
53253         Remove rule.
53254         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
53255         Likewise.
53256         [generic bits/local_lim.h] (before-compile): Do not append to
53257         variable.
53258         [generic bits/local_lim.h] (common-generated): Likewise.
53259         [generic sys/param.h] (before-compile): Do not append to variable.
53260         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
53261         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
53262         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
53263         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
53264         include.
53265         [generic sys/param.h] (sys/param.h-includes): Remove variable.
53266         [generic sys/param.h] (sys/param.h-includes): Remove rule.
53267         [generic sys/param.h] ($(addprefix
53268         $(common-objpfx),$(sys/param.h-includes))): Likewise.
53269         [generic sys/param.h] (common-generated): Do not append to
53270         variable.
53271         [generic sys/param.h] (sysdep_headers): Likewise.
53272         [generic bits/errno.h] (before-compile): Do not append to
53273         variable.
53274         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
53275         rule.
53276         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
53277         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
53278         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
53279         [generic bits/errno.h] (common-generated): Do not append to
53280         variable.
53281         [generic bits/ioctls.h] (before-compile): Do not append to
53282         variable.
53283         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
53284         rule.
53285         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
53286         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
53287         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
53288         rule.
53289         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
53290         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
53291         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
53292         [generic bits/ioctls.h] (common-generated): Do not append to
53293         variable.
53294         [generic sys/syscall.h] (syscall.h): Remove variable.
53295         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
53296         rule.
53297         [generic sys/syscall.h] (before-compile): Do not append to
53298         variable.
53299         [generic sys/syscall.h] (common-generated): Likewise.
53300         * sysdeps/unix/errnos-tmpl.c: Remove file.
53301         * sysdeps/unix/errnos.awk: Likewise.
53302         * sysdeps/unix/ioctls-tmpl.c: Likewise.
53303         * sysdeps/unix/ioctls.awk: Likewise.
53304         * sysdeps/unix/mk-local_lim.c: Likewise.
53305         * sysdeps/unix/snarf-ioctls: Likewise.
53307 2012-03-19  Richard Henderson  <rth@twiddle.net>
53309         * sysdeps/i386/fpu/fenv_private.h: New file.
53310         * sysdeps/i386/fpu/math_private.h: Use it.
53311         (math_opt_barrier, math_force_eval): Remove.
53312         (libc_feholdexcept_setround_53bit): Remove.
53313         (libc_feupdateenv_53bit): Remove.
53314         * sysdeps/x86_64/fpu/math_private.h: Likewise.
53315         (math_opt_barrier, math_force_eval): Remove.
53316         (libc_feholdexcept): Remove.
53317         (libc_feholdexcept_setround): Remove.
53318         (libc_fetestexcept, libc_fesetenv): Remove.
53319         (libc_feupdateenv_test): Remove.
53320         (libc_feupdateenv, libc_feholdsetround): Remove.
53321         (libc_feresetround): Remove.
53323         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
53324         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
53326         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
53327         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
53328         (libc_feupdateenv_testl): New.
53329         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
53330         (libc_feupdateenv_testf): New.
53331         (libc_feupdateenv): Use libc_feupdateenv_test.
53332         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
53333         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
53335         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
53336         (libc_feholdsetroundf, libc_feholdsetroundl): New.
53337         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
53338         (libc_feresetround_noex): New.
53339         (libc_feresetround_noexf): New.
53340         (libc_feresetround_noexl): New.
53341         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
53342         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
53343         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
53344         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
53345         SET_RESTORE_ROUND.
53346         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
53347         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
53348         (__cos): Likewise.
53349         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
53350         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
53351         SET_RESTORE_ROUND_NOEX.
53352         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
53353         SET_RESTORE_ROUND_NOEXF.
53354         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
53355         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
53356         (libc_feholdsetroundf): New.
53357         (libc_feresetround, libc_feresetroundf): New.
53359         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
53360         (libc_feholdexcept_setround_53bit): Convert from macro to function.
53361         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
53363         * sysdeps/generic/math_private.h: Include <fenv.h>.
53364         (default_libc_feholdexcept): New.
53365         (default_libc_feholdexcept_setround): New.
53366         (default_libc_fesetenv, default_libc_feupdateenv): New.
53367         (libc_feholdexcept): Only define if undefined.
53368         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
53369         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
53370         (libc_feholdexcept_setroundl): Likewise.
53371         (libc_feholdexcept_setround_53bit): Likewise.
53372         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
53373         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
53374         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
53375         (libc_feupdateenv_53bit): Likewise.
53376         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
53377         (libc_feholdexcept): Convert from macro to inline function.
53378         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
53379         (libc_fesetenv, libc_feupdateenv): Likewise.
53381         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
53382         not previously defined.
53383         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
53384         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
53385         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
53386         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
53387         * sysdeps/ieee754/flt-32/math_private.h: New file.
53388         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
53389         math_private.h below SET_FLOAT_WORD.
53390         (__isnan, __isinf_ns, __finite): Remove.
53391         (__isnanf, __isinf_nsf, __finitef): Remove.
53393 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
53395         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53397 2012-03-17  David S. Miller  <davem@davemloft.net>
53399         [BZ #6471]
53400         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
53401         for 2.16.
53403 2012-03-16  David S. Miller  <davem@davemloft.net>
53405         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
53406         warnings.
53408         [BZ #6471]
53409         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
53410         properly.
53411         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
53412         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
53413         sysdep_routines when subdir is sysvipc.
53414         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
53415         __getshmlba helper.
53417         * sysdeps/sparc/fpu/libm-test/ulps: Update.
53419 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53421         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
53422         [__LP64__].
53424 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53426         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
53427         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
53428         (__lround): Renamed to ...
53429         (__llround): This.  Replace long int with long long int.
53430         Define lround functions as aliases of llround functions.
53431         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
53433 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53435         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
53436         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
53437         adresses to uintptr_t.  Replace "long int" and "unsigned long
53438         int" with "greg_t" on va_arg.
53440 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53442         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
53443         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
53445         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
53446         Move e_machine check before EI_CLASS check.  Handle x32
53447         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
53448         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
53449         SKIP_EM_IA_64 and include
53450         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
53452         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
53453         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
53454         (add_system_dir): New macro.
53456         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
53457         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
53459 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
53461         [BZ #2551]
53462         [BZ #2552]
53463         [BZ #2553]
53464         [BZ #2554]
53465         [BZ #2562]
53466         [BZ #2563]
53467         [BZ #2565]
53468         [BZ #2566]
53469         [BZ #2576]
53470         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
53471         (y0): Likewise.
53472         * math/w_j0f.c (j0f): Likewise.
53473         (y0f): Likewise.
53474         * math/w_j0l.c (__j0l): Likewise.
53475         (__y0l): Likewise.
53476         * math/w_j1.c (j1): Likewise.
53477         (y1): Likewise.
53478         * math/w_j1f.c (j1f): Likewise.
53479         (y1f): Likewise.
53480         * math/w_j1l.c (__j1l): Likewise.
53481         (__y1l): Likewise.
53482         * math/w_jn.c (jn): Likewise.
53483         (yn): Likewise.
53484         * math/w_jnf.c (jnf): Likewise.
53485         (ynf): Likewise.
53486         * math/w_jnl.c (__jnl): Likewise.
53487         (__ynl): Likewise.
53488         * math/libm-test.inc (j0_test): Add more tests.
53489         (j1_test): Likewise.
53490         (jn_test): Likewise.  Add trailing semicolon to existing test.
53491         (y0_test): Likewise.
53492         (y1_test): Likewise.
53493         * sysdeps/i386/fpu/libm-test-ulps: Update.
53494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53496         [BZ #13851]
53497         [BZ #13854]
53498         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
53499         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
53500         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
53501         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
53502         (__tanl): Set errno for infinite argument.
53503         * sysdeps/i386/fpu/mptan.c: Remove.
53504         * sysdeps/i386/fpu/s_tan.S: Likewise.
53505         * sysdeps/i386/fpu/s_tanl.S: Likewise.
53506         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
53507         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
53508         * math/libm-test.inc (tan_test): Add more tests and enable more
53509         tests for double and long double.
53510         * sysdeps/i386/fpu/libm-test-ulps: Update.
53511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53513 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
53515         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
53516         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
53518 2012-03-16  Roland McGrath  <roland@hack.frob.com>
53520         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
53521         * configure.in: Use it for both main tree and add-ons.
53522         * configure: Regenerated.
53524 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53526         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
53528 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
53530         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
53531         in comment.
53533         [BZ #13851]
53534         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
53535         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
53536         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
53537         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
53538         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
53539         infinite argument.
53540         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
53541         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
53542         != 0 for prec == 2.
53543         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
53544         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
53545         * sysdeps/i386/fpu/s_cosl.S: Likewise.
53546         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
53547         * sysdeps/i386/fpu/s_sinl.S: Likewise.
53548         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
53549         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
53550         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
53551         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
53552         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
53553         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
53554         * math/libm-test.inc (cos_test): Add more tests and enable more
53555         tests for long double.
53556         (sin_test): Likewise.
53557         (sincos_test): Likewise.
53558         * sysdeps/i386/fpu/libm-test-ulps: Update.
53559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53561 2012-03-16  David S. Miller  <davem@davemloft.net>
53563         * sysdeps/sparc/fpu/math_private.h: New file.
53565 2012-03-15  David S. Miller  <davem@davemloft.net>
53567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
53568         file.
53569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
53570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
53571         file.
53572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
53573         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
53574         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
53575         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
53576         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
53577         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
53578         sysdep routines.
53579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53581         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
53582         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
53584         * sysdeps/sparc/sparc-ifunc.h: New file.
53585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
53586         sparc-ifunc.h
53587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
53588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
53589         Likewise.
53590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
53591         Likewise.
53592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
53593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
53594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
53596         Likewise.
53597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
53598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
53599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
53600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
53601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
53602         Likewise.
53603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
53604         Likewise.
53605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
53606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
53607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
53608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
53609         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
53610         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
53611         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
53612         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
53613         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
53614         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
53615         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
53616         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
53617         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
53618         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
53619         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
53620         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
53621         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
53622         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
53623         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
53624         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
53625         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
53626         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
53627         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
53628         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
53630 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
53632         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
53633         scaling.
53634         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53636 2012-03-15  Andreas Jaeger  <aj@suse.de>
53638         [BZ #13852]
53639         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
53640         ieee754/flt-32 implementation for sin, cos and sincos.
53641         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
53642         * sysdeps/i386/fpu/s_cosf.S: Likewise.
53643         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
53644         * sysdeps/i386/fpu/s_sinf.S: Likewise.
53645         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
53646         ieee754/flt-32 implementation for tan.
53648         * math/libm-test.inc (cos_test): Enable some large input tests for
53649         float as well
53650         (sin_test): Likewise.
53651         (sincos_test): Likewise.
53652         (tan_test): Add tests for large input.
53654         * sysdeps/i386/fpu/libm-test-ulps: Update.
53656 2012-03-15  Andreas Jaeger  <aj@suse.de>
53658         [BZ #13658]
53659         * math/libm-test.inc (cos_test): Add more test cases.
53660         (sin_test): Likewise.
53661         (sincos_test): Likewise.
53663 2012-03-15  Andreas Jaeger  <aj@suse.de>
53665         [BZ #13837]
53666         * math/libm-test.inc (cos_test): Add a test case for large input
53667         value.
53668         (sin_test): Likewise.
53669         (sincos_test): Likewise.
53671 2012-03-15  Andreas Jaeger  <aj@suse.de>
53672             Joseph Myers  <joseph@codesourcery.com>
53674         [BZ #13658]
53675         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
53676         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
53677         * sysdeps/i386/fpu/branred.c: Likewise.
53678         * sysdeps/i386/fpu/dosincos.c: Likewise.
53679         * sysdeps/i386/fpu/mpa.c: Likewise.
53680         * sysdeps/i386/fpu/s_cos.S: Likewise.
53681         * sysdeps/i386/fpu/s_sin.S: Likewise.
53682         * sysdeps/i386/fpu/s_sincos.S: Likewise.
53683         * sysdeps/i386/fpu/sincos32.c: Likewise.
53685         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
53686         Define.
53687         (libc_feupdateenv_53bit): Define.
53688         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
53689         Define.
53690         (libc_feupdateenv_53bit): Define.
53692         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
53693         53 bit (without extend i386 double precision).
53695         * math/libm-test.inc (sincos_test): Add tests for large input.
53696         (sin): Likewise.
53697         (cos): Likewise.
53699         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
53701 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
53703         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53705 2012-03-15  David S. Miller  <davem@davemloft.net>
53707         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
53708         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
53709         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
53710         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
53711         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
53712         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
53713         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
53714         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
53715         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
53716         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
53717         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
53718         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
53719         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
53720         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
53721         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
53722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
53723         file.
53724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
53725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
53726         file.
53727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
53728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
53729         file.
53730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
53731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
53732         file.
53733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
53734         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
53735         fmin/fmax sysdep routines.
53736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53738 2012-03-14  David S. Miller  <davem@davemloft.net>
53740         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
53741         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
53742         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
53743         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
53744         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
53745         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
53746         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
53747         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
53748         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
53749         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
53750         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
53751         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
53752         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
53753         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
53754         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
53755         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
53756         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
53757         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
53758         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
53759         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
53760         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
53761         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
53762         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
53763         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
53764         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
53765         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
53766         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
53767         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
53768         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
53769         routines.
53770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
53771         file.
53772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
53773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
53774         file.
53775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
53776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
53777         file.
53778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
53779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
53780         file.
53781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
53782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
53783         file.
53784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
53785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
53786         file.
53787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
53788         file.
53789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
53790         file.
53791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
53792         file.
53793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
53794         New file.
53795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
53796         file.
53797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
53798         file.
53799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
53800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
53801         file.
53802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
53803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
53804         file.
53805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
53806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
53807         file.
53808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
53809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
53810         VIS3 routines.
53812         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
53813         New file.
53815         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53817         * sysdeps/sparc/configure.in: New file.
53818         * sysdeps/sparc/configure: Generate.
53819         * configure.in (libc_cv_sparc_as_vis3): Substitute.
53820         * configure: Regenerate.
53821         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
53822         * config.make.in (have-as-vis3): New.
53823         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
53824         available use -Av9d instead of -Av9a.
53825         * sysdeps/sparc/sparc64/Makefile: Likewise.
53826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
53827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
53828         New file.
53829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
53830         file.
53831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
53832         New file.
53833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
53834         file.
53835         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
53836         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
53837         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
53838         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
53839         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
53841         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
53842         fzeros/fnegs to load 0x80000000 into a float register instead of
53843         using the stack.
53844         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
53846 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
53848         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53849         bits/syscall.h.
53850         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
53851         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
53852         ($(inst_includedir)/bits/syscall.h): Remove rule.
53853         ($(objpfx)bits/syscall.d): Include instead of
53854         $(objpfx)syscall-list.d.
53855         (generated): Change syscall-list.h and syscall-list.d to
53856         bits/syscall.h and bits/syscall.d.
53858 2012-03-14  Roland McGrath  <roland@hack.frob.com>
53860         [BZ #13846]
53861         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
53863 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
53865         [BZ #13841]
53866         * math/s_csqrt.c: Include <float.h>.
53867         (__csqrt): Scale large or subnormal inputs.
53868         * math/s_csqrtf.c: Likewise.
53869         * math/s_csqrtl.c: Likewise.
53870         * math/libm-test.inc (csqrt_test): Add more tests.
53871         * sysdeps/i386/fpu/libm-test-ulps: Update.
53872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53874         [BZ #13840]
53875         * math/libm-test.inc (hypot_test): Add more tests.
53877 2012-03-13  David S. Miller  <davem@davemloft.net>
53879         [BZ #13840]
53880         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
53881         double-precision for the calculation instead of scaling.
53883 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
53885         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
53886         manipulate bits before adding and subtracting TWO52[sx].
53887         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
53888         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
53889         Likewise.
53890         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
53892 2012-03-13  David S. Miller  <davem@davemloft.net>
53894         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
53895         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
53896         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
53897         rtld-global-offsets.h
53898         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53900         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
53901         large parameters.
53903         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
53905         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
53906         'err' in the ifdef scope in which it is actually used.
53908         * nss/nss_db/db-init.c: Include string.h
53910 2012-03-12  David S. Miller  <davem@davemloft.net>
53912         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53913         masking out of the most significant byte of random value used.
53914         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53915         Fix coding style in previous change.
53917         * sysdeps/unix/sysv/linux/kernel-features.h
53918         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
53919         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
53920         expression.
53921         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
53922         later.
53924 2012-03-11  David S. Miller  <davem@davemloft.net>
53926         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
53927         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
53928         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
53929         for 'resultvar' otherwise things get truncated on 64-bit.
53931         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53932         Fix masking out of the most significant byte of random value used.
53934         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53936 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
53938         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53940 2012-03-09  David S. Miller  <davem@davemloft.net>
53942         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
53943         variables with appropriate CPP guards.
53944         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
53945         from the frame pointer, not the stack pointer.  Correct layout
53946         comments.  Fix test on resulting framesize and the management of
53947         the outregs buffer for pltexit.  Preserve floating point return
53948         values across _dl_call_pltexit call.
53949         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
53950         framesize and the management of the outregs buffer for pltexit.
53951         Preserve floating point return values across _dl_call_pltexit
53952         call.
53953         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
53954         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
53955         (la_sparc64_gnu_pltexit): New functions.
53956         (print_exit): Fix format string for return register value.
53958 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
53960         * sunrpc/Makefile (others): Add rpcgen.
53961         ($(objpfx)rpcgen): Remove special build rule and dependency on
53962         libc.
53963         * sunrpc/rpcgen.c: New file.
53965 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
53967         [BZ #13673]
53968         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
53969         * stdio-common/bug-vfprintf-nargs.c: Likewise.
53970         * sysdeps/i386/crti.S: Likewise.
53971         * sysdeps/i386/crtn.S: Likewise.
53972         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
53973         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
53974         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
53975         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
53976         * sysdeps/sh/crti.S: Likewise.
53977         * sysdeps/sh/crtn.S: Likewise.
53978         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
53980         [BZ #13673]
53981         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
53982         with URL.
53983         * locale/programs/locfile-kw.gperf: Likewise.
53984         * locale/programs/charmap-kw.h: Regenerated.
53985         * locale/programs/locfile-kw.h: Likewise.
53987         [BZ #13673]
53988         * intl/plural.y: Replace FSF snail mail address with URL.
53989         * intl/plural.c: Regenerated.
53991 2012-03-09  Richard Henderson  <rth@twiddle.net>
53993         * include/math_private.h: Remove file.
53994         * math/math_private.h: Move file ...
53995         * sysdeps/generic/math_private.h: ... here.
53997         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
53998         * sysdeps/powerpc/fpu/math_private.h: Likewise.
53999         * sysdeps/x86_64/fpu/math_private.h: Likewise.
54001         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
54002         and <math_private.h>.
54003         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54004         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54005         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54006         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54007         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54008         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
54009         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54010         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54011         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54012         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54013         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54014         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54015         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54016         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54017         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54018         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54019         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54020         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54021         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54022         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
54023         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54024         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54025         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54026         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54027         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
54028         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54029         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54030         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54031         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54032         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54033         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54034         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54035         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
54036         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54037         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54038         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54039         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54040         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54041         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54042         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54043         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
54044         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54045         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54046         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
54047         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
54048         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54049         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
54050         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
54051         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54052         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54053         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
54054         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
54055         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
54056         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54057         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
54058         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54059         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54060         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
54061         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
54062         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
54063         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54064         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
54065         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54066         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54067         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
54068         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54069         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54070         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54071         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
54072         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
54073         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
54074         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54075         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
54076         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54077         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
54078         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
54079         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
54080         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54081         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
54082         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
54083         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
54084         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
54085         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
54086         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54087         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54088         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
54089         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
54090         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
54091         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
54092         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54093         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54094         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
54095         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54096         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
54097         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
54098         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
54099         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54100         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
54101         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54102         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
54103         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
54104         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
54105         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
54106         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
54107         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54108         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
54109         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
54110         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
54111         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54112         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54113         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54114         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54115         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
54116         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54117         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
54118         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54119         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54120         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54121         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54122         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54123         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54124         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54125         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54126         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
54127         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54128         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54129         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
54130         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
54131         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54132         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
54133         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
54134         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
54135         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54136         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
54137         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
54138         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54139         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54140         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54141         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
54142         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54143         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54144         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54145         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54146         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
54147         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
54148         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54149         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54150         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54151         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
54152         * sysdeps/ieee754/k_standard.c: Likewise.
54153         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
54154         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
54155         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54156         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
54157         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
54158         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
54159         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
54160         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
54161         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
54162         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
54163         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54164         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
54165         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
54166         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
54167         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
54168         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
54169         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
54170         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
54171         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
54172         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
54173         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
54174         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
54175         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54176         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54177         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
54178         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
54179         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54180         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54181         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54182         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54183         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
54184         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54185         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54186         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54187         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
54188         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54189         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54190         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
54191         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
54192         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54193         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
54194         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
54195         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
54196         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54197         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
54198         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
54199         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54200         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54201         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54202         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54203         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54204         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
54205         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54206         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
54207         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54208         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54209         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
54210         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
54211         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54212         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54213         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54214         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
54215         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54216         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
54217         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54218         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54219         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
54220         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
54221         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
54222         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
54223         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
54224         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54225         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
54226         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
54227         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
54228         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
54229         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
54230         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
54231         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54232         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
54233         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
54234         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
54235         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54236         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54237         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
54238         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54239         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54240         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
54241         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
54242         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54243         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
54244         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54245         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
54246         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
54247         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54248         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54249         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
54250         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
54251         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
54252         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
54253         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54254         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54255         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54256         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54257         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
54258         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54259         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54260         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
54261         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
54262         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54263         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54264         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54265         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
54266         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54267         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
54268         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54269         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
54270         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54271         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54272         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
54273         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54274         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
54275         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54276         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
54277         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54278         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
54279         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54280         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54281         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54282         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54283         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54284         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54285         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54286         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
54287         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54288         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54289         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
54290         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
54291         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54292         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
54293         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
54294         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54295         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
54296         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
54297         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54298         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54299         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54300         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54301         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54302         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
54303         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54304         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
54305         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54306         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54307         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
54308         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
54309         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54310         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54311         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54312         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
54313         * sysdeps/ieee754/s_lib_version.c: Likewise.
54314         * sysdeps/ieee754/s_matherr.c: Likewise.
54315         * sysdeps/ieee754/s_signgam.c: Likewise.
54316         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
54317         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54318         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
54319         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
54320         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
54321         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
54322         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
54323         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
54324         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
54325         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
54326         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
54327         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
54328         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54329         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54330         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
54331         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
54332         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54333         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
54334         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54335         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54336         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54338 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
54340         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
54341         * sunrpc/rpc_main.c: Likewise.
54342         * sunrpc/rpc_svcout.c: Likewise.
54344 2012-03-09  David S. Miller  <davem@davemloft.net>
54346         * include/math_private.h: New file.
54348 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
54350         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
54351         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
54352         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
54353         from <bits/socket_type.h>.
54354         (enum __socket_type): Don't define here.
54355         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
54356         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54357         bits/socket_type.h.
54359         [BZ #13566]
54360         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
54361         checking __USE_GNU.
54363         * Makerules ($(inst_includedir)/%.h): New rule.
54364         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
54365         (install-others): Remove variable setting.
54366         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
54368 2012-03-08  Richard Henderson  <rth@twiddle.net>
54370         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
54371         from macro to inline function; merge with the
54372         !__LIBC_INTERNAL_MATH_INLINES version.
54373         (__ieee754_sqrtf): Likewise.
54375         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
54376         to inline function.
54377         (__rintf, __floor, __floorf): Likewise.
54379         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
54380         macro to inline function.
54381         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
54383         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
54384         not <math/math_private.h>.
54386 2012-03-08  David S. Miller  <davem@davemloft.net>
54388         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
54389         copyright year.
54390         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
54392 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
54394         * resolv/gai_misc.c (handle_requests): Fix struct timespec
54395         normalization.
54396         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
54397         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
54399 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
54401         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
54402         be defined individually, they must be defined as a block.  Define
54403         S for printing a string instead of hidint the different by using a
54404         macro for adding the 'l'.
54405         * stdio-common/tst-fphex-wide.c: Adjust.
54407 2012-03-07  Marek Polacek  <polacek@redhat.com>
54409         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
54411 2012-03-08  Marek Polacek  <polacek@redhat.com>
54413         [BZ #13806]
54414         * stdio-common/Makefile (tests): Add tst-fphex-wide.
54415         * stdio-common/tst-fphex.c: Define a few macros to make the
54416         test reusable.  Use them.
54417         * stdio-common/tst-fphex-wide.c: New file.
54419 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
54421         [BZ #6911]
54422         * manual/macros.texi (gnusystems): New macro.
54423         (nongnusystems): Likewise.
54424         (gnulinuxhurdsystems): Likewise.
54425         (gnuhurdsystems): Likewise..
54426         (gnulinuxsystems): Likewise.
54427         * manual/charset.texi: Use new macros or @theglibc{} to refer to
54428         variants of the GNU system, not "GNU system".
54429         * manual/conf.texi: Likewise.
54430         * manual/errno.texi: Likewise.  Update example of errno macro
54431         expansion.
54432         * manual/filesys.texi: Likewise.
54433         (getumask): Document as specific to GNU/Hurd.
54434         * manual/install.texi: Likewise.  Reword some references to
54435         GNU/Linux.
54436         * manual/intro.texi: Likewise.
54437         * manual/io.texi: Likewise.
54438         (File Name Portability): Detail which constraints are inapplicable
54439         to all GNU systems and which are only inapplicable to GNU/Hurd.
54440         * manual/job.texi: Likewise.
54441         * manual/llio.texi: Likewise.
54442         (O_NOCTTY): Document as present on GNU/Linux.
54443         * manual/maint.texi: Likewise.
54444         * manual/memory.texi: Likewise.
54445         * manual/pattern.texi: Likewise.
54446         * manual/pipe.texi: Likewise.
54447         * manual/process.texi: Likewise.
54448         * manual/resource.texi: Likewise.
54449         (RUSAGE_CHILDREN): Remove statement about specifying a particular
54450         child on GNU/Hurd.
54451         * manual/setjmp.texi: Likewise.
54452         * manual/signal.texi: Likewise.
54453         * manual/startup.texi: Likewise.
54454         * manual/stdio.texi: Likewise.
54455         * manual/terminal.texi: Likewise.
54456         (ONLCR): Document as POSIX.
54457         (OXTABS): Document availability on GNU/Linux as XTABS.
54458         (ONOEOT): Document availability separately from other bits.
54459         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
54460         * manual/time.texi: Likewise.
54461         * manual/users.texi: Likewise.
54462         * INSTALL: Regenerated.
54463         * sysdeps/gnu/errlist.c: Regenerated.
54465         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
54466         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
54467         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
54468         puts.
54469         * configure: Regenerated.
54471 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
54473         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
54474         default includes instead of AC_HEADER_CHECK.
54475         * sysdeps/i386/configure: Regenerated.
54477         [BZ #10716]
54478         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
54479         * math/s_cacoshf.c (__cacoshf): Likewise.
54480         * math/s_cacoshl.c (__cacoshl): Likewise.
54481         * math/s_casinh.c (__casinh): Set signs of result from argument.
54482         * math/s_casinhf.c (__casinhf): Likewise.
54483         * math/s_casinhl.c (__casinhl): Likewise.
54484         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
54485         (casinh_test): Add more tests.
54486         * sysdeps/i386/fpu/libm-test-ulps: Update.
54487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54489 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
54491         * po/zh_TW.po: Update from translation team.
54493         * login/Makefile (distribute): Remove variable.
54494         * catgets/Makefile: Likewise.
54495         * mach/Makefile: Likewise.
54496         * malloc/Makefile: Likewise.
54497         * misc/Makefile: Likewise.
54498         * iconv/Makefile: Likewise.
54499         * nscd/Makefile: Likewise.
54500         * hurd/Makefile: Likewise.
54501         * manual/Makefile: Likewise.
54502         * locale/Makefile: Likewise.
54503         * intl/Makefile: Likewise.
54504         * conform/Makefile: Likewise.
54505         * nss/Makefile: Likewise.
54506         * time/Makefile: Likewise.
54507         * soft-fp/Makefile: Likewise.
54508         * dirent/Makefile: Likewise.
54509         * gmon/Makefile: Likewise.
54510         * po/Makefile: Likewise.
54511         * rt/Makefile: Likewise.
54512         * socket/Makefile: Likewise.
54513         * math/Makefile: Likewise.
54514         * signal/Makefile: Likewise.
54515         * debug/Makefile: Likewise.
54516         * elf/Makefile: Likewise.
54517         * timezone/Makefile: Likewise.
54518         * stdlib/Makefile: Likewise.
54519         * iconvdata/Makefile: Likewise.
54520         * sunrpc/Makefile: Likewise.
54521         * io/Makefile: Likewise.
54522         * argp/Makefile: Likewise.
54523         * inet/Makefile: Likewise.
54524         * hesiod/Makefile: Likewise.
54525         * grp/Makefile: Likewise.
54526         * csu/Makefile: Likewise.
54527         * wctype/Makefile: Likewise.
54528         * crypt/Makefile: Likewise.
54529         * libio/Makefile: Likewise.
54530         * string/Makefile: Likewise.
54531         * nis/Makefile: Likewise.
54532         * resolv/Makefile: Likewise.
54533         * stdio-common/Makefile: Likewise.
54534         * wcsmbs/Makefile: Likewise.
54535         * dlfcn/Makefile: Likewise.
54536         * posix/Makefile: Likewise.
54538         [BZ #6959]
54539         * timezone/Makefile: Don't install timezone files, just the programs
54540         and scripts.
54542 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
54544         * nss/databases.def: Add missing gshadow entry.
54546         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
54548 2012-03-06  Marek Polacek  <polacek@redhat.com>
54550         [BZ #13726]
54551         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
54552         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
54553         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
54554         * stdio-common/tst-long-dbl-fphex.c: New file.
54556 2012-03-06  David S. Miller  <davem@davemloft.net>
54558         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54559         (set_obp_int): New function.
54560         (get_obp_int): New function.
54561         (__get_clockfreq_via_dev_openprom): Likewise.
54562         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
54563         Avoid unused variable warnings on 'val' and use builtin_expect.
54564         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
54565         __builtin_expect.
54566         (INLINE_CLONE_SYSCALL): Likewise.
54568 2012-03-05  David S. Miller  <davem@davemloft.net>
54570         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54572 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
54574         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54576         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
54577         only for |x| >= 40.
54578         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54580 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
54582         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
54583         Replace gettimeofday with __vdso_gettimeofday.
54585         * sysdeps/unix/sysv/linux/x86_64/init-first.c
54586         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
54587         __vdso_clock_gettime and __vdso_getcpu.
54589         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
54590         time with __vdso_time.
54592 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
54594         * manual/lang.texi (size_t): Note types to which size_t may be
54595         equivalent with the GNU C Library, but do not describe when
54596         differences between them are significant.
54598 2012-03-05  Andreas Jaeger  <aj@suse.de>
54600         * sysdeps/i386/fpu/libm-test-ulps: Update.
54602 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
54604         [BZ #3976]
54605         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
54606         (__ieee754_pow): Save and restore rounding mode and use
54607         round-to-nearest for main computations.
54608         * math/libm-test.inc (pow_test_tonearest): New function.
54609         (pow_test_towardzero): Likewise.
54610         (pow_test_downward): Likewise.
54611         (pow_test_upward): Likewise.
54612         (main): Call the new functions.
54613         * sysdeps/i386/fpu/libm-test-ulps: Update.
54614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54616         [BZ #3976]
54617         * math/libm-test.inc (cosh_test_tonearest): New function.
54618         (cosh_test_towardzero): Likewise.
54619         (cosh_test_downward): Likewise.
54620         (cosh_test_upward): Likewise.
54621         (sinh_test_tonearest): Likewise.
54622         (sinh_test_towardzero): Likewise.
54623         (sinh_test_downward): Likewise.
54624         (sinh_test_upward): Likewise.
54625         (main): Call the new functions.
54626         * sysdeps/i386/fpu/libm-test-ulps: Update.
54627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54629 2012-03-05  Tom de Vries  <tom@codesourcery.com>
54631         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
54632         default stack guard is set in last bytes.
54633         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
54635 2012-03-05  Kees Cook  <keescook@chromium.org>
54637         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
54639         [BZ #13656]
54640         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
54641         possibly allocate from heap instead of stack.
54642         * stdio-common/bug-vfprintf-nargs.c: New file.
54643         * stdio-common/Makefile (tests): Add nargs overflow test.
54645 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
54647         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54649 2012-03-03  Marek Polacek  <polacek@redhat.com>
54651         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
54652         * math/math_private.h: Likewise.
54653         * stdlib/tst-strtod.c: Likewise.
54654         * sysdeps/i386/i486/bits/atomic.h: Likewise.
54655         * sysdeps/x86_64/bits/atomic.h: Likewise.
54657 2012-03-02  David S. Miller  <davem@davemloft.net>
54659         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
54660         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
54661         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
54662         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
54663         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
54664         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
54665         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
54666         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
54668 2012-03-02  Roland McGrath  <roland@hack.frob.com>
54670         [BZ #13792]
54671         * manual/examples/README: New file, says the example source files
54672         can be used under GPL>=2.
54673         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
54674         line containing just "*/".
54675         * manual/examples/add.c: Add copyright header (GPL>=2).
54676         * manual/examples/argp-ex1.c: Likewise.
54677         * manual/examples/argp-ex2.c: Likewise.
54678         * manual/examples/argp-ex3.c: Likewise.
54679         * manual/examples/argp-ex4.c: Likewise.
54680         * manual/examples/atexit.c: Likewise.
54681         * manual/examples/db.c: Likewise.
54682         * manual/examples/dir.c: Likewise.
54683         * manual/examples/dir2.c: Likewise.
54684         * manual/examples/execinfo.c: Likewise.
54685         * manual/examples/filecli.c: Likewise.
54686         * manual/examples/filesrv.c: Likewise.
54687         * manual/examples/fmtmsgexpl.c: Likewise.
54688         * manual/examples/genpass.c: Likewise.
54689         * manual/examples/inetcli.c: Likewise.
54690         * manual/examples/inetsrv.c: Likewise.
54691         * manual/examples/isockad.c: Likewise.
54692         * manual/examples/longopt.c: Likewise.
54693         * manual/examples/memopen.c: Likewise.
54694         * manual/examples/memstrm.c: Likewise.
54695         * manual/examples/mkfsock.c: Likewise.
54696         * manual/examples/mkisock.c: Likewise.
54697         * manual/examples/mygetpass.c: Likewise.
54698         * manual/examples/pipe.c: Likewise.
54699         * manual/examples/popen.c: Likewise.
54700         * manual/examples/rprintf.c: Likewise.
54701         * manual/examples/search.c: Likewise.
54702         * manual/examples/select.c: Likewise.
54703         * manual/examples/setjmp.c: Likewise.
54704         * manual/examples/sigh1.c: Likewise.
54705         * manual/examples/sigusr.c: Likewise.
54706         * manual/examples/stpcpy.c: Likewise.
54707         * manual/examples/strdupa.c: Likewise.
54708         * manual/examples/strftim.c: Likewise.
54709         * manual/examples/strncat.c: Likewise.
54710         * manual/examples/subopt.c: Likewise.
54711         * manual/examples/swapcontext.c: Likewise.
54712         * manual/examples/termios.c: Likewise.
54713         * manual/examples/testopt.c: Likewise.
54714         * manual/examples/testpass.c: Likewise.
54715         * manual/examples/timeval_subtract.c: Likewise.
54717         [BZ #13792]
54718         * manual/time.texi (Elapsed Time): Move timeval_subtract example
54719         function to ...
54720         * manual/timeval_subtract.c.texi: ... here, new file.
54722 2012-03-02  David S. Miller  <davem@davemloft.net>
54724         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
54726 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
54728         [BZ #3976]
54729         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
54730         (__sin): Save and restore rounding mode and use round-to-nearest
54731         for all computations.
54732         (__cos): Save and restore rounding mode and use round-to-nearest
54733         for all computations.
54734         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
54735         <fenv.h>.
54736         (tan): Save and restore rounding mode and use round-to-nearest for
54737         all computations.
54738         * math/libm-test.inc (cos_test_tonearest): New function.
54739         (cos_test_towardzero): Likewise.
54740         (cos_test_downward): Likewise.
54741         (cos_test_upward): Likewise.
54742         (sin_test_tonearest): Likewise.
54743         (sin_test_towardzero): Likewise.
54744         (sin_test_downward): Likewise.
54745         (sin_test_upward): Likewise.
54746         (tan_test_tonearest): Likewise.
54747         (tan_test_towardzero): Likewise.
54748         (tan_test_downward): Likewise.
54749         (tan_test_upward): Likewise.
54750         (main): Call the new functions.
54751         * sysdeps/i386/fpu/libm-test-ulps: Update.
54752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54754         [BZ #10135]
54755         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
54756         small n, then large n, before computing and testing k+n.
54757         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
54758         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
54759         Likewise.
54760         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
54761         Likewise.
54762         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
54763         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
54764         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
54765         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
54766         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
54767         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
54768         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
54769         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
54770         * math/libm-test.inc (scalbn_test): Add more tests.
54771         (scalbln_test): Likewise.
54773         * manual/filesys.texi (mode_t): Describe constraints on size and
54774         signedness, not exact equivalence to a particular type.
54775         (ino_t): Likewise.
54776         (ino64_t): Likewise.
54777         (dev_t): Likewise.
54778         (nlink_t): Likewise.
54779         (blkcnt_t): Likewise.
54780         (blkcnt64_t): Likewise.
54781         * manual/llio.texi (off_t): Likewise.
54783         [BZ #3976]
54784         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
54785         (__ieee754_exp): Save and restore rounding mode and use
54786         round-to-nearest for all computations.
54787         * math/libm-test.inc (exp_test_tonearest): New function.
54788         (exp_test_towardzero): Likewise.
54789         (exp_test_downward): Likewise.
54790         (exp_test_upward): Likewise.
54791         (main): Call the new functions.
54792         * sysdeps/i386/fpu/libm-test-ulps: Update.
54793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54795 2012-03-01  Chris Demetriou  <cgd@google.com>
54797         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
54798         have predictable order.
54800 2012-03-01  David S. Miller  <davem@davemloft.net>
54802         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
54804         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
54805         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
54806         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
54807         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
54809         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
54810         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
54811         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
54812         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
54813         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
54814         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
54815         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
54816         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
54817         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
54819         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54821         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
54822         * sysdeps/sparc/fpu/libm-test-ulps: to here.
54823         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
54825         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
54826         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
54827         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54828         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
54829         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
54830         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
54831         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
54832         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
54833         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54834         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
54835         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
54836         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54837         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
54838         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54839         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54840         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54841         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
54842         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
54843         * sysdeps/sparc/elf/configure: Regenerated.
54845 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
54847         * configure.in (AS, LD): Require binutils 2.20 or later.
54848         * configure: Regenerated.
54849         * manual/install.texi (Tools for Compilation): Give binutils 2.20
54850         as required minimum version.
54851         * INSTALL: Regenerated.
54853         [BZ #2541]
54854         [BZ #4108]
54855         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
54856         before squaring exponent.
54857         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
54858         bottom long double and 27 bits of top long double before squaring
54859         exponent.
54860         * math/libm-test.inc (erfc_test): Add more tests.
54861         * sysdeps/i386/fpu/libm-test-ulps: Update.
54862         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54865 2012-03-01  Kai Tietz  <ktietz@redhat.com>
54867         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
54868         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
54869         containing bit-fields.
54870         * soft-fp/extended.h (_FP_UNION_E): Likewise.
54871         * soft-fp/single.h (_FP_UNION_S): Likewise.
54872         * soft-fp/double.h (_FP_UNION_D): Likewise.
54874 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
54876         [BZ #13786]
54877         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
54878         not include ../strcmp.S.
54879         [USE_AS_STRNCASECMP_L]: Likewise.
54880         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
54881         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
54882         * sysdeps/i386/i686/multiarch/strncase_l-c.c
54883         (__strncasecmp_l_ia32): Define as alias to
54884         __strncasecmp_l_nonascii.
54886         [BZ #5794]
54887         * math/libm-test.inc (expm1_test): Add test for bug 5794.
54888         * sysdeps/i386/fpu/libm-test-ulps: Update.
54889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54891         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
54892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54894 2012-02-29  Jeff Law  <law@redhat.com>
54896         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
54897         out of bounds read.
54899 2012-02-29  Marek Polacek  <polacek@redhat.com>
54901         [BZ #13706]
54902         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
54903         * elf/Makefile: Add rules to run tst-unused-dep.out.
54905 2012-02-28  David S. Miller  <davem@davemloft.net>
54907         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
54908         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
54909         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
54910         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
54911         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
54912         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
54914 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
54916         * math/libm-test.inc (llround_test): Move one test from
54917         lround_test.  Use TEST_f_L in moved test.
54918         (lround_test): Move misplaced test to llround_test.  Add testcase
54919         from bug 2561.
54921 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
54923         * sysdeps/x86_64/fpu/e_expf.S: New file.
54924         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
54926 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
54928         [BZ #13637]
54929         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
54930         of remain_len that may cause incomplete multi-byte character and
54931         false match.
54932         * posix/bug-regex33.c: New file.
54933         * posix/Makefile (tests): Add bug-regex33.
54935 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
54937         * manual/macros.texi: New file.
54938         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
54939         * manual/libc.texinfo: Include macros.texi.
54940         * manual/creatute.texi: Likewise.
54941         * manual/install.texi: Likewise.
54942         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
54943         @glibcadj{} in references to the GNU C Library.
54944         * manual/charset.texi: Likewise.
54945         * manual/conf.texi: Likewise.
54946         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
54947         when not using those macros.
54948         * manual/creature.texi: Likewise.
54949         * manual/crypt.texi: Likewise.
54950         * manual/errno.texi: Likewise.
54951         * manual/filesys.texi: Likewise.
54952         * manual/header.texi: Likewise.
54953         * manual/install.texi: Likewise.
54954         * manual/intro.texi: Likewise.
54955         * manual/io.texi: Likewise.
54956         * manual/job.texi: Likewise.
54957         * manual/lang.texi: Likewise.
54958         * manual/libc.texiinfo: Likewise.
54959         * manual/llio.texi: Likewise.
54960         * manual/locale.texi: Likewise.
54961         * manual/maint.texi: Likewise.
54962         * manual/math.texi: Likewise.
54963         * manual/memory.texi: Likewise.
54964         * manual/message.texi: Likewise.
54965         * manual/nss.texi: Likewise.
54966         * manual/pattern.texi: Likewise.
54967         * manual/process.texi: Likewise.
54968         * manual/resource.texi: Likewise.
54969         * manual/search.texi: Likewise.
54970         * manual/setjmp.texi: Likewise.
54971         * manual/signal.texi: Likewise.
54972         * manual/socket.texi: Likewise.
54973         * manual/startup.texi: Likewise.
54974         * manual/stdio.texi: Likewise.
54975         * manual/string.texi: Likewise.
54976         * manual/sysinfo.texi: Likewise.
54977         * manual/syslog.texi: Likewise.
54978         * manual/terminal.texi: Likewise.
54979         * manual/time.texi: Likewise.
54980         * manual/users.texi: Likewise.
54981         * INSTALL: Regenerated.
54982         * NOTES: Regenerated.
54983         * sysdeps/gnu/errlist.c: Regenerated.
54985 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
54987         * include/dirent.h: Include <dirstream.h> before
54988         <dirent/dirent.h>.
54990 2012-02-28  David S. Miller  <davem@davemloft.net>
54992         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
54993         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
54994         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
54995         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
54997 2012-02-27  David S. Miller  <davem@davemloft.net>
54999         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
55000         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
55001         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
55002         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
55004         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
55005         frame pointer instead of stack pointer relative arg slot.
55006         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55007         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55008         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55010 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
55012         [BZ #3992]
55013         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
55015 2012-02-27  David S. Miller  <davem@davemloft.net>
55017         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
55018         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55019         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
55020         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
55021         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55022         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55023         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
55024         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
55026 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55028         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
55029         later.  Allow versions 5-9.
55030         * configure: Regenerated.
55031         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
55032         required minimum version and 4.6 as recommended version.  Do not
55033         mention bugs in GCC 2.7 and 2.8.
55034         * INSTALL: Regenerated.
55036 2012-02-27  David S. Miller  <davem@davemloft.net>
55038         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
55039         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
55040         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
55041         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
55042         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
55043         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
55044         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
55045         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
55047         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
55048         manipulate bits before adding and subtracting TWO112[sx].
55049         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
55051 2012-02-27  Roland McGrath  <roland@hack.frob.com>
55053         [BZ #13775]
55054         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
55055         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
55056         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
55057         being in POSIX, because they are in 1003.1-2008.
55059         * rt/tst-aio.c: Include <fcntl.h>.
55060         * rt/tst-aio7.c: Likewise.
55061         * rt/tst-aio64.c: Likewise.
55063         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
55065 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55067         * manual/install.texi (--with-headers): Describe headers as
55068         interface headers, not private headers.
55069         (Specific advice for GNU/Linux systems): Describe use of headers
55070         from "make headers_install", not private headers from older
55071         kernels.
55072         * INSTALL: Regenerated.
55073         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
55074         Change to 2.6.19.
55075         * sysdeps/unix/sysv/linux/configure: Regenerated.
55077         * manual/llio.texi (fclean): Remove documentation.
55079         * manual/Makefile (libc-texi-generated): New variable.  Include
55080         version.texi.
55081         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
55082         $(libc-texi-generated), not duplicated list of files.
55083         (version.texi, stamp-version): New rules.
55084         (realclean): Remove $(libc-texi-generated), not individual files
55085         from that list.  Do not remove dir-add.texinfo.
55086         * manual/libc.texinfo: Comment out uses of edition numbers and
55087         references to printed manual.  Remove last-updated dates.
55088         (EDITION): Comment out.
55089         (ISBN): Likewise.
55090         (VERSION, UPDATED): Remove.
55091         (version.texi): Include.
55093 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
55095         * sysdeps/posix/spawni.c: Include <signal.h>.
55096         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
55097         * sysdeps/pthread/aio_fsync.c: Likewise.
55099 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
55101         * conform/Makefile (tests): Run only when not cross-compiling and
55102         when fast-check is not defined.
55104         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
55105         * conform/data/limits.h-data: Fixes for POSIX2008.
55106         * conform/run-conformtest.sh: Run all tests.
55107         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
55108         headers.
55109         * include/bits/dlfcn.h: Likewise.
55110         * include/langinfo.h: Likewise.
55111         * include/monetary.h: Likewise.
55112         * include/sys/poll.h: Likewise.
55114         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
55115         for __USE_GNU.
55116         * posix/spawn.h: Define __need_sigset_t.
55117         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
55118         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
55119         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
55120         to get sigevent_t only.
55121         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
55122         only for __USE_GNU.
55123         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55124         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55125         process_vm_writev only for __USE_GNU.
55126         * termios/termios.h: Declare tcgetsid also for POSIX2008.
55128         * conform/Makefile: For now ignore errors from run-conformtest.
55129         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
55130         POSIX to avoid namespace pollution.  Don't prepend headers.
55131         * conform/data/aio.h-data: Fixes for POSIX testing.
55132         * conform/data/fcntl.h-data: Likewise.
55133         * conform/data/glob.h-data: Likewise.
55134         * conform/data/grp.h-data: Likewise.
55135         * conform/data/pthread.h-data: Likewise.
55136         * conform/data/pwd.h-data: Likewise.
55137         * conform/data/signal.h-data: Likewise.
55138         * conform/data/spawn.h-data: Likewise.
55139         * conform/data/stdio.h-data: Likewise.
55140         * conform/data/stdlib.h-data: Likewise.
55141         * conform/data/stropts.h-data: Likewise.
55142         * conform/data/sys/mman.h-data: Likewise.
55143         * conform/data/sys/stat.h-data: Likewise.
55144         * conform/data/sys/types.h-data: Likewise.
55145         * conform/data/sys/wait.h-data: Likewise.
55146         * conform/data/time.h-data: Likewise.
55147         * conform/data/unistd.h-data: Likewise.
55148         * conform/data/utime.h-data: Likewise.
55150         * io/sys/stat.h: fchmod was always in POSIX.
55151         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
55152         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
55153         * rt/aio.h: Define __need_timespec before including <time.h>.
55154         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
55155         struct.  Add forward declaration of pthread_attr_t and use it in
55156         sigevent.
55157         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55158         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55159         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
55160         always remove CLK_TCK definition.
55162 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
55164         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
55166 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
55168         * conform/run-conformtest.sh: New file.
55169         * conform/Makefile: Run run-conformtest for tests.
55170         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
55171         support.
55173         * conform/data/uchar.h-data: New file.
55174         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
55175         * conform/data/arpa/inet.h-data: Likewise.
55176         * conform/data/assert.h-data: Likewise.
55177         * conform/data/complex.h-data: Likewise.
55178         * conform/data/cpio.h-data: Likewise.
55179         * conform/data/ctype.h-data: Likewise.
55180         * conform/data/dirent.h-data: Likewise.
55181         * conform/data/dlfcn.h-data: Likewise.
55182         * conform/data/errno.h-data: Likewise.
55183         * conform/data/fcntl.h-data: Likewise.
55184         * conform/data/float.h-data: Likewise.
55185         * conform/data/fmtmsg.h-data: Likewise.
55186         * conform/data/fnmatch.h-data: Likewise.
55187         * conform/data/ftw.h-data: Likewise.
55188         * conform/data/glob.h-data: Likewise.
55189         * conform/data/grp.h-data: Likewise.
55190         * conform/data/iconv.h-data: Likewise.
55191         * conform/data/inttypes.h-data: Likewise.
55192         * conform/data/langinfo.h-data: Likewise.
55193         * conform/data/libgen.h-data: Likewise.
55194         * conform/data/limits.h-data: Likewise.
55195         * conform/data/locale.h-data: Likewise.
55196         * conform/data/math.h-data: Likewise.
55197         * conform/data/monetary.h-data: Likewise.
55198         * conform/data/mqueue.h-data: Likewise.
55199         * conform/data/ndbm.h-data: Likewise.
55200         * conform/data/net/if.h-data: Likewise.
55201         * conform/data/netdb.h-data: Likewise.
55202         * conform/data/netinet/in.h-data: Likewise.
55203         * conform/data/nl_types.h-data: Likewise.
55204         * conform/data/poll.h-data: Likewise.
55205         * conform/data/pthread.h-data: Likewise.
55206         * conform/data/pwd.h-data: Likewise.
55207         * conform/data/regex.h-data: Likewise.
55208         * conform/data/sched.h-data: Likewise.
55209         * conform/data/search.h-data: Likewise.
55210         * conform/data/semaphore.h-data: Likewise.
55211         * conform/data/setjmp.h-data: Likewise.
55212         * conform/data/signal.h-data: Likewise.
55213         * conform/data/spawn.h-data: Likewise.
55214         * conform/data/stdarg.h-data: Likewise.
55215         * conform/data/stdio.h-data: Likewise.
55216         * conform/data/stdlib.h-data: Likewise.
55217         * conform/data/string.h-data: Likewise.
55218         * conform/data/strings.h-data: Likewise.
55219         * conform/data/stropts.h-data: Likewise.
55220         * conform/data/sys/ipc.h-data: Likewise.
55221         * conform/data/sys/mman.h-data: Likewise.
55222         * conform/data/sys/msg.h-data: Likewise.
55223         * conform/data/sys/resource.h-data: Likewise.
55224         * conform/data/sys/select.h-data: Likewise.
55225         * conform/data/sys/sem.h-data: Likewise.
55226         * conform/data/sys/shm.h-data: Likewise.
55227         * conform/data/sys/socket.h-data: Likewise.
55228         * conform/data/sys/stat.h-data: Likewise.
55229         * conform/data/sys/statvfs.h-data: Likewise.
55230         * conform/data/sys/time.h-data: Likewise.
55231         * conform/data/sys/timeb.h-data: Likewise.
55232         * conform/data/sys/times.h-data: Likewise.
55233         * conform/data/sys/types.h-data: Likewise.
55234         * conform/data/sys/uio.h-data: Likewise.
55235         * conform/data/sys/un.h-data: Likewise.
55236         * conform/data/sys/utsname.h-data: Likewise.
55237         * conform/data/sys/wait.h-data: Likewise.
55238         * conform/data/syslog.h-data: Likewise.
55239         * conform/data/tar.h-data: Likewise.
55240         * conform/data/termios.h-data: Likewise.
55241         * conform/data/utime.h-data: Likewise.
55242         * conform/data/utmpx.h-data: Likewise.
55243         * conform/data/varargs.h-data: Likewise.
55244         * conform/data/wchar.h-data: Likewise.
55245         * conform/data/wctype.h-data: Likewise.
55246         * conform/data/wordexp.h-data: Likewise.
55248         * include/stropts.h: New file.
55249         * include/uchar.h: New file.
55250         * include/aio.h: Changes to allow conformtest.pl to use the headers.
55251         * include/assert.h: Likewise.
55252         * include/ctype.h: Likewise.
55253         * include/dirent.h: Likewise.
55254         * include/dlfcn.h: Likewise.
55255         * include/fcntl.h: Likewise.
55256         * include/fnmatch.h: Likewise.
55257         * include/glob.h: Likewise.
55258         * include/grp.h: Likewise.
55259         * include/libio.h: Likewise.
55260         * include/locale.h: Likewise.
55261         * include/math.h: Likewise.
55262         * include/net/if.h: Likewise.
55263         * include/netdb.h: Likewise.
55264         * include/netinet/in.h: Likewise.
55265         * include/pthread.h: Likewise.
55266         * include/pwd.h: Likewise.
55267         * include/regex.h: Likewise.
55268         * include/sched.h: Likewise.
55269         * include/search.h: Likewise.
55270         * include/setjmp.h: Likewise.
55271         * include/signal.h: Likewise.
55272         * include/stdio.h: Likewise.
55273         * include/stdlib.h: Likewise.
55274         * include/string.h: Likewise.
55275         * include/sys/cdefs.h: Likewise.
55276         * include/sys/mman.h: Likewise.
55277         * include/sys/msg.h: Likewise.
55278         * include/sys/resource.h: Likewise.
55279         * include/sys/select.h: Likewise.
55280         * include/sys/socket.h: Likewise.
55281         * include/sys/stat.h: Likewise.
55282         * include/sys/statvfs.h: Likewise.
55283         * include/sys/time.h: Likewise.
55284         * include/sys/times.h: Likewise.
55285         * include/sys/uio.h: Likewise.
55286         * include/sys/utsname.h: Likewise.
55287         * include/sys/wait.h: Likewise.
55288         * include/termios.h: Likewise.
55289         * include/time.h: Likewise.
55290         * include/ulimit.h: Likewise.
55291         * include/unistd.h: Likewise.
55292         * include/utime.h: Likewise.
55293         * include/wchar.h: Likewise.
55294         * include/wctype.h: Likewise.
55295         * include/wordexp.h: Likewise.
55297         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
55299         * time/time.h: TIME_UTC must be a macro.
55300         Make timespec_get available for ISO C11 only as well.
55302 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
55304         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
55305         Reported by Peng Haitao <penght@cn.fujitsu.com>.
55307 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55309         * configure.in: Use -o not -a in test for unsupported multi-arch.
55311 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55313         * manual/texinfo.tex: Update to version 2012-01-19.16.
55315 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55317         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
55319 2012-02-24  Roland McGrath  <roland@hack.frob.com>
55321         [BZ #13738]
55322         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
55323         * manual/fdl-1.3.texi: New file.
55324         * manual/fdl-1.1.texi: File removed.
55326         [BZ #13738]
55327         * manual/libc.texinfo (FDL_VERSION): New @set.
55328         Use it for mention of FDL in cover text.
55329         (Documentation License): Use it in @include file name.
55331 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55332             Roland McGrath  <roland@hack.frob.com>
55334         [BZ #5461]
55335         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
55336         (not LONG_LONG_MAX and LONG_LONG_MIN.
55337         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
55338         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
55339         name.
55340         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
55342 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55344         [BZ #2547]
55345         [BZ #11365]
55346         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
55347         manipulate bits before adding and subtracting TWO23[sx].
55348         * math/libm-test.inc (nearbyint_test): Add more tests.
55350 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55352         [BZ #2548]
55353         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
55354         bits before adding and subtracting TWO23[sx].
55355         * math/libm-test.inc (rint_test): Add more tests.
55356         (rint_test_tonearest): Likewise.
55357         (rint_test_towardzero): Likewise.
55358         (rint_test_downward): Likewise.
55359         (rint_test_upward: Likewise.
55361 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55363         [BZ #10110]
55364         * include/stdc-predef.h: New file.  Extracted from features.h.
55365         * include/features.h: Include stdc-predef.h.
55366         * Makefile (headers): Add stdc-predef.h.
55367         * CONFORMANCE (Compiler limitations): Update.
55369 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55371         * manual/libc.texinfo (VERSION, UPDATED): Revert.
55373 2012-02-21  David S. Miller  <davem@davemloft.net>
55375         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
55376         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
55378 2012-02-20  David S. Miller  <davem@davemloft.net>
55380         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
55381         using a normal save/restore sequence, rather than allocating a
55382         dummy stack frame just to store a frame pointer and restore.
55383         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55385 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55387         * manual/install.texi: Fix stray word in line-wrapped comment.
55389 2012-02-20  David S. Miller  <davem@davemloft.net>
55391         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
55392         both binutils and gcc support GOTDATA.
55394         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
55395         "rd %pc" in the PIC register setup sequences.
55397         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
55398         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
55399         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
55400         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
55401         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
55402         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
55403         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55404         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55405         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
55406         (SYSCALL_ERROR_HANDLER): Likewise.
55407         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
55408         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55409         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
55410         (SYSCALL_ERROR_HANDLER): Likewise.
55412         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
55413         (HAVE_GCC_GOTDATA): New.
55414         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
55415         relocation support in both binutils and gcc.
55416         * sysdeps/sparc/elf/configure: Regenerate.
55418         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
55419         * sysdeps/sparc/sparc32/elf/configure: Delete.
55420         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
55421         * sysdeps/sparc/sparc64/elf/configure: Delete.
55422         * sysdeps/sparc/elf/configure.in: New file.
55423         * sysdeps/sparc/elf/configure: Generate.
55425         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
55426         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
55427         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
55428         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
55429         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
55431 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55433         * manual/install.texi: Do not mention specific glibc version
55434         numbers.
55435         * manual/libc.texinfo (VERSION, UPDATED): Update.
55436         (@copying): Use @copyright{} and range of years.
55438 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55440         [BZ #13695]
55441         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
55442         [crti.S not in sysdirs] (generated): Do not append.
55443         [crti.S not in sysdirs] (omit-deps): Likewise.
55444         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
55445         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
55446         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
55447         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
55448         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
55449         Likewise.
55450         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
55451         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
55452         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
55453         * csu/defs.awk: Remove file.
55454         * sysdeps/generic/initfini.c: Likewise.
55455         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
55456         variable.
55457         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
55458         Likewise.
55460 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55462         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
55463         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
55464         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
55465         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
55466         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55467         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
55468         <bits/epoll.h>.
55469         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
55470         (__EPOLL_PACKED): Define to empty if not defined by
55471         <bits/epoll.h>.
55472         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
55473         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55474         bits/epoll.h.
55476 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55478         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
55479         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
55480         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
55481         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
55482         <bits/timerfd.h>.
55483         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
55484         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55485         bits/timerfd.h.
55487 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55489         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
55490         in C locale.
55491         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55492         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55493         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
55494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55496 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
55498         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55499         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
55501 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
55503         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
55504         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
55505         defined.
55506         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
55507         Likewise.
55508         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
55509         entry for 2.16.
55511 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
55513         * math/w_acos.c: Use non-signaling floating-point comparisons.
55514         * math/w_acosf.c: Likewise.
55515         * math/w_acosh.c: Likewise.
55516         * math/w_acoshf.c: Likewise.
55517         * math/w_acoshl.c: Likewise.
55518         * math/w_acosl.c: Likewise.
55519         * math/w_asin.c: Likewise.
55520         * math/w_asinf.c: Likewise.
55521         * math/w_asinl.c: Likewise.
55522         * math/w_atanh.c: Likewise.
55523         * math/w_atanhf.c: Likewise.
55524         * math/w_atanhl.c: Likewise.
55525         * math/w_exp2.c: Likewise.
55526         * math/w_exp2f.c: Likewise.
55527         * math/w_exp2l.c: Likewise.
55528         * math/w_j0.c: Likewise.
55529         * math/w_j0f.c: Likewise.
55530         * math/w_j0l.c: Likewise.
55531         * math/w_j1.c: Likewise.
55532         * math/w_j1f.c: Likewise.
55533         * math/w_j1l.c: Likewise.
55534         * math/w_jn.c: Likewise.
55535         * math/w_jnf.c: Likewise.
55536         * math/w_log.c: Likewise.
55537         * math/w_log10.c: Likewise.
55538         * math/w_log10f.c: Likewise.
55539         * math/w_log10l.c: Likewise.
55540         * math/w_log2.c: Likewise.
55541         * math/w_log2f.c: Likewise.
55542         * math/w_log2l.c: Likewise.
55543         * math/w_logf.c: Likewise.
55544         * math/w_logl.c: Likewise.
55545         * math/w_sqrt.c: Likewise.
55546         * math/w_sqrtf.c: Likewise.
55547         * math/w_sqrtl.c: Likewise.
55548         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55549         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
55550         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55551         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
55552         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
55554 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55556         [BZ #9739]
55557         * manual/string.texi (strnlen): Use correct parameter name in
55558         equivalent expression.
55560 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55562         [BZ #11174]
55563         * manual/users.texi (seteuid): Consistently use neweuid for
55564         argument name.
55566 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55568         [BZ #13704]
55569         * manual/nss.texi (Services in the NSS configuration): Correct
55570         list of services in example configuration file.
55572 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
55574         [BZ #11322]
55575         * manual/arith.texi: Remove statements about negative zero
55576         behaving identically to zero.
55578 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
55580         [BZ #5993]
55581         * manual/install.texi: Do not document upgrading from libc5.
55583 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
55585         [BZ #4596]
55586         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
55588 2012-02-18  David S. Miller  <davem@davemloft.net>
55590         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
55591         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
55592         %o7 across the call.
55593         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
55594         instead.
55595         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
55596         SETUP_PIC_REG_LEAF.
55597         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55598         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
55599         * sysdeps/sparc/crtn.S: Likewise.
55601 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
55603         * aout/Makefile: Remove.
55605 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
55607         [BZ #13058]
55608         * manual/examples/argp-ex1.c (main): Format definition in GNU
55609         style.
55610         * manual/examples/argp-ex2.c (main): Likewise.
55611         * manual/examples/argp-ex3.c (main): Likewise.
55612         * manual/examples/argp-ex4.c (main): Likewise.
55613         * manual/examples/longopt.c (main): Use new-style prototype
55614         definition.
55615         * manual/examples/strncat.c (main): Specify return type and use
55616         (void) for arguments.
55617         * manual/examples/subopt.c (main): Use char **argv argument.
55619 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55621         [BZ #5077]
55622         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
55623         rounding modes.
55625 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
55627         [BZ #6907]
55628         * manual/string.texi (strchr): Change when strchrnul is
55629         recommended.
55631 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
55633         [BZ #174]
55634         * manual/locale.texi (setlocale): Document LOCPATH.
55636 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55638         [BZ #10210]
55639         * manual/process.texi (execle): Move @dots{} before last argument.
55641 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
55643         [BZ #12047]
55644         * manual/charset.texi (Generic Charset Conversion): Fix typo
55645         (LC_TYPE -> LC_CTYPE).
55647 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
55649         [BZ #5805]
55650         * manual/arith.texi (scalbn): Use @var{} on parameter names.
55651         (scalbnf): Likewise.
55652         (scalbnl): Likewise.
55653         (scalbln): Likewise.
55654         (scalblnf): Likewise.
55655         (scalblnl): Likewise.
55656         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
55657         (vwarnx): Likewise.
55658         (verr): Likewise.
55659         (verrx): Likewise.
55660         * manual/filesys.texi (telldir): Use braces around return type.
55661         * manual/llio.texi (mmap): Add space after comma.
55662         (mmap64): Likewise.
55663         * manual/math.texi (jn): Use @var{} on parameter names.
55664         (jnf): Likewise.
55665         (jnl): Likewise.
55666         (yn): Likewise.
55667         (ynf): Likewise.
55668         (ynl): Likewise.
55669         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
55670         line.
55671         * manual/resource.texi (ulimit): Use @dots{} instead of literal
55672         "...".
55673         (sched_get_priority_min): Remove semicolon on @deftypefun line.
55674         (sched_get_priority_max): Likewise.
55675         * manual/signal.texi (sigvec): Add space after comma.
55676         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
55677         names.
55678         (if_indextoname): Likewise.
55679         (if_freenameindex): Likewise.
55680         (sendto): Use ',' instead of '.' in prototype.
55681         * manual/startup.texi (syscall): Use @dots{} instead of literal
55682         "...".
55683         * manual/stdio.texi (__fpending): Separate initial words of
55684         paragraph from @deftypefun line.
55685         * manual/syslog.texi (syslog): Use @dots{} instead of literal
55686         "...".
55687         (vsyslog): Use @var{} on parameter names.
55688         * manual/terminal.texi (stty): Use @var{} on parameter names.
55689         * manual/users.texi (getutmp): Use @var{} on parameter names.
55690         (getutmpx): Likewise.
55692 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55694         [BZ #6884]
55695         * manual/stdio.texi (fopen): Fix typos in description of
55696         ",ccs=STRING".
55698 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
55700         [BZ #4026]
55701         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
55702         get clock_id definition.
55704 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
55706         [BZ #4822]
55707         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
55708         (madvise): Cast every argument to void on its own.
55710 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55712         [BZ #9902]
55713         * manual/startup.texi (Exit Status): Fix typo.
55715 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55717         [BZ #10140]
55718         * manual/examples/argp-ex1.c: Include <stdlib.h>.
55719         * manual/examples/argp-ex2.c: Likewise.
55720         * manual/examples/argp-ex3.c: Likewise.
55722 2012-02-16  Richard Henderson  <rth@redhat.com>
55724         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
55725         * sysdeps/s390/s390-32/initfini.c: Remove.
55726         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
55727         * sysdeps/s390/s390-64/initfini.c: Remove.
55729 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55731         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
55732         compiler output for sysdeps/generic/initfini.c.
55733         * sysdeps/sh/elf/initfini.c: Remove file.
55735 2012-02-16  David S. Miller  <davem@davemloft.net>
55737         [BZ #11494]
55738         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
55740         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
55741         * sysdeps/sparc/crti.S: New file.
55742         * sysdeps/sparc/crtn.S: New file.
55743         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
55744         * sysdeps/sparc/sparc64/Makefile: Likewise.
55746 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
55748         [BZ #3335]
55749         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
55751 2012-02-15  Roland McGrath  <roland@hack.frob.com>
55753         [BZ #4822]
55754         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
55756         * mach/devstream.c (cookie_io_functions_t): Macro removed.
55757         (write, read, close): Likewise.
55758         Patch by Aurelien Jarno <aurelien@aurel32.net>.
55760 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
55762         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
55763         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
55764         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
55765         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
55766         <bits/signalfd.h>.
55767         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
55768         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55769         bits/signalfd.h.
55771 2012-02-14  Marek Polacek  <polacek@redhat.com>
55773         * sysdeps/x86_64/crti.S: New file.
55774         * sysdeps/x86_64/crtn.S: New file.
55775         * sysdeps/x86_64/elf/initfini.c: Remove file.
55777 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
55779         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
55780         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
55781         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
55782         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
55783         <bits/inotify.h>.
55784         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
55785         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55786         bits/inotify.h.
55788 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
55790         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
55791         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
55792         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
55793         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
55794         <bits/eventfd.h>.
55795         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
55796         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55797         bits/eventfd.h.
55799 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
55801         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
55802         __feraiseexcept instead of feraiseexcept.
55804         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
55805         nanosleep invocations.
55806         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
55807         strings, and add error checking for a nanosleep invocations.
55809 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
55811         Replace FSF snail mail address with URLs, as per GNU coding standards.
55812         Most of the snail mail addresses were wrong anyway, and omitting
55813         them makes the source code easier to maintain.  Almost all of the
55814         changes are to license notices and to locale LC_IDENTIFICATION
55815         addresses, except for this one:
55816         * manual/libc.texinfo: In "Published by", give the FSF's URL,
55817         not its snail mail address.
55819 2012-02-09  Richard Henderson  <rth@twiddle.net>
55821         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
55822         of kernel-features.h.
55824         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
55826 2012-02-08  Marek Polacek  <polacek@redhat.com>
55828         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
55829         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
55830         * sysdeps/gnu/_G_config.h: Likewise.
55831         * sysdeps/generic/_G_config.h: Likewise.
55833 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
55835         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
55836         tests.
55837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55839         * sysdeps/powerpc/powerpc32/crti.S: New file.
55840         * sysdeps/powerpc/powerpc32/crtn.S: New file.
55841         * sysdeps/powerpc/powerpc64/crti.S: New file.
55842         * sysdeps/powerpc/powerpc64/crtn.S: New file.
55844         * Makeconfig (have-initfini): Don't set.
55845         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
55846         * configure.in (nopic_initfini): Don't substitute.
55847         * config.h.in (HAVE_INITFINI): Don't #undef.
55848         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
55849         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
55851 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
55853         Support crti.S and crtn.S provided directly by architectures.
55854         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
55855         [crti.S in sysdirs] (omit-deps): Likewise.
55856         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
55857         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
55858         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
55859         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
55860         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
55861         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
55862         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
55863         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
55864         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
55865         compiler output for sysdeps/generic/initfini.c.
55866         * sysdeps/i386/elf/Makefile: Remove file.
55867         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
55869 2012-02-07  Marek Polacek  <polacek@redhat.com>
55871         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
55872         * sysdeps/gnu/_G_config.h: Likewise.
55873         * sysdeps/mach/hurd/_G_config.h: Likewise.
55875 2012-02-07  Marek Polacek  <polacek@redhat.com>
55877         * math/Makefile (tests): Add tst-CMPLX2.
55878         * math/tst-CMPLX2.c: New file.
55880 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
55882         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55884         * math/libm-test.inc (jn_test): Add missing L suffix.
55886 2012-02-06  Marek Polacek  <polacek@redhat.com>
55888         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
55889         * sysdeps/i386/fpu/e_powf.S: Likewise.
55890         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55891         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
55892         * sysdeps/i386/fpu/e_acosh.S: Likewise.
55893         * sysdeps/i386/fpu/e_pow.S: Likewise.
55894         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
55895         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55896         * sysdeps/i386/fpu/s_expm1.S: Likewise.
55897         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
55898         * sysdeps/i386/fpu/e_log2.S: Likewise.
55899         * sysdeps/i386/fpu/e_log2l.S: Likewise.
55900         * sysdeps/i386/fpu/e_scalb.S: Likewise.
55901         * sysdeps/i386/fpu/e_powl.S: Likewise.
55902         * sysdeps/i386/fpu/s_log1p.S: Likewise.
55903         * sysdeps/i386/fpu/e_log10f.S: Likewise.
55904         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
55905         * sysdeps/i386/fpu/e_logl.S: Likewise.
55906         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
55907         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
55908         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
55909         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
55910         * sysdeps/i386/fpu/e_log2f.S: Likewise.
55911         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55912         * sysdeps/i386/fpu/e_log.S: Likewise.
55913         * sysdeps/i386/fpu/s_cexp.S: Likewise.
55914         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55915         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
55916         * sysdeps/i386/fpu/e_logf.S: Likewise.
55917         * sysdeps/i386/fpu/e_log10l.S: Likewise.
55918         * sysdeps/i386/fpu/e_atanh.S: Likewise.
55919         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
55920         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
55921         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
55922         * sysdeps/i386/fpu/e_log10.S: Likewise.
55923         * sysdeps/i386/fpu/s_frexp.S: Likewise.
55924         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55925         * sysdeps/i386/fpu/s_asinh.S: Likewise.
55926         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
55927         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55928         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
55929         * sysdeps/i386/asm-syntax.h: Likewise.
55930         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55931         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55932         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55933         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
55934         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
55935         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55936         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
55937         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
55938         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55939         * sysdeps/powerpc/sysdep.h: Likewise.
55940         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
55941         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55943 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
55945         [BZ #411]
55946         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
55948 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
55950         * sysdeps/i386/sysdep.h: Include <features.h>.
55951         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
55952         version.
55954 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
55956         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
55957         Define.
55958         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
55959         LOAD_PIC_REG_STR.
55961 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
55963         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
55964         (SETUP_PIC_REG): Use GET_PC_THUNK.
55965         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
55966         macro.
55968 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
55970         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
55971         for non-PIC compilation.
55972         (SETUP_PIC_REG): Add .p2align directive.
55973         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
55974         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
55975         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
55976         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
55977         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
55978         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
55979         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
55980         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55981         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
55982         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
55983         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
55984         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
55985         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
55986         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
55987         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
55988         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
55989         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
55990         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
55991         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
55992         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
55993         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
55994         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
55995         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
55996         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
55997         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
55998         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
55999         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56000         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
56001         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
56002         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
56003         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
56004         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56005         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
56006         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
56007         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
56008         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
56009         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
56010         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
56011         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
56012         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
56013         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
56015 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56017         * math/tst-CMPLX.c: Include <stdio.h>.
56019 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
56021         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
56022         float.
56023         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56024         * sysdeps/sparc/bits/mathdef.h: Likewise.
56026 2012-01-31  Marek Polacek  <polacek@redhat.com>
56028         * libio/libio.h: Don't define _PARAMS.
56029         * locale/programs/config.h: Don't define PARAMS.
56030         * stdlib/strtol_l.c: Likewise.
56031         (__strtol_l): Remove PARAMS from the prototype.
56033 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
56035         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
56036         names.  Just use the correct names.  Remove unnecessary wrapper
56037         functions.
56038         * malloc/arena.c: Likewise.
56039         * malloc/hooks.c: Likewise.
56041         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
56042         ARENA_TEST says not to.  Simplify test for creation of a new arena.
56043         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
56045 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
56047         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
56048         into tail calls.
56049         (update_get_addr): New function.
56050         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
56051         GET_ADDR_MODULE parameter.
56053 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56055         * crypt/cert.c: Remove __STDC__ conditionals.
56056         * crypt/crypt-entry.c: Likewise.
56057         * crypt/crypt_util.c: Likewise.
56058         * libio/filedoalloc.c: Likewise.
56059         * libio/fileops.c: Likewise.
56060         * libio/genops.c: Likewise.
56061         * libio/iofclose.c: Likewise.
56062         * libio/iofdopen.c: Likewise.
56063         * libio/iofopen.c: Likewise.
56064         * libio/iofopen64.c: Likewise.
56065         * libio/iogetdelim.c: Likewise.
56066         * libio/iopopen.c: Likewise.
56067         * libio/obprintf.c: Likewise.
56068         * libio/oldfileops.c: Likewise.
56069         * libio/oldiofclose.c: Likewise.
56070         * libio/oldiofdopen.c: Likewise.
56071         * libio/oldiofopen.c: Likewise.
56072         * libio/oldiopopen.c: Likewise.
56073         * libio/wfiledoalloc.c: Likewise.
56074         * libio/wgenops.c: Likewise.
56075         * locale/programs/xmalloc.c: Likewise.
56076         * misc/syslog.c: Likewise.
56077         * stdio-common/xbug.c: Likewise.
56078         * string/memchr.c: Likewise.
56079         * string/memcmp.c: Likewise.
56080         * string/memrchr.c: Likewise.
56081         * string/rawmemchr.c: Likewise.
56082         * sysdeps/posix/getcwd.c: Likewise.
56083         * time/strftime_l.c: Likewise.
56085 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56087         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
56088         * config.make.in (config-cflags-sse2avx): Define.
56089         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
56090         Fix typo.
56092 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
56094         * scripts/config.guess: Update from upstream config git repository.
56095         * scripts/config.sub: Likewise.
56097 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
56099         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
56100         (EM_NUM): Update.
56101         (R_TILEPRO_*, R_TILEGX_*): New macros.
56103         * scripts/firstversions.awk: Fix bug in version range handling.
56105         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
56107         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
56109         * include/sys/epoll.h: New file.
56110         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
56111         libc_hidden_def.
56113 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
56115         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
56116         Avoid unnecessary __WORDSIZE == 64 test.
56117         (fmaxf): Use VEX format if possible.
56118         (fmax): Likewise.
56119         (fminf): Likewise.
56120         (fmin): Likewise.
56122         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
56123         * math/math_private.h: Remove libc_fegetround* and
56124         libc_fesetround*.
56125         * sysdeps/i386/configure.in: Check for -msse2avx.
56126         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
56127         also if SSE2AVX is defined.
56128         Remove libc_fegetround* and libc_fesetround*.
56129         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
56130         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
56131         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
56132         of HAS_YMM_USABLE.
56133         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56134         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56135         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56136         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56137         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56139         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
56141 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56143         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
56144         size is not set.
56145         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56147 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
56149         [BZ #13618]
56150         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
56151         relocation.
56152         * Makeconfig (libm): Define.
56153         * elf/Makefile: Add rules to build and run tst-relsort1.
56154         * elf/tst-relsort1.c: New file.
56155         * elf/tst-relsort1mod1.c: New file.
56156         * elf/tst-relsort1mod2.c: New file.
56158 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
56160         * math/s_ldexp.c: Remove __STDC__ conditionals.
56161         * math/s_ldexpf.c: Likewise.
56162         * math/s_ldexpl.c: Likewise.
56163         * math/s_nextafter.c: Likewise.
56164         * math/s_nexttowardf.c: Likewise.
56165         * math/s_significand.c: Likewise.
56166         * math/s_significandf.c: Likewise.
56167         * math/s_significandl.c: Likewise.
56168         * math/w_jnl.c: Likewise.
56169         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
56170         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
56171         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
56172         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
56173         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
56174         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56175         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
56176         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56177         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56178         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56179         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56180         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56181         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56182         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
56183         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56184         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56185         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56186         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56187         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56188         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56189         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56190         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56191         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56192         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56193         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56194         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56195         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56196         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56197         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
56198         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56199         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56200         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
56201         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56202         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
56203         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
56204         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56205         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
56206         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
56207         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
56208         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
56209         * sysdeps/ieee754/k_standard.c: Likewise.
56210         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56211         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56212         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
56213         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
56214         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
56215         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
56216         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56217         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
56218         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
56219         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
56220         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
56221         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
56222         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
56223         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
56224         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
56225         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
56226         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
56227         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56228         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56229         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
56230         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56231         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56232         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
56233         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
56234         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56235         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
56236         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56237         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56238         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56239         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
56240         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
56241         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
56242         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
56243         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
56244         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
56245         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
56246         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
56247         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
56248         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
56249         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
56250         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
56251         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
56252         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
56253         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
56254         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
56255         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
56256         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
56257         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56258         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
56259         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
56260         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
56261         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56262         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56263         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
56264         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
56265         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
56266         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
56267         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56268         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56269         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56270         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56271         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
56272         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
56273         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
56274         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56275         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56276         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56277         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
56278         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
56279         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56280         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
56281         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
56282         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
56283         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
56284         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
56285         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
56286         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
56287         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
56288         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
56289         * sysdeps/ieee754/s_matherr.c: Likewise.
56290         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
56291         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56292         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56293         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56295 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
56297         * crypt/md5.h: Remove __STDC__ conditionals.
56298         * libio/libioP.h: Likewise.
56299         * locale/programs/config.h: Likewise.
56300         * sysdeps/generic/sysdep.h: Likewise.
56301         * sysdeps/i386/asm-syntax.h: Likewise.
56302         * sysdeps/s390/asm-syntax.h: Likewise.
56303         * sysdeps/unix/sysdep.h: Likewise.
56304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
56305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56307 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
56309         * libio/libio.h: Remove __STDC__ conditionals.
56310         * malloc/obstack.h: Likewise.
56311         * math/complex.h: Likewise.
56312         * math/math.h: Likewise.
56313         * sysdeps/generic/_G_config.h: Likewise.
56314         * sysdeps/gnu/_G_config.h: Likewise.
56315         * sysdeps/mach/hurd/_G_config.h: Likewise.
56316         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56317         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56318         * sysdeps/sparc/bits/mathdef.h: Likewise.
56320 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
56322         [BZ #13583]
56323         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
56324         Clean up HAS_* macros.
56325         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
56326         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
56327         possible.
56328         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
56329         HAS_AVX.
56330         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56331         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56332         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56333         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56334         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56336 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
56338         * elf/tst-unique3.cc (gets): Remove declaration.
56339         * elf/tst-unique3lib.cc (gets): Likewise.
56340         * elf/tst-unique3lib2.cc (gets): Likewise.
56341         * elf/tst-unique4.cc (gets): Likewise.
56343 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
56345         * include/stdio.h: Add C++ protection.  Add gets declarations and
56346         definitions.
56347         * debug/tst-chk1.c: Don't declare gets here.
56348         * stdio-common/tst-gets.c: Likewise.
56350 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
56352         * posix/glob: Remove directory.
56354 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
56356         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
56358 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
56360         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
56361         of the non-standard EPFNOSUPPORT.
56363 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56365         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
56366         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
56367         ANYWHERE set to 1 only on KERN_NO_SPACE error.
56369 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
56371         * wcsmbs/uchar.h: Test __STDC_VERSION__.
56373 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
56375         * nscd/aicache.c (addhstaiX): Do not cache negative results of
56376         transient errors.
56377         * nscd/grpcache.c (cache_addgr): Likewise.
56378         * nscd/hstcache.c (cache_addhst): Likewise.
56379         * nscd/initgrcache.c (addinitgroupsX): Likewise.
56380         * nscd/pwdcache.c (cache_addpw): Likewise.
56381         * nscd/servicescache.c (cache_addserv): Likewise.
56383 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
56385         * malloc/malloc.c: Various cleanups.
56386         * malloc/hooks.c: Likewise.
56388         * stdlib/Makefile (tests): Add bug-fmtmsg1.
56389         * stdlib/bug-fmtmsg1.c: New file.
56391         * stdlib/fmtmsg.c (init): Add missing unlock.
56392         Patch by Peng Haitao <penght@cn.fujitsu.com>.
56394 2012-01-12  Marek Polacek  <polacek@redhat.com>
56396         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
56397         and _GNU_SOURCE.
56399 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
56401         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
56402         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
56403         macro to ensure uniqueness of label name.
56404         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
56405         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
56407 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
56409         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
56411         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
56412         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
56413         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
56414         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
56416 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
56418         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
56420         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
56421         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
56422         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
56424         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
56426         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
56427         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
56428         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
56429         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
56431         * math/bits/math-finite.h: Add ldexp support.
56433 2012-01-10  Marek Polacek  <polacek@redhat.com>
56435         * locale/programs/localedef.h (show_archive_content): Add noreturn
56436         attribute.
56438 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
56440         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
56442 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56444         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
56446         * io/Makefile (headers): Add bits/poll2.h.
56448 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
56450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
56451         typo #include statement.
56453 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56455         * include/sys/cdefs.h: Define __attribute_alloc_size.
56456         * catgets/gencat.c: Add alloc_size attribute and apply consistently
56457         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
56458         * elf/pldd.c: Likewise.
56459         * iconv/iconv_charmap.c: Likewise.
56460         * iconv/iconvconfig.c: Likewise.
56461         * iconv/strtab.c: Likewise.
56462         * locale/programs/locale.c: Likewise.
56463         * locale/programs/localedef.h: Likewise.
56464         * locale/programs/simple-hash.c: Likewise.
56465         * nscd/nscd.h: Likewise.
56466         * nss/makedb.c: Likewise.
56467         * sysdeps/generic/ldconfig.h: Likewise.
56468         * locale/programs/localedef.c: Remove xmalloc prototype.
56469         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
56471 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
56473         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
56474         appropriate.
56476 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56478         * math/Makefile (tests): Add tst-CMPLX.
56479         * math/tst-CMPLX.c: New file.
56481         * math/complex.h (CMPLXL): Fix typo.
56483         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
56484         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
56485         GLIBC_2.16.
56486         * debug/tst-chk1.c: Add poll and ppoll tests.
56487         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
56488         * include/sys/poll.h: Add hidden proto for ppoll.
56489         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
56490         * sysdeps/mach/hurd/ppoll.c: Likewise.
56491         * io/ppoll.c: Likewise.
56492         * debug/poll_chk.c: New file.
56493         * debug/ppoll_chk.c: New file.
56494         * include/bits/poll2.h: New file.
56495         * io/bits/poll2.h: New file.
56497         [BZ #1350]
56498         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
56500         * configure.in: static is always set to yes.  Remove.
56501         * config.make.in: Don't set build-static.
56502         * Makeconfig: Remove use of build-static.
56503         * dlfcn/Makefile: Likewise.
56504         * elf/Makefile: Likewise.
56505         * math/Makefile: Likewise.
56506         * misc/Makefile: Likewise.
56507         * nptl/Makefile: Likewise.
56508         * sysdeps/mach/hurd/Makefile: Likewise.
56510         * configure.in: PWD_P is not used anymore.
56511         * config.make.in: Remove PWD_P entry.
56513         * configure.in: Remove last remnants of RANLIB.
56514         No need to check for signed size_t anymore.
56515         Don't set libc_commonpagesize and libc_relro_required here for Alpha
56516         and IA-64.
56517         Remove __builtin_expect test because we require at least gcc 3.4.
56518         * aclocal.m4: Likewise.
56520         * wcsmbs/mbrtoc16.c: Implement using towc function.
56521         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
56522         * wcsmbs/wcsmbsload.c: Likewise.
56523         * iconv/gconv_simple.c: Likewise.
56524         * iconv/gconv_int.h: Likewise.
56525         * iconv/gconv_builtin.h: Likewise.
56526         * iconv/iconv_prog.c: Remove CHAR16 handling.
56528         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
56530         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
56532         * configure.in: Remove --with-elf and --enable-bounded options.
56533         Dont set base_machine for ia64.  More non-ELF conditions removed.
56534         Remove testing and setting of leading underscore information.
56535         * config.make.in (build-bounded): Set to no.
56536         * config.h.in: Remove NO_UNDERSCORES entry.
56537         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
56538         them.
56539         * csu/start.c: Remove !NO_UNDERSCORE code.
56540         * locale/localeinfo.h: Likewise.
56541         * sysdeps/generic/machine-gmon.h: Likewise.
56542         * sysdeps/generic/sysdep.h: Likewise.
56543         * sysdeps/i386/sysdep.h: Likewise.
56544         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
56545         * sysdeps/mach/sysdep.h: Likewise.
56546         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56547         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56548         * sysdeps/sh/sysdep.h: Likewise.
56549         * sysdeps/sparc/sparc32/alloca.S: Likewise.
56550         * sysdeps/unix/i386/sysdep.S: Likewise.
56551         * sysdeps/unix/sparc/start.c: Likewise.
56552         * sysdeps/unix/sparc/sysdep.S: Likewise.
56553         * sysdeps/unix/sparc/sysdep.h: Likewise.
56554         * sysdeps/unix/start.c: Likewise.
56555         * sysdeps/unix/x86_64/sysdep.S: Likewise.
56556         * sysdeps/x86_64/sysdep.h: Likewise.
56558 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
56560         [BZ #13553]
56561         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
56562         for non-gcc.
56563         * argp/argp-fmtstream.h: Use const instead __const.
56564         * argp/argp.h: Likewise.
56565         * assert/assert.h: Likewise.
56566         * bits/fenv.h: Likewise.
56567         * bits/sched.h: Likewise.
56568         * bits/sigset.h: Likewise.
56569         * bits/sigthread.h: Likewise.
56570         * catgets/nl_types.h: Likewise.
56571         * conform/data/pthread.h-data: Likewise.
56572         * crypt/crypt-private.h: Likewise.
56573         * crypt/crypt.h: Likewise.
56574         * crypt/crypt_util.c: Likewise.
56575         * ctype/ctype.h: Likewise.
56576         * debug/execinfo.h: Likewise.
56577         * debug/mbsnrtowcs_chk.c: Likewise.
56578         * debug/mbsrtowcs_chk.c: Likewise.
56579         * debug/wcsnrtombs_chk.c: Likewise.
56580         * debug/wcsrtombs_chk.c: Likewise.
56581         * debug/wcstombs_chk.c: Likewise.
56582         * dirent/dirent.h: Likewise.
56583         * dlfcn/dlfcn.h: Likewise.
56584         * elf/neededtest4.c: Likewise.
56585         * grp/grp.h: Likewise.
56586         * gshadow/gshadow.h: Likewise.
56587         * iconv/gconv.h: Likewise.
56588         * iconv/gconv_int.h: Likewise.
56589         * iconv/gconv_simple.c: Likewise.
56590         * iconv/iconv.h: Likewise.
56591         * iconv/loop.c: Likewise.
56592         * iconv/skeleton.c: Likewise.
56593         * include/aio.h: Likewise.
56594         * include/aliases.h: Likewise.
56595         * include/argz.h: Likewise.
56596         * include/arpa/inet.h: Likewise.
56597         * include/assert.h: Likewise.
56598         * include/dirent.h: Likewise.
56599         * include/dlfcn.h: Likewise.
56600         * include/execinfo.h: Likewise.
56601         * include/fcntl.h: Likewise.
56602         * include/fenv.h: Likewise.
56603         * include/glob.h: Likewise.
56604         * include/grp.h: Likewise.
56605         * include/libintl.h: Likewise.
56606         * include/mntent.h: Likewise.
56607         * include/netdb.h: Likewise.
56608         * include/pwd.h: Likewise.
56609         * include/rpc/netdb.h: Likewise.
56610         * include/sched.h: Likewise.
56611         * include/search.h: Likewise.
56612         * include/shadow.h: Likewise.
56613         * include/signal.h: Likewise.
56614         * include/stdio.h: Likewise.
56615         * include/stdlib.h: Likewise.
56616         * include/string.h: Likewise.
56617         * include/sys/socket.h: Likewise.
56618         * include/sys/stat.h: Likewise.
56619         * include/sys/statfs.h: Likewise.
56620         * include/sys/statvfs.h: Likewise.
56621         * include/sys/syslog.h: Likewise.
56622         * include/sys/time.h: Likewise.
56623         * include/sys/uio.h: Likewise.
56624         * include/time.h: Likewise.
56625         * include/unistd.h: Likewise.
56626         * include/utmp.h: Likewise.
56627         * include/wchar.h: Likewise.
56628         * include/wctype.h: Likewise.
56629         * inet/aliases.h: Likewise.
56630         * inet/arpa/inet.h: Likewise.
56631         * inet/netinet/ether.h: Likewise.
56632         * inet/netinet/in.h: Likewise.
56633         * intl/libintl.h: Likewise.
56634         * io/bits/fcntl2.h: Likewise.
56635         * io/fcntl.h: Likewise.
56636         * io/ftw.h: Likewise.
56637         * io/sys/poll.h: Likewise.
56638         * io/sys/stat.h: Likewise.
56639         * io/sys/statfs.h: Likewise.
56640         * io/sys/statvfs.h: Likewise.
56641         * io/utime.h: Likewise.
56642         * libio/bits/stdio.h: Likewise.
56643         * libio/bits/stdio2.h: Likewise.
56644         * libio/libio.h: Likewise.
56645         * libio/libioP.h: Likewise.
56646         * libio/stdio.h: Likewise.
56647         * locale/lc-ctype.c: Likewise.
56648         * locale/locale.h: Likewise.
56649         * login/utmp.h: Likewise.
56650         * malloc/arena.c: Likewise.
56651         * malloc/malloc.c: Likewise.
56652         * malloc/malloc.h: Likewise.
56653         * malloc/mcheck.c: Likewise.
56654         * malloc/mtrace.c: Likewise.
56655         * math/bits/mathcalls.h: Likewise.
56656         * math/fenv.h: Likewise.
56657         * math/math_private.h: Likewise.
56658         * misc/bits/error.h: Likewise.
56659         * misc/bits/syslog.h: Likewise.
56660         * misc/err.h: Likewise.
56661         * misc/error.h: Likewise.
56662         * misc/fstab.h: Likewise.
56663         * misc/mntent.h: Likewise.
56664         * misc/regexp.h: Likewise.
56665         * misc/search.h: Likewise.
56666         * misc/sgtty.h: Likewise.
56667         * misc/sys/mman.h: Likewise.
56668         * misc/sys/syslog.h: Likewise.
56669         * misc/sys/uio.h: Likewise.
56670         * misc/sys/xattr.h: Likewise.
56671         * misc/ttyent.h: Likewise.
56672         * nis/rpcsvc/ypclnt.h: Likewise.
56673         * nss/nss.h: Likewise.
56674         * posix/bits/unistd.h: Likewise.
56675         * posix/fnmatch.h: Likewise.
56676         * posix/glob.h: Likewise.
56677         * posix/sched.h: Likewise.
56678         * posix/spawn.h: Likewise.
56679         * posix/sys/wait.h: Likewise.
56680         * posix/unistd.h: Likewise.
56681         * posix/wordexp.h: Likewise.
56682         * pwd/pwd.h: Likewise.
56683         * resolv/netdb.h: Likewise.
56684         * resource/sys/resource.h: Likewise.
56685         * rt/aio.h: Likewise.
56686         * rt/bits/mqueue2.h: Likewise.
56687         * rt/mqueue.h: Likewise.
56688         * shadow/shadow.h: Likewise.
56689         * signal/signal.h: Likewise.
56690         * socket/send.c: Likewise.
56691         * socket/sendto.c: Likewise.
56692         * socket/sys/socket.h: Likewise.
56693         * stdio-common/printf.h: Likewise.
56694         * stdlib/bits/stdlib.h: Likewise.
56695         * stdlib/fmtmsg.h: Likewise.
56696         * stdlib/monetary.h: Likewise.
56697         * stdlib/stdlib.h: Likewise.
56698         * stdlib/ucontext.h: Likewise.
56699         * streams/stropts.h: Likewise.
56700         * string/argz.h: Likewise.
56701         * string/bits/string2.h: Likewise.
56702         * string/string.h: Likewise.
56703         * string/strings.h: Likewise.
56704         * sunrpc/rpc/auth.h: Likewise.
56705         * sunrpc/rpc/auth_des.h: Likewise.
56706         * sunrpc/rpc/clnt.h: Likewise.
56707         * sunrpc/rpc/netdb.h: Likewise.
56708         * sunrpc/rpc/pmap_clnt.h: Likewise.
56709         * sunrpc/rpc/xdr.h: Likewise.
56710         * sysdeps/generic/inttypes.h: Likewise.
56711         * sysdeps/generic/net/if.h: Likewise.
56712         * sysdeps/generic/sys/swap.h: Likewise.
56713         * sysdeps/gnu/net/if.h: Likewise.
56714         * sysdeps/gnu/utmpx.h: Likewise.
56715         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
56716         * sysdeps/i386/i486/bits/string.h: Likewise.
56717         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
56718         * sysdeps/s390/bits/string.h: Likewise.
56719         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
56720         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
56721         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
56722         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
56723         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
56724         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
56725         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
56726         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
56727         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
56728         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
56729         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
56730         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
56731         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
56732         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
56733         * sysdeps/unix/sysv/linux/readv.c: Likewise.
56734         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
56735         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
56736         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56737         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
56738         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
56739         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56740         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
56741         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
56742         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
56743         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
56744         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
56745         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
56746         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56747         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
56748         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
56749         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
56750         * sysvipc/sys/ipc.h: Likewise.
56751         * sysvipc/sys/msg.h: Likewise.
56752         * sysvipc/sys/sem.h: Likewise.
56753         * sysvipc/sys/shm.h: Likewise.
56754         * termios/termios.h: Likewise.
56755         * time/sys/time.h: Likewise.
56756         * time/time.h: Likewise.
56757         * wcsmbs/bits/wchar2.h: Likewise.
56758         * wcsmbs/uchar.h: Likewise.
56759         * wcsmbs/wchar.h: Likewise.
56760         * wctype/wctype.h: Likewise.
56762         [BZ #13551]
56763         * Makeconfig: Remove all but ELF support including AIX support.
56764         * Makerules: Likewise.
56765         * config.h.in: Likewise.
56766         * config.make.in: Likewise.
56767         * configure: Likewise.
56768         * configure.in: Likewise.
56769         * csu/Makefile: Likewise.
56770         * csu/version.c: Likewise.
56771         * debug/Makefile: Likewise.
56772         * dlfcn/Makefile: Likewise.
56773         * elf/Makefile: Likewise.
56774         * extra-lib.mk: Likewise.
56775         * iconv/Makefile: Likewise.
56776         * include/libc-symbols.h: Likewise.
56777         * include/shlib-compat.h: Likewise.
56778         * resolv/Makefile: Likewise.
56779         * resolv/res_libc.c: Likewise.
56780         * rt/Makefile: Likewise.
56781         * sysdeps/i386/asm-syntax.h: Likewise.
56782         * sysdeps/i386/sysdep.h: Likewise.
56783         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
56784         * sysdeps/mach/sysdep.h: Likewise.
56785         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
56786         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
56787         * sysdeps/s390/asm-syntax.h: Likewise.
56788         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56789         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56790         * sysdeps/sh/sysdep.h: Likewise.
56791         * sysdeps/unix/sparc/sysdep.h: Likewise.
56792         * sysdeps/wordsize-32/divdi3.c: Likewise.
56793         * sysdeps/x86_64/sysdep.h: Likewise.
56795         * argp/Versions: Remove _argp_unlock_xxx.
56797         [BZ #13559]
56798         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
56799         * abilist/libBrokenLocale.abilist: Likewise.
56800         * abilist/libanl.abilist: Likewise.
56801         * abilist/libc.abilist: Likewise.
56802         * abilist/libcrypt.abilist: Likewise.
56803         * abilist/libdl.abilist: Likewise.
56804         * abilist/libm.abilist: Likewise.
56805         * abilist/libnsl.abilist: Likewise.
56806         * abilist/libpthread.abilist: Likewise.
56807         * abilist/libresolv.abilist: Likewise.
56808         * abilist/librt.abilist: Likewise.
56809         * abilist/libthread_db.abilist: Likewise.
56810         * abilist/libutil.abilist: Likewise.
56811         * abilist/libnss_db.abilist: New file.
56813         * scripts/abilist.awk: Add support for indirect functions.
56815         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
56817         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
56819         * shlib-versions: Remove entries for ports architectures.
56821         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
56822         files in ports.
56823         * elf/stackguard-macros.h: Remove support for IA-64.
56824         * elf/tst-auditmod1.c: Likewise.
56825         * sysdeps/generic/ldsodefs.h: Likewise.
56827         * sysdeps/unix/sysv/linux/configure.in: Ports should define
56828         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
56829         configure files.
56831         [BZ #13552]
56832         * configure.in: Remove --enable-omitfp support.
56833         * FAQ.in: Adjust.
56834         * config.make.in: Likewise.
56835         * Makeconfig: Likewise.
56836         * manual/install.texi: Likewise.
56838         In case anyone cares, the IA-64 architecture could move to ports.
56839         * sysdeps/ia64/*: Removed.
56840         * sysdeps/unix/sysv/linux/ia64/*: Removed.
56841         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
56843         [BZ #13555]
56844         * configure.in: Remove entries for unsupported architectures.
56846         [BZ #13533]
56847         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
56848         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
56849         routines.
56850         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
56851         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
56852         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
56853         fall back to using wcrtomb.
56854         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
56855         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
56856         renaming.
56857         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
56858         * wcsmbs/tst-c16c32-1.c: New file.
56860         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
56861         local variable.
56863         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
56865         * elf/tst-unique3.cc: Add explicit declaration of gets.
56866         * elf/tst-unique3lib.cc: Likewise.
56867         * elf/tst-unique3lib2.cc: Likewise.
56868         * elf/tst-unique4.cc: Likewise.
56870         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
56872 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
56874         [BZ #13566]
56875         * assert/assert.h (static_assert): Don't define for C++.
56876         * libio/stdio.h (gets): Do declare for C++ <= C++11.
56877         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
56879 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
56881         * iconv/loop.c (single loop): Fix assertion in storing of
56882         remaining bytes.
56884         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
56886 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
56888         * posix/getconf.c: Update copyright year.
56889         * nss/getent.c: Likewise.
56890         * nss/makedb.c: Likewise.
56891         * iconv/iconvconfig.c: Likewise.
56892         * iconv/iconv_prog.c: Likewise.
56893         * elf/ldconfig.c: Likewise.
56894         * elf/pldd.c: Likewise.
56895         * elf/sotruss.ksh: Likewise.
56896         * catgets/gencat.c: Likewise.
56897         * csu/version.c: Likewise.
56898         * elf/ldd.bash.in: Likewise.
56899         * elf/sprof.c (print_version): Likewise.
56900         * locale/programs/locale.c: Likewise.
56901         * locale/programs/localedef.c: Likewise.
56902         * login/programs/pt_chown.c: Likewise.
56903         * nscd/nscd.c (print_version): Likewise.
56904         * debug/xtrace.sh: Likewise.
56905         * malloc/memusage.sh: Likewise.
56906         * malloc/mtrace.pl: Likewise.
56907         * debug/catchsegv.sh: Likewise.
56909 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
56911         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
56912         pure attribute.
56914 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
56916         [BZ #13533]
56917         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
56918         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
56919         transformations.
56920         * iconv/gconv_int.h: Likewise.
56921         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
56922         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
56923         from libc for GLIBC_2.16.
56924         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
56925         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
56926         * wcsmbs/uchar.h: Really define mbstate_t.
56927         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
56928         * wcsmbs/c16rtomb.c: New file.
56929         * wcsmbs/mbrtoc16.c: New file.
56930         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
56931         for C/POSIX locale.
56932         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
56933         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
56935         * wcsmbs/wchar.h: Add missing __restrict.
56937 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
56939         [BZ #13532]
56940         * time/Makefile (routines): Add timespec_get.
56941         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
56942         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
56943         timespec for ISO C11.
56944         * time/timespec_get.c: New file.
56945         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
56946         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
56948         [BZ #13531]
56949         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
56950         * stdlib/stdlib.h: Declare aligned_alloc.
56951         * Versions.def: Add GLIBC_2.16 for libc.
56952         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
56954         [BZ 13527]
56955         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
56956         ISO C11.
56958         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
56959         code.
56961         [BZ #13528]
56962         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
56964         [BZ #13529]
56965         * assert/assert.h (static_assert): Define.
56967         * version.h: Update for 2.16 development version.
56969         [BZ #13526]
56970         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
56971         _ISOC11_SOURCE.
56973         * version.h (RELEASE): Bump for 2.15 release.
56974         * include/features.h (__GLIBC_MINOR__): Bump to 15.
56976         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
56977         Patch by Marek Polacek <mpolacek@redhat.com>.
56979         * bits/byteswap.h: Protect long long constants with __extension__.
56980         * sysdeps/i386/bits/byteswap.h: Likewise.
56981         * sysdeps/ia64/bits/byteswap.h: Likewise.
56982         * sysdeps/s390/bits/byteswap.h: Likewise.
56983         * sysdeps/x86_64/bits/byteswap.h: Likewise.
56985 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56987         [BZ #13540]
56988         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
56989         destination buffer.
56990         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
56992 2011-12-23  Marek Polacek  <polacek@redhat.com>
56994         * elf/dl-addr.c (determine_info): Add inline keyword.
56995         * elf/tst-auditmod4b.c (check_avx): Likewise.
56996         * elf/tst-auditmod6b.c (check_avx): Likewise.
56997         * elf/tst-auditmod6c.c (check_avx): Likewise.
56998         * elf/tst-auditmod7b.c (check_avx): Likewise.
57000 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57002         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
57003         !__SSE_MATH__.
57005 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57007         [BZ #13540]
57008         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
57009         processing for last bytes.
57011 2011-08-06  Bruno Haible  <bruno@clisp.org>
57013         [BZ #13061]
57014         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
57015         U+0385, not to U+1FEE.
57017         [BZ #13062]
57018         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
57019         entry for U+00A5 U+0301.
57021 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57023         [BZ #13166]
57024         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
57025         buffer for the output is too small.
57027         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
57028         optimization.
57030         [BZ #13185]
57031         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
57032         SSE flags if possible.
57034 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57036         [BZ #13540]
57037         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
57038         processing for last bytes.
57040 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
57042         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
57043         (syscall-list-default-options, syscall-list-default-condition)
57044         (syscall-list-includes): Define.
57045         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
57046         list of ABIs and options and #if conditions for each ABI.  Do not
57047         handle common syscalls between ABIs specially.
57048         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
57049         Remove.
57050         (syscall-list-variants, syscall-list-32bit-options)
57051         (syscall-list-32bit-condition, syscall-list-64bit-options)
57052         (syscall-list-64bit-condition): Define.
57053         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
57054         (syscall-list-variants, syscall-list-32bit-options)
57055         (syscall-list-32bit-condition, syscall-list-64bit-options)
57056         (syscall-list-64bit-condition): Define.
57057         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
57058         Remove.
57059         (syscall-list-variants, syscall-list-32bit-options)
57060         (syscall-list-32bit-condition, syscall-list-64bit-options)
57061         (syscall-list-64bit-condition): Define.
57062         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
57063         Remove.
57064         (syscall-list-variants, syscall-list-32bit-options)
57065         (syscall-list-32bit-condition, syscall-list-64bit-options)
57066         (syscall-list-64bit-condition): Define.
57068 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57070         * locale/iso-639.def: Add brx entry.
57072         [BZ #13328]
57073         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
57074         Proposed by Mariusz_Cukr <marcukr@op.pl>.
57076         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
57077         __feraiseexcept_renamed.
57079 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57081         [BZ #13538]
57082         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
57083         EPOLLET with unsigned values.
57084         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57085         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57087         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
57088         to large cancellation.
57089         * math/s_cacoshf.c: Likewise.
57090         * math/s_cacoshl.c: Likewise.
57092 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
57094         [BZ #13305]
57095         [BZ #12786]
57096         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
57097         * math/s_cacoshf.c: Likewise.
57098         * math/s_cacoshl.c: Likewise.
57100 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57102         [BZ #13439]
57103         * iconv/gconv.h: Define __GCONV_SWAP.
57104         * iconvdata/unicode.c: The swap bit must be stored in __flags.
57105         * iconvdata/utf-16.c: Likewise.
57106         * iconvdata/utf-32.c: Likewise.
57108 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
57110         [BZ #13524]
57111         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
57112         numerator after shifting it by one limb.
57114 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
57116         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
57117         under [__USE_EXTERN_INLINES].
57119 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57121         [BZ #13446]
57122         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
57124 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57126         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
57127         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
57128         optimized code.
57129         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
57130         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
57131         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
57132         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
57133         for strncasecmp/strncasecmp_l compilation.
57134         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
57135         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
57137 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
57139         [BZ #13484]
57140         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
57141         of __asm__.
57143 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57145         [BZ #13506]
57146         * time/tzfile.c (__tzfile_read): Check values from file header.
57148 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
57150         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
57151         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
57152         * powerpc/powerpc32/dl-start.S: Likewise.
57153         * powerpc/powerpc32/elf/start.S: Likewise.
57154         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
57155         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
57156         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
57157         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
57158         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
57159         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
57160         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
57161         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
57162         * powerpc/powerpc32/fpu/s_round.S: Likewise.
57163         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
57164         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
57165         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
57166         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
57167         * powerpc/powerpc32/memset.S: Likewise.
57168         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
57169         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57170         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57171         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57172         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57173         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
57174         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
57175         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
57176         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
57177         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
57178         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
57179         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57180         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57182 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57184         * math/libm-test.inc: Added more nearbyint tests.
57185         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
57186         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
57187         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
57188         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
57190 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
57192         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
57193         FD_CLOEXEC.
57195 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57197         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
57198         Add wcscpy-ssse3 wcscpy-c.
57199         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
57200         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
57201         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
57202         * sysdeps/x86_64/wcschr.S: New file.
57203         * sysdeps/x86_64/wcsrchr.S: New file.
57204         * string/test-strcmp.c: Remove checking of wcscmp function for
57205         wrong alignments.
57206         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
57207         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
57208         wcsrchr-sse2 wcsrchr-c.
57209         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
57210         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
57211         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
57212         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
57213         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
57214         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
57215         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
57216         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
57217         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
57218         * wcsmbc/wcschr.c (WCSCHR): New macro.
57220 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57222         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
57223         * wcsmbs/test-wcsrchr.c: New file.
57224         * string/test-strrchr.c: Add wcsrchr support.
57225         (WIDE): New macro.
57226         * wcsmbs/test-wcscpy.c: New file.
57227         * string/test-strcpy.c: Add wcscpy support.
57228         (WIDE): New macro.
57230 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
57232         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
57233         the inner loop.
57235 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
57237         [BZ #13472]
57238         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
57240 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
57242         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
57243         Minor optimizations.
57245         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
57246         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
57247         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
57249 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
57251         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
57252         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
57253         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
57254         for gcc to avoid warnings.
57255         * inet/Makefile (tests): Add tst-checks.
57256         * inet/tst-checks.c: New file.
57258         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
57259         warning.
57261         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
57262         __wmemcmp_sse2.
57264         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
57265         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
57267         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
57269 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
57271         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
57272         problem.
57274         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
57276 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
57278         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
57279         conditional on GCC version.
57280         (__arch_compare_and_exchange_val_8_acq)
57281         (__arch_compare_and_exchange_val_16_acq)
57282         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
57283         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
57284         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
57286 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
57288         * sysdeps/sh/backtrace.c: New file.
57290 2011-12-02  Andreas Schwab  <schwab@redhat.com>
57292         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
57293         parenthesis.
57295 2011-12-01  Andreas Schwab  <schwab@redhat.com>
57297         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
57298         falling back to utime.
57300 2011-11-30  Andreas Schwab  <schwab@redhat.com>
57302         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
57303         expectations for float.
57305 2011-11-29  Andreas Schwab  <schwab@redhat.com>
57307         * locale/weight.h (findidx): Add parameter len.
57308         * locale/weightwc.h (findidx): Likewise.
57309         * posix/fnmatch_loop.c (FCT): Adjust caller.
57310         * posix/regcomp.c (build_equiv_class): Likewise.
57311         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
57312         * posix/regexec.c (check_node_accept_bytes): Likewise.
57313         * string/strcoll_l.c (STRCOLL): Likewise.
57314         * string/strxfrm_l.c (STRXFRM): Likewise.
57316 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
57318         * Makefile.in: Remove CVSOPT handling.
57319         * configure.in: Remove use of AC_REVISION.
57320         * iconvdata/Makefile (distribute): No need to filter out CVS.
57321         * scripts/list-sources.sh: Remove CVS, subversion and monotone
57322         handling.
57324 2011-11-16  Andreas Schwab  <schwab@redhat.com>
57326         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
57327         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
57328         [USE_AS_STRNCASECMP_L]: Likewise.
57329         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
57330         NO_TLS_DIRECT_SEG_REFS.
57331         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
57332         Fix argument offsets for non-PIC.
57333         [USE_AS_STRNCASECMP_L]: Likewise.
57334         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
57335         NO_TLS_DIRECT_SEG_REFS.
57337 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
57339         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
57340         O_CLOEXEC.
57341         * locale/loadlocale.c (_nl_load_locale): Likewise.
57343 2011-11-15  Andreas Schwab  <schwab@redhat.com>
57345         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
57346         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
57347         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
57348         (SYSCALL_GETTIME): Set errno on error.
57350         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
57351         count references to noai6ai_cached.
57353 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
57355         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
57357         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
57358         FD_CLOEXEC for /proc/self/maps.
57360         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
57361         FD_CLOEXEC for /proc/meminfo.
57363         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
57364         gai.conf.
57366         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
57367         FD_CLOEXEC for given file.
57369         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
57371         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
57372         FD_CLOEXEC for /etc/hosts.
57373         (_gethtent): Likewise.
57375         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
57377         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
57378         cancellation and set FD_CLOEXEC for /etc/netgroup.
57380         * nss/nss_files/files-key.c (search): Don't allow cancellation when
57381         reading /etc/publickey.
57383         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
57384         allow cancellation when reading /etc/group.
57386         * nss/nss_files/files-alias.c (internal_setent): Don't allow
57387         cancellation.
57388         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
57390         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
57391         when using data file.
57393         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
57395         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
57396         (write_nis_obj): Use "c" and "e" in fopen.
57398         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
57400         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
57402         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
57404         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
57406         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
57407         locale.alias.
57409         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
57411         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
57413         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
57415         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
57416         file parsing and set FD_CLOEXEC.
57418 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
57420         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
57422 2011-11-14  Andreas Schwab  <schwab@redhat.com>
57424         * malloc/arena.c (arena_get2): Don't call reused_arena when
57425         _int_new_arena failed.
57427 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
57429         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
57430         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
57431         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
57432         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57433         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57434         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
57435         to compile strcasecmp and strncasecmp.
57436         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
57437         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
57439         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
57441 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
57443         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
57444         locale-defines.sym to gen-as-const-headers.
57445         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
57446         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
57447         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
57448         to compile strcasecmp and strncasecmp.
57449         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
57450         strcasecmp_l and strncasecmp_l.
57451         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
57452         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
57453         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
57454         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
57455         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
57456         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
57457         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
57458         * sysdeps/i386/i686/multiarch/strncase.S: New file.
57459         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
57460         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
57461         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
57463 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
57465         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
57466         result of SYSDEP_GETTIME_CPU to retval.
57467         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
57468         parameter list to macro.  Remove trailing semicolon.  Adjust users.
57470         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
57471         variable.
57473         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
57474         mantissa words.
57475         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
57477         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
57478         from unused variable.
57480         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
57481         DWARF definitions.
57482         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
57483         for assembling.
57485         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
57486         over namespaces.
57488         * sunrpc/rpc_prot.c (rejected): Fix case value.
57490         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
57491         unsigned long long int to avoid warnings in shift.
57493         * posix/regex_internal.c (re_string_reconstruct): Actually use result
57494         of use of trans.
57495         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
57496         variable tmp.
57498         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
57499         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
57500         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
57502         * nis/nis_table.c (nis_list): Use variable of correct type for
57503         result of __follow_path call.
57505 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57507         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
57508         of math functions ceil, trunc, floor, round, and sqrt, when
57509         avaliable on the platform.
57510         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
57511         name clash.
57512         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57513         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57514         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57516 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
57518         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
57519         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
57521 2011-11-11  Roland McGrath  <roland@hack.frob.com>
57523         * include/unistd.h: Fix __readlink return type.
57524         Reported by Chris Metcalf <cmetcalf@tilera.com>.
57526 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
57528         * stdlib/ucontext.h: Undo last change for makecontext.
57530 2011-11-11  Andreas Schwab  <schwab@redhat.com>
57532         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
57534         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
57535         * setjmp/setjmp.h: Mark functions as non-leaf.
57536         * setjmp/bits/setjmp2.h: Likewise.
57537         * stdlib/ucontext.h: Likewise.
57539 2011-11-10  Andreas Schwab  <schwab@redhat.com>
57541         * malloc/arena.c (_int_new_arena): Don't increment narenas.
57542         (reused_arena): Don't check arena limit.
57543         (arena_get2): Atomically check arena limit.
57545 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
57547         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
57548         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
57550         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
57551         instructions.
57553 2011-11-07  Andreas Schwab  <schwab@redhat.com>
57555         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
57556         handler when locking.
57558         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57559         Fix size of allocated buffer.
57561 2011-11-04  Andreas Schwab  <schwab@redhat.com>
57563         [BZ #10103]
57564         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
57565         declarations for long double functions.
57566         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
57568         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
57570 2011-11-03  Andreas Schwab  <schwab@redhat.com>
57572         * nscd/nscd.c (main): Don't start AVC thread until credentials are
57573         installed.
57575         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
57576         is disabled.
57578 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57580         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
57582 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
57584         * include/alloca.h (stackinfo_alloca_round): Define.
57585         (extend_alloca): Use it.
57586         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
57587         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
57588         here.
57590         * scripts/check-local-headers.sh: Ignore libaudit.h.
57592         * nscd/Makefile (extra-objs): Make recursively expanded.
57594 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
57596         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
57597         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
57599         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
57600         * posix/tst-rfc3484-2.c: Likewise.
57601         * posix/tst-rfc3484-3.c: Likewise.
57603         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
57604         process_vm_writev.
57605         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
57606         process_vm_writev.
57607         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
57608         process_vm_writev from libc using GLIBC_2.15 version.
57610         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
57612 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
57614         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
57615         stack usage.
57617 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
57619         [BZ #13367]
57620         * nss/getent.c (initgroups_keys): Show error message in case no group
57621         names are given.
57623         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
57624         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
57625         __bump_nl_timestamp.
57626         * nscd/connections (nscd_init): When host database is served open
57627         netlink socket and request notification about configuration changes.
57628         (main_loop_poll): Track netlink file descriptor and bump timestamp
57629         in case data becomes available.
57630         (main_loop_epoll): Likewise.
57631         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
57632         (database_pers_head): Add extra_data fileds.
57633         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
57634         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
57635         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
57636         Adjust caller.
57637         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
57638         in6ai data, call __free_in6ai.
57639         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
57640         Add -DHAVE_NETLINK.
57641         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
57642         interface information.  Reuse previous data if netlink timestamp
57643         is not changed.
57644         (__bump_nl_timestamp): New function.
57645         (__free_in6ai): New function.
57647 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
57649         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
57650         close_not_cancel_no_status here.
57651         (__check_pf): Reorganize code a bit to not call close twice if OOM.
57653 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
57655         [BZ #13276]
57656         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
57657         return value.
57659         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
57660         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
57661         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
57663 2011-07-03  Andreas Jaeger  <aj@suse.de>
57665         [BZ #10709]
57666         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
57667         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
57668         * math/libm-test.inc (sin_test): Add test case.
57670 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
57672         [BZ #13337]
57673         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
57674         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57676         * elf/chroot_canon.c (chroot_canon): Cleanups.
57678         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
57680         [BZ #13335]
57681         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
57682         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57684         * string/test-strchr.c: Make usable for strchrnul testing.
57685         * string/test-strchrnul.c: New file.
57686         * string/Makefile (strop-tests): Add strchrnul.
57688         * po/it.po: Update from translation team.
57689         * po/es.po: Likewise.
57691 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
57693         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
57694         the three constants needed as parameters.  Drop the others.
57695         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
57696         __m128i_strloadu_tolower.
57697         Create and initialize variable zero and use it in all the places
57698         where _mm_setzero_si128 was used.
57700         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
57701         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
57702         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
57703         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
57704         anymore.
57705         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
57706         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
57707         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
57708         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
57709         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
57710         __mpranred, __mptan.
57711         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
57712         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
57713         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
57714         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
57715         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
57716         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
57717         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
57718         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
57719         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
57721 2011-10-28  Andreas Schwab  <schwab@redhat.com>
57723         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
57724         redefine if SHARED.
57725         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
57727         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
57728         wide char related routines to wcsmbs subdir.
57730 2011-10-27  Andreas Schwab  <schwab@redhat.com>
57732         [BZ #13344]
57733         * misc/sys/cdefs.h (__THROWNL): Define.
57734         * posix/unistd.h: Use __THREADNL instead of __THREAD
57735         for memory synchronization functions.
57737 2011-10-26  Roland McGrath  <roland@hack.frob.com>
57739         [BZ #13349]
57740         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
57741         doesn't exist.
57742         * manual/stdio.texi (Obstack Streams): Node removed.
57744 2011-10-26  Andreas Schwab  <schwab@redhat.com>
57746         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
57747         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57748         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57750         * math/math_private.h (math_force_eval): Allow non-addressable
57751         arguments.
57752         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
57754 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57756         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
57757         file is not needed.
57759         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
57760         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
57761         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57762         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57763         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57764         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57765         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57766         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
57767         Add AVX variants.
57768         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
57769         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
57770         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
57771         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
57772         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
57773         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
57774         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
57775         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
57776         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
57777         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
57778         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
57779         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
57780         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
57781         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
57782         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
57783         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
57784         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
57785         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
57786         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
57788         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
57789         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
57791         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
57792         place.  Use VEX encoding when compiling for AVX.
57794 2011-10-25  Andreas Schwab  <schwab@redhat.com>
57796         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
57797         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
57799         * string/test-strchr.c (do_test): Don't generate NUL bytes.
57801 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57803         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
57804         useless if() expression.
57805         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57806         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
57807         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57808         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57809         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57810         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57811         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57812         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57813         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
57814         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57815         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57816         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57817         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
57818         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57819         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
57820         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57821         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57822         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57823         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
57825         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
57827 2011-10-25  Andreas Schwab  <schwab@redhat.com>
57829         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
57830         condition.
57831         * elf/dl-fini.c (_dl_sort_fini): Likewise.
57833 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57835         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
57836         .text section.  Avoid duplicate constants.
57837         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
57838         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57839         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57840         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57841         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57842         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57843         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57844         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57845         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57846         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
57847         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57848         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57849         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
57850         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
57851         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
57852         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
57853         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
57854         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57855         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57856         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57857         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57858         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57859         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
57860         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
57861         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
57862         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
57863         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
57864         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
57865         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
57866         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
57867         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
57868         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
57869         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57870         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
57871         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
57872         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
57873         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
57874         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
57875         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
57876         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
57877         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
57878         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
57879         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
57880         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
57881         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
57883 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
57885         * sysdeps/x86_64/dla.h: Move to ...
57886         * sysdeps/x86_64/fpu/dla.h: ...here.
57887         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
57888         situations.  Use __builtin_fma only for gcc 4.6 and up.
57890         * config.make.in: Add have-mfma4 entry.
57891         * configure.in: Substitute libc_cv_cc_fma4.
57892         * math/Makefile (dbl-only-routines): Add sincostab.
57893         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
57894         Use __sincostab not sincos.
57895         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
57896         name is a macro.
57897         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57898         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57899         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57900         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
57901         using __copysign.
57902         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
57903         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
57904         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
57905         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
57906         and __inv.
57907         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
57908         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
57909         __copysign.
57910         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
57911         define aliases when function name is a macro.
57912         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
57913         sysdeps/ieee754/dbl-64/sincos.tbl.
57914         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
57915         fma4-enabled routines.
57916         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
57917         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
57918         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
57919         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
57920         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
57921         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
57922         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
57923         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
57924         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
57925         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
57926         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
57927         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
57928         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
57929         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
57930         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
57931         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
57932         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
57933         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
57934         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
57935         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
57936         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
57937         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
57938         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
57939         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
57940         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
57941         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
57942         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
57943         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
57944         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
57945         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
57947         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
57948         rename.
57949         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57950         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57951         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57952         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57953         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57954         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57955         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57956         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57958 2011-10-24  Andreas Schwab  <schwab@redhat.com>
57960         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
57962 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
57964         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
57966         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
57967         prediction.
57968         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
57970         * string/strnlen.c: Don't define STRNLEN, reverse logic.
57971         Remove unused variable magic_bits.
57972         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
57974         * string/strnlen.c: Define and use STRNLEN macro.
57975         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
57976         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
57977         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
57978         * wcsmbs/wcslen.c: Define and use WCSLEN.
57979         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
57980         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
57981         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
57982         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
57983         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
57984         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
57985         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57987 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57989         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57990         strnlen-sse2-no-bsf.
57991         Rename strlen-no-bsf to strlen-sse2-no-bsf.
57992         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
57993         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
57994         Add strnlen support.
57995         (USE_AS_STRNLEN): New macro.
57996         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
57997         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
57998         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
57999         * sysdeps/x86_64/wcslen.S: New file.
58001 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
58003         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
58004         XMM-moves are used for copying on small sizes.
58006 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58008         * wcsmbs/Makefile (strop-tests): Add wcschr.
58009         * wcsmbs/test-wcschr.c: New file.
58010         * string/test-strchr.c: Update.
58011         Add wcschr support.
58012         (WIDE): New macro.
58014 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58016         * wcsmbs/Makefile (strop-tests): Add wcslen.
58017         * wcsmbs/test-wcslen.c: New file.
58018         * string/test-strlen.c: Update.
58019         Add wcslen support.
58020         (WIDE): New macro.
58022 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58024         * po/it.po: Update from translation team.
58026 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58028         * sysdeps/x86_64/wcscmp.S: Update.
58029         Fix wrong comparison semantics.
58030         wcscmp shall use signed comparison not unsigned.
58031         Don't use substraction to avoid overflow bug.
58032         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
58033         * wcsmbc/wcscmp.c: Likewise.
58034         * string/test-strcmp.c: Likewise.
58035         Add new tests to check cases with negative values.
58037 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58039         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
58040         * sysdeps/x86_64/dla.h: ...here.  New file.
58041         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
58042         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58043         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58044         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58045         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58046         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58047         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58048         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58049         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58051 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
58053         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
58054         __ynl_finite aliases.
58056 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58058         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58060         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
58061         define DLA_FMA.
58062         [DLA_FMA] (EMULV): Use DLA_FMA.
58063         [DLA_FMA] (MUL12): Use EMULV.
58064         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
58065         that are not needed.
58066         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58067         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58068         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58069         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58070         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58071         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58072         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58074 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
58076         * math/s_nan.c: Undef __nan.
58077         * math/s_nanf.c: Undef __nanf.
58078         * math/s_nanl.c: Undef __nanl.
58079         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
58080         "math_private.h".
58082 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58084         * math/s_catan.c: Add branch predictions.
58085         * math/s_catanf.c: Likewise.
58086         * math/s_catanh.c: Likewise.
58087         * math/s_catanhf.c: Likewise.
58088         * math/s_catanhl.c: Likewise.
58089         * math/s_catanl.c: Likewise.
58090         * math/s_cexp.c: Likewise.
58091         * math/s_cexpf.c: Likewise.
58092         * math/s_cexpl.c: Likewise.
58093         * math/s_clog.c: Likewise.
58094         * math/s_clog10.c: Likewise.
58095         * math/s_clog10f.c: Likewise.
58096         * math/s_clog10l.c: Likewise.
58097         * math/s_clogf.c: Likewise.
58098         * math/s_clogl.c: Likewise.
58099         * math/s_csqrt.c: Likewise.
58100         * math/s_csqrtf.c: Likewise.
58101         * math/s_csqrtl.c: Likewise.
58102         * math/s_ctanf.c: Likewise.
58103         * math/s_ctanh.c: Likewise.
58104         * math/s_ctanhf.c: Likewise.
58105         * math/s_ctanhl.c: Likewise.
58106         * math/s_ctanl.c: Likewise.
58108         * math/math_private.h: Define __nan, __nanf, __nanl.
58109         * math/s_cacosh.c: Include <math_private.h>.
58110         * math/s_cacoshl.c: Likewise.
58111         * math/s_casinh.c: Likewise.
58112         * math/s_casinhf.c: Likewise.
58113         * math/s_casinhl.c: Likewise.
58114         * math/s_ccos.c: Rely entire on ccosh.
58115         * math/s_ccosf.c: Rely entire on ccoshf.
58116         * math/s_ccosl.c: Rely entirely on ccoshl.
58117         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
58118         Remove tests for FE_INVALID.
58119         * math/s_ccoshf.c: Likewise.
58120         * math/s_ccoshl.c: Likewise.
58121         * math/s_csin.c: Likewise.
58122         * math/s_csinf.c: Likewise.
58123         * math/s_csinh.c Likewise.
58124         * math/s_csinhf.c: Likewise.
58125         * math/s_csinhl.c: Likewise.
58126         * math/s_csinl.c: Likewise.
58127         * math/s_ctan.c: Likewise.
58128         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
58129         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
58130         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
58132 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
58134         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
58135         compilation problems.
58137         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
58138         __builtin_expect.
58140 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
58142         * sysdeps/i386/configure.in: Test for -mfma4 option.
58143         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
58144         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
58145         COMMON_CPUID_INDEX_80000001.
58146         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
58147         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
58148         use it if FMA3 is not supported.
58149         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
58151         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
58152         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
58154 2011-10-20  Andreas Schwab  <schwab@redhat.com>
58156         [BZ #12892]
58157         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
58158         it would create a cycle with a link time dependency.
58160 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
58162         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
58163         instruction.
58164         * string/Makefile (strop-tests): Add rawmemchr.
58165         * string/test-rawmemchr.c: New file.
58167         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
58168         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
58169         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
58170         when compiling str{,n}casecmp and when AVX is available.  Hook up
58171         new optimized code in initializers.
58173 2011-10-19  Andreas Schwab  <schwab@redhat.com>
58175         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
58176         __feraiseexcept instead of feraiseexcept.
58178 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
58180         * math/math_private.h: Define defaults for libc_fetestexcept and
58181         libc_feupdateenv.
58182         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
58183         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
58184         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58185         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58186         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
58187         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58188         libc_fetestexcept and libc_feupdateenv.
58190         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
58191         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
58192         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
58193         * sysdeps/x86_64/fpu/math_private.h: Define special version of
58194         libc_feholdexcept_setround.
58196         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
58197         Add s_nearbyint-c and s_nearbyintf-c.
58198         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
58199         nearbyintf inlines.
58200         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
58201         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
58202         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
58203         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
58205         * math/math_private.h: Define defaults for libc_fegetround,
58206         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
58207         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
58208         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
58209         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
58210         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
58211         standard functions.
58212         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58213         Remove comments and hacks for old compiler versions.
58214         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58215         libc_fegetround, libc_fesetround, libc_feholdexcept, and
58216         libc_feholdexceptl.
58218 2011-10-18  Andreas Schwab  <schwab@redhat.com>
58220         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
58221         (__feraiseexcept_renamed): Add __NTH.
58222         (feraiseexcept): Add __NTH.  Rename local variables to fix
58223         namespace violations.
58225 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
58227         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
58229         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
58231         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
58232         recently added interfaces.
58233         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
58235         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
58236         about macro parameter expansion.
58238         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
58239         __NO_MATH_INLINES is defined.  Cleanups.
58241         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
58242         and __floorf is target has SSE4.1.
58243         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
58244         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
58245         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
58246         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
58248         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
58249         name.
58250         (floorf): Likewise.
58252         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
58254 2011-10-17  Andreas Schwab  <schwab@redhat.com>
58256         * misc/sys/cdefs.h: Fix last change.
58258         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
58259         database lookup.
58261 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
58263         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
58265         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
58266         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58267         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
58268         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58269         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58270         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
58271         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58272         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58273         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
58274         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
58275         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
58276         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
58277         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
58278         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
58279         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
58280         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
58281         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
58282         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
58283         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
58284         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
58285         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
58286         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
58288         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
58289         ceil, ceilf, floor, floorf.
58291         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
58292         Perform IRELATIVE relocations last.
58294         * elf/do-rel.h: Add another parameter nrelative, replacing the
58295         local variable with the same name.  Change name of the function
58296         to end in Rel or Rela (uppercase).
58297         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
58298         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
58299         elf_dynamic_do_##reloc function.
58301 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
58303         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
58304         is sufficient, at least on modern CPUs.
58306         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
58308         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
58309         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
58311         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
58312         __expl_finite.
58313         * math/bits/math-finite.h: Add entries for exp.
58314         * math/e_expl.c: Add __*_finite alias.
58315         * sysdeps/i386/fpu/e_exp.S: Likewise.
58316         * sysdeps/i386/fpu/e_expf.S: Likewise.
58317         * sysdeps/i386/fpu/e_expl.c: Likewise.
58318         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58319         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58320         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
58321         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58322         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
58323         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
58324         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
58326         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
58327         is sufficient, at least on modern CPUs.
58329         * ctype/ctype-info.c (__ctype_init): Define.
58330         * include/ctype.h (__ctype_init): Declare.
58331         (__ctype_b_loc): The variable is always initialized.
58332         (__ctype_toupper_loc): Likewise.
58333         (__ctype_tolower_loc): Likewise.
58334         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
58335         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
58337 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
58339         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
58341         * configure.in: Also look in $cxxmachine/include for C++ system
58342         headers.
58344 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58346         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
58347         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
58348         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
58349         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
58350         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
58351         (USE_AS_WMEMCMP): New macro.
58352         Fixing indents.
58353         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
58354         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
58355         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
58356         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
58357         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58358         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
58359         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
58360         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
58361         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
58362         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
58363         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
58364         (USE_AS_WMEMCMP): New macro.
58365         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
58366         * sysdeps/string/test-memcmp.c: Update.
58367         Fix simple_wmemcmp.
58368         Add new tests.
58369         * wcsmbs/wmemcmp.c: Update.
58370         (WMEMCMP): New macro.
58371         Fix overflow bug.
58373 2011-10-12  Andreas Jaeger  <aj@suse.de>
58375         [BZ #13268]
58376         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
58378 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
58380         * libio/iofwide.c (do_length): Avoid warning.
58382         * ctype/ctype.h (__isctype_f): Add missing __THROW.
58384 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
58386         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
58388         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
58389         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
58390         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
58391         * sysdeps/i386/i686/fpu/e_log.S: New file.
58392         * sysdeps/i386/i686/fpu/e_logf.S: New file.
58393         * sysdeps/i386/i686/fpu/e_logl.S: New file.
58395         * ctype/ctype.h: Add support for inlined isXXX functions when
58396         compiling C++ code.
58398 2011-10-14  Andreas Schwab  <schwab@redhat.com>
58400         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58402         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
58404 2011-10-13  Roland McGrath  <roland@hack.frob.com>
58406         [BZ #13291]
58407         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
58409 2011-10-13  Andreas Schwab  <schwab@redhat.com>
58411         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
58412         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
58413         feraiseexcept.
58415         * sysdeps/x86_64/memrchr.S: Check for zero size.
58417         * string/stratcliff.c: Add memrchr tests.
58419 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58421         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58422         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
58423         rawmemchr-sse2 rawmemchr-sse2-bsf.
58424         * sysdeps/i386/i686/multiarch/memchr.S: New file.
58425         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
58426         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
58427         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
58428         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
58429         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
58430         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
58431         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
58432         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
58433         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
58434         * string/memrchr.c (MEMRCHR): New macro.
58436 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
58438         Add integration with gcc's -ffinite-math-only and optimize wrapper
58439         functions in libm.
58440         * Versions.def: Define GLIBC_2.15 version for libm.
58441         * math/Makefile (headers): Add bits/math-finite.h.
58442         * math/bits/math-finite.h: New file.
58443         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
58444         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
58445         * math/e_acoshl.c: Add __*_finite alias.
58446         * math/e_acosl.c: Likewise.
58447         * math/e_asinl.c: Likewise.
58448         * math/e_atan2l.c: Likewise.
58449         * math/e_atanhl.c: Likewise.
58450         * math/e_coshl.c: Likewise.
58451         * math/e_exp10.c: Likewise.
58452         * math/e_exp10f.c: Likewise.
58453         * math/e_exp10l.c: Likewise.
58454         * math/e_exp2l.c: Likewise.
58455         * math/e_fmodl.c: Likewise.
58456         * math/e_gammal_r.c: Likewise.
58457         * math/e_hypotl.c: Likewise.
58458         * math/e_j0l.c: Likewise.
58459         * math/e_j1l.c: Likewise.
58460         * math/e_jnl.c: Likewise.
58461         * math/e_lgammal_r.c: Likewise.
58462         * math/e_log10l.c: Likewise.
58463         * math/e_log2l.c: Likewise.
58464         * math/e_logl.c: Likewise.
58465         * math/e_powl.c: Likewise.
58466         * math/e_sinhl.c: Likewise.
58467         * math/e_sqrtl.c: Likewise.
58468         * math/e_scalb.c: Completely rewritten and optimized.
58469         * math/e_scalbf.c: Likewise.
58470         * math/e_scalbl.c: Likewise.
58471         * math/w_acos.c: Likewise.
58472         * math/w_acosf.c: Likewise.
58473         * math/w_acosl.c: Likewise.
58474         * math/w_acosh.c: Likewise.
58475         * math/w_acoshf.c: Likewise.
58476         * math/w_acoshl.c: Likewise.
58477         * math/w_asin.c: Likewise.
58478         * math/w_asinf.c: Likewise.
58479         * math/w_asinl.c: Likewise.
58480         * math/w_atan2.c: Likewise.
58481         * math/w_atan2f.c: Likewise.
58482         * math/w_atan2l.c: Likewise.
58483         * math/w_atanh.c: Likewise.
58484         * math/w_atanhf.c: Likewise.
58485         * math/w_atanhl.c: Likewise.
58486         * math/w_exp10.c: Likewise.
58487         * math/w_exp10f.c: Likewise.
58488         * math/w_exp10l.c: Likewise.
58489         * math/w_fmod.c: Likewise.
58490         * math/w_fmodf.c: Likewise.
58491         * math/w_fmodl.c: Likewise.
58492         * math/w_j0.c: Likewise.
58493         * math/w_j0f.c: Likewise.
58494         * math/w_j0l.c: Likewise.
58495         * math/w_j1.c: Likewise.
58496         * math/w_j1f.c: Likewise.
58497         * math/w_j1l.c: Likewise.
58498         * math/w_jn.c: Likewise.
58499         * math/w_jnf.c: Likewise.
58500         * math/w_log.c: Likewise.
58501         * math/w_logf.c: Likewise.
58502         * math/w_logl.c: Likewise.
58503         * math/w_log10.c: Likewise.
58504         * math/w_log10f.c: Likewise.
58505         * math/w_log10l.c: Likewise.
58506         * math/w_log2.c: Likewise.
58507         * math/w_log2f.c: Likewise.
58508         * math/w_log2l.c: Likewise.
58509         * math/w_pow.c: Likewise.
58510         * math/w_powf.c: Likewise.
58511         * math/w_powl.c: Likewise.
58512         * math/w_remainder.c: Likewise.
58513         * math/w_remainderf.c: Likewise.
58514         * math/w_remainderl.c: Likewise.
58515         * math/w_scalb.c: Likewise.
58516         * math/w_scalbf.c: Likewise.
58517         * math/w_scalbl.c: Likewise.
58518         * math/w_sqrt.c: Likewise.
58519         * math/w_sqrtf.c: Likewise.
58520         * math/w_sqrtl.c: Likewise.
58521         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
58522         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
58523         used.
58524         * math/math_private.h: Declare __kernel_standard_f.
58525         * math/w_cosh.c: Remove cruft and optimize a bit.
58526         * math/w_coshf.c: Likewise.
58527         * math/w_coshl.c: Likewise.
58528         * math/w_exp2.c: Likewise.
58529         * math/w_exp2f.c: Likewise.
58530         * math/w_exp2l.c: Likewise.
58531         * math/w_hypot.c: Likewise.
58532         * math/w_hypotf.c: Likewise.
58533         * math/w_hypotl.c: Likewise.
58534         * math/w_lgamma.c: Likewise.
58535         * math/w_lgamma_r.c: Likewise.
58536         * math/w_lgammaf.c: Likewise.
58537         * math/w_lgammaf_r.c: Likewise.
58538         * math/w_lgammal.c: Likewise.
58539         * math/w_lgammal_r.c: Likewise.
58540         * math/w_sinh.c: Likewise.
58541         * math/w_sinhf.c: Likewise.
58542         * math/w_sinhl.c: Likewise.
58543         * math/w_tgamma.c: Likewise.
58544         * math/w_tgammaf.c: Likewise.
58545         * math/w_tgammal.c: Likewise.
58546         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
58547         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58548         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
58549         Minor optimizations.  Pretty printing.  Remove cruft.
58550         * sysdeps/i386/fpu/e_acosf.S: Likewise.
58551         * sysdeps/i386/fpu/e_acosh.S: Likewise.
58552         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58553         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58554         * sysdeps/i386/fpu/e_acosl.c: Likewise.
58555         * sysdeps/i386/fpu/e_asin.S: Likewise.
58556         * sysdeps/i386/fpu/e_asinf.S: Likewise.
58557         * sysdeps/i386/fpu/e_atan2.S: Likewise.
58558         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
58559         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
58560         * sysdeps/i386/fpu/e_atanh.S: Likewise.
58561         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58562         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58563         * sysdeps/i386/fpu/e_exp10.S: Likewise.
58564         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
58565         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
58566         * sysdeps/i386/fpu/e_exp2.S: Likewise.
58567         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
58568         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
58569         * sysdeps/i386/fpu/e_fmod.S: Likewise.
58570         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
58571         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
58572         * sysdeps/i386/fpu/e_hypot.S: Likewise.
58573         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
58574         * sysdeps/i386/fpu/e_log.S: Likewise.
58575         * sysdeps/i386/fpu/e_log10.S: Likewise.
58576         * sysdeps/i386/fpu/e_log10f.S: Likewise.
58577         * sysdeps/i386/fpu/e_log10l.S: Likewise.
58578         * sysdeps/i386/fpu/e_log2.S: Likewise.
58579         * sysdeps/i386/fpu/e_log2f.S: Likewise.
58580         * sysdeps/i386/fpu/e_log2l.S: Likewise.
58581         * sysdeps/i386/fpu/e_logf.S: Likewise.
58582         * sysdeps/i386/fpu/e_logl.S: Likewise.
58583         * sysdeps/i386/fpu/e_pow.S: Likewise.
58584         * sysdeps/i386/fpu/e_powf.S: Likewise.
58585         * sysdeps/i386/fpu/e_powl.S: Likewise.
58586         * sysdeps/i386/fpu/e_remainder.S: Likewise.
58587         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
58588         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
58589         * sysdeps/i386/fpu/e_scalb.S: Likewise.
58590         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58591         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58592         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
58593         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
58594         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
58595         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
58596         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58597         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58598         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
58599         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58600         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
58601         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
58602         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
58603         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58604         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
58605         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
58606         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
58607         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58608         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
58609         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
58610         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58611         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
58612         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
58613         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58614         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58615         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
58616         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
58617         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
58618         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
58619         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
58620         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
58621         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58622         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
58623         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
58624         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
58625         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
58626         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
58627         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58628         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
58629         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
58630         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
58631         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
58632         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
58633         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
58634         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
58635         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
58636         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
58637         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
58638         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
58639         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
58640         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
58641         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
58642         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
58643         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
58644         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
58645         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
58646         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
58647         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
58648         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58649         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
58650         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
58651         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
58652         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
58653         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
58654         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
58655         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
58656         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
58657         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
58658         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
58659         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
58660         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
58661         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
58662         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
58663         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
58664         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
58665         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
58666         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
58667         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
58668         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
58669         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
58670         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
58671         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
58672         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
58673         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
58674         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
58675         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
58676         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
58677         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
58678         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
58679         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
58680         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
58681         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58682         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
58683         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
58684         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
58685         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
58686         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
58687         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
58688         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
58689         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58690         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
58691         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
58692         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
58693         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
58694         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
58695         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
58696         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
58697         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
58698         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
58699         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58700         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58701         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58702         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58703         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
58704         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58705         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
58706         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
58707         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
58708         (__isnanf): Likewise.
58709         (__isinf_ns): Likewise.
58710         (__isinf_nsf): Likewise.
58711         (__finite): Likewise.
58712         (__finitef): Likewise.
58713         (__ieee754_sqrt): Define as macro.
58714         (__ieee754_sqrtf): Define as macro.
58715         (__ieee754_sqrtl): Define as macro.
58716         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
58717         inlined copy.
58718         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
58719         __FINITE_MATH_ONLY__ consistent.
58720         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
58722 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
58724         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
58725         of rawmemchr.
58727         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
58729 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
58731         * po/ja.po: Update from translation team.
58733 2011-10-08  Roland McGrath  <roland@hack.frob.com>
58735         * locale/programs/locarchive.c (prepare_address_space): New function.
58736         (create_archive, enlarge_archive, open_archive): Use it.
58738         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
58739         inside [SHARED], where it is used.
58741         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
58743         * nss/getent.c (netgroup_keys): Remove unused variable.
58744         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
58746 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
58748         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
58749         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
58750         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
58751         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
58752         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
58753         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
58754         * math/Makefile (libm-calls): Add s_isinf_ns.
58755         * math/divtc3.c: Use __isinf_nsl instead of isinf.
58756         * math/multc3.c: Likewise.
58757         * math/s_casin.c: Likewise.
58758         * math/s_casinf.c: Likewise.
58759         * math/s_casinl.c: Likewise.
58760         * math/s_ccos.c: Likewise.
58761         * math/s_ccosf.c: Likewise.
58762         * math/s_ccosl.c: Likewise.
58763         * math/s_ctan.c: Likewise.
58764         * math/s_ctanf.c: Likewise.
58765         * math/s_ctanh.c: Likewise.
58766         * math/s_ctanhf.c: Likewise.
58767         * math/s_ctanhl.c: Likewise.
58768         * math/s_ctanl.c: Likewise.
58769         * math/w_fmod.c: Likewise.
58770         * math/w_fmodf.c: Likewise.
58771         * math/w_fmodl.c: Likewise.
58772         * math/w_remainder.c: Likewise.
58773         * math/w_remainderf.c: Likewise.
58774         * math/w_remainderl.c: Likewise.
58775         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
58776         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
58777         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
58778         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
58779         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
58780         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
58781         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
58782         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
58784         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
58785         of the number.
58786         * stdio-common/printf_fphex.c: Likewise.
58787         * stdio-common/printf_size.c: Likewise.
58789         * math/e_exp10.c: Include math_private.h using <...> not "...".
58790         * math/e_exp10f.c: Likewise.
58791         * math/e_exp10l.c: Likewise.
58792         * math/e_exp2l.c: Likewise.
58793         * math/e_j0l.c: Likewise.
58794         * math/e_j1l.c: Likewise.
58795         * math/e_jnl.c: Likewise.
58796         * math/e_lgammal_r.c: Likewise.
58797         * math/e_rem_pio2l.c: Likewise.
58798         * math/e_scalb.c: Likewise.
58799         * math/e_scalbf.c: Likewise.
58800         * math/e_scalbl.c: Likewise.
58801         * math/k_cosl.c: Likewise.
58802         * math/k_sinl.c: Likewise.
58803         * math/k_tanl.c: Likewise.
58804         * math/s_cacoshf.c: Likewise.
58805         * math/s_catan.c: Likewise.
58806         * math/s_catanf.c: Likewise.
58807         * math/s_catanh.c: Likewise.
58808         * math/s_catanhf.c: Likewise.
58809         * math/s_catanhl.c: Likewise.
58810         * math/s_catanl.c: Likewise.
58811         * math/s_ccosh.c: Likewise.
58812         * math/s_ccoshf.c: Likewise.
58813         * math/s_ccoshl.c: Likewise.
58814         * math/s_cexp.c: Likewise.
58815         * math/s_cexpf.c: Likewise.
58816         * math/s_cexpl.c: Likewise.
58817         * math/s_clog.c: Likewise.
58818         * math/s_clog10.c: Likewise.
58819         * math/s_clog10f.c: Likewise.
58820         * math/s_clog10l.c: Likewise.
58821         * math/s_clogf.c: Likewise.
58822         * math/s_clogl.c: Likewise.
58823         * math/s_csin.c: Likewise.
58824         * math/s_csinf.c: Likewise.
58825         * math/s_csinh.c: Likewise.
58826         * math/s_csinhf.c: Likewise.
58827         * math/s_csinhl.c: Likewise.
58828         * math/s_csinl.c: Likewise.
58829         * math/s_csqrt.c: Likewise.
58830         * math/s_csqrtf.c: Likewise.
58831         * math/s_csqrtl.c: Likewise.
58832         * math/s_ctan.c: Likewise.
58833         * math/s_ctanf.c: Likewise.
58834         * math/s_ctanh.c: Likewise.
58835         * math/s_ctanhf.c: Likewise.
58836         * math/s_ctanhl.c: Likewise.
58837         * math/s_ctanl.c: Likewise.
58838         * math/s_ldexp.c: Likewise.
58839         * math/s_ldexpf.c: Likewise.
58840         * math/s_ldexpl.c: Likewise.
58841         * math/s_significand.c: Likewise.
58842         * math/s_significandf.c: Likewise.
58843         * math/s_significandl.c: Likewise.
58844         * math/w_acos.c: Likewise.
58845         * math/w_acosf.c: Likewise.
58846         * math/w_acosh.c: Likewise.
58847         * math/w_acoshf.c: Likewise.
58848         * math/w_acoshl.c: Likewise.
58849         * math/w_acosl.c: Likewise.
58850         * math/w_asin.c: Likewise.
58851         * math/w_asinf.c: Likewise.
58852         * math/w_asinl.c: Likewise.
58853         * math/w_atan2.c: Likewise.
58854         * math/w_atan2f.c: Likewise.
58855         * math/w_atan2l.c: Likewise.
58856         * math/w_atanh.c: Likewise.
58857         * math/w_atanhf.c: Likewise.
58858         * math/w_atanhl.c: Likewise.
58859         * math/w_cosh.c: Likewise.
58860         * math/w_coshf.c: Likewise.
58861         * math/w_coshl.c: Likewise.
58862         * math/w_dremf.c: Likewise.
58863         * math/w_exp10.c: Likewise.
58864         * math/w_exp10f.c: Likewise.
58865         * math/w_exp10l.c: Likewise.
58866         * math/w_exp2.c: Likewise.
58867         * math/w_exp2f.c: Likewise.
58868         * math/w_fmod.c: Likewise.
58869         * math/w_fmodf.c: Likewise.
58870         * math/w_fmodl.c: Likewise.
58871         * math/w_hypot.c: Likewise.
58872         * math/w_hypotf.c: Likewise.
58873         * math/w_hypotl.c: Likewise.
58874         * math/w_j0.c: Likewise.
58875         * math/w_j0f.c: Likewise.
58876         * math/w_j0l.c: Likewise.
58877         * math/w_j1.c: Likewise.
58878         * math/w_j1f.c: Likewise.
58879         * math/w_j1l.c: Likewise.
58880         * math/w_jn.c: Likewise.
58881         * math/w_jnf.c: Likewise.
58882         * math/w_jnl.c: Likewise.
58883         * math/w_lgamma.c: Likewise.
58884         * math/w_lgamma_r.c: Likewise.
58885         * math/w_lgammaf.c: Likewise.
58886         * math/w_lgammaf_r.c: Likewise.
58887         * math/w_lgammal.c: Likewise.
58888         * math/w_lgammal_r.c: Likewise.
58889         * math/w_log.c: Likewise.
58890         * math/w_log10.c: Likewise.
58891         * math/w_log10f.c: Likewise.
58892         * math/w_log10l.c: Likewise.
58893         * math/w_log2.c: Likewise.
58894         * math/w_log2f.c: Likewise.
58895         * math/w_log2l.c: Likewise.
58896         * math/w_logf.c: Likewise.
58897         * math/w_logl.c: Likewise.
58898         * math/w_pow.c: Likewise.
58899         * math/w_powf.c: Likewise.
58900         * math/w_powl.c: Likewise.
58901         * math/w_remainder.c: Likewise.
58902         * math/w_remainderf.c: Likewise.
58903         * math/w_remainderl.c: Likewise.
58904         * math/w_scalb.c: Likewise.
58905         * math/w_scalbf.c: Likewise.
58906         * math/w_scalbl.c: Likewise.
58907         * math/w_sinh.c: Likewise.
58908         * math/w_sinhf.c: Likewise.
58909         * math/w_sinhl.c: Likewise.
58910         * math/w_sqrt.c: Likewise.
58911         * math/w_sqrtf.c: Likewise.
58912         * math/w_sqrtl.c: Likewise.
58913         * math/w_tgamma.c: Likewise.
58914         * math/w_tgammaf.c: Likewise.
58915         * math/w_tgammal.c: Likewise.
58917         * po/ja.po: Update from translation team.
58919 2011-09-29  Andreas Jaeger  <aj@suse.de>
58921         [BZ #13179]
58922         * sunrpc/netname.c (netname2host): Fix logic.
58924         [BZ #6779]
58925         [BZ #6783]
58926         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
58927         correctly.
58928         * math/w_remainder.c (__remainder): Likewise.
58929         * math/w_remainderf.c (__remainderf): Likewise.
58930         * math/libm-test.inc (remainder_test): Add test cases.
58932 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58934         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
58935         sdiv_qrnnd.
58937 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
58939         * string/test-memcmp.c: Avoid unncessary #defines.
58940         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58942 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58944         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
58945         Use new sse2 version for core i3 - i7 as it's faster
58946         than sse42 version.
58947         (bit_Prefer_PMINUB_for_stringop): New.
58948         * sysdeps/x86_64/rawmemchr.S: Update.
58949         Replace with faster SSE2 version.
58950         * sysdeps/x86_64/memrchr.S: New file.
58951         * sysdeps/x86_64/memchr.S: Update.
58952         Replace with faster SSE2 version.
58954 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
58956         * elf/dl-load.c (lose): Add cast to avoid warning.
58958 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
58960         * po/ca.po: Update from translation team.
58962         * inet/getnetgrent_r.c: Hook up nscd.
58963         * nscd/Makefile (routines): Add nscd_netgroup.
58964         (nscd-modules): Add netgroupcache.
58965         (CFLAGS-netgroupcache.c): Define.
58966         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
58967         (cache_search): Add const to second parameter.
58968         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
58969         INNETGR.
58970         (dbs): Add netgrdb entry.
58971         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
58972         (verify_persistent_db): Handle netgrdb.
58973         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
58974         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
58975         GETFDNETGR.
58976         (netgroup_response_header): Define.
58977         (innetgroup_response_header): Define.
58978         (datahead): Add netgroup_response_header and innetgroup_response_header
58979         elements.
58980         * nscd/nscd.conf: Add entries for netgroup cache.
58981         * nscd/nscd.h (dbtype): Add netgrdb.
58982         (_PATH_NSCD_NETGROUP_DB): Define.
58983         (netgroup_iov_disabled): Declare.
58984         (xmalloc, xcalloc, xrealloc): Move declarations here.
58985         (cache_search): Adjust prototype.
58986         Add netgroup-related prototypes.
58987         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
58988         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
58989         (__nscd_innetgr): Declare.
58990         * nscd/selinux.c (perms): Use access_vector_t as element type and
58991         add netgroup-related initializers.
58992         * nscd/netgroupcache.c: New file.
58993         * nscd/nscd_netgroup.c: New file.
58994         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
58995         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
58996         For four parameters use innetgr.
58997         * nss/nss_files/files-init.c: Add definition and callback for netgr.
58998         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
58999         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
59000         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
59002         * nscd/connections.c (register_traced_file): Don't register file
59003         for disabled databases.
59005 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
59007         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
59009         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
59010         from tree and freeing node.
59012 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
59014         * nss/nsswitch.c (__nss_database_lookup): Handle
59015         nss_parse_service_list out of memory case.
59017 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
59019         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
59020         out of memory case.
59022 2011-10-04  Andreas Schwab  <schwab@redhat.com>
59024         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
59025         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
59026         pass it down.
59027         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
59028         elf_machine_rela, elf_machine_lazy_rel.
59029         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
59030         (ELF_DYNAMIC_DO_REL): Likewise.
59031         (ELF_DYNAMIC_DO_RELA): Likewise.
59032         (ELF_DYNAMIC_RELOCATE): Likewise.
59033         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
59034         to ELF_DYNAMIC_DO_REL.
59035         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
59036         (dl_main): In trace mode always set __RTLD_NOIFUNC.
59037         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
59038         elf_machine_rela.
59039         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
59040         skip_ifunc, don't call ifunc function if non-zero.
59041         (elf_machine_rela): Likewise.
59042         (elf_machine_lazy_rel): Likewise.
59043         (elf_machine_lazy_rela): Likewise.
59044         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
59045         (elf_machine_lazy_rel): Likewise.
59046         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
59047         Likewise.
59048         (elf_machine_lazy_rel): Likewise.
59049         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59050         Likewise.
59051         (elf_machine_lazy_rel): Likewise.
59052         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
59053         (elf_machine_lazy_rel): Likewise.
59054         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
59055         (elf_machine_lazy_rel): Likewise.
59056         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
59057         (elf_machine_lazy_rel): Likewise.
59058         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
59059         (elf_machine_lazy_rel): Likewise.
59060         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
59061         (elf_machine_lazy_rel): Likewise.
59062         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
59063         (elf_machine_lazy_rel): Likewise.
59065 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
59067         * nss/nss_files/files-init.c (_nss_files_init): Use static
59068         initialization for all the *_traced_file variables.
59070 2011-09-28  Andreas Schwab  <schwab@redhat.com>
59072         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59074 2011-09-27  Roland McGrath  <roland@hack.frob.com>
59076         [BZ #13226]
59077         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
59079 2011-09-27  Andreas Schwab  <schwab@redhat.com>
59081         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59082         Reread the line before reparsing it.
59084 2011-09-26  Andreas Schwab  <schwab@redhat.com>
59086         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
59088 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
59089             Maxim Kuvyrkov  <maxim@codesourcery.com>
59090             Joseph Myers  <joseph@codesourcery.com>
59092         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
59093         if needed for __stack_chk_guard.
59095 2011-09-19  Roland McGrath  <roland@hack.frob.com>
59097         * sysdeps/posix/spawni.c (script_execute): Always define it.
59098         It will be optimized away if unused.
59099         (maybe_script_execute): New function.
59100         (__spawni): Call it.
59102         * Makerules: Don't include tls.make.
59103         (config-tls): Always set to thread.
59104         * tls.make.c: File removed.
59106 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
59108         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
59109         * config.make.in (CPPFLAGS-config): New substituted variable.
59111 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59113         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
59115         [BZ #13192]
59116         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
59117         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
59119 2011-09-15  Roland McGrath  <roland@hack.frob.com>
59121         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
59122         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
59123         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59124         (CALL_FAIL): Likewise.
59125         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
59126         (CALL_FAIL): Macro removed.
59127         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
59129 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59131         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
59132         for __FINITE_MATH_ONLY__ == 1.
59134 2011-09-15  Andreas Schwab  <schwab@redhat.com>
59136         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
59137         __ieee754_sqrt instead of sqrt.
59138         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
59139         __ieee754_sqrtf instead of sqrtf.
59140         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
59141         __floorf instead of floorf.
59142         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
59143         __floorf, __truncf instead of floorf, truncf.
59145 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
59147         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
59149         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
59150         __extern_always_inline.
59151         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
59152         32-bit.
59154 2011-09-14  Andreas Schwab  <schwab@redhat.com>
59156         * elf/rtld.c (dl_main): Also relocate in dependency order when
59157         doing symbol dependency testing.
59159 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
59161         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59162         Always define `refsym'.
59164 2011-09-13  Andreas Schwab  <schwab@redhat.com>
59166         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
59167         (__FD_ELT): Renamed from __FDELT.
59168         * misc/bits/select2.h (__FD_ELT): Likewise.
59169         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
59170         __FD_MASK instead of __FDELT, __FDMASK.
59171         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59172         Likewise.
59173         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59174         Likewise.
59176         * elf/Makefile (gen-ldd): Fix pattern.
59178         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
59179         (init_tls): Likewise.
59181 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
59183         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
59185 2011-09-12  Andreas Schwab  <schwab@redhat.com>
59187         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
59188         `struct cmsghdr *' instead of `void *'.
59189         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
59190         Likewise.
59192 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
59194         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
59195         if non-absolute.
59196         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
59197         ldd_rewrite_script.
59199 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
59201         * configure.in: Remove --with-tls option.
59202         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
59203         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
59204         out in case it is missing.
59205         * sysdeps/ia64/elf/configure.in: Likewise.
59206         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
59207         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
59208         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
59209         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
59210         * sysdeps/sh/elf/configure.in: Likewise.
59211         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
59212         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
59213         * sysdeps/x86_64/elf/configure.in: Likewise.
59214         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
59215         * sysdeps/mach/hurd/tls.h: Likewise.
59217         [BZ #13067]
59218         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
59220         [BZ #13090]
59221         * configure.in: Fix use of AC_INIT.
59223         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
59225 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
59227         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
59228         __set_errno.
59229         * malloc/hooks.c: Likewise.
59231         [BZ #11929]
59232         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
59233         variables statically.
59234         (narenas): Initialize.
59235         (list_lock): Initialize.
59236         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
59237         initializtion of main_arena and list_lock.  Small cleanups.
59238         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
59239         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
59240         Add initializers to main_arena and mp_.
59241         (malloc_state): Remove pagesize member.  Change all users to use
59242         GLRO(dl_pagesize).
59244         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
59245         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
59246         is always initialized.
59248         * malloc/malloc.c: Removed unused configurations and dead code.
59249         * malloc/arena.c: Likewise.
59250         * malloc/hooks.c: Likewise.
59251         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
59253         * include/tls.h: Removed.  USE___THREAD must always be defined.
59254         * bits/libc-tsd.h: Don't handle !USE___THREAD.
59255         * elf/dl-libc.c: Likewise.
59256         * elf/dl-tsd.c: Likewise.
59257         * include/errno.h: Likewise.
59258         * include/netdb.h: Likewise.
59259         * include/resolv.h: Likewise.
59260         * inet/herrno-loc.c: Likewise.
59261         * inet/herrno.c: Likewise.
59262         * malloc/arena.c: Likewise.
59263         * malloc/hooks.c: Likewise.
59264         * malloc/malloc.c: Likewise.
59265         * resolv/res-state.c: Likewise.
59266         * resolv/res_libc.c: Likewise.
59267         * sysdeps/i386/dl-machine.h: Likewise.
59268         * sysdeps/ia64/dl-machine.h: Likewise.
59269         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
59270         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
59271         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
59272         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
59273         * sysdeps/sh/dl-machine.h: Likewise.
59274         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
59275         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
59276         * sysdeps/unix/i386/sysdep.S: Likewise.
59277         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
59278         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
59279         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
59280         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
59281         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
59282         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
59283         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
59284         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
59285         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
59286         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
59287         * sysdeps/unix/x86_64/sysdep.S: Likewise.
59288         * sysdeps/x86_64/dl-machine.h: Likewise.
59289         * tls.make.c: Likewise.
59291         * configure.in: Remove --with-__thread option.  Make tests for
59292         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
59293         tls_model attribute fail if no support is available.  Remove
59294         USE_IN_LIBIO.
59295         * Makeconfig: Adjust for dropped configure option.  All features are
59296         now mandatory.
59297         * Makerules: Likewise.
59298         * Versions.def: Likewise.
59299         * argp/argp-fmtstream.c: Likewise.
59300         * argp/argp-fmtstream.h: Likewise.
59301         * argp/argp-help.c: Likewise.
59302         * assert/assert.c: Likewise.
59303         * config.h.in: Likewise.
59304         * config.make.in: Likewise.
59305         * configure: Likewise.
59306         * configure.in: Likewise.
59307         * csu/Versions: Likewise.
59308         * csu/init.c: Likewise.
59309         * elf/tst-audit2.c: Likewise.
59310         * elf/tst-tls10.c: Likewise.
59311         * elf/tst-tls10.h: Likewise.
59312         * elf/tst-tls11.c: Likewise.
59313         * elf/tst-tls12.c: Likewise.
59314         * elf/tst-tls14.c: Likewise.
59315         * elf/tst-tlsmod11.c: Likewise.
59316         * elf/tst-tlsmod12.c: Likewise.
59317         * elf/tst-tlsmod13.c: Likewise.
59318         * elf/tst-tlsmod13a.c: Likewise.
59319         * elf/tst-tlsmod14a.c: Likewise.
59320         * elf/tst-tlsmod15b.c: Likewise.
59321         * elf/tst-tlsmod16a.c: Likewise.
59322         * elf/tst-tlsmod16b.c: Likewise.
59323         * elf/tst-tlsmod7.c: Likewise.
59324         * elf/tst-tlsmod8.c: Likewise.
59325         * elf/tst-tlsmod9.c: Likewise.
59326         * gmon/gmon.c: Likewise.
59327         * grp/fgetgrent_r.c: Likewise.
59328         * grp/putgrent.c: Likewise.
59329         * hurd/fopenport.c: Likewise.
59330         * include/libc-symbols.h: Likewise.
59331         * include/tls.h: Likewise.
59332         * intl/gettextP.h: Likewise.
59333         * intl/loadinfo.h: Likewise.
59334         * locale/global-locale.c: Likewise.
59335         * locale/localeinfo.h: Likewise.
59336         * mach/devstream.c: Likewise.
59337         * malloc/arena.c: Likewise.
59338         * malloc/set-freeres.c: Likewise.
59339         * misc/err.c: Likewise.
59340         * misc/getttyent.c: Likewise.
59341         * misc/mntent_r.c: Likewise.
59342         * posix/getopt.c: Likewise.
59343         * posix/wordexp.c: Likewise.
59344         * pwd/fgetpwent_r.c: Likewise.
59345         * resolv/Versions: Likewise.
59346         * resolv/res_hconf.c: Likewise.
59347         * shadow/fgetspent_r.c: Likewise.
59348         * shadow/putspent.c: Likewise.
59349         * stdio-common/printf_fphex.c: Likewise.
59350         * stdio-common/tmpfile.c: Likewise.
59351         * stdlib/abort.c: Likewise.
59352         * stdlib/fmtmsg.c: Likewise.
59353         * sunrpc/auth_unix.c: Likewise.
59354         * sunrpc/clnt_perr.c: Likewise.
59355         * sunrpc/clnt_tcp.c: Likewise.
59356         * sunrpc/clnt_udp.c: Likewise.
59357         * sunrpc/clnt_unix.c: Likewise.
59358         * sunrpc/openchild.c: Likewise.
59359         * sunrpc/svc_simple.c: Likewise.
59360         * sunrpc/svc_tcp.c: Likewise.
59361         * sunrpc/svc_udp.c: Likewise.
59362         * sunrpc/svc_unix.c: Likewise.
59363         * sunrpc/xdr.c: Likewise.
59364         * sunrpc/xdr_array.c: Likewise.
59365         * sunrpc/xdr_rec.c: Likewise.
59366         * sunrpc/xdr_ref.c: Likewise.
59367         * sunrpc/xdr_stdio.c: Likewise.
59369 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59371         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59373 2011-07-03  Andreas Jaeger  <aj@suse.de>
59375         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
59376         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
59377         regenerate with gen-libm-tests.pl.
59379 2010-05-12  Petr Baudis  <pasky@suse.cz>
59381         [BZ #11589]
59382         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
59383         around j0() zero points by switching to j1().
59384         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59385         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59386         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
59387         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59389 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59391         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
59392         instead of 0.
59393         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
59394         instead of 0.
59395         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59396         Patch in part by Pavel Roskin <proski@gnu.org>.
59398         [BZ #13138]
59399         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
59400         realloc.
59401         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
59402         Free memory block if necessary.
59404         [BZ #12847]
59405         * libio/genops.c (INTDEF): For string streams the _lock pointer can
59406         be NULL.  Don't lock in this case.
59408 2011-09-09  Roland McGrath  <roland@hack.frob.com>
59410         * elf/elf.h (ELFOSABI_GNU): New macro.
59411         (ELFOSABI_LINUX): Define to that.
59413 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
59415         * string/strncat.c (strncat): Undef the symbol in case it has been
59416         defined in bits/string.h.
59418 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59420         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
59422         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
59423         link map.
59425 2011-08-17  Andreas Jaeger  <aj@suse.de>
59427         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
59429 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
59430             Ian Lance Taylor  <iant@google.com>
59432         * math/libm-test.inc (lround_test): New testcase.
59433         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
59435 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
59437         * Makefile: Remove support for automatic cvs check-ins.
59438         * Makerules: Likewise.
59439         * config.make.in: Likewise.
59440         * configure.in: Likewise.
59441         * intl/Makefile: Likewise.
59442         * locale/Makefile: Likewise.
59443         * po/Makefile: Likewise.
59444         * posix/Makefile: Likewise.
59445         * sysdeps/gnu/Makefile: Likewise.
59446         * sysdeps/mach/hurd/Makefile: Likewise.
59447         * sysdeps/sparc/sparc32/Makefile: Likewise.
59449         [BZ #13118]
59450         * posix/Makefile (bug-regex32-ENV): Define.
59451         Patch by John Stanley <jpsinthemix@verizon.net>.
59453         * misc/Makefile (headers): Add bits/select2.h.
59454         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
59455         * misc/bits/select2.h: New file.
59456         * include/bits/select2.h: New file.
59457         * debug/Makefile (routines): Add fdelt_chk.
59458         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
59459         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
59460         FD_ISSET.
59461         * debug/fdelt_chk.c: New file.
59463         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
59464         * wcsmbs/test-wmemcmp.c: Likewise.
59465         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
59466         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
59468 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59470         * string/Makefile (strop-tests): Add memcmp.
59471         * string/test-wmemcmp.c: New file.
59472         * string/test-memcmp.c: Add wmemcmp support.
59474 2011-09-08  Roland McGrath  <roland@hack.frob.com>
59476         [BZ #13153]
59477         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
59478         2011-07-19 change.
59480         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
59481         garbage value in a __mach_port_mod_refs call in the cases of the
59482         task-self and thread-self ports.
59484 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59486         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
59488 2011-09-08  Andreas Schwab  <schwab@redhat.com>
59490         * elf/dl-load.c (lose): Check for non-null L.
59492 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
59494         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
59496         * elf/dl-libc.c (dlerror_run): Pass back error code from
59497         dl_catch_error.
59499         [BZ #13123]
59500         * elf/dl-load.c (lose): Free l_origin if it is valid.
59502         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
59503         names.
59504         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
59505         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
59506         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
59507         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
59508         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
59509         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
59511 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59513         * sysdeps/powerpc/fpu/e_hypot.c: New file.
59514         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
59515         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
59516         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
59517         * sysdeps/powerpc/fpu/k_cosf.c: New file.
59518         * sysdeps/powerpc/fpu/k_sinf.c: New file.
59519         * sysdeps/powerpc/fpu/s_cosf.c: New file.
59520         * sysdeps/powerpc/fpu/s_sinf.c: New file.
59521         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
59522         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
59524 2011-08-15  Alan Modra  <amodra@gmail.com>
59526         [BZ #13092]
59527         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
59528         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
59529         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
59530         ppc_mcount to static-only-routines.
59531         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
59532         __mcount_internal.
59533         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
59534         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
59536 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
59538         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
59539         for finite and infinity parameters.
59541 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
59543         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
59544         and add nop instructions for throughput optimization.
59545         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59547 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
59549         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
59550         aligned copy for power7 with vector-scalar instructions.
59551         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
59553 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
59555         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
59556         AVX check.
59558 2011-09-07  Andreas Schwab  <schwab@redhat.com>
59560         [BZ #13144]
59561         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
59562         last change.
59564 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
59566         * sysdeps/unix/sysv/linux/x86_64/init-first.c
59567         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
59568         syscall wrapper around clock_gettime in __vdso_clock_gettime.
59569         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
59570         clock_gettime.
59572 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
59574         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
59575         Forgot to demangle the pointer.
59577         * sysdeps/i386/sysdep.h: Define atom_text_section.
59578         * sysdeps/x86_64/sysdep.h: Likewise.
59579         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
59580         section with atom_text_section.
59581         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
59582         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
59583         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
59584         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
59585         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
59587         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
59588         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
59589         already be defined.  Change to take two parameters and don't assign
59590         result to variable.  Adjust all users.
59591         Define INTERNAL_GETTIME if not already defined.
59592         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
59593         call.
59594         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
59595         HAVE_CLOCK_GETTIME_VSYSCALL.
59596         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
59598         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
59599         gettimeofday vsyscall, just use time.
59601 2011-09-06  Andreas Schwab  <schwab@redhat.com>
59603         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
59604         <errno.h>.
59606 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
59608         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
59609         syscall on x86-64.
59610         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
59611         syscall.
59612         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
59613         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
59614         syscall if possible.
59616 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59618         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
59619         e_ident.  Don't pass to find_mapsXX.
59620         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
59622 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59624         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59625         strchr-sse2-no-bsf strrchr-sse2-no-bsf
59626         * sysdeps/x86_64/multiarch/strchr.S: Update.
59627         Check bit_slow_BSF bit.
59628         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59629         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
59630         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
59632 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59634         [BZ #13134]
59635         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
59636         before glibc 2.15.
59637         (tryshell): Define.
59638         (__spawni): Change last parameter to be flag.  Test
59639         SPAWN_XFLAGS_USE_PATH flag to use path or not.
59640         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
59641         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
59642         * posix/spawni.c: Likewise.
59643         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
59644         * posix/spawnp.c: Likewise.  Change normal version to use
59645         SPAWN_XFLAGS_USE_PATH.
59646         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
59647         SPAWN_XFLAGS_TRY_SHELL.
59649         [BZ #13150]
59650         * posix/glob.h: Remove gcc 1.x support.
59652         [BZ #13068]
59653         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
59655 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59657         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59658         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
59659         strrchr-sse2-bsf
59660         * sysdeps/i386/i686/multiarch/strchr.S: New file.
59661         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
59662         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
59663         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
59664         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
59665         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
59667 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59669         * sysdeps/x86_64/wcscmp.S: New file.
59671         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
59672         wcscmp-c wcscmp-sse2
59673         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
59674         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
59675         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
59676         * wcsmbs/wcscmp.c: Allow renaming.
59678 2011-09-05  David S. Miller  <davem@davemloft.net>
59680         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
59681         stack slot, rather than the struct return pointer slot.
59682         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
59683         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
59684         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
59685         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
59687 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59689         * po/ja.po: Update from translation team.
59691         [BZ #13144]
59692         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
59693         kernel in 64-bit binaries.
59695 2011-09-01  David S. Miller  <davem@davemloft.net>
59697         * elf/elf.h (HWCAP_SPARC_*): Move to..
59698         * sysdeps/sparc/sysdep.h: this new file and add new values.
59699         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
59700         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
59701         _DL_HWCAP_COUNT to 24.
59702         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
59703         entries.
59704         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
59705         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
59706         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
59707         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
59708         instead of magic constants.
59709         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59711 2011-08-31  David S. Miller  <davem@davemloft.net>
59713         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
59714         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
59715         Reimplement to do errno handling inline.
59716         (SYSCALL_ERROR_HANDLER): New macro.
59717         (__SYSCALL_STRING): Do not do errno handling in asm.
59718         (__CLONE_SYSCALL_STRING): Delete.
59719         (__INTERNAL_SYSCALL_STRING): Delete.
59720         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
59721         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
59722         (PSEUDO): Reimplement to do errno handling inline.
59723         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
59724         (SYSCALL_ERROR_HANDLER): New macro.
59725         (__SYSCALL_STRING): Do not do errno handling in asm.
59726         (__CLONE_SYSCALL_STRING): Delete.
59727         (__INTERNAL_SYSCALL_STRING): Delete.
59728         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
59729         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
59730         i386.
59731         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
59732         (inline_syscall*): Add 'err' argument.
59733         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
59734         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
59735         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
59736         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
59738         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
59739         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
59741 2011-08-30  Andreas Schwab  <schwab@redhat.com>
59743         * elf/rtld.c (dl_main): Relocate objects in dependency order.
59745 2011-08-29  Jiri Olsa <jolsa@redhat.com>
59747         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
59748         directive.
59750 2011-08-24  David S. Miller  <davem@davemloft.net>
59752         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
59754 2011-08-24  Andreas Schwab  <schwab@redhat.com>
59756         * elf/Makefile: Add rules to build and run unload8 test.
59757         * elf/unload8.c: New file.
59758         * elf/unload8mod1.c: New file.
59759         * elf/unload8mod1x.c: New file.
59760         * elf/unload8mod2.c: New file.
59761         * elf/unload8mod3.c: New file.
59763         * elf/dl-close.c (_dl_close_worker): Reset private search list if
59764         it wasn't used.
59766 2011-08-23  David S. Miller  <davem@davemloft.net>
59768         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
59769         subtract stack bias.
59770         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
59771         %sp not %fp in calculations.
59772         (_JMPBUF_UNWINDS_ADJ): Likewise.
59774         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
59775         (aio_suspend): Call it to force an exception region around the
59776         AIO_MISC_WAIT() invocation.
59778 2011-08-23  Andreas Schwab  <schwab@redhat.com>
59780         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
59781         backslash.
59783 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
59785         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
59786         protection macro.
59787         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
59788         and <dl-machine.h>.
59789         (Elf64_FuncDesc): Remove.
59791 2011-08-22  David S. Miller  <davem@davemloft.net>
59793         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
59794         sigaltstack check, add missing cfi directives.
59795         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
59796         missing cfi directives, and sigaltstack handling.
59798 2011-08-16  Andreas Schwab  <schwab@redhat.com>
59800         [BZ #11724]
59801         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
59802         object is seen twice.
59803         * elf/dl-fini.c (_dl_sort_fini): Likewise.
59805         * elf/Makefile (distribute): Add tst-initorder2.c.
59806         (tests): Add tst-initorder2.
59807         (modules-names): Add tst-initorder2a tst-initorder2b
59808         tst-initorder2c tst-initorder2d.  Add rules to build them.
59809         ($(objpfx)tst-initorder2.out): New rule.
59810         * elf/tst-initorder2.c: New file.
59811         * elf/tst-initorder2.exp: New file.
59813 2011-08-22  Andreas Schwab  <schwab@redhat.com>
59815         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
59817         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
59818         dependencies back to end of function.
59820         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
59821         $(elfobjdir)/ld.so.
59823 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
59825         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
59826         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
59827         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
59828         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
59829         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
59830         of __vdso_gettimeofday.
59831         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
59832         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
59833         attribute_hidden.
59834         (_libc_vdso_platform_setup): Remove initialization of
59835         __vdso_gettimeofday and __vdso_time.
59837 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
59839         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
59840         and fgetc_unlocked.
59841         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
59842         getc_unlocked.
59844         * elf/dl-open.c (add_to_global): Report additions to the global scope
59845         for LD_DEBUG=scopes.
59846         (dl_open_worker): Also print scope of newly loaded dependencies.
59847         (_dl_show_scope): Indicate if there is no scope.
59849         [BZ #13114]
59850         * stdio-common/Makefile (tests): Add bug24.
59851         * stdio-common/bug24.c: New file.
59853 2011-08-19  Andreas Jaeger  <aj@suse.de>
59855         [BZ #13114]
59856         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
59857         non-existant file when using close-on-exec mode.
59859 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
59861         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
59862         the very first instruction.
59864         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
59865         the CFI state in the end.
59866         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
59867         inclusion of dl-trampoline.h.
59868         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
59870 2011-08-19  Andreas Schwab  <schwab@redhat.com>
59872         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
59873         expectations for long double.
59875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
59876         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
59878 2011-08-14  David S. Miller  <davem@davemloft.net>
59880         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
59881         artificual limit depends upon the system page size.
59883 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
59885         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
59886         * resolv/Makefile: Define CFLAGS-libresolv.
59888 2011-08-17  Andreas Schwab  <schwab@redhat.com>
59890         * nss/makedb.c (compute_tables): Make variables used in nested
59891         function static.
59893 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
59895         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
59896         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
59897         if buffer was too small.
59899         * elf/pldd.c (main): Attach to all threads in the process.
59900         Rewrite /proc handling to use *at functions.
59902 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
59904         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
59905         specifies first scope to show.
59906         (dl_open_worker): Update callers.  Move printing scope of new
59907         object to before the relocation.
59908         * elf/rtld.c (dl_main): Update _dl_show_scope call.
59909         * sysdeps/generic/ldsodefs.h: Update declaration.
59911         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
59912         string for the scope number.
59914 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
59916         * nscd/servicescache.c (cache_addserv): Make sure written is always
59917         initialized.
59919 2011-08-14  Roland McGrath  <roland@hack.frob.com>
59921         * sysdeps/i386/i486/bits/atomic.h
59922         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
59923         statement expression, so as to suppress "set but not used" warning.
59924         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
59926         * string/strncat.c (STRNCAT): Use prototype definition.
59928         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
59929         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
59930         -Iprograms here.
59931         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
59932         (localedef-modules): Add localedef.
59933         (locale-modules): Add locale.
59935         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
59936         * elf/rtld.c (dl_main): Invert order of assignment in last change,
59937         to avoid a warning.
59939 2011-08-14  David S. Miller  <davem@davemloft.net>
59941         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
59942         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
59944 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
59946         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
59947         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
59948         * elf/rtld.c (dl_main): Set l_name of vDSO.
59949         Call _dl_show_scope when DL_DEBUG_SCOPES.
59950         (process_dl_debug): Recognize scopes flag and also set it for all.
59951         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
59952         Declare _dl_show_scope.
59954         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
59955         (do_dlopen): Pass caller_dlopen to dl_open.
59956         (__libc_dlopen_mode): Initialize caller_dlopen.
59958         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
59959         of libc.  Make tolower call locale-independent.  Optimize a bit by
59960         using isdigit instead of isalnum.
59961         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
59963 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
59965         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
59966         was a dependency or dynamically loaded.
59968 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
59970         * intl/l10nflist.c: Allow architecture-specific pop function.
59971         * sysdeps/x86_64/l10nflist.c: New file.
59973         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
59974         classification.
59976 2011-08-10  Andreas Schwab  <schwab@redhat.com>
59978         * include/dirent.h: Add libc_hidden_proto for scandirat and
59979         scandirat64.  Don't declare __scandirat64.
59980         * dirent/scandirat.c: Add libc_hidden_def.
59981         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
59982         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
59984 2011-08-10  David S. Miller  <davem@davemloft.net>
59986         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
59987         enum.
59988         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
59989         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59990         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59992 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
59994         * Versions.def [libc]: Add GLIBC_2.15.
59995         * dirent/Makefile (routines): Add scandirat and scandirat64.
59996         * dirent/Versions [libc]: Export scandirat and scandirat64 for
59997         GLIBC_2.15.
59998         * dirent/dirent.h: Declare scandirat and scandirat64.
59999         * dirent/scandirat.c: New file.
60000         * dirent/scandirat64.c: New file.
60001         * sysdeps/wordsize-64/scandirat.c: New file.
60002         * sysdeps/wordsize-64/scandirat64.c: New file.
60003         * dirent/opendir.c: Define opendirat.
60004         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
60005         using scandirat.
60006         * dirent/scandir64.c: Adjust for scandir.c change.
60007         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
60008         __scandirat64, and __scandir_cancel_handler.
60009         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
60010         additional parameter and use openat instead of open (outside of ld.so).
60011         Add new __opendir as wrapper around __opendirat.
60012         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
60013         here without requiring old scandirat implementation.
60015 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
60017         * dirent/scandir.c (cancel_handler): Renamed to
60018         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
60019         defined.  Adjust users.
60020         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
60021         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
60023 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
60025         * string/test-string.h (IMPL): Use __STRING to expand name and then
60026         stringify it.
60028         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
60029         of cleanups.
60031 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60033         * string/Makefile: Update.
60034         (strop-tests): Append strncat.
60035         * string/test-wcscmp.c: New file.
60036         New comprehensive test for wcscmp.
60037         * string/test-strcmp.c: Update.
60038         (WIDE): New define.
60040 2011-07-22  Andreas Schwab  <schwab@redhat.com>
60042         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
60043         line.
60045 2011-07-26  Andreas Schwab  <schwab@redhat.com>
60047         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60048         encoding to ACE if AI_IDN.
60050 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
60052         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
60053         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
60055 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60057         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
60058         Fix overflow bug in strncat.
60059         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
60061         * string/test-strncat.c: Update.
60062         Add new tests for checking overflow bugs.
60064 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60066         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60067         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
60068         * sysdeps/i386/i686/multiarch/strcat.S: New file.
60069         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
60070         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
60071         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
60072         * sysdeps/i386/i686/multiarch/strncat.S: New file.
60073         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
60074         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
60076         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
60077         (USE_AS_STRCAT): Define.
60078         Add strcat and strncat support.
60079         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60081 2011-07-25  Andreas Schwab  <schwab@redhat.com>
60083         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
60084         __n bigger than INT_MAX+1.
60085         (__strncmp_g): Likewise.
60087 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
60089         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
60090         * libio/stido.h: Likewise.
60092         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
60093         (AF_NFC): Define.
60094         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
60095         (AF_NFC): Define.
60097         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
60098         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60099         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60100         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
60101         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60103         [BZ #13021]
60104         * scripts/test-installation.pl: Don't expect libnss_test1 to be
60105         installed.
60107         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
60108         typo.
60109         (_dl_x86_64_save_sse): Likewise.
60111 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
60113         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
60114         OSXSAVE.
60115         (_dl_x86_64_save_sse): Likewise.
60117         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
60119         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
60121 2011-07-21  Andreas Schwab  <schwab@redhat.com>
60123         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
60124         change.
60125         (_dl_x86_64_save_sse): Use correct AVX check.
60127 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60129         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
60130         bug in strncpy/strncat.
60131         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
60133 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
60135         * string/tester.c (test_strcat): Add tests for different alignments
60136         of source and destination.
60137         (test_strncat): Likewise.
60139 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60141         [BZ #12852]
60142         * posix/glob.c (glob): Check passed in values before using them in
60143         expressions to avoid some overflows.
60144         (glob_in_dir): Likewise.
60146         [BZ #13007]
60147         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
60148         check for AVX enablement so that we don't crash with old kernels and
60149         new hardware.
60150         * elf/tst-audit4.c: Add same checks here.
60151         * elf/tst-audit6.c: Likewise.
60153         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
60155 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
60157         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
60159 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60161         * po/cs.po: Update from translation team.
60162         * po/bg.po: Likewise.
60164 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
60166         * misc/sys/cdefs.h: Add support for const attribute.
60167         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
60168         to gnu_dev_{major,minor,makedev} functions.
60170 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
60172         * intl/dcigettext.c (get_output_charset): Add missing bracket.
60174 2011-07-20  Andreas Schwab  <schwab@redhat.com>
60176         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
60177         strlen results.
60179 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60181         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
60182         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
60183         register in order to avoid conflicts with the soft frame pointer
60184         being held in r11 when necessary.
60185         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
60186         (INTERNAL_VSYSCALL_NCS): Likewise.
60188 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
60190         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
60191         * elf/dl-fini.c (_dl_fini): Adjust caller.
60192         * elf/dl-close.c (_dl_close_worker): Likewise.
60193         * sysdeps/generic/ldsodefs.h: Adjust declaration.
60195 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60197         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
60198         "aux_cache->nlibs < 0".
60200         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
60201         in the reload-count case.
60203 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60205         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60206         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
60207         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
60208         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
60209         * sysdeps/x86_64/multiarch/strcat.S: New file.
60210         * sysdeps/x86_64/multiarch/strncat.S: New file.
60211         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
60212         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
60213         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
60214         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
60215         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
60216         (USE_AS_STRCAT): Define.
60217         Add strcat and strncat support.
60218         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
60219         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
60220         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
60221         * string/strncat.c: Update.
60222         (USE_AS_STRNCAT): Define.
60223         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60224         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
60225         and i7.
60226         * sysdeps/x86_64/multiarch/init-arch.h
60227         (bit_Prefer_PMINUB_for_stringop): New.
60228         (index_Prefer_PMINUB_for_stringop): Likewise.
60229         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
60230         bit_Prefer_PMINUB_for_stringop.
60232 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60234         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
60235         buffer64.
60236         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
60237         of casting of buffer.
60238         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
60239         buffer32 and buffer64.
60240         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
60241         writes instead of casting of buffer.
60242         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
60243         buffer32.
60244         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
60245         casting of buffer.
60247 2011-07-19  Andreas Schwab  <schwab@redhat.com>
60249         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
60251 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60253         * nscd/nscd.c (termination_handler): Don't do anything for a database
60254         if it has not yet been initialized.
60256 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60258         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60260 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60262         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60264 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60266         * po/nl.po: Update from translation team.
60267         * po/sv.po: Likewise.
60269 2011-07-16  Roland McGrath  <roland@hack.frob.com>
60271         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
60272         now disallowed by GCC.
60274         * configure.in (use-default-link): Default to yes if a test -shared
60275         link meets our qualifications.
60276         * configure: Regenerated.
60278         * config.make.in (output-format): New variable.
60279         * configure.in: Check for ld --print-output-format support.
60280         * configure: Regenerated.
60281         * Makerules ($(common-objpfx)format.lds)
60282         [$(output-format) != unknown]: Just use $(output-format),
60283         instead of the linker-script munging.
60285 2011-07-14  Roland McGrath  <roland@hack.frob.com>
60287         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
60288         of $(common-objpfx)shlib.lds.
60289         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
60291         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
60292         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
60294         * configure.in (-z relro check): Adjust test code to add a large
60295         writable data section after it.
60296         * configure: Regenerated.
60298 2011-07-11  Roland McGrath  <roland@hack.frob.com>
60300         * configure.in (-z relro check): Fix test code to make the variable
60301         truly const.
60302         * configure: Regenerated.
60304 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
60306         * nscd/nscd.h (struct traced_file): Define.
60307         (struct database_dyn): Remove inotify_descr, reset_res, and filename
60308         elements.  Add traced_files.
60309         (inotify_fd): Declare.
60310         (register_traced_file): Declare.
60311         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
60312         (inotify_fd): Export.
60313         (resolv_conf_descr): Remove.
60314         (nscd_init): Move inotify descriptor creation to main.
60315         Don't register files for notification here.
60316         (register_traced_file): New function.
60317         (invalidate_cache): Don't use reset_res to determine whether to call
60318         res_init, go through the list of registered files.
60319         (main_loop_poll): The inotify descriptors are now stored in the
60320         structures for the traced files.
60321         (main_loop_epoll): Likewise
60322         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
60323         to __nss_disable_nscd.
60324         * nscd/cache.c (prune_cache): There is no single inotify descriptor
60325         for a database anymore.  Check the records for all the registered
60326         files instead.
60327         * nss/Makefile (libnss_files-routines): Add files-init.
60328         (libnss_db-routines): Add db-init.
60329         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
60330         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
60331         * nss/nss_db/db-init.c: New file.
60332         * nss/nss_files/files-init.c: New file.
60333         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
60334         __nss_lookup_function.
60335         (__nss_lookup_function): Call nss_load_library.
60336         (nss_load_all_libraries): New function.
60337         (__nss_disable_nscd): Take parameter with callback function for files
60338         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
60339         used for the cached services.
60340         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
60341         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
60342         options for features to all the files in nscd.
60344         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
60346 2011-07-10  Roland McGrath  <roland@hack.frob.com>
60348         * csu/elf-init.c (__libc_csu_init): Comment typo.
60350 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
60352         * po/pl.po: Update from translation team.
60353         * po/ja.po: Likewise.
60354         * po/ru.po: Likewise.
60355         * po/ko.po: Likewise.
60356         * po/fr.po: Likewise.
60358 2011-07-09  Roland McGrath  <roland@hack.frob.com>
60360         * configure.in (.ctors/.dtors header and trailer check):
60361         Use an empirical test on a built program.
60362         * configure: Regenerated.
60364         * configure.in (-z relro check): Use an empirical test on a built DSO.
60365         Detect, but do not require, on ia64.
60366         * configure: Regenerated.
60368         * configure.in (READELF): Find it with AC_CHECK_TOOL.
60369         Update tests that use readelf to use $READELF instead.
60370         * configure: Regenerated.
60372 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
60374         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
60375         if the result is not used.
60377 2011-07-05  Andreas Jaeger  <aj@suse.de>
60379         [BZ#9696]
60380         * stdlib/tst-strtod.c: Add testcase.
60382 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
60384         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
60385         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
60386         The latter has a higher limit.  Take additional parameter to pass to
60387         the new function.
60388         (__pathconf): Pass file to __statfs_link_max.
60389         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
60390         __statfs_link_max.
60391         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
60392         __statfs_link_max.
60394         [BZ #12868]
60395         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
60396         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60397         Handle Lustre.
60398         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
60399         (__statfs_filesize_max): Likewise.
60400         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
60402 2011-07-05  Andreas Jaeger  <aj@suse.de>
60404         * resolv/res_comp.c (dn_skipname): Remove unused variable.
60406 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
60408         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
60409         `status' variable.
60410         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
60411         Likewise.
60413 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
60415         * Makefile (strop-tests): Add strncat.
60416         * string/test-strncat.c: New file.
60418 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
60420         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
60422 2011-06-21  Andreas Jaeger  <aj@suse.de>
60424         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
60425         Copy rule from iconvdata/Makefile.
60427 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
60429         [BZ #12922]
60430         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
60431         but no long options are defined, just return 'W'.
60433 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
60435         [BZ #9696]
60436         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
60438 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
60440         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
60441         netgroups to read.
60442         (innetgr): Likewise.
60444 2011-07-05  Roland McGrath  <roland@hack.frob.com>
60446         * config.make.in (install_root): Default to $(DESTDIR).
60448 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
60450         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
60452 2011-07-02  Roland McGrath  <roland@hack.frob.com>
60454         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
60456         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
60457         containing directory rather than embedding absolute directory names.
60459         * scripts/check-local-headers.sh: Rewritten using awk.
60460         Match by word, not by line.  Print error messages for matches.
60461         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
60463         * Makerules [shlib-lds-flags empty]:
60464         ($(common-objpfx)libc_pic.opts): New target.
60465         ($(common-objpfx)libc_pic.os.clean): New target.
60466         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
60468         * config.make.in (OBJCOPY): New variable.
60469         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
60470         * configure: Regenerated.
60472         * config.make.in (use-default-link): New variable.
60473         * configure.in (use_default_link): Grok --with-default-link to set it.
60474         * configure: Regenerated.
60475         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
60476         (shlib-lds, shlib-lds-flags): Define to empty.
60478         * Makerules (shlib-lds): New variable.
60479         (shlib-lds-flags): New variable.
60480         (build-shlib, build-moduile, build-module-asneeded): Use it.
60481         ($(common-objpfx)libc.so): Use $(shlib-lds).
60482         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
60483         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
60485         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
60486         DT_FLAGS/DT_FLAGS_1 with zero flags.
60488         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
60489         linker script munging.
60491 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
60493         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
60494         as 128-bit value.
60495         * crypt/sha512.c (sha512_process_block): Perform total addition using
60496         128-bit if possible.
60497         (__sha512_finish_ctx): Likewise.
60498         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
60499         as 64-bit value.
60500         * crypt/sha256.c (SWAP64): Define.
60501         (sha256_process_block): Perform total addition using 64-bit if
60502         possible.
60503         (__sha256_finish_ctx): Likewise.
60505 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
60507         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
60508         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60509         * nscd/hstcache.c (cache_addhst): Likewise.
60510         * nscd/grpcache.c (cache_addgr): Likewise.
60511         * nscd/aicache.c (addhstaiX): Likewise
60512         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
60514 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
60516         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
60517         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60518         * nscd/hstcache.c (cache_addhst): Likewise.
60519         * nscd/grpcache.c (cache_addgr): Likewise.
60520         * nscd/aicache.c (addhstaiX): Likewise
60522 2011-07-01  Andreas Schwab  <schwab@redhat.com>
60524         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
60525         domain only when needed.
60527 2011-06-30  Andreas Schwab  <schwab@redhat.com>
60529         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
60530         is always restored.
60532 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
60534         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
60535         are re-adding the entry.
60536         * nscd/servicescache.c (cache_addserv): Likewise.
60538 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
60540         * sysdeps/generic/dl-irel.h: fix protection against multiple
60541         inclusions.
60542         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
60544 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
60546         [BZ #12935]
60547         * malloc/memusage.sh: Fix quoting in message.
60548         * debug/xtrace.sh: Likewise.
60550         * configure.in: Remove support for --experimental-malloc option, make
60551         it the default.
60552         * config.make.in: Likewise.
60553         * malloc/Makefile: Likewise.
60555 2011-06-27  Andreas Schwab  <schwab@redhat.com>
60557         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
60558         two-byte characters.
60560 2011-06-27  Roland McGrath  <roland@hack.frob.com>
60562         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
60563         AC_CACHE_CHECK invocation.
60564         * configure: Regenerated.
60566         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
60568 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
60570         [BZ #12350]
60571         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
60572         bit from old_res_options.
60574         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
60576         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
60577         value type for setfct.
60579 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
60581         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
60582         __gettimeofday instead of gettimeofday.
60584 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
60586         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
60588 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
60590         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
60592         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
60593         info.
60595 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
60597         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60598         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
60599         strcpy-sse2-unaligned strncpy-sse2-unaligned
60600         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
60601         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
60602         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
60603         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
60604         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
60605         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
60606         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
60607         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
60608         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
60609         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
60610         (STRCPY): Support SSE2 and SSSE3 versions.
60612 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
60614         [BZ #12874]
60615         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
60616         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
60617         kernels which artificially limit size of requests.
60619 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
60621         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60622         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
60623         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
60624         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
60625         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
60626         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
60627         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
60628         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
60629         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
60630         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
60631         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
60632         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
60633         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
60634         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
60635         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
60636         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60637         Enable unaligned load optimization for Intel Core i3, i5 and i7
60638         processors.
60639         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
60640         Define.
60641         (index_Fast_Unaligned_Load): Define.
60642         (HAS_FAST_UNALIGNED_LOAD): Define.
60644 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
60646         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
60648 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
60650         [BZ #12907]
60651         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
60652         until it is clear that the information is realy needed.
60653         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
60655 2011-06-22  Andreas Schwab  <schwab@redhat.com>
60657         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
60659 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
60661         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
60662         /sys/devices/system/cpu/online if it is usable.
60664         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
60665         reading the information from the /proc filesystem to once a second.
60667 2011-06-21  Andreas Jaeger  <aj@suse.de>
60669         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
60670         NULL after inclusion of kernel headers.
60672 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
60674         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
60675         calls to internal_setent.
60677         [BZ #12885]
60678         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
60679         addresses using gethostbyname4_r ignore IPv4 addresses.
60681         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
60682         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
60684         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
60686 2011-06-20  David S. Miller  <davem@davemloft.net>
60688         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
60689         inclusions.
60690         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
60692         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
60693         (elf_irel): Use it.
60694         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
60695         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
60696         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
60697         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
60698         * sysdeps/x86_64/dl-irel.h: Likewise.
60700         * elf/dl-runtime.c: Use elf_ifunc_invoke.
60701         * elf/dl-sym.c: Likewise.
60703 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
60705         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
60706         need to dereference resplen2.
60708 2011-06-14  Andreas Schwab  <schwab@redhat.com>
60710         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
60712 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
60714         * Makeconfig: Define vardbdir and inst_vardbdir.
60715         * nss/Makefile: Add rules to install db-Makefile.
60717         * nss/nss_db/db-XXX.c: Cleanup.
60719         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
60720         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
60721         GLIBC_PRIVATE.
60722         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
60723         * nss/makedb.c: Implement -g option to specify that value strings
60724         are generated and should not be added to table iterated over for
60725         get*ent calls.
60726         * nss/nss_db/db-initgroups.c: New file.
60728         * nss/getent.c: Add support for initgroups lookups through getgrouplist
60729         interface.
60731         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
60732         (internal_getgrouplist): Adjust to name change.
60733         Update use_initgroups_entry if this is not the first call.
60734         * nss/databases.def: Add initgroups entry.
60736         * nss/makedb.c (compute_tables): Check result of multiple hash table
60737         sizes to minimize maximum chain length.
60739 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
60741         * Versions.def: Add entry for libnss_db.
60742         * shlib-versions: Likewise.
60743         * nss/Makefile: Add rules to build libnss_db.
60744         * nss/Versions: Add libnss_db information.  Organize libnss_files
60745         entries better.
60746         * nss/db-Makefile: Add gshadow support.  Change rules for the new
60747         makedb progra.  Some minor improvements to generate smaller files.
60748         * nss/nss_db/nss_db.h: Move NSS database header data structures to
60749         here from...
60750         * nss/makedb.c: ...here.
60751         Improve database format to be smaller and require less memory at
60752         runtime.
60753         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
60754         db anymore.
60755         * nss/nss_db/db-netgrp.c: Likewise.
60756         * nss/nss_db/db-open.c: Likewise.
60757         * nss/nss_files/flies-XXX.x: Adjust comments.
60758         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
60759         * nss/nss_files/files-grp.c: Likewise.
60760         * nss/nss_files/files-hosts.c: Likewise.
60761         * nss/nss_files/files-network.c: Likewise.
60762         * nss/nss_files/files-proto.c: Likewise.
60763         * nss/nss_files/files-pwd.c: Likewise.
60764         * nss/nss_files/files-rpc.c: Likewise.
60765         * nss/nss_files/files-service.c: Likewise.
60766         * nss/nss_files/files-sgrp.c: Likewise.
60767         * nss/nss_files/files-spwd.c: Likewise.
60768         * nss/nss_db/db-alias.c: Removed.
60769         * nss/nss_db/dummy-db.h: Removed.
60771 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
60773         * nss/makedb.c: Rewritten to not use database library.
60774         * nss/Makefile: Update to build new makedb program.
60776 2011-06-14  Andreas Jaeger  <aj@suse.de>
60778         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
60779         memset declaration.
60781 2011-06-10  Andreas Schwab  <schwab@redhat.com>
60783         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
60784         tmpbuf.
60786 2011-06-10  Roland McGrath  <roland@hack.frob.com>
60788         * Makerules (shlib.lds): Fail if the linker script comes out empty.
60789         * elf/Makefile ($(objpfx)ld.so): Likewise.
60791         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
60792         Don't list ld.so twice in dependencies.
60794         * posix/bug-regex31.c: Include <stdlib.h>.
60796         * nscd/hstcache.c (cache_addhst): Remove unused variable.
60798         * nis/nss_compat/compat-spwd.c
60799         (getspent_next_nss_netgr): Remove unused variable.
60800         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
60802         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
60803         nonmembers" output to use the right array.
60805         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
60807         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
60809         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
60810         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
60811         * catgets/gencat.c (read_input_file): Likewise.
60812         * locale/programs/locarchive.c (enlarge_archive): Likewise.
60814         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
60815         variable definition inside #if's controlling its use.
60817         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
60819         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
60821         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
60823         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
60824         unreachable code.
60826         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
60828         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
60829         * configure: Regenerated.
60831         * Makerules: Revert last change.
60832         * elf/Makefile: Likewise.
60834 2011-06-09  Roland McGrath  <roland@hack.frob.com>
60836         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
60837         * elf/Makefile ($(objpfx)librtld.os): Likewise.
60838         (reloc-link): Likewise.
60840 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
60842         * elf/Makefile: Add rules to build pldd.
60843         * elf/pldd.c: New file.
60844         * elf/pldd-xx.c: New file.
60846 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
60848         * version.h: Update for 2.15 development version.
60850 2011-06-07  David S. Miller  <davem@davemloft.net>
60852         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
60853         ifuncs.
60854         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
60855         elf_machine_lazy_rel): Likewise.
60856         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
60857         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
60858         elf_machine_lazy_rel): Likewise.
60859         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
60860         dl_hwcap via passed in argument.
60861         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
60862         Likewise.
60864 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60866         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
60868 2011-06-06  Roland McGrath  <roland@hack.frob.com>
60870         [BZ #12849]
60871         * manual/fdl-1.1.texi: New file, verbatim from:
60872         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
60873         * manual/lgpl-2.1.texi: New file, verbatim from:
60874         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
60875         * manual/Makefile (licenses): New variable, list those new file names.
60876         (texis): Use it.
60877         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
60879         * manual/fdl.texi: File removed.
60880         * manual/lesser.texi: File removed.
60881         * manual/libc.texinfo (Copying, Documentation License):
60882         Use new @include file names, put @appendix directive before @include.
60884 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
60886         [BZ #12841]
60887         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
60888         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
60889         (mq_open): Add __NTH.
60891 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
60893         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60894         Assume Intel Core i3/i5/i7 processor if AVX is available.
60896 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
60898         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
60899         typo.
60901 2011-05-31  Andreas Schwab  <schwab@redhat.com>
60903         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
60904         memory.  Use alloca_account.  Fix memory leak when retrying.
60906 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
60908         * version.h (RELEASE): Bump for 2.14 release.
60909         * include/features.h (__GLIBC_MINOR__): Bump to 14.
60911         * config.make.in (RANLIB): Remove entry.
60913 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
60915         * po/Makefile (po-sed-cmd): Add ksh to extensions.
60916         (libc.pot): Work around missing support for .ksh extension in xgettext.
60918         [BZ #12684]
60919         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
60920         if both request failed.
60921         (send_dg): In case of server errors clear resplen or *resplen2.
60923         [BZ #12454]
60924         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
60925         when there are multiple maps.
60926         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
60927         (_dl_fini): Remove test here.
60929         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
60931 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
60933         [BZ #12350]
60934         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
60935         bit from old_res_options.
60936         (gaih_inet): Likewise.
60938         [BZ #11099]
60939         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
60940         as signed.
60942         * resolv/res_init.c (res_setoptions): Make the code more compact.
60944         [BZ #11558]
60945         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
60946         set RES_USEVC.
60948         [BZ #11634]
60949         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
60951         * malloc/malloc.h: Mark malloc hook variables as deprecated.
60953         [BZ #11781]
60954         * malloc/malloc.h: Declare malloc hook variables as volatile.
60956         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
60957         in last patch.
60959         [BZ #11799]
60960         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
60961         raise in the comment.
60962         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
60963         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
60964         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
60966 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
60968         [BZ #12811]
60969         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
60970         grow the buffers more if it already has to be sufficient.
60971         (build_wcs_upper_buffer): Likewise.
60972         * posix/regexec.c (check_matching): Likewise.
60973         (clean_state_log_if_needed): Likewise.
60974         (extend_buffers): Don't enlarge buffers beyond size of the input
60975         buffer.
60976         Patches mostly by Emil Wojak <emil@wojak.eu>.
60977         * posix/bug-regex32.c: New file.
60978         * posix/Makefile (tests): Add bug-regex32.
60980         * locale/findlocale.c (_nl_find_locale): Return right away if
60981         _nl_explode_name failed.
60982         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
60984         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
60986         * debug/xtrace.sh: Unify messages.
60987         * malloc/memusage.sh: Likewise.
60989         [BZ #12813]
60990         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
60991         time symbol from vDSO.  Substitute with vsyscall if not available.
60992         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
60993         __vdso_time.
60995         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
60996         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
60997         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
60998         Add sendmmsg and internal_sendmmsg.
60999         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
61000         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
61001         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
61003         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
61004         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
61005         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
61007 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
61009         [BZ #12813]
61010         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
61011         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
61012         available.
61013         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
61014         __vdso_getcpu.
61016         [BZ #12814]
61017         * iconvdata/Makefile (tests): Add bug-iconv9.
61018         * iconvdata/bug-iconv9.c: New file.
61020 2011-05-27  Andreas Schwab  <schwab@redhat.com>
61022         [BZ #12814]
61023         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
61025 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
61027         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61028         (struct user_regs_struct): Change intcs field back to cs.
61030 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
61032         * po/ja.po: Update from translation team.
61034 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
61036         [BZ #12795]
61037         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
61038         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
61040 2011-05-20  Andreas Schwab  <schwab@redhat.com>
61042         * stdlib/longlong.h: Update from GCC.
61044 2011-05-23  Andreas Schwab  <schwab@redhat.com>
61046         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
61047         parameter name.
61048         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
61049         Add parameter name.
61050         (__sysconf): Pass it down.
61052 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
61054         [BZ #12671]
61055         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
61056         some situations.
61057         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
61058         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
61059         add in in __libc_use_alloca calls.  Adjust callers.
61060         (glob): Use malloc in some situations.
61062         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
61063         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
61064         pltexit.
61066 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
61068         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
61069         and CLOCK_BOOTTIME_ALARM.
61071         [BZ #12782]
61072         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
61073         is returned.
61075         * string/_strerror.c (__strerror_r): Print negative errors as signed
61076         numbers.
61078         [BZ #12777]
61079         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
61080         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
61081         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
61083         * configure.in: Fix typo in redirection and correct removal of test
61084         files in two cases.
61086         [BZ #12788]
61087         * locale/setlocale.c (new_composite_name): Fix test to check for
61088         identical name of all categories.
61090         [BZ #12792]
61091         * libio/filedoalloc.c (local_isatty): New function.
61092         (_IO_file_doallocate): Use local_isatty.
61093         * stdio-common/perror.c (perror): In case a new stream is used
61094         forward the stream error.
61095         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
61096         error flag.
61098 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
61100         [BZ #11869]
61101         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
61102         alloca.
61103         * include/alloca.h (extend_alloca_account): Define.
61105         [BZ #11857]
61106         * posix/regex.h: Fix comments with documentation of user-accessible
61107         fields after compilation and describe correct free'ing of pattern
61108         after re_compile_pattern.
61109         Patch by Reuben Thomas <rrt@sc3d.org>.
61111 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
61113         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
61114         and -mno-altivec to prevent the compiler from using Altivec and/or
61115         VSX instructions when the corresponding registers are not available.
61117 2011-05-19  Andreas Schwab  <schwab@redhat.com>
61119         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
61121 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
61123         * libio/freopen.c (freopen): Use __dup2, not dup2.
61124         * libio/freopen64.c (freopen64): Likewise.
61126 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61128         [BZ #12775]
61129         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
61130         * math/Makefile (tests): Add test-powl.
61131         (CFLAGS-test-powl.c): Define.
61132         * math/test-powl.c: New file.
61134 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61136         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
61138 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
61140         [BZ #11837]
61141         * iconvdata/gb18030.c: Update to GB18020-2005.
61143 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
61145         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
61146         RE_SYNTAX_POSIX_AWK): Update to match recent development.
61147         Patch by Aharon Robbins <arnold@skeeve.com>.
61149         [BZ #11892]
61150         * stdlib/putenv.c (putenv): Don't always create copy of the variable
61151         on the stack.
61153         [BZ #11895]
61154         * misc/pselect.c (__pselect): Handle timeout value errors hidden
61155         through underflows.
61157         [BZ #12766]
61158         * misc/error.c (error_at_line): Ensure file_name and old_file_name
61159         point to strings before performing equality test for error_one_per_line
61160         mode.
61162         [BZ #11697]
61163         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
61165         [BZ #11820]
61166         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61167         (struct user_fpregs_struct): Avoid __uint*_t types.
61169         [BZ #6420]
61170         * malloc/mtrace.c (tr_where): Add additional parameter to point to
61171         symbol info.  Use it instead of calling _dl_addr locally.
61172         (lock_and_info): New function.
61173         (tr_freehook): Call lock_and_info and pass symbol info as additional
61174         parameter to tr_where.
61175         (tr_mallochook): Likewise.
61176         (tr_reallochook): Likewise.
61177         (tr_memalignhook): Likewise.
61179         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
61180         used and couldn't be at all thread-safe.
61182 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
61184         * libio/freopen.c (freopen): Don't close old file descriptor
61185         before the new one is opened.  Instead dup the new file descriptor
61186         to the old one after the new stream is created.
61187         * libio/freopen64.c (freopen64): Likewise.
61188         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
61189         * libio/fileops.c (_IO_new_file_close_it): Handle new
61190         _IO_FLAGS2_NOCLOSE flag.
61191         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
61192         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
61193         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
61194         _IO_FLAGS2_NOCLOSE flag.
61195         * include/unistd.h: Add hidden_proto for dup3.
61196         Define __have_dup3.
61197         * io/dup3.c: Define hidden symbol.
61198         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
61200         [BZ #7101]
61201         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
61202         when an incomplete long option is used.
61203         * posix/tst-getopt_long1.c: New file.
61204         * posix/Makefile (tests): Add tst-getopt_long1.
61206         [BZ #10138]
61207         * scripts/config.guess: Update from autoconf-2.68.
61208         * scripts/config.sub: Likewise.
61210         [BZ #10157]
61211         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
61212         tests into ...
61213         (has_cpuclock): ...this.  New function.
61214         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
61215         macro here based on has_cpuclock code.
61217         [BZ #10149]
61218         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61219         First byte (not low byte) is now always NUL.
61220         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
61222         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61223         Use non-cancelable interfaces.
61225         [BZ #9809]
61226         * locale/iso-639.def: Add entry for Sorani.
61228         [BZ #11901]
61229         * include/stdlib.h: Move include protection to the right place.
61230         Define abort_msg_s.  Declare __abort_msg with it.
61231         * stdlib/abort.c (__abort_msg): Adjust type.
61232         * assert/assert.c (__assert_fail_base): New function.  Majority
61233         of code from __assert_fail.  Allocate memory for __abort_msg with
61234         mmap.
61235         (__assert_fail): Now call __assert_fail_base.
61236         * assert/assert-perr.c: Remove bulk of implementation.  Use
61237         __assert_fail_base.
61238         * include/assert.hL Declare __assert_fail_base.
61239         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
61240         mmap.
61241         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
61243 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
61245         [BZ #11952]
61246         [BZ #12453]
61247         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
61248         until all modules are registered in the DTV.
61249         * elf/Makefile: Add rules to build and run tst-tls19.
61250         * elf/tst-tls19.c: New file.
61251         * elf/tst-tls19mod1.c: New file.
61252         * elf/tst-tls19mod2.c: New file.
61253         * elf/tst-tls19mod3.c: New file.
61254         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
61256         [BZ #12083]
61257         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
61258         correctly.
61260         [BZ #12601]
61261         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
61262         two-byte sequence errors.
61263         * iconvdata/Makefile (tests): Add bug-iconv8.
61264         * iconvdata/bug-iconv8.c: New file.
61266         [BZ #12626]
61267         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
61268         buf2 definition.
61270         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
61272         [BZ #12432]
61273         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
61274         (dummy_getcfa): New function.
61275         (init): Get _Unwind_GetCFA address, use dummy if not found.
61276         (backtrace_helper): In recursion check, also check whether CFA changes.
61277         (__backtrace): Completely initialize arg.
61279         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
61280         storing incomplete byte sequence in state object.  Avoid testing for
61281         guaranteed too small input if we know there is enough data available.
61283 2011-05-11  Andreas Schwab  <schwab@redhat.com>
61285         * Makeconfig (+link-pie): Indent.
61286         * Rules (binaries-pie): Define if $(have-fpie) and
61287         $(build-shared).
61288         (binaries-shared): Also filter out $(binaries-pie).
61289         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
61290         * nscd/Makefile (others-pie): Add nscd.
61291         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
61292         ($(objpfx)nscd): Remove command override.
61293         * login/Makefile (others-pie): Add pt_chown.
61294         ($(objpfx)pt_chown): Remove command override.
61295         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
61296         remove command overrides.
61298 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
61300         * libio/tst_putwc.c: Fix error messages.
61302         [BZ #12724]
61303         * libio/fileops.c (_IO_new_file_close_it): Always flush when
61304         currently writing and seek to current position when not.
61305         * libio/Makefile (tests): Add bug-fclose1.
61306         * libio/bug-fclose1.c: New file.
61308 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
61310         [BZ #12511]
61311         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
61312         don't set DF_1_NODELETE here.
61313         (do_lookup_x): When entering new entry test for copy relocation
61314         and if necessary set DF_1_NODELETE flag.
61315         * elf/tst-unique4.cc: New file.
61316         * elf/tst-unique4.h: New file.
61317         * elf/tst-unique4lib.cc: New file.
61318         * elf/Makefile: Add rules to build and run tst-unique4.
61319         Patch by Piotr Bury <pbury@goahead.com>.
61321 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
61323         [BZ #12052]
61324         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
61326         [BZ #12625]
61327         * misc/mntent_r.c (addmntent): Flush the stream after the output
61329         [BZ #12393]
61330         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
61331         (is_trusted_path_normalize): Skip initial colon.  Append slash
61332         to empty buffer.  Duplicate is_trusted_path code but allow
61333         constructed patch to be prefix.
61334         (is_dst): Allow $ORIGIN followed by /.
61335         (_dl_dst_substitute): Correct clearing of check_for_trusted.
61336         Correct testing of result of is_trusted_path_normalize
61337         (decompose_rpath): Fix warning.
61339 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
61341         [BZ #11257]
61342         * grp/initgroups.c (internal_getgrouplist): When we found the service
61343         list through the initgroups entry in nsswitch.conf do not always
61344         continue on a successful lookup.  Don't always use the
61345         __nss_group_database value if it is set.
61346         * nss/nsswitch.conf (initgroups): Change action for successful db
61347         lookup to continue for compatibility.
61349 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
61351         [BZ #11532]
61352         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
61353         and CP774 modules.
61354         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
61355         and CP774 modules.
61356         * iconvdata/tst-tables.sh: Likewise.
61357         * iconvdata/cp770.c: New file.
61358         * iconvdata/cp771.c: New file.
61359         * iconvdata/cp772.c: New file.
61360         * iconvdata/cp773.c: New file.
61361         * iconvdata/cp774.c: New file.
61362         * iconvdata/testdata/CP770: New file.
61363         * iconvdata/testdata/CP770..UTF8: New file.
61364         * iconvdata/testdata/CP771: New file.
61365         * iconvdata/testdata/CP771..UTF8: New file.
61366         * iconvdata/testdata/CP772: New file.
61367         * iconvdata/testdata/CP772..UTF8: New file.
61368         * iconvdata/testdata/CP773: New file.
61369         * iconvdata/testdata/CP773..UTF8: New file.
61370         * iconvdata/testdata/CP774: New file.
61371         * iconvdata/testdata/CP774..UTF8: New file.
61373         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
61374         END CHARMAP line.
61375         * iconvdata/gen-8bit-gap.sh: Likewise.
61376         * iconvdata/gen-8bit.sh: Likewise.
61378         * locale/iso-639.def: Add ary entry.
61380         [BZ #11258]
61381         * locale/C-translit.h.in: Add U20A1 transliteration.
61383         [BZ #12178]
61384         * locale/iso-639.def: Add wae entry.
61385         Patch by Kevin Bortis <bortis@translate-wae.ch>.
61387         [BZ #12545]
61388         * locale/programs/localedef.c (construct_output_path): Use ssize_t
61389         for n.
61391         [BZ #12711]
61392         * locale/C-translit.h.in: Add entry for U20B9.
61393         Patch by pravin.d.s@gmail.com.
61395 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
61397         [BZ #12713]
61398         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
61399         ENAMETOOLONG use generic getcwd.
61400         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
61401         in rtld.  Use *stat64.
61402         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
61403         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
61404         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
61405         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
61406         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
61407         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
61408         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
61409         __fstatat64 macros.
61410         * include/dirent.h: Add libc_hidden_proto for rewinddir.
61411         * dirent/rewinddir.c: Add libc_hidden_def.
61412         * sysdeps/mach/hurd/rewinddir.c: Likewise.
61413         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
61415         * include/dirent.h (__alloc_dir): Add flags parameter.
61416         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
61417         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
61418         __alloc_dir.
61419         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
61420         from fdopendir if O_CLOEXEC is already set.
61422 2011-03-15  Alan Modra  <amodra@gmail.com>
61424         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
61425         l_tls_firstbyte_offset non-zero.  Save padding offset in
61426         l_tls_firstbyte_offset for later use.
61427         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
61428         freeing static tls block.
61430 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
61432         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
61433         where #ifdef was intended.  The intent is to prevent ARG_MAX from
61434         being defined by the kernel headers.
61436 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
61438         [BZ #12734]
61439         * resolv/resolv.h: Define RES_NOTLDQUERY.
61440         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
61441         no-tld-query and set RES_NOTLDQUERY.
61442         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
61443         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
61444         modern BIND to search name as TLD unless forbidden.
61446 2011-05-07  Petr Baudis  <pasky@suse.cz>
61447             Ulrich Drepper  <drepper@gmail.com>
61449         [BZ #12393]
61450         * elf/dl-load.c (fillin_rpath): Move trusted path check...
61451         (is_trusted_path): ...to here.
61452         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
61453         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
61454         using is_trusted_path_normalize() in setuid scripts.
61456 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
61458         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
61459         __BEGIN/__END_DECLS.
61461 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
61463         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
61464         NSS_STATUS_NOTFOUND if no record was found.
61466 2011-05-05  Andreas Schwab  <schwab@redhat.com>
61468         * sunrpc/Makefile (headers): Add rpc/netdb.h.
61469         (headers-not-in-tirpc): Remove rpc/netdb.h
61470         * resolv/netdb.h: Revert last change.
61472 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
61474         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
61475         circular dependency between libgcc.a and libc.a.
61477 2011-05-05  Andreas Schwab  <schwab@redhat.com>
61479         * resolv/netdb.h: Don't include <rpc/netdb.h>.
61480         * nis/Makefile: Don't install rpcsvc/*.
61481         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
61482         instead of <rpc/types.h>.
61483         (MAXHOSTNAMELEN): Define.
61485 2011-05-03  Andreas Schwab  <schwab@redhat.com>
61487         * elf/ldconfig.c (add_dir): Don't crash on empty path.
61489 2011-04-28  Maciej Babinski  <mbabinski@google.com>
61491         [BZ #12714]
61492         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
61493         gethostbyname4_r when IPv6 results are possible.
61495 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
61497         [BZ #12723]
61498         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
61499         _PC_PIPE_BUF handling.
61501 2011-04-30  Bruno Haible  <bruno@clisp.org>
61503         [BZ #12717]
61504         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
61505         * resolv/netdb.h (getnameinfo): Change type of flags parameter
61506         to 'int'.
61507         * inet/getnameinfo.c (getnameinfo): Likewise.
61509 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
61511         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
61512         to groups setting in database lookup.
61513         * nss/nsswitch.conf: Add initgroups entry.
61515 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
61517         [BZ #12685]
61518         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
61519         mode string.
61520         Patch by Eric Blake <eblake@redhat.com>.
61522 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
61524         * sunrpc/Makefile (need-export-routines): Add svc_run.
61525         (routines): Remove svc_run.
61526         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
61527         * sunrpc/clnt_perr.c (clnt_perrno): Export.
61528         * sunrpc/svc_run.c (svc_run): Likewise.
61529         * sunrpc/svc_udp.c (svcudp_create): Likewise.
61531 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
61533         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
61534         problem in reallocation in last patch.
61536 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
61538         * sunrpc/Makefile: Move inclusion of Rules.
61540 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
61542         * nss/nss_files/files-initgroups.c: New file.
61543         * nss/Makefile (libnss_files-routines): Add files-initgroups.
61544         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
61545         _nss_files_initgroups_dyn.
61547 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
61549         * elf/elf.h (R_ARM_IRELATIVE): Define.
61551 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
61553         * po/ru.po: Update from translation team.
61555 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
61557         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
61558         dependencies.
61560 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
61562         [BZ #12653]
61563         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
61564         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
61565         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
61566         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
61567         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
61569 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
61571         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
61572         differing bytes.
61573         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
61574         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
61575         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61577 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
61579         [BZ #12420]
61580         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
61581         storing it.
61582         * stdlib/bug-getcontext.c: New file.
61583         * stdlib/Makefile: Add rules to build and run bug-getcontext.
61585 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61587         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
61588         instructions into .machine "z9-109".
61589         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
61590         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
61592 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61594         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
61595         between environment variables and auxiliary vector.
61597 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
61599         * Makefile: Add rules to build linkobj/libc.so.
61600         * include/libc-symbols.h: Define libc_hidden_nolink.
61601         * include/rpc/auth.h: Mark functions which are to be hidden.
61602         * include/rpc/auth_des.h: Likewise.
61603         * include/rpc/auth_unix.h: Likewise.
61604         * include/rpc/clnt.h: Likewise.
61605         * include/rpc/des_crypt.h: Likewise.
61606         * include/rpc/key_prot.h: Likewise.
61607         * include/rpc/pmap_clnt.h: Likewise.
61608         * include/rpc/pmap_prot.h: Likewise.
61609         * include/rpc/pmap_rmt.h: Likewise.
61610         * include/rpc/rpc_msg.h: Likewise.
61611         * include/rpc/svc.h: Likewise.
61612         * include/rpc/svc_auth.h: Likewise.
61613         * include/rpc/xdr.h: Likewise.
61614         * nis/Makefile: Link all DSOs against linkobj/libc.so.
61615         * nss/Makefile: Likewise.
61616         * sunrpc/Makefile: Don't install headers.  Build library with normal
61617         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
61618         * sunrpc/auth_des.c: Hide exported symbols by default, export some
61619         for the compat linking library.  Remove use of INTDEF/INTUSE.
61620         * sunrpc/auth_none.c: Likewise.
61621         * sunrpc/auth_unix.c: Likewise.
61622         * sunrpc/authdes_prot.c: Likewise.
61623         * sunrpc/authuxprot.c: Likewise.
61624         * sunrpc/clnt_gen.c: Likewise.
61625         * sunrpc/clnt_perr.c: Likewise.
61626         * sunrpc/clnt_raw.c: Likewise.
61627         * sunrpc/clnt_simp.c: Likewise.
61628         * sunrpc/clnt_tcp.c: Likewise.
61629         * sunrpc/clnt_udp.c: Likewise.
61630         * sunrpc/clnt_unix.c: Likewise.
61631         * sunrpc/des_crypt.c: Likewise.
61632         * sunrpc/des_soft.c: Likewise.
61633         * sunrpc/get_myaddr.c: Likewise.
61634         * sunrpc/key_call.c: Likewise.
61635         * sunrpc/key_prot.c: Likewise.
61636         * sunrpc/netname.c: Likewise.
61637         * sunrpc/pm_getmaps.c: Likewise.
61638         * sunrpc/pm_getport.c: Likewise.
61639         * sunrpc/pmap_clnt.c: Likewise.
61640         * sunrpc/pmap_prot.c: Likewise.
61641         * sunrpc/pmap_prot2.c: Likewise.
61642         * sunrpc/pmap_rmt.c: Likewise.
61643         * sunrpc/publickey.c: Likewise.
61644         * sunrpc/rpc_cmsg.c: Likewise.
61645         * sunrpc/rpc_common.c: Likewise.
61646         * sunrpc/rpc_dtable.c: Likewise.
61647         * sunrpc/rpc_prot.c: Likewise.
61648         * sunrpc/rpc_thread.c: Likewise.
61649         * sunrpc/rtime.c: Likewise.
61650         * sunrpc/svc.c: Likewise.
61651         * sunrpc/svc_auth.c: Likewise.
61652         * sunrpc/svc_authux.c: Likewise.
61653         * sunrpc/svc_raw.c: Likewise.
61654         * sunrpc/svc_run.c: Likewise.
61655         * sunrpc/svc_simple.c: Likewise.
61656         * sunrpc/svc_tcp.c: Likewise.
61657         * sunrpc/svc_udp.c: Likewise.
61658         * sunrpc/svc_unix.c: Likewise.
61659         * sunrpc/svcauth_des.c: Likewise.
61660         * sunrpc/xcrypt.c: Likewise.
61661         * sunrpc/xdr.c: Likewise.
61662         * sunrpc/xdr_array.c: Likewise.
61663         * sunrpc/xdr_float.c: Likewise.
61664         * sunrpc/xdr_intXX_t.c: Likewise.
61665         * sunrpc/xdr_mem.c: Likewise.
61666         * sunrpc/xdr_rec.c: Likewise.
61667         * sunrpc/xdr_ref.c: Likewise.
61668         * sunrpc/xdr_sizeof.c: Likewise.
61669         * sunrpc/xdr_stdio.c: Likewise.
61671 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
61673         [BZ #12650]
61674         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
61675         * sysdeps/ia64/dl-tls.h: Likewise.
61676         * sysdeps/powerpc/dl-tls.h: Likewise.
61677         * sysdeps/s390/dl-tls.h: Likewise.
61678         * sysdeps/sh/dl-tls.h: Likewise.
61679         * sysdeps/sparc/dl-tls.h: Likewise.
61680         * sysdeps/x86_64/dl-tls.h: Likewise.
61681         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
61683 2011-03-14  Andreas Schwab  <schwab@redhat.com>
61685         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
61686         rpath element also skip the following colon.
61687         (expand_dynamic_string_token): Add is_path parameter and pass
61688         down to DL_DST_REQUIRED and _dl_dst_substitute.
61689         (decompose_rpath): Call expand_dynamic_string_token with
61690         non-zero is_path.  Ignore empty rpaths.
61691         (_dl_map_object_from_fd): Call expand_dynamic_string_token
61692         with zero is_path.
61694 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
61696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
61697         Make cancelable.
61699 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
61701         [BZ #12655]
61702         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
61703         Patch by Filipe David Manana <fdmanana@apache.org>.
61705 2011-04-07  Andreas Schwab  <schwab@redhat.com>
61707         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
61708         Maintain aligned stack.
61709         (CHECK_RSP): Remove unused macro.
61711 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
61713         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
61714         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
61716 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
61718         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
61720         * include/features.h: Mention __USE_XOPEN2K8 in comment.
61722 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
61724         [BZ #12518]
61725         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
61726         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
61727         * sysdeps/x86_64/memmove.c: New file.
61728         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
61729         (memcpy): Renamed to ...
61730         (__new_memcpy): This.
61731         (memcpy): Provide GLIBC_2_14 memcpy.
61732         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
61733         (memcpy): Provide GLIBC_2_2_5 memcpy.
61735 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61737         [BZ #12631]
61738         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
61740 2011-03-30  Andreas Schwab  <schwab@redhat.com>
61742         * misc/syncfs.c: New file.
61743         * misc/Makefile (routines): Add syncfs.
61744         * posix/unistd.h: Declare syncfs.
61745         * sysdeps/unix/syscalls.list: Add syncfs.
61747 2011-04-01  Andreas Schwab  <schwab@redhat.com>
61749         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
61750         open_by_handle_at.
61751         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61752         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61753         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61754         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61755         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61756         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
61757         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61759 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61761         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
61762         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61763         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
61764         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61765         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61766         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61767         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61769         * io/Makefile: Compile fallocate.c, fallocate64.c, and
61770         sync_file_range.c with -fexceptions.
61771         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
61772         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
61773         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
61774         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
61775         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
61776         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
61777         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
61778         sync_file_range as cancellation point
61779         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
61780         now a wrapper around __call_sync_file_range with cancellation handling.
61781         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
61782         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
61783         function name to __call_sync_file_range.
61784         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
61785         Add call_sync_file_range.
61787 2011-04-01  Andreas Schwab  <schwab@redhat.com>
61789         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61790         bits/timex.h.
61792 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61794         * iconv/iconv.h: Fix typo in comment.
61795         * io/fcntl.h: Likewise.
61796         * libio/stdio.h: Likewise.
61797         * posix/spawn.h: Likewise.
61798         * posix/unistd.h: Likewise.
61799         * stdlib/stdlib.h: Likewise.
61800         * time/time.h: Likewise.
61801         * wcsmbs/wchar.h: Likewise.
61803         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
61804         open_by_handle): Add.
61805         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
61806         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
61807         Augment a few comments.
61808         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61809         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61810         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61811         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61812         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61813         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
61814         open_by_handle.
61816         * io/fcntl.h (AT_EMPTY_PATH): Define.
61818 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
61820         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
61821         * sysdeps/unix/sysv/linux/bits/time.h: New file.
61822         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
61823         to...
61824         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
61825         * Versions.def: Add GLIBC_2.14.
61826         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
61827         Export.
61829 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
61831         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
61832         round counter.
61833         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
61835 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61837         [BZ #12597]
61838         * string/test-strncmp.c (do_page_test): New function.
61839         (check2): Likewise.
61840         (test_main): Call check2.
61841         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
61843 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
61845         [BZ #12587]
61846         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
61847         Handle cache information in CPU leaf 4.
61848         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
61850 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
61852         [BZ #12583]
61853         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
61854         character representation.
61855         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
61857 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
61859         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
61860         END(__isnan) to END(__isnanf) to match function entry point/label
61861         EALIGN(__isnanf,...).
61863 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
61865         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
61867 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
61869         [BZ #12510]
61870         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
61871         copy from the symbol referenced in the relocation to initialize the
61872         used variable.
61873         Patch by Piotr Bury <pbury@goahead.com>.
61874         * elf/Makefile: Add rules to build and tst-unique3.
61875         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
61876         * elf/tst-unique3.cc: New file.
61877         * elf/tst-unique3.h: New file.
61878         * elf/tst-unique3lib.cc: New file.
61879         * elf/tst-unique3lib2.cc: New file.
61881         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
61883 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
61885         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
61886         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
61887         to _start.
61889 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
61891         * elf/dl-load.c (_dl_map_object): If we are looking for the first
61892         to-be-loaded object along a path to loader is ld.so.
61894 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
61895             Ulrich Drepper  <drepper@gmail.com>
61897         * sysdeps/x86_64/memset.S: After aligning destination, code
61898         branches to different locations depending on the value of
61899         misalignment, when multiarch is enabled. Fix this.
61901 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
61903         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
61904         Set _x86_64_preferred_memory_instruction for AMD processsors.
61905         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61906         Set bit_Prefer_SSE_for_memop for AMD processors.
61908 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
61910         * libio/fmemopen.c (fmemopen): Optimize a bit.
61912 2011-03-03  Andreas Schwab  <schwab@redhat.com>
61914         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
61916 2011-03-03  Roland McGrath  <roland@redhat.com>
61918         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
61920 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
61922         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
61923         __bzero_ultra1 instead of __memset_ultra1.
61925 2011-02-23  Andreas Schwab  <schwab@redhat.com>
61926             Ulrich Drepper  <drepper@gmail.com>
61928         [BZ #12509]
61929         * include/link.h (struct link_map): Add l_orig_initfini.
61930         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
61931         returning unsuccessfully.
61932         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
61933         close of a file loaded at startup, restore the original l_initfini
61934         list.
61935         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
61936         list, store the pointer.
61937         * elf/Makefile ($(objpfx)noload-mem): New rule.
61938         (noload-ENV): Define.
61939         (tests): Add $(objpfx)noload-mem.
61940         * elf/noload.c: Include <memcheck.h>.
61941         (main): Call mtrace.  Close all opened handles.
61943 2011-02-17  Andreas Schwab  <schwab@redhat.com>
61945         [BZ #12454]
61946         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
61947         dependencies are missing.
61949 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61951         Fix __if_freereq crash: Unlike the generic version which uses free,
61952         Hurd needs munmap.
61953         * sysdeps/mach/hurd/ifreq.h: New file.
61955 2011-01-27  Petr Baudis  <pasky@suse.cz>
61956             Ulrich Drepper  <drepper@gmail.com>
61958         [BZ 12445]#
61959         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
61960         to extend_alloca().
61961         * stdio-common/bug23.c: New file.
61962         * stdio-common/Makefile (tests): Add bug23.
61964 2010-09-28  Andreas Schwab  <schwab@redhat.com>
61965             Ulrich Drepper  <drepper@gmail.com>
61967         [BZ #12489]
61968         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
61969         before performing relro protection.  At old place add assertion
61970         to make sure nothing changed.
61972 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
61973             Glauber de Oliveira Costa  <glommer@gmail.com>
61975         * elf/elf.h: Add new ARM TLS relocs.
61977 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
61979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
61980         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
61981         cast from r3.
61982         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
61983         'tests' variable.
61984         * sysdeps/wordsize-64/tst-writev.c: New file.
61986 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
61988         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
61989         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
61990         insns in _dl_start to prevent a TOC reference before relocs are
61991         resolved.
61993 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
61995         [BZ #12469]
61996         * Makeconfig: Remove RANLIB definition.
61997         * Makerules: Don't use RANLIB.
61998         * aclocal.m4: Remove ranlib test.
61999         * configure.in: No need to check for ranlib.
62000         * elf/rtld-Rules: Don't use RANLIB.
62002 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62004         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
62005         protection macro.
62006         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
62007         inclusion protection macro.
62009         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
62010         SIGRTMIN and SIGRTMAX and print information in that case only when
62011         SIGRTMIN is defined.
62013 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
62015         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
62016         arginfo fn returning -1.
62018         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
62019         and thousands string is zero terminated.
62021 2011-02-03  Andreas Schwab  <schwab@redhat.com>
62023         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
62024         sysdeps/unix/sysv/linux/bits/socket.h.
62026 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62028         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
62029         (__CPU_COUNT): Remove old macros.
62030         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
62031         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
62032         (__CPU_ALLOC, __CPU_FREE): Add macros.
62033         (__sched_cpualloc, __sched_cpufree): Add declarations.
62035 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
62037         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
62038         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
62039         * nscd/aicache.c (addhstaiX): Return timeout of added value.
62040         (readdhstai): Return value of addhstaiX call.
62041         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
62042         (addgrbyX): Return value returned by cache_addgr.
62043         (readdgrbyname): Return value returned by addgrbyX.
62044         (readdgrbygid): Likewise.
62045         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
62046         (addpwbyX): Return value returned by cache_addpw.
62047         (readdpwbyname): Return value returned by addhstbyX.
62048         (readdpwbyuid): Likewise.
62049         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
62050         (addservbyX): Return value returned by cache_addserv.
62051         (readdservbyname): Return value returned by addservbyX:
62052         (readdservbyport): Likewise.
62053         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
62054         (addhstbyX): Return value returned by cache_addhst.
62055         (readdhstbyname): Return value returned by addhstbyX.
62056         (readdhstbyaddr): Likewise.
62057         (readdhstbynamev6): Likewise.
62058         (readdhstbyaddrv6): Likewise.
62059         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
62060         (readdinitgroups): Return value returned by addinitgroupsX.
62061         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
62062         (prune_cache): Keep track of timeout value of re-added entries.
62063         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
62064         * nscd/nscd.h: Adjust prototypes of readd* functions.
62066 2011-02-04  Roland McGrath  <roland@redhat.com>
62068         * nis/nis_server.c (nis_servstate): Use the right name for 0.
62069         (nis_stats): Likewise.
62070         * nis/nis_modify.c (nis_modify): Likewise.
62071         * nis/nis_remove.c (nis_remove): Likewise.
62072         * nis/nis_add.c (nis_add): Likewise.
62074         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
62076         * posix/fnmatch_loop.c: Add some consts.
62078         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
62080 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
62082         [BZ #12460]
62083         * config.make.in (config-cflags-novzeroupper): Define.
62084         * configure.in: Substitute libc_cv_cc_novzeroupper.
62085         * elf/Makefile (AVX-CFLAGS): Define.
62086         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
62087         (CFLAGS-tst-auditmod4a.c): Likewise.
62088         (CFLAGS-tst-auditmod4b.c): Likewise.
62089         (CFLAGS-tst-auditmod6b.c): Likewise.
62090         (CFLAGS-tst-auditmod6c.c): Likewise.
62091         (CFLAGS-tst-auditmod7b.c): Likewise.
62092         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
62094 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
62096         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
62097         function to the callback.
62098         Patch partly by Jiri Olsa <jolsa@redhat.com>.
62100 2011-02-02  Andreas Schwab  <schwab@redhat.com>
62102         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
62103         of errno.
62105 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
62107         [BZ #11724]
62108         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
62109         of constructors.
62110         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
62111         of destructors.
62112         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
62114         [BZ #11724]
62115         * elf/Makefile: Add rules to build and run new test.
62116         * elf/tst-initorder.c: New file.
62117         * elf/tst-initorder.exp: New file.
62118         * elf/tst-initordera1.c: New file.
62119         * elf/tst-initordera2.c: New file.
62120         * elf/tst-initordera3.c: New file.
62121         * elf/tst-initordera4.c: New file.
62122         * elf/tst-initorderb1.c: New file.
62123         * elf/tst-initorderb2.c: New file.
62124         * elf/tst-order-a1.c: New file.
62125         * elf/tst-order-a2.c: New file.
62126         * elf/tst-order-a3.c: New file.
62127         * elf/tst-order-a4.c: New file.
62128         * elf/tst-order-b1.c: New file.
62129         * elf/tst-order-b2.c: New file.
62130         * elf/tst-order-main.c: New file.
62131         New test case by George Gensure <werkt0@gmail.com>.
62133 2010-10-01  Andreas Schwab  <schwab@redhat.com>
62135         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
62136         decoding ACE if AI_CANONIDN.
62138 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
62140         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
62142 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
62144         * version.h (RELEASE): Bump for 2.13 release.
62145         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
62147         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
62149         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
62150         MADV_NOHUGEPAGE.
62151         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
62152         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
62153         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62154         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
62155         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62156         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62158         * posix/getconf.c: Update copyright year.
62159         * catgets/gencat.c: Likewise.
62160         * csu/version.c: Likewise.
62161         * debug/catchsegv.sh: Likewise.
62162         * debug/xtrace.sh: Likewise.
62163         * elf/ldconfig.c: Likewise.
62164         * elf/ldd.bash.in: Likewise.
62165         * elf/sprof.c (print_version): Likewise.
62166         * iconv/iconv_prog.c: Likewise.
62167         * iconv/iconvconfig.c: Likewise.
62168         * locale/programs/locale.c: Likewise.
62169         * locale/programs/localedef.c: Likewise.
62170         * malloc/memusage.sh: Likewise.
62171         * malloc/mtrace.pl: Likewise.
62172         * nscd/nscd.c (print_version): Likewise.
62173         * nss/getent.c: Likewise.
62175         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
62176         PF_CAIF, and PF_ALG.
62177         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62179 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
62181         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
62182         (modules-names): Use them.
62183         (ifunc-test-modules, ifunc-pie-tests): Define.
62184         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
62185         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
62186         (test-extras): Likewise.
62187         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
62188         $(compile-command.c).
62189         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
62190         (all-built-dso): Define.
62191         (check-textrel.out, check-execstack.out): Depend on it.
62193         * configure.in: Don't override --enable-multi-arch.
62195 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
62197         [BZ #6812]
62198         * nscd/hstcache.c (tryagain): Define.
62199         (cache_addhst): Return tryagain not notfound for temporary errors.
62200         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
62201         failed.
62203 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
62205         [BZ #10563]
62206         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
62207         to make the syscall.
62208         * sysdeps/unix/sysv/linux/setgroups.c: New file.
62210         [BZ #12378]
62211         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
62212         and fall back to matching as normal character if the string ends before
62213         the matching ']' is found.  This is what POSIX requires.
62214         * posix/testfnm.c: Adjust test result.
62215         * posix/globtest.sh: Adjust test result.  Add new test.
62216         * posix/tst-fnmatch.input: Likewise.
62217         * posix/tst-fnmatch2.c: Add new test.
62219 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
62221         * elf/Makefile (check-execstack): Revert last change.  Depend on
62222         check-execstack.h.
62223         (check-execstack.h): New target.
62224         (generated): Add check-execstack.h.
62225         * elf/check-execstack.c: Include "check-execstack.h".
62226         (main): Revert last change.
62227         (handle_file): Return zero if GNU_STACK is absent and
62228         DEFAULT_STACK_PERMS doesn't include PF_X.
62230 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
62232         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
62233         in child fails because the descriptor is already closed.
62234         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
62235         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
62236         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
62238         [BZ #12397]
62239         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
62240         syscall.
62242         [BZ #10484]
62243         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
62244         temporary buffer used to handle multi lookups locally.
62245         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
62247 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62249         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
62250         loader is ld.so.
62252 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
62254         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
62255         alignment for SSE2.
62257 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62259         [BZ #12394]
62260         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
62261         characters.  When rounding increased number of integer digits recompute
62262         number of groups.
62263         * stdio-common/tst-grouping.c: New file.
62264         * stdio-common/Makefile: Add rules to build and run tst-grouping.
62266 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
62268         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
62269         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
62271         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
62272         void.
62273         * bits/select.h: Likewise.
62275 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
62277         * po/ja.po: Update from translation team.
62279 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
62281         [BZ #11155]
62282         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
62283         implementation just like for lxstat, fxstatat, et al.
62285 2010-12-27  Jim Meyering  <meyering@redhat.com>
62287         [BZ #12348]
62288         * posix/regexec.c (build_trtable): Return failure indication upon
62289         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
62291 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
62293         [BZ #12201]
62294         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
62295         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
62296         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
62297         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
62299         [BZ #12207]
62300         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
62302         [BZ #12204]
62303         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
62304         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
62306 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
62308         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
62309         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
62310         script has SORT_BY_INIT_PRIORITY.
62311         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
62312         NO_CTORS_DTORS_SECTIONS is defined.
62313         * elf/soinit.c: Likewise.
62314         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
62315         NO_CTORS_DTORS_SECTIONS is defined.
62316         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
62317         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
62318         * sysdeps/sh/init-first.c: Likewise.
62319         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
62321 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
62323         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
62324         always use the slow path.
62326 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
62328         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
62329         similar rule which adds the sysdep directories to the header search in
62330         order to pick up the correct platform stackinfo.h.
62331         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
62332         perform test if it is, otherwise return successfully without testing.
62333         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
62334         DEFAULT_STACK_PERMS define in stackinfo.h.
62335         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
62336         defined in stackinfo.h.
62337         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
62338         DEFAULT_STACK_PERMS defined in stackinfo.h.
62339         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
62340         * sysdeps/ia64/stackinfo.h: Likewise.
62341         * sysdeps/s390/stackinfo.h: Likewise.
62342         * sysdeps/sh/stackinfo.h: Likewise.
62343         * sysdeps/sparc/stackinfo.h: Likewise.
62344         * sysdeps/x86_64/stackinfo.h: Likewise.
62345         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
62346         PF_X for powerpc64.  Retain PF_X for powerpc32.
62348 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
62350         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
62351         accurately.
62352         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
62353         GETDENTS_64BIT_ALIGNED.
62355 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
62357         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
62359 2010-12-10  Andreas Schwab  <schwab@redhat.com>
62361         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
62362         _GNU_SOURCE.
62364         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
62365         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
62366         Remove __restrict.
62367         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
62368         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
62370 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
62372         [BZ #11655]
62373         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
62374         are initialized.
62376 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
62378         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
62380 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
62382         * po/it.po: Update from translation team.
62384 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
62386         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
62387         unused codes.
62389 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
62391         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
62393 2010-11-24  Andreas Schwab  <schwab@redhat.com>
62395         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
62396         specially.
62397         (gaih_getanswer_slice): Likewise.
62399 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
62401         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
62403 2010-05-31  Petr Baudis  <pasky@suse.cz>
62405         [BZ #11149]
62406         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
62407         silently even in the chroot mode.
62409 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
62411         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
62412         last patch a bit.  Pretty printing
62414 2010-05-31  Petr Baudis <pasky@suse.cz>
62416         [BZ #10085]
62417         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
62418         initialization of skip_initgroups_dyn.
62420 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
62422         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
62423         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62425 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
62427         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
62429 2010-11-11  Andreas Schwab  <schwab@redhat.com>
62431         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
62432         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
62433         (tst-fnmatch-ENV): Set MALLOC_TRACE.
62434         ($(objpfx)tst-fnmatch-mem): New rule.
62435         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
62436         * posix/tst-fnmatch.c (main): Call mtrace.
62438 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
62440         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62441         Support Intel processor model 6 and model 0x2c.
62443 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
62445         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
62446           signed comparison.
62448 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
62450         [BZ #12205]
62451         * string/test-strncasecmp.c (check_result): New function.
62452         (do_one_test): Use it.
62453         (check1): New function.
62454         (test_main): Use it.
62455         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
62456         Support strcasecmp and strncasecmp.
62458 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
62460         [BZ #12194]
62461         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
62462         * sysdeps/x86_64/bits/byteswap.h: Likewise.
62464 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
62466         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
62467         IFUNC support.
62468         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62469         memset-x86-64.
62470         * sysdeps/x86_64/multiarch/bzero.S: New file.
62471         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
62472         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
62473         * sysdeps/x86_64/multiarch/memset.S: New file.
62474         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
62475         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62476         Set bit_Prefer_SSE_for_memop for Intel processors.
62477         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
62478         Define.
62479         (index_Prefer_SSE_for_memop): Define.
62480         (HAS_PREFER_SSE_FOR_MEMOP): Define.
62482 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
62484         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
62485         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
62487 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
62489         [BZ #12191]
62490         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
62491         (__x86_64_raw_data_cache_size_half): Likewise.
62492         (__x86_64_raw_shared_cache_size): Likewise.
62493         (__x86_64_raw_shared_cache_size_half): Likewise.
62495         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
62496         (__x86_64_raw_data_cache_size_half): Likewise.
62497         (__x86_64_raw_shared_cache_size): Likewise.
62498         (__x86_64_raw_shared_cache_size_half): Likewise.
62499         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
62500         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
62501         and __x86_64_raw_shared_cache_size_half.  Round
62502         __x86_64_data_cache_size_half, __x86_64_data_cache_size
62503         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
62504         to multiple of 256 bytes.
62506 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
62508         [BZ #12167]
62509         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
62510         of inacessible symlinks.  Verify result of symlink before returning it.
62511         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
62512         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
62514 2010-10-28  Erich Ritz  <erichritz@gmail.com>
62516         * math/math.h (isinf): Fix typo in comment.
62518 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
62520         * po/da.po: Update from translation team.
62522 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
62524         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
62525         is added to the list.
62527 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62528             Ulrich Drepper  <drepper@gmail.com>
62530         * elf/dl-object.c (_dl_new_object): Don't append the new object to
62531         the global list here.  Move code to...
62532         (_dl_add_to_namespace_list): ...here.  New function.
62533         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
62534         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
62535         * elf/dl-load.c (lose): Don't remove the element from the list.
62536         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
62537         (_dl_map_object): Likewise.
62539 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
62541         [BZ #12159]
62542         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
62543         into all bytes of SSE register.
62544         Patch by Richard Li <richardpku@gmail.com>.
62546 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
62548         [BZ #12140]
62549         * malloc/malloc.c (_int_free): Fill correct number of bytes when
62550         perturbing.
62552 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
62554         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
62555         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
62556         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
62557         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
62558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
62559         submachine.
62560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
62562 2010-10-22  Andreas Schwab  <schwab@redhat.com>
62564         * include/dlfcn.h (__RTLD_SECURE): Define.
62565         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
62566         mode & __RTLD_SECURE instead.
62567         (open_path): Rename preloaded parameter to secure.
62568         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
62569         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
62570         * elf/dl-deps.c (openaux): Likewise.
62571         * elf/rtld.c (struct map_args): Remove is_preloaded.
62572         (map_doit): Don't use it.
62573         (dl_main): Likewise.
62574         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
62575         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
62577 2010-09-09  Andreas Schwab  <schwab@redhat.com>
62579         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
62580         (sysd-rules-targets): Remove duplicates.
62581         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
62582         rtld-%.$o dependency.
62584 2010-10-18  Andreas Schwab  <schwab@redhat.com>
62586         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
62587         _dl_map_object do it.
62589 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
62591         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
62592         fast fma builtins, define the macros in the C99 standard.
62593         (FP_FAST_FMAF): Likewise.
62594         (FP_FAST_FMAL): Likewise.
62595         * sysdeps/x86_64/bits/mathdef.h: Likewise.
62597         * bits/mathdef.h: Update copyright year.
62598         * sysdeps/powerpc/bits/mathdef.h: Likewise.
62600 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
62602         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
62603         builtins, define the macros in the C99 standard.
62604         (FP_FAST_FMAF): Likewise.
62605         (FP_FAST_FMAL): Likewise.
62606         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
62607         multiply/add.
62608         (FP_FAST_FMAF): Likewise.
62610 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
62612         [BZ #3268]
62613         * math/libm-test.inc (fma_test): Some new testcases.
62614         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
62615         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
62616         y and infinite z.  Do multiplication by C already in long double.
62617         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
62618         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
62619         y and infinite z.  Do bitwise or of inexact bit into u.d.
62620         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
62621         * sysdeps/i386/fpu/s_fmaf.S: Removed.
62622         * sysdeps/i386/fpu/s_fma.S: Removed.
62623         * sysdeps/i386/fpu/s_fmal.S: Removed.
62625 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
62627         [BZ #3268]
62628         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
62629         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
62630         computation is not scheduled after fetestexcept.  Fix value
62631         of minimum denormal long double.
62633 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
62635         [BZ #3268]
62636         * math/libm-test.inc (fma_test): Add some more tests.
62637         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
62638         correctly.
62640 2010-10-15  Andreas Schwab  <schwab@redhat.com>
62642         * scripts/data/localplt-s390-linux-gnu.data: New file.
62643         * scripts/data/localplt-s390x-linux-gnu.data: New file.
62645 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
62647         [BZ #3268]
62648         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
62649         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
62650         instead of dbl-64.
62651         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
62652         inlines.
62653         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
62654         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
62655         if one of x and y is very large and the other is subnormal.
62656         * sysdeps/s390/fpu/s_fmaf.c: New file.
62657         * sysdeps/s390/fpu/s_fma.c: New file.
62658         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
62659         * sysdeps/powerpc/fpu/s_fma.S: New file.
62660         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
62661         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
62662         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
62664 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
62666         [BZ #3268]
62667         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
62668         fma tests.
62669         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
62670         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
62671         * sysdeps/i386/i686/multiarch/s_fma.c: Include
62672         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
62673         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
62674         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
62675         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
62677 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
62679         [BZ #12078]
62680         * posix/regcomp.c (parse_branch): One more memory leak plugged.
62681         * posix/bug-regex31.input: Add test case.
62683 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
62685         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
62686         * posix/bug-regex31.input: New file.
62688         [BZ #12078]
62689         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
62690         (parse_sub_exp): Fix last change, use postorder.
62692         * posix/bug-regex31.c: New file.
62693         * posix/Makefile: Add rules to build and run bug-regex31.
62695         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
62697         [BZ #12078]
62698         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
62700         [BZ #12108]
62701         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
62702         to have entries in sys_siglist.
62704         [BZ #12093]
62705         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
62706         be NULL.
62708 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
62710         [BZ #3268]
62711         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
62712         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
62713         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
62714         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
62715         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
62716         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
62717         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
62718         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
62719         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
62720         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
62721         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
62722         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
62723         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
62724         * math/ftestexcept.c (fetestexcept): Likewise.
62725         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
62726         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
62727         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
62728         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
62729         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
62730         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
62731         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62733 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
62735         [BZ #12107]
62736         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
62737         newline.
62739 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
62741         * string/bug-strstr1.c: New file.
62742         * string/Makefile: Add rules to build and run bug-strstr1.
62744 2010-10-05  Eric Blake  <eblake@redhat.com>
62746         [BZ #12092]
62747         * string/str-two-way.h (two_way_long_needle): Always clear memory
62748         when skipping input due to the shift table.
62750 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
62752         [BZ #12005]
62753         * malloc/mcheck.c: Handle large requests.
62755         [BZ #12077]
62756         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
62757         for strncmp and strncasecmp.
62758         * string/stratcliff.c: Add tests for strcmp and strncmp.
62759         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
62761 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62763         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
62764         __set_fpscr.
62766 2010-09-30  Andreas Jaeger  <aj@suse.de>
62768         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
62769         (CGROUP_SUPER_MAGIC): Define.
62770         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62771         Handle btrfs and cgroup file systems.
62772         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
62773         Likewise.
62775 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
62777         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
62778         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
62780 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62782         [BZ #12067]
62783         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
62784         trying to locate the ELF header.
62786 2010-09-27  Andreas Schwab  <schwab@redhat.com>
62788         [BZ #11611]
62789         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
62790         Mask out sign-bit copies when constructing f_fsid.
62792 2010-09-24  Petr Baudis <pasky@suse.cz>
62794         * debug/stack_chk_fail_local.c: Add missing licence exception.
62795         * debug/warning-nop.c: Likewise.
62797 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
62799         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
62800         implementing getdents64 using getdents syscall, set d_type if
62801         __ASSUME_GETDENTS32_D_TYPE.
62803 2010-09-16  Andreas Schwab  <schwab@redhat.com>
62805         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
62806         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
62808 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
62810         [BZ #12037]
62811         * posix/unistd.h: Undo change of feature selection for ftruncate from
62812         2010-01-11.
62814 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
62816         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
62817         detection.
62819 2010-09-20  Andreas Schwab  <schwab@redhat.com>
62821         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
62822         fanotify_mark.
62823         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
62825 2010-09-14  Andreas Schwab  <schwab@redhat.com>
62827         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
62828         variables after CHECK_SP call.
62829         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
62831 2010-09-13  Andreas Schwab  <schwab@redhat.com>
62832             Ulrich Drepper  <drepper@redhat.com>
62834         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
62835         re-relocationg ld.so.
62836         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
62837         _dl_init_paths call.
62838         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
62839         here anymore.
62841 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
62843         * resolv/res_init.c (__res_vinit): Count the default server we added.
62845 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
62846             Ulrich Drepper  <drepper@redhat.com>
62848         [BZ #11968]
62849         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
62850         (____longjmp_chk): Use %ebx for saving value across system call.
62851         Add unwind info.
62853 2010-09-06  Andreas Schwab  <schwab@redhat.com>
62855         * manual/Makefile: Don't mix pattern rules with normal rules.
62857 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
62859         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
62860         operation.
62861         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
62862         * libio/iofopncook.c (_IO_cookie_init): Likewise.
62863         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
62864         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
62865         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
62866         Likewise.
62868 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
62870         [BZ #11979]
62871         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
62872         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
62874 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
62876         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
62877         * sysdeps/x86_64/addmul_1.S: Likewise.
62878         * sysdeps/x86_64/lshift.S: Likewise.
62879         * sysdeps/x86_64/mul_1.S: Likewise.
62880         * sysdeps/x86_64/rshift.S: Likewise.
62881         * sysdeps/x86_64/sub_n.S: Likewise.
62882         * sysdeps/x86_64/submul_1.S: Likewise.
62884 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62886         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
62887         Define __sched_param instead of SCHED_* and sched_param when
62888         <bits/sched.h> is included with __need_schedparam defined.
62889         * bits/sched.h [__need_schedparam]
62890         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
62891         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
62892         (__defined_schedparam): Define to 1.
62893         (__sched_param): New structure, identical to sched_param.
62894         (__need_schedparam): Undefine.
62896 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
62898         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
62899         (epoll_create1): Declare.
62901         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
62903 2010-08-31  Andreas Schwab  <schwab@redhat.com>
62905         [BZ #7066]
62906         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
62907         shifting retval into place.
62909 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
62911         * nis/rpcsvc/nis.h: Update copyright notice.
62912         * nis/rpcsvc/nis.x: Likewise.
62913         * nis/rpcsvc/nis_callback.h: Likewise.
62914         * nis/rpcsvc/nis_callback.x: Likewise.
62915         * nis/rpcsvc/nis_object.x: Likewise.
62916         * nis/rpcsvc/nis_tags.h: Likewise.
62917         * nis/rpcsvc/yp.h: Likewise.
62918         * nis/rpcsvc/yp.x: Likewise.
62919         * nis/rpcsvc/ypupd.h: Likewise.
62920         * nis/yp_xdr.c: Likewise.
62921         * nis/ypupdate_xdr.c: Likewise.
62923         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
62924         mainly the body of pmap_getport.  Add parameters to specify timeouts.
62925         (pmap_getport): Use __libc_rpc_getport.
62926         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
62927         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
62928         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
62930 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
62932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
62933         fanotify_mark.
62935 2010-08-27  Roland McGrath  <roland@redhat.com>
62937         * sysdeps/i386/i686/multiarch/Makefile
62938         (CFLAGS-varshift.c): New variable.
62940 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
62942         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
62943         * sysdeps/i386/i686/multiarch/varshift.c: New file.
62945         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
62947         * sysdeps/x86_64/strlen.S: Minimal code improvement.
62949 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
62951         * sysdeps/x86_64/strlen.S: Unroll the loop.
62952         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62953         strlen-sse2 strlen-sse2-bsf.
62954         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
62955         __strlen_no_bsf if bit_Slow_BSF is set.
62956         (__strlen_sse42): Removed.
62957         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
62958         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
62960 2010-08-25  Roland McGrath  <roland@redhat.com>
62962         * sysdeps/x86_64/multiarch/varshift.S: File removed.
62963         * sysdeps/x86_64/multiarch/varshift.c: New file.
62964         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
62965         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
62966         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
62967         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
62969 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
62971         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62972         strlen-sse2 strlen-sse2-bsf.
62973         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
62974         __strlen_sse2_bsf if bit_Slow_BSF is unset.
62975         (__strlen_sse2): Removed.
62976         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
62977         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
62978         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
62979         bit_Slow_BSF for Atom.
62980         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
62981         (index_Slow_BSF): Define.
62982         (HAS_SLOW_BSF): Define.
62984 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
62986         [BZ #10851]
62987         * resolv/res_init.c (__res_vinit): When no server address at all
62988         is given default to loopback.
62990 2010-08-24  Roland McGrath  <roland@redhat.com>
62992         * configure.in: Remove config-name.h generation.
62993         * configure: Regenerated.
62994         * config-name.in: File removed.
62995         * scripts/config-uname.sh: New file.
62996         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
62997         ($(objdir)config-name.h): New target.
62999         * sunrpc/rpc_parse.h: Avoid nested comment.
63001 2010-08-24  Richard Henderson  <rth@redhat.com>
63002             Ulrich Drepper  <drepper@redhat.com>
63003             H.J. Lu  <hongjiu.lu@intel.com>
63005         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
63006         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
63007         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
63008         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
63009         _mm_alignr_epi8 with _mm_loadu_si128.
63010         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
63011         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
63012         (__m128i_shift_right): Removed.
63013         * sysdeps/i386/i686/multiarch/varshift.h: New file.
63014         * sysdeps/i386/i686/multiarch/varshift.S: New file.
63015         * sysdeps/x86_64/multiarch/varshift.h: New file.
63016         * sysdeps/x86_64/multiarch/varshift.S: New file.
63018 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
63020         * configure.in: Move assembler checks to before sysdep dir checking.
63022 2010-08-20  Petr Baudis  <pasky@suse.cz>
63024         * LICENSES: Sync the sunrpc license.
63026 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
63028         * sunrpc/auth_des.c: Update copyright notice once again.
63029         * sunrpc/auth_none.c: Likewise.
63030         * sunrpc/auth_unix.c: Likewise.
63031         * sunrpc/authdes_prot.c: Likewise.
63032         * sunrpc/authuxprot.c: Likewise.
63033         * sunrpc/bindrsvprt.c: Likewise.
63034         * sunrpc/clnt_gen.c: Likewise.
63035         * sunrpc/clnt_perr.c: Likewise.
63036         * sunrpc/clnt_raw.c: Likewise.
63037         * sunrpc/clnt_simp.c: Likewise.
63038         * sunrpc/clnt_tcp.c: Likewise.
63039         * sunrpc/clnt_udp.c: Likewise.
63040         * sunrpc/clnt_unix.c: Likewise.
63041         * sunrpc/des_crypt.c: Likewise.
63042         * sunrpc/des_soft.c: Likewise.
63043         * sunrpc/get_myaddr.c: Likewise.
63044         * sunrpc/getrpcport.c: Likewise.
63045         * sunrpc/key_call.c: Likewise.
63046         * sunrpc/key_prot.c: Likewise.
63047         * sunrpc/openchild.c: Likewise.
63048         * sunrpc/pm_getmaps.c: Likewise.
63049         * sunrpc/pm_getport.c: Likewise.
63050         * sunrpc/pmap_clnt.c: Likewise.
63051         * sunrpc/pmap_prot.c: Likewise.
63052         * sunrpc/pmap_prot2.c: Likewise.
63053         * sunrpc/pmap_rmt.c: Likewise.
63054         * sunrpc/rpc/auth.h: Likewise.
63055         * sunrpc/rpc/auth_unix.h: Likewise.
63056         * sunrpc/rpc/clnt.h: Likewise.
63057         * sunrpc/rpc/des_crypt.h: Likewise.
63058         * sunrpc/rpc/key_prot.h: Likewise.
63059         * sunrpc/rpc/netdb.h: Likewise.
63060         * sunrpc/rpc/pmap_clnt.h: Likewise.
63061         * sunrpc/rpc/pmap_prot.h: Likewise.
63062         * sunrpc/rpc/pmap_rmt.h: Likewise.
63063         * sunrpc/rpc/rpc.h: Likewise.
63064         * sunrpc/rpc/rpc_des.h: Likewise.
63065         * sunrpc/rpc/rpc_msg.h: Likewise.
63066         * sunrpc/rpc/svc.h: Likewise.
63067         * sunrpc/rpc/svc_auth.h: Likewise.
63068         * sunrpc/rpc/types.h: Likewise.
63069         * sunrpc/rpc/xdr.h: Likewise.
63070         * sunrpc/rpc_clntout.c: Likewise.
63071         * sunrpc/rpc_cmsg.c: Likewise.
63072         * sunrpc/rpc_common.c: Likewise.
63073         * sunrpc/rpc_cout.c: Likewise.
63074         * sunrpc/rpc_dtable.c: Likewise.
63075         * sunrpc/rpc_hout.c: Likewise.
63076         * sunrpc/rpc_main.c: Likewise.
63077         * sunrpc/rpc_parse.c: Likewise.
63078         * sunrpc/rpc_parse.h: Likewise.
63079         * sunrpc/rpc_prot.c: Likewise.
63080         * sunrpc/rpc_sample.c: Likewise.
63081         * sunrpc/rpc_scan.c: Likewise.
63082         * sunrpc/rpc_scan.h: Likewise.
63083         * sunrpc/rpc_svcout.c: Likewise.
63084         * sunrpc/rpc_tblout.c: Likewise.
63085         * sunrpc/rpc_util.c: Likewise.
63086         * sunrpc/rpc_util.h: Likewise.
63087         * sunrpc/rpcinfo.c: Likewise.
63088         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
63089         * sunrpc/rpcsvc/key_prot.x: Likewise.
63090         * sunrpc/rpcsvc/klm_prot.x: Likewise.
63091         * sunrpc/rpcsvc/mount.x: Likewise.
63092         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
63093         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
63094         * sunrpc/rpcsvc/rex.x: Likewise.
63095         * sunrpc/rpcsvc/rstat.x: Likewise.
63096         * sunrpc/rpcsvc/rusers.x: Likewise.
63097         * sunrpc/rpcsvc/sm_inter.x: Likewise.
63098         * sunrpc/rpcsvc/spray.x: Likewise.
63099         * sunrpc/rpcsvc/yppasswd.x: Likewise.
63100         * sunrpc/rtime.c: Likewise.
63101         * sunrpc/svc.c: Likewise.
63102         * sunrpc/svc_auth.c: Likewise.
63103         * sunrpc/svc_authux.c: Likewise.
63104         * sunrpc/svc_raw.c: Likewise.
63105         * sunrpc/svc_run.c: Likewise.
63106         * sunrpc/svc_simple.c: Likewise.
63107         * sunrpc/svc_tcp.c: Likewise.
63108         * sunrpc/svc_udp.c: Likewise.
63109         * sunrpc/svc_unix.c: Likewise.
63110         * sunrpc/svcauth_des.c: Likewise.
63111         * sunrpc/xcrypt.c: Likewise.
63112         * sunrpc/xdr.c: Likewise.
63113         * sunrpc/xdr_array.c: Likewise.
63114         * sunrpc/xdr_float.c: Likewise.
63115         * sunrpc/xdr_mem.c: Likewise.
63116         * sunrpc/xdr_rec.c: Likewise.
63117         * sunrpc/xdr_ref.c: Likewise.
63118         * sunrpc/xdr_sizeof.c: Likewise.
63119         * sunrpc/xdr_stdio.c: Likewise.
63121         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
63122         handling.
63124 2010-08-19  Andreas Schwab  <schwab@redhat.com>
63126         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
63128 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
63130         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
63131         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
63132         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
63133         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
63134         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
63135         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
63136         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
63137         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
63138         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
63139         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
63140         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
63141         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
63142         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
63143         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
63145 2010-07-26  Anton Blanchard  <anton@samba.org>
63147         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
63148         * malloc/arena.c (heap_trim): Likewise.
63150 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
63152         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
63153         here.  Not...
63154         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
63155         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
63157 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
63159         * sysdeps/i386/elf/Makefile: New file.
63161 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63163         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
63164         from fanotify_init.
63165         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
63166         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63168 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
63170         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
63171         of strncasecmp_l.
63172         * sysdeps/multiarch/strcmp.S: Likewise.
63174 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
63176         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63177         strncase_l-nonascii.
63178         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63179         Add strncase_l-ssse3.
63180         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
63181         * sysdeps/x86_64/strcmp.S: Likewise.
63182         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
63183         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
63184         * sysdeps/x86_64/strncase.S: New file.
63185         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
63186         * sysdeps/x86_64/strncase_l.S: New file.
63187         * string/Makefile (strop-tests): Add strncasecmp.
63188         * string/test-strncasecmp.c: New file.
63190         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
63191         warning.
63193         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
63194         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
63196 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63198         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
63200 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
63202         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
63203         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
63204         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
63206 2010-05-01  Alan Modra  <amodra@gmail.com>
63208         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
63209         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
63210         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
63211         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
63212         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
63213         tidying.  Don't tail-call __sigjmp_save for static lib.
63214         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
63215         save location.
63216         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
63217         (CALL_MCOUNT): Add eh info, and nop after bl.
63218         (TAIL_CALL_SYSCALL_ERROR): New macro.
63219         (PSEUDO_RET): Use it.
63220         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
63221         Correct save location of integer regs and cr.
63222         (_dl_profile_resolve): Correct cr save location.  Delete nops
63223         after bl when SHARED.  Reduce cfi size a little by better
63224         placement of cfi directives.
63225         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
63226         make a stack frame.  Instead use parm save area as a temp.
63227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
63228         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
63229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
63230         Don't make a stack frame for parent, use parm save area.
63231         Increase child stack frame to 112 bytes.  Don't save unused reg,
63232         and adjust reg usage.  Set up cfi on error recovery and
63233         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
63234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
63235         (__makecontext): Add dummy nop after jump to exit.
63236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
63237         Use correct parm save area and cr save, reduce stack frame.
63238         Correct cfi for possible PSEUDO_RET frame setup.
63239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
63240         Branch to local label emitted by PSEUDO_RET rather than
63241         __syscall_error.
63243 2010-08-12  Andreas Schwab  <schwab@redhat.com>
63245         [BZ #11904]
63246         * locale/programs/locale.c (print_assignment): New function.
63247         (show_locale_vars): Use it.
63249 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
63251         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
63252         field.
63253         (struct statfs64): Likewise.
63254         (_STATFS_F_FLAGS): Define.
63255         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
63256         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63257         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
63258         (ST_VALID): Define locally.
63259         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
63260         __statvfs_getflags, use the provided value.
63261         * sysdeps/unix/sysv/linux/kernel-features.h: Define
63262         __ASSUME_STATFS_F_FLAGS.
63264         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
63266         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
63267         Add sys/fanotify.h.
63268         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
63269         fanotify_mask for GLIBC_2.13.
63270         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
63271         fanotify_init and fanotify_mark.
63272         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63273         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
63275         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
63276         Add prlimit.
63277         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
63278         prlimit64 for GLIBC_2.13.
63279         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
63280         prlimit64.
63281         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
63282         syscall.
63283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
63284         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63285         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
63286         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
63287         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
63288         add prlimit alias.
63289         * sysdeps/unix/sysv/linux/prlimit.c: New file.
63291         [BZ #11903]
63292         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
63293         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
63295         * nss/Makefile: Add rules to build and run tst-nss-test1.
63296         * shlib-versions: Add entry for libnss_test1.
63297         * nss/nss_test1.c: New file.
63298         * nss/tst-nss-test1.c: New file.
63300         * nss/nsswitch.c (__nss_database_custom): Define new variable.
63301         (__nss_configure_lookup): Set appropriate entry in
63302         __nss_configure_lookup to true.
63303         * nss/nsswitch.h: Define enum with indeces of databases in
63304         databases and __nss_database_custom arrays.  Declare
63305         __nss_database_custom.
63306         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
63307         to avoid using nscd when custom rules are installed.
63308         * nss/getXXbyYY_r.c: Likewise.
63309         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63311         * nss/nss_files/files-parse.c: Whitespace fixes.
63313 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
63315         [BZ #11883]
63316         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
63317         * posix/fnmatch_loop.c: Likewise.
63319 2010-07-17  Andi Kleen  <ak@linux.intel.com>
63321         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
63322         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
63323         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
63324         * Versions.def [GLIBC_2.13]: Add.
63326 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
63328         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
63329         Also fail if tpwd after pwuid call is NULL.
63331 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63333         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
63334         when converting to ms.
63336 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63338         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
63339         EOPNOTSUPP errors with ENOTTY.
63340         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
63341         EOPNOTSUPP errors with ENOTTY.
63343 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
63345         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63346         Add strcasecmp_l-ssse3.
63347         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
63348         strcasecmp.
63349         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
63350         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
63351         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
63353 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
63355         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
63357         * string/Makefile (strop-tests): Add strcasecmp.
63358         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63359         strcasecmp_l-nonascii.
63360         (gen-as-const-headers): Add locale-defines.sym.
63361         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
63362         * sysdeps/x86_64/strcasecmp.S: New file.
63363         * sysdeps/x86_64/strcasecmp_l.S: New file.
63364         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
63365         * sysdeps/x86_64/locale-defines.sym: New file.
63366         * string/test-strcasecmp.c: New file.
63368         * string/test-strcasestr.c: Test both ends of the range of characters.
63369         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
63371 2010-07-29  Roland McGrath  <roland@redhat.com>
63373         [BZ #11856]
63374         * manual/locale.texi (Yes-or-No Questions): Fix example code.
63376 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
63378         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
63379         for ld.so.
63381 2010-07-27  Andreas Schwab  <schwab@redhat.com>
63383         * manual/memory.texi (Malloc Tunable Parameters): Document
63384         M_PERTURB.
63386 2010-07-26  Roland McGrath  <roland@redhat.com>
63388         [BZ #11840]
63389         * configure.in (-fgnu89-inline check): Set and substitute
63390         gnu89_inline, not libc_cv_gnu89_inline.
63391         * configure: Regenerated.
63392         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
63394 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
63396         * string/test-strnlen.c: New file.
63397         * string/Makefile (strop-tests): Add strnlen.
63398         * string/tester.c (test_strnlen): Add a few more test cases.
63399         * string/tst-strlen.c: Better error reporting.
63401         * sysdeps/x86_64/strnlen.S: New file.
63403 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
63405         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
63406         lower-latency instructions.
63408 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
63410         * string/test-strcasestr.c: New file.
63411         * string/test-strstr.c: New file.
63412         * string/Makefile (strop-tests): Add strstr and strcasestr.
63413         * string/str-two-way.h: Don't undefine MAX.
63414         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
63416 2010-07-21  Andreas Schwab  <schwab@redhat.com>
63418         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63419         strcasestr-nonascii.
63420         (CFLAGS-strcasestr-nonascii.c): Define.
63421         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
63422         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
63423         Remove unused attribute.
63425 2010-07-20  Roland McGrath  <roland@redhat.com>
63427         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
63428         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
63429         ld.so.cache was broken.  With it, there is no way to disable dsocaps
63430         like LD_HWCAP_MASK can disable hwcaps.
63432 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
63434         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
63436 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
63438         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
63439         call in strcasestr.
63440         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
63441         __strcasestr_sse42_nonascii.
63442         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
63443         strcasestr-nonascii.c.
63444         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
63446 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
63448         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
63449         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
63450         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
63451         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
63453 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
63455         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
63456         fcntl.
63458 2010-07-06  Andreas Schwab  <schwab@redhat.com>
63460         [BZ #11577]
63461         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
63462         dl_signal_cerror.
63464 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
63466         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
63467         _PC_PIPE_BUF using F_GETPIPE_SZ.
63469 2010-07-05  Roland McGrath  <roland@redhat.com>
63471         * manual/arith.texi (Rounding Functions): Fix rint description
63472         implicit in round description.
63474 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
63476         * elf/Makefile: Fix linking for a few tests to make recent linker
63477         happy.
63479 2010-06-30  Andreas Schwab  <schwab@redhat.com>
63481         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
63482         $(common-objpfx)libc_nonshared.a.
63484 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
63486         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
63487         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
63488         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
63489         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
63490         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
63491         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
63492         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
63493         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
63494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
63495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
63496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
63497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
63498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
63499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
63500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
63501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
63502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
63503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
63504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
63505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
63506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
63507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
63508         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
63509         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
63510         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
63511         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
63512         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
63513         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
63514         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
63515         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
63516         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
63517         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
63518         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
63519         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
63520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
63521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
63522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
63523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
63524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
63525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
63526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
63527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
63528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
63529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
63530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
63531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
63532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
63533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
63535 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
63537         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
63538         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
63539         * string/memmove.c (memmove): Renamed to ...
63540         (MEMMOVE): ...this.  Default to memmove.
63541         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
63542         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
63543         (END_CHK): Define.
63544         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63545         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
63546         mempcpy-ssse3-back memmove-ssse3-back.
63547         * sysdeps/x86_64/multiarch/bcopy.S: New file .
63548         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
63549         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
63550         * sysdeps/x86_64/multiarch/memcpy.S: New file.
63551         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
63552         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
63553         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
63554         * sysdeps/x86_64/multiarch/memmove.c: New file.
63555         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
63556         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
63557         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
63558         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
63559         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
63560         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
63561         Define.
63562         (index_Fast_Copy_Backward): Define.
63563         (HAS_ARCH_FEATURE): Define.
63564         (HAS_FAST_REP_STRING): Define.
63565         (HAS_FAST_COPY_BACKWARD): Define.
63567 2010-06-21  Andreas Schwab  <schwab@redhat.com>
63569         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
63570         Restore proper fallback handling.
63572 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
63574         [BZ #11701]
63575         * posix/group_member.c (__group_member): Correct checking loop.
63577         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
63578         OOM in getpwuid_r correctly.  Return error number when the caller
63579         should return, otherwise -1.
63580         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
63581         call returning > 0 value.
63582         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
63584 2010-06-07  Andreas Schwab  <schwab@redhat.com>
63586         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
63587         libc_nonshared.a from targets in modules-names.
63589 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
63591         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
63592         requires it.
63594 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
63596         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
63597         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
63598         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
63599         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
63601 2010-06-02  Andreas Schwab  <schwab@redhat.com>
63603         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
63605 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
63607         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
63608         and F_GETPIPE_SZ.
63609         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
63610         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63611         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63612         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63613         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63614         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
63616 2010-06-14  Roland McGrath  <roland@redhat.com>
63618         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
63620 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
63622         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
63623         __REDIRECT followed by __THROW.
63624         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
63625         * posix/getopt.h (getopt): Likewise.
63627 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
63629         * hurd/lookup-at.c (__file_name_lookup_at): Accept
63630         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
63631         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
63632         in AT_FLAGS.
63633         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
63634         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
63636 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
63638         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
63640 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
63642         [BZ #11640]
63643         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63644         Properly check family and model.
63646 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
63648         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
63650 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
63652         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
63654 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
63656         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
63657         symbol reference.
63659 2010-05-19  Andreas Schwab  <schwab@redhat.com>
63661         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
63662         symbol reference.
63664 2010-05-21  Andreas Schwab  <schwab@redhat.com>
63666         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
63667         and internal_recvmmsg.
63668         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
63669         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
63670         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
63671         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
63673         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
63674         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
63675         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
63677 2010-05-20  Andreas Schwab  <schwab@redhat.com>
63679         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
63681 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
63683         POWER7 optimizations.
63684         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
63685         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
63687 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
63689         * version.h: Update for 2.13 development version.
63691 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
63693         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
63694         exceptions.  Return 0.
63696 2010-05-07  Roland McGrath  <roland@redhat.com>
63698         * elf/ldconfig.c (main): Add a const.
63700 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
63702         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
63703         (args_options): Add no-idn option.
63704         (ahosts_keys_int): Add idn_flags to ai_flags.
63705         (parse_option): Handle 'i' option to clear idn_flags.
63707         * malloc/malloc.c (_int_free): Possible race in the most recently
63708         added check.  Only act on the data if no current modification
63709         happened.
63711 See ChangeLog.17 for earlier changes.